Home
last modified time | relevance | path

Searched refs:maxBuffer (Results 1 – 25 of 35) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-child-process-execfile-maxbuf.js36 const options = { maxBuffer: Infinity }; property
50 execFile('echo', ['hello world'], { maxBuffer: 5 }, checkFactory('stdout')); property
59 { maxBuffer: 10 }, property
67 { maxBuffer: 10 }, property
76 { encoding: null, maxBuffer: 10 }, property
87 { encoding: null, maxBuffer: 10 }, property
Dtest-child-process-exec-maxbuf.js38 const options = { maxBuffer: Infinity }; property
51 { maxBuffer: 5 }, property
94 { maxBuffer: 10 }, property
106 { maxBuffer: 3 }, property
118 { encoding: null, maxBuffer: 10 }, property
132 { encoding: null, maxBuffer: 3 }, property
146 { encoding: null, maxBuffer: 5 }, property
Dtest-child-process-execfilesync-maxbuf.js21 execFileSync(process.execPath, args, { maxBuffer: 1 }); property
35 const ret = execFileSync(process.execPath, args, { maxBuffer: Infinity }); property
Dtest-child-process-execsync-maxbuf.js21 execSync(`"${process.execPath}" ${args.join(' ')}`, { maxBuffer: 1 }); property
37 { maxBuffer: Infinity } property
Dtest-child-process-spawnsync-maxbuf.js20 const ret = spawnSync(process.execPath, args, { maxBuffer: 1 }); property
32 const ret = spawnSync(process.execPath, args, { maxBuffer: Infinity }); property
Dtest-async-wrap-pop-id-during-load.js20 { maxBuffer: Infinity } property
Dtest-tick-processor-arguments.js29 { cwd: tmpdir.path, encoding: 'utf8', maxBuffer: Infinity }); property
Dtest-child-process-exec-kill-throws.js22 const options = { maxBuffer: 0, killSignal: 'SIGKILL' }; property
Dtest-fs-readfilesync-pipe-large.js31 { maxBuffer: 1000000 }, property
Dtest-fs-readfile-pipe-large.js32 exec(cmd, { maxBuffer: 1000000 }, common.mustSucceed((stdout, stderr) => { property
Dtest-cli-node-options.js96 maxBuffer: 1e6, property
/third_party/node/deps/npm/node_modules/execa/node_modules/get-stream/
Dindex.js9 opts = Object.assign({maxBuffer: Infinity}, opts); property
11 const maxBuffer = opts.maxBuffer;
29 if (stream.getBufferedLength() > maxBuffer) {
Dreadme.md64 ##### maxBuffer l4subsection
75 It honors the `maxBuffer` option as above, but it refers to byte length rather than string length.
81 It honors both the `maxBuffer` and `encoding` options. The behavior changes slightly based on the e…
83 …s/) and collects values emitted from `stream` unmodified. In this case `maxBuffer` refers to the n…
85 - When `encoding` is set to `buffer`, it collects an array of buffers. `maxBuffer` refers to the su…
87 - When `encoding` is set to anything else, it collects an array of strings. `maxBuffer` refers to t…
/third_party/node/deps/npm/node_modules/got/node_modules/get-stream/
Dindex.js9 opts = Object.assign({maxBuffer: Infinity}, opts); property
11 const maxBuffer = opts.maxBuffer;
29 if (stream.getBufferedLength() > maxBuffer) {
Dreadme.md64 ##### maxBuffer l4subsection
75 It honors the `maxBuffer` option as above, but it refers to byte length rather than string length.
81 It honors both the `maxBuffer` and `encoding` options. The behavior changes slightly based on the e…
83 …s/) and collects values emitted from `stream` unmodified. In this case `maxBuffer` refers to the n…
85 - When `encoding` is set to `buffer`, it collects an array of buffers. `maxBuffer` refers to the su…
87 - When `encoding` is set to anything else, it collects an array of strings. `maxBuffer` refers to t…
/third_party/node/lib/
Dchild_process.js295 maxBuffer: MAX_BUFFER, property
307 validateMaxBuffer(options.maxBuffer);
439 if (stdoutLen > options.maxBuffer) {
440 const truncatedLen = options.maxBuffer - (stdoutLen - length);
462 if (stderrLen > options.maxBuffer) {
463 const truncatedLen = options.maxBuffer - (stderrLen - length);
734 maxBuffer: MAX_BUFFER, property
744 validateMaxBuffer(options.maxBuffer);
879 function validateMaxBuffer(maxBuffer) { argument
880 if (maxBuffer != null && !(typeof maxBuffer === 'number' && maxBuffer >= 0)) {
[all …]
/third_party/node/deps/npm/node_modules/execa/
Dindex.js37 maxBuffer: TEN_MEGABYTES, property
103 function getStream(process, stream, encoding, maxBuffer) { argument
113 maxBuffer field
116 ret = _getStream.buffer(process[stream], {maxBuffer}); field
135 const maxBuffer = parsed.opts.maxBuffer; constant
200 getStream(spawned, 'stdout', encoding, maxBuffer),
201 getStream(spawned, 'stderr', encoding, maxBuffer)
/third_party/node/deps/npm/node_modules/get-stream/
Dreadme.md67 ##### maxBuffer l4subsection
78 It honors the `maxBuffer` option as above, but it refers to byte length rather than string length.
84 It honors both the `maxBuffer` and `encoding` options. The behavior changes slightly based on the e…
86 …s/) and collects values emitted from `stream` unmodified. In this case `maxBuffer` refers to the n…
88 - When `encoding` is set to `buffer`, it collects an array of buffers. `maxBuffer` refers to the su…
90 - When `encoding` is set to anything else, it collects an array of strings. `maxBuffer` refers to t…
Dindex.js17 options = Object.assign({maxBuffer: Infinity}, options); property
19 const {maxBuffer} = options;
40 if (stream.getBufferedLength() > maxBuffer) {
/third_party/node/test/es-module/
Dtest-esm-type-flag-errors.js40 maxBuffer: 1e6, property
/third_party/typescript/src/testRunner/unittests/tsc/
DetsTests.ts15 maxBuffer: 1 * 1024 * 1024,
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dtrace_fixture.cpp201 uint32_t maxBuffer, in InitializeReplay2() argument
217 gBufferMap2 = AllocateZeroedUints(maxBuffer); in InitializeReplay2()
Dtrace_fixture.h92 uint32_t maxBuffer,
/third_party/typescript/scripts/importDefinitelyTypedTests/
DimportDefinitelyTypedTests.ts63 maxBuffer: 1 * 1024 * 1024,
/third_party/node/doc/api/
Dchild_process.md173 * `maxBuffer` {number} Largest amount of data in bytes allowed on stdout or
175 truncated. See caveat at [`maxBuffer` and Unicode][].
297 * `maxBuffer` {number} Largest amount of data in bytes allowed on stdout or
299 truncated. See caveat at [`maxBuffer` and Unicode][].
896 * `maxBuffer` {number} Largest amount of data in bytes allowed on stdout or
898 [`maxBuffer` and Unicode][]. **Default:** `1024 * 1024`.
966 * `maxBuffer` {number} Largest amount of data in bytes allowed on stdout or
968 truncated. See caveat at [`maxBuffer` and Unicode][].
1036 * `maxBuffer` {number} Largest amount of data in bytes allowed on stdout or
1038 truncated. See caveat at [`maxBuffer` and Unicode][].
[all …]

12