Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-net-throttle.js30 let totalLength = 0; variable
45 totalLength = n * body.length;
48 connection.writableLength <= totalLength,
49 `writableLength: ${connection.writableLength}, totalLength: ${totalLength}`,
86 assert.strictEqual(chars_recved, totalLength);
/third_party/protobuf/js/experimental/runtime/kernel/
Duint8arrays.js13 let totalLength = 0;
15 totalLength += array.length;
17 const result = new Uint8Array(totalLength);
/third_party/protobuf/csharp/src/Google.Protobuf/
DSegmentedBufferHelper.cs48 private int? totalLength; field
60 …instance.totalLength = codedInputStream.InternalInputStream == null ? (int?)codedInputStream.Inter… in Initialize()
77 instance.totalLength = firstSpan.Length; in Initialize()
83 instance.totalLength = (int) sequence.Length; in Initialize()
103 public int? TotalLength => totalLength;
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java133 private final int totalLength; field in RopeByteString
150 totalLength = leftLength + right.size(); in RopeByteString()
280 checkIndex(index, totalLength); in byteAt()
296 return totalLength; in size()
347 return totalLength >= minLength(treeDepth); in isBalanced()
365 final int length = checkRange(beginIndex, endIndex, totalLength); in substring()
372 if (length == totalLength) { in substring()
512 if (totalLength != otherByteString.size()) { in equals()
515 if (totalLength == 0) { in equals()
565 if (pos >= totalLength) { in equalsFragments()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DShader.cpp55 int totalLength = 0; in setSource() local
61 totalLength += length[i]; in setSource()
65 totalLength += (int)strlen(string[i]); in setSource()
69 mSource = new char[totalLength + 1]; in setSource()
89 mSource[totalLength] = '\0'; in setSource()
/third_party/node/benchmark/buffers/
Dbuffer-concat-fill.js16 const totalLength = (pieces * pieceSize) + extraSize;
20 Buffer.concat(list, totalLength);
Dbuffer-concat.js15 const totalLength = withTotalLength ? pieces * pieceSize : undefined;
19 Buffer.concat(list, totalLength);
/third_party/icu/icu4c/source/i18n/
Dcollationsettings.cpp196 int32_t totalLength = codesLength + rangesLength; in setReorderArrays() local
197 U_ASSERT(totalLength > 0); in setReorderArrays()
198 if(totalLength <= reorderCodesCapacity) { in setReorderArrays()
202 int32_t capacity = (totalLength + 3) & ~3; // round up to a multiple of 4 ints in setReorderArrays()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationsettings.cpp196 int32_t totalLength = codesLength + rangesLength; in setReorderArrays() local
197 U_ASSERT(totalLength > 0); in setReorderArrays()
198 if(totalLength <= reorderCodesCapacity) { in setReorderArrays()
202 int32_t capacity = (totalLength + 3) & ~3; // round up to a multiple of 4 ints in setReorderArrays()
/third_party/node/deps/icu-small/source/i18n/
Dcollationsettings.cpp196 int32_t totalLength = codesLength + rangesLength; in setReorderArrays() local
197 U_ASSERT(totalLength > 0); in setReorderArrays()
198 if(totalLength <= reorderCodesCapacity) { in setReorderArrays()
202 int32_t capacity = (totalLength + 3) & ~3; // round up to a multiple of 4 ints in setReorderArrays()
/third_party/node/lib/internal/util/
Dinspect.js1436 let totalLength = 0;
1452 totalLength += len + separatorSpace;
1464 (totalLength / actualMax > 5 || maxLength <= 6)) {
1467 const averageBias = MathSqrt(actualMax - totalLength / output.length);
1996 let totalLength = output.length + start;
1997 if (totalLength + output.length > ctx.breakLength)
2001 totalLength += removeColors(output[i]).length;
2003 totalLength += output[i].length;
2005 if (totalLength > ctx.breakLength) {
/third_party/node/deps/v8/tools/system-analyzer/view/
Dhelper.mjs305 totalLength, maxHeight, groups, colorFn) { argument
314 const height = (increment / totalLength * kMaxHeight) | 0;
/third_party/icu/icu4c/source/common/
Dutrie2_builder.cpp389 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths() local
391 indexLength, dataLength, totalLength); in utrie_printLengths()
398 … long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths() local
400 which, trie->name, indexLength, dataLength, countInitial(trie), totalLength); in utrie2_printLengths()
Ducptrie.cpp576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() local
580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
/third_party/skia/third_party/externals/icu/source/common/
Dutrie2_builder.cpp389 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths() local
391 indexLength, dataLength, totalLength); in utrie_printLengths()
398 … long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths() local
400 which, trie->name, indexLength, dataLength, countInitial(trie), totalLength); in utrie2_printLengths()
Ducptrie.cpp576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() local
580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
/third_party/node/deps/icu-small/source/common/
Dutrie2_builder.cpp389 …long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=nullptr ? 4 : 2… in utrie_printLengths() local
391 indexLength, dataLength, totalLength); in utrie_printLengths()
398 …long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=nullptr ? 4 : … in utrie2_printLengths() local
400 which, trie->name, indexLength, dataLength, countInitial(trie), totalLength); in utrie2_printLengths()
Ducptrie.cpp576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() local
580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
/third_party/skia/samplecode/
DSampleVariableWidthStroker.cpp329 SkScalar totalLength() const;
344 SkScalar PathVerbMeasure::totalLength() const { in totalLength() function in __anon660e97290111::PathVerbMeasure
548 ? meas.totalLength() in getFillPath()
/third_party/mesa3d/src/mesa/main/
Dshaderapi.c2076 GLsizei i, totalLength; in shader_source() local
2127 totalLength = offsets[count - 1] + 2; in shader_source()
2128 source = malloc(totalLength * sizeof(GLcharARB)); in shader_source()
2140 source[totalLength - 1] = '\0'; in shader_source()
2141 source[totalLength - 2] = '\0'; in shader_source()
/third_party/node/doc/api/
Dbuffer.md996 ### Static method: `Buffer.concat(list[, totalLength])`
1008 * `totalLength` {integer} Total length of the `Buffer` instances in `list`
1015 If the list has no items, or if the `totalLength` is 0, then a new zero-length
1018 If `totalLength` is not provided, it is calculated from the `Buffer` instances
1021 If `totalLength` is provided, it is coerced to an unsigned integer. If the
1022 combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is
1023 truncated to `totalLength`.
1033 const totalLength = buf1.length + buf2.length + buf3.length;
1035 console.log(totalLength);
1038 const bufA = Buffer.concat([buf1, buf2, buf3], totalLength);
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V012.md99 …new `Buffer` objects created with `Buffer.concat()` while providing a `totalLength` parameter that…
DCHANGELOG_V010.md114 …new `Buffer` objects created with `Buffer.concat()` while providing a `totalLength` parameter that…
DCHANGELOG_V4.md1274 …new `Buffer` objects created with `Buffer.concat()` while providing a `totalLength` parameter that…
DCHANGELOG_V6.md3665 …new `Buffer` objects created with `Buffer.concat()` while providing a `totalLength` parameter that…