Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dfse_compress.c501 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount() local
502 if (proba<8) { in FSE_normalizeCount()
503 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
504 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()
506 if (proba > largestP) { largestP=proba; largest=s; } in FSE_normalizeCount()
507 normalizedCounter[s] = proba; in FSE_normalizeCount()
508 stillToDistribute -= proba; in FSE_normalizeCount()