Searched refs:thisBlockSize (Results 1 – 2 of 2) sorted by relevance
366 size_t const thisBlockSize = MIN(remaining, blockSize); in BMK_benchMemAdvancedNoAlloc() local368 srcSizes[nbBlocks] = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()370 …acities[nbBlocks] = (adv->mode == BMK_decodeOnly) ? thisBlockSize : ZSTD_compressBound(thisBlockSi… in BMK_benchMemAdvancedNoAlloc()372 …ode == BMK_decodeOnly) ? (size_t) ZSTD_findDecompressedSize(srcPtr, thisBlockSize) : thisBlockSize; in BMK_benchMemAdvancedNoAlloc()373 srcPtr += thisBlockSize; in BMK_benchMemAdvancedNoAlloc()375 resPtr += thisBlockSize; in BMK_benchMemAdvancedNoAlloc()376 remaining -= thisBlockSize; in BMK_benchMemAdvancedNoAlloc()378 cSizes[nbBlocks] = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()379 benchResult.cSize = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
184 size_t const thisBlockSize = MIN(remaining, blockSize); in BMK_benchMem() local188 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()