Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dfse_compress.c458 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount() local
459 if (proba<8) { in FSE_normalizeCount()
460 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
461 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()
463 if (proba > largestP) { largestP=proba; largest=s; } in FSE_normalizeCount()
464 normalizedCounter[s] = proba; in FSE_normalizeCount()
465 stillToDistribute -= proba; in FSE_normalizeCount()