Searched refs:maxCompressedSize (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/zstd/programs/ |
H A D | benchzstd.c | 305 size_t maxCompressedSize, in BMK_benchMemAdvancedNoAlloc() argument 387 RDG_genBuffer(compressedBuffer, maxCompressedSize, 0.10, 0.50, 1); in BMK_benchMemAdvancedNoAlloc() 588 …const size_t maxCompressedSize = dstCapacity ? dstCapacity : ZSTD_compressBound(srcSize) + (maxNbB… in BMK_benchMemAdvanced() local 590 void* const internalDstBuffer = dstBuffer ? NULL : malloc(maxCompressedSize); in BMK_benchMemAdvanced() 609 compressedBuffer, maxCompressedSize, in BMK_benchMemAdvanced()
|
/freebsd/sys/contrib/zstd/zlibWrapper/examples/ |
H A D | zwrapbench.c | 160 …size_t const maxCompressedSize = ZSTD_compressBound(srcSize) + (maxNbBlocks * 1024); /* add some… in BMK_benchMem() local 161 void* const compressedBuffer = malloc(maxCompressedSize); in BMK_benchMem() 197 RDG_genBuffer(compressedBuffer, maxCompressedSize, 0.10, 0.50, 1); in BMK_benchMem() 227 …if (!cCompleted) memset(compressedBuffer, 0xE5, maxCompressedSize); /* warm up and erase result b… in BMK_benchMem()
|