Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
doc: consolidate use of multiple-byte units
Refs: https://en.wikipedia.org/wiki/Byte#Multiple-byte_units PR-URL: #42587 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
- Loading branch information
Showing
with
46 additions
and 46 deletions.
- +3 −3 doc/api/buffer.md
- +4 −4 doc/api/cli.md
- +2 −2 doc/api/errors.md
- +6 −6 doc/api/fs.md
- +3 −3 doc/api/http.md
- +3 −3 doc/api/stream.md
- +2 −2 doc/api/util.md
- +1 −1 doc/contributing/investigating-native-memory-leaks.md
- +1 −1 doc/node.1
- +1 −1 lib/assert.js
- +1 −1 lib/fs.js
- +1 −1 lib/internal/crypto/scrypt.js
- +1 −1 lib/internal/errors.js
- +1 −1 lib/internal/fs/utils.js
- +3 −3 src/inspector_agent.cc
- +1 −1 test/common/README.md
- +1 −1 test/parallel/test-crypto-scrypt.js
- +1 −1 test/parallel/test-fs-util-validateoffsetlength.js
- +1 −1 test/parallel/test-http2-max-session-memory-leak.js
- +2 −2 test/parallel/test-tls-securepair-leak.js
- +1 −1 tools/compress_json.py
- +2 −2 tools/gyp/pylib/gyp/generator/ninja.py
- +1 −1 tools/inspector_protocol/encoding/encoding.h
- +1 −1 tools/inspector_protocol/lib/encoding_h.template
- +1 −1 tools/msvs/install_tools/install_tools.bat
- +1 −1 tools/v8_gypfiles/features.gypi
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -41,7 +41,7 @@ const defaults = { | ||
| N: 16384, | ||
| r: 8, | ||
| p: 1, | ||
| maxmem: 32 << 20, // 32 MiB, matches SCRYPT_MAX_MEM. | ||
| }; | ||
|
|
||
| function scrypt(password, salt, keylen, options, callback = defaults) { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -59,7 +59,7 @@ On non-Windows platforms, this always returns `true`. | ||
|
|
||
| ### `createZeroFilledFile(filename)` | ||
|
|
||
| Creates a 10 MiB file of all null characters. | ||
|
|
||
| ### `enoughTestMem` | ||
|
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -50,7 +50,7 @@ const { | ||
| ); | ||
| } | ||
|
|
||
| // Most platforms don't allow reads or writes >= 2 GiB. | ||
| // See https://github.com/libuv/libuv/pull/1501. | ||
| const kIoMaxLength = 2 ** 31 - 1; | ||
|
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -275,7 +275,7 @@ | ||
| # will fail. | ||
| 'v8_enable_webassembly%': 1, | ||
|
|
||
| # Enable advanced BigInt algorithms, costing about 10-30 KiB binary size | ||
| # depending on platform. | ||
| 'v8_advanced_bigint_algorithms%': 1 | ||
| }, | ||

