Searched refs:srcSizes (Results 1 – 6 of 6) sorted by relevance
300 const void** srcPtrs, size_t* srcSizes, in BMK_benchMemAdvancedNoAlloc() argument368 srcSizes[nbBlocks] = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()410 cbp.srcSizes = srcSizes; in BMK_benchMemAdvancedNoAlloc()429 dbp.srcSizes = cSizes; in BMK_benchMemAdvancedNoAlloc()508 if (bacc + srcSizes[segNb] > u) break; in BMK_benchMemAdvancedNoAlloc()509 bacc += srcSizes[segNb]; in BMK_benchMemAdvancedNoAlloc()572 size_t* const srcSizes = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in BMK_benchMemAdvanced() local597 int allocationincomplete = !srcPtrs || !srcSizes || !cPtrs || in BMK_benchMemAdvanced()605 outcome = BMK_benchMemAdvancedNoAlloc(srcPtrs, srcSizes, in BMK_benchMemAdvanced()630 free(srcSizes); in BMK_benchMemAdvanced()
126 size_t const res = p.benchFn(p.srcBuffers[blockNb], p.srcSizes[blockNb], in BMK_benchFunction()134 blockNb, (unsigned)p.srcSizes[blockNb], (int)res); in BMK_benchFunction()
82 const size_t* srcSizes; /* read-only array containing sizes of srcBuffers */ member
1118 size_t* srcSizes; member1137 free(b.srcSizes); in freeNonSrcBuffers()1180 buff->srcSizes = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in createBuffersFromMemory()1189 …if(!buff->srcPtrs || !buff->srcSizes || !buff->dstPtrs || !buff->dstCapacities || !buff->dstSizes … in createBuffersFromMemory()1210 buff->srcSizes[blockNb] = blockSize; in createBuffersFromMemory()1214 if(fileSizes[n] > 0) { buff->srcSizes[blockNb - 1] = ((fileSizes[n] - 1) % blockSize) + 1; } in createBuffersFromMemory()1218 buff->dstCapacities[0] = ZSTD_compressBound(buff->srcSizes[0]); in createBuffersFromMemory()1220 buff->resSizes[0] = buff->srcSizes[0]; in createBuffersFromMemory()1221 buff->maxBlockSize = buff->srcSizes[0]; in createBuffersFromMemory()1226 buff->dstCapacities[n] = ZSTD_compressBound(buff->srcSizes[n]); in createBuffersFromMemory()[all …]
629 bp.srcSizes = &srcSize; in benchMem()
694 .srcSizes = srcBlocks.capacities, in benchMem()