Coder Social home page Coder Social logo

内存进制转换问题 about judger HOT 3 OPEN

symbioticstar avatar symbioticstar commented on August 18, 2024
内存进制转换问题

from judger.

Comments (3)

mjiuming avatar mjiuming commented on August 18, 2024

同样有这个问题,参考wikipedia给出的解释

This article is about the SI unit of 1000 bytes. For the binary unit of 1024 bytes, see kibibyte.
"KByte" redirects here. For the battery electric car from Future Mobility Corporation, see Byton K-Byte.

这里应该使用1000而不应该是1024

from judger.

drabbit75 avatar drabbit75 commented on August 18, 2024

This article is about the SI unit of 1000 bytes. For the binary unit of 1024 bytes, see kibibyte.
"KByte" redirects here. For the battery electric car from Future Mobility Corporation, see Byton K-Byte.

如果确实,应该在代码中更正

from judger.

shankerwangmiao avatar shankerwangmiao commented on August 18, 2024

见:https://github.com/torvalds/linux/blob/f75aef392f869018f78cfedf3c320a6b3fcfda6b/kernel/sys.c#L1793

实际上是文档错误,maxrss 的单位应该是 1024 字节,也就是 KiB。

from judger.

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.