Home
last modified time | relevance | path

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

/Linux-v4.19/lib/zstd/
Dfse_compress.c642 short proba = (short)((count[s] * step) >> scale); in FSE_normalizeCount() local
643 if (proba < 8) { in FSE_normalizeCount()
644 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
645 proba += (count[s] * step) - ((U64)proba << scale) > restToBeat; in FSE_normalizeCount()
647 if (proba > largestP) in FSE_normalizeCount()
648 largestP = proba, largest = s; in FSE_normalizeCount()
649 normalizedCounter[s] = proba; in FSE_normalizeCount()
650 stillToDistribute -= proba; in FSE_normalizeCount()