/third_party/node/benchmark/buffers/ |
D | buffer-concat.js | 6 pieceSize: [1, 16, 256], property 11 function main({ n, pieces, pieceSize, withTotalLength }) { property 13 .fill(Buffer.allocUnsafe(pieceSize)); 15 const totalLength = withTotalLength ? pieces * pieceSize : undefined;
|
D | buffer-concat-fill.js | 11 const pieceSize = 256; 14 .fill(Buffer.allocUnsafe(pieceSize)); 16 const totalLength = (pieces * pieceSize) + extraSize;
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | RopeByteStringTest.java | 63 int pieceSize = 64; in testBalance() local 64 byte[] testBytes = ByteStringTest.getTestBytes(numberOfPieces * pieceSize, 113377L); in testBalance() 69 concatenated = concatenated.concat(ByteString.copyFrom(testBytes, i * pieceSize, pieceSize)); in testBalance()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tscoll.cpp | 94 …har source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &sta… in compareUsingPartials() argument 99 int32_t sSize = pieceSize, tSize = pieceSize; in compareUsingPartials() 104 while(sSize == pieceSize && tSize == pieceSize && partialSKResult == 0) { in compareUsingPartials() 107 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, &status); in compareUsingPartials() 108 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, &status); in compareUsingPartials() 115 partialSKResult = memcmp(sBuf, tBuf, pieceSize); in compareUsingPartials()
|
D | tscoll.h | 54 …har source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &sta…
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | RopeByteStringTest.java | 89 int pieceSize = 64; in testBalance() local 90 byte[] testBytes = ByteStringTest.getTestBytes(numberOfPieces * pieceSize, 113377L); in testBalance() 95 concatenated = concatenated.concat(ByteString.copyFrom(testBytes, i * pieceSize, pieceSize)); in testBalance()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | callcoll.c | 235 …har source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode *sta… in compareUsingPartials() argument 239 int32_t sSize = pieceSize, tSize = pieceSize; in compareUsingPartials() 242 if(pieceSize > 16384) { in compareUsingPartials() 250 while(sSize == pieceSize && tSize == pieceSize && partialSKResult == 0) { in compareUsingPartials() 253 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); in compareUsingPartials() 254 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, status); in compareUsingPartials() 261 partialSKResult = memcmp(sBuf, tBuf, pieceSize); in compareUsingPartials()
|
/third_party/icu/docs/userguide/collation/ |
D | api.md | 457 int32_t pieceSize, UErrorCode *status) { 461 int32_t sSize = pieceSize, tSize = pieceSize; 464 if(pieceSize > 16384) { 471 while(sSize == pieceSize && tSize == pieceSize && partialSKResult == 0) { 474 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); 475 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, status); 476 partialSKResult = memcmp(sBuf, tBuf, pieceSize);
|