GithubHelp home page GithubHelp logo

Comments (9)

AnshumanNeon avatar AnshumanNeon commented on May 18, 2024 1

Yeah it works nice now! Thank you very much!

from superfile.

yorukot avatar yorukot commented on May 18, 2024

https://github.com/MHNightCat/superfile/blob/main/src/components/style.go#L227

from superfile.

AnshumanNeon avatar AnshumanNeon commented on May 18, 2024

Screenshot 2024-04-12 at 2 46 24 PM
is the line what the function call looks like?
because if it is, then it is bad. the interger value is will cause a wrap around. It is a 20-digit number. I doubt it can be represented by golang.

from superfile.

yorukot avatar yorukot commented on May 18, 2024

Is it a problem with maxChars? How about we change it to int64.

Or i miss something

from superfile.

AnshumanNeon avatar AnshumanNeon commented on May 18, 2024

int64 can have at max 19-digit It won't do any good. The problem is that how can such a high number be passed as an argument. I don't understand

from superfile.

yorukot avatar yorukot commented on May 18, 2024

i find this error in a random file
This is metadata
https://gist.github.com/MHNightCat/75b5d3ebe82e60636fc6e3c62d2774b1

from superfile.

yorukot avatar yorukot commented on May 18, 2024

Okay, I figured out the cause of this error.

So there is a metadata name called
NetHttp_Server_PropertiesServersAlternative_ServiceAdvertised_Alpns
Then in order to calculate the remaining length, this method is used to calculate
(BottomWidth(m.fullWidth))-maxKeyLength-3
and the result is -2
That why error i think

from superfile.

yorukot avatar yorukot commented on May 18, 2024

Ok i fix it in here

from superfile.

AnshumanNeon avatar AnshumanNeon commented on May 18, 2024

oh! thank you so much! Let me just test this real quick

from superfile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.