Home
last modified time | relevance | path

Searched refs:maxArrayLength (Results 1 – 10 of 10) sorted by relevance

/third_party/node/test/parallel/
Dtest-util-inspect.js216 assert.strictEqual(util.inspect(ab, { showHidden: true, maxArrayLength: 2 }), property
219 assert.strictEqual(util.inspect(ab, { showHidden: true, maxArrayLength: 1 }), property
569 util.inspect(a, { maxArrayLength: 4 }), property
574 maxArrayLength: 2 property
1217 assert.strictEqual(util.inspect(map.entries(), { maxArrayLength: 1 }), property
1225 util.inspect(keys, { maxArrayLength: 0 }), property
1248 util.inspect(keys, { maxArrayLength: 1 }), property
1416 assert(!util.inspect(x, { maxArrayLength: 101 }).endsWith('1 more item\n]')); property
1418 util.inspect(x, { maxArrayLength: -1 }), property
1421 assert.strictEqual(util.inspect(x, { maxArrayLength: 0 }), property
[all …]
Dtest-assert-deep.js25 maxArrayLength: Infinity, property
/third_party/node/lib/internal/util/
Dinspect.js146 maxArrayLength: 100, property
220 maxArrayLength: ctx.maxArrayLength, property
278 maxArrayLength: inspectDefaultOptions.maxArrayLength, property
317 if (ctx.maxArrayLength === null) ctx.maxArrayLength = Infinity;
1235 if (ctx.maxArrayLength < output.length) {
1332 if (ctx.maxArrayLength < output.length) {
1469 let str = hexSlice(buffer, 0, MathMin(ctx.maxArrayLength, buffer.length))
1471 const remaining = buffer.length - ctx.maxArrayLength;
1479 const len = MathMin(MathMax(0, ctx.maxArrayLength), valLen);
1496 const maxLength = MathMin(MathMax(0, ctx.maxArrayLength), length);
[all …]
/third_party/node/lib/internal/assert/
Dassertion_error.js70 maxArrayLength: Infinity, property
/third_party/node/lib/internal/console/
Dconstructor.js500 maxArrayLength: 3, property
/third_party/node/deps/npm/lib/
Dview.js443 … d = util.inspect(d, { showHidden: false, depth: 5, colors: npm.color, maxArrayLength: null }) property
/third_party/node/doc/api/
Dutil.md544 description: The `maxArrayLength` option is supported now; in particular,
569 * `maxArrayLength` {integer} Specifies the maximum number of `Array`,
703 inspected. If there are more entries than `maxArrayLength`, there is no
953 util.inspect.defaultOptions.maxArrayLength = null;
/third_party/node/doc/changelogs/
DCHANGELOG_V12.md2958 …thub.com/nodejs/node/commit/c3243de47a)] - **util**: special handle `maxArrayLength` while groupin…
3060 …s/node/commit/6129376cd9)] - **test**: add coverage for sparse array maxArrayLength (went.out) [#2…
DCHANGELOG_V8.md3155 …s/node/commit/de10c0f515)] - **util**: fix inspect array w. negative maxArrayLength (Ruben Bridgew…
DCHANGELOG_V6.md4731 …* Added a `maxArrayLength` option to truncate the formatting of Arrays. (James M Snell) [#6334](ht…