Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dfse_compress.c349 U32 ToDistribute; in FSE_normalizeM2() local
375 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()
377 if (ToDistribute == 0) in FSE_normalizeM2()
380 if ((total / ToDistribute) > lowOne) { in FSE_normalizeM2()
382 lowOne = (U32)((total * 3) / (ToDistribute * 2)); in FSE_normalizeM2()
390 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()
400 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2()
406 for (s=0; ToDistribute > 0; s = (s+1)%(maxSymbolValue+1)) in FSE_normalizeM2()
407 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2()
413 …U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on… in FSE_normalizeM2()