Home
last modified time | relevance | path

Searched refs:pieceSize (Results 1 – 8 of 8) sorted by relevance

/third_party/node/benchmark/buffers/
Dbuffer-concat.js6 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;
Dbuffer-concat-fill.js11 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/
DRopeByteStringTest.java63 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/
Dtscoll.cpp94 …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()
Dtscoll.h54 …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/
DRopeByteStringTest.java89 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/
Dcallcoll.c235 …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/
Dapi.md457 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);