Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress_sequences.c207 …size_t const repeatCost = *repeatMode != FSE_repeat_none ? ZSTD_fseBitCost(prevCTable, count, max)… in ZSTD_selectEncodingType() local
213 assert(!(*repeatMode == FSE_repeat_valid && ZSTD_isError(repeatCost))); in ZSTD_selectEncodingType()
218 (unsigned)basicCost, (unsigned)repeatCost, (unsigned)compressedCost); in ZSTD_selectEncodingType()
219 if (basicCost <= repeatCost && basicCost <= compressedCost) { in ZSTD_selectEncodingType()
225 if (repeatCost <= compressedCost) { in ZSTD_selectEncodingType()
227 assert(!ZSTD_isError(repeatCost)); in ZSTD_selectEncodingType()
230 assert(compressedCost < basicCost && compressedCost < repeatCost); in ZSTD_selectEncodingType()