Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dfse_compress.c524 U32 ToDistribute; in FSE_normalizeM2() local
550 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()
552 if ((total / ToDistribute) > lowOne) { in FSE_normalizeM2()
554 lowOne = (U32)((total * 3) / (ToDistribute * 2)); in FSE_normalizeM2()
563 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()
574 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2()
580 for (s = 0; ToDistribute > 0; s = (s + 1) % (maxSymbolValue + 1)) in FSE_normalizeM2()
582 ToDistribute--, norm[s]++; in FSE_normalizeM2()
589 …U64 const rStep = div_u64((((U64)1 << vStepLog) * ToDistribute) + mid, (U32)total); /* scale on re… in FSE_normalizeM2()