Searched refs:maxCSize (Results 1 – 2 of 2) sorted by relevance
1057 int const maxCSize = LZ4_COMPRESSBOUND(sampleSize); in FUZ_unitTests() local1058 int const outSize = LZ4_COMPRESS_INPLACE_BUFFER_SIZE(maxCSize); in FUZ_unitTests()1066 cSize = LZ4_compress_default(startInput, testCompressed, sampleSize, maxCSize); in FUZ_unitTests()1068 assert(maxCSize < INT_MAX); in FUZ_unitTests()1069 assert(cSize <= maxCSize); in FUZ_unitTests()
2363 { size_t const maxCSize = srcSize - ZSTD_minGain(srcSize, cctxParams->cParams.strategy); in ZSTD_entropyCompressSequences() local2364 if (cSize >= maxCSize) return 0; /* block not compressed */ in ZSTD_entropyCompressSequences()2770 … size_t const maxCSize = srcSize - ZSTD_minGain(srcSize, zc->appliedParams.cParams.strategy); in ZSTD_compressBlock_targetCBlockSize_body() local2772 if (cSize != 0 && cSize < maxCSize + ZSTD_blockHeaderSize) { in ZSTD_compressBlock_targetCBlockSize_body()