Home
last modified time | relevance | path

Searched refs:thisBlockSize (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/zstd/programs/
H A Dbenchzstd.c367 size_t const thisBlockSize = MIN(remaining, blockSize); in BMK_benchMemAdvancedNoAlloc() local
369 srcSizes[nbBlocks] = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
371 …acities[nbBlocks] = (adv->mode == BMK_decodeOnly) ? thisBlockSize : ZSTD_compressBound(thisBlockSi… in BMK_benchMemAdvancedNoAlloc()
373 …ode == BMK_decodeOnly) ? (size_t) ZSTD_findDecompressedSize(srcPtr, thisBlockSize) : thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
374 srcPtr += thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
376 resPtr += thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
377 remaining -= thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
379 cSizes[nbBlocks] = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
380 benchResult.cSize = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c184 size_t const thisBlockSize = MIN(remaining, blockSize); in BMK_benchMem() local
188 blockTable[nbBlocks].srcSize = thisBlockSize; in BMK_benchMem()
189 blockTable[nbBlocks].cRoom = ZSTD_compressBound(thisBlockSize); in BMK_benchMem()
190 srcPtr += thisBlockSize; in BMK_benchMem()
192 resPtr += thisBlockSize; in BMK_benchMem()
193 remaining -= thisBlockSize; in BMK_benchMem()