Searched refs:ToDistribute (Results 1 – 2 of 2) sorted by relevance
353 U32 ToDistribute; in FSE_normalizeM2() local379 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()381 if (ToDistribute == 0) in FSE_normalizeM2()384 if ((total / ToDistribute) > lowOne) { in FSE_normalizeM2()386 lowOne = (U32)((total * 3) / (ToDistribute * 2)); in FSE_normalizeM2()394 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()404 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2()410 for (s=0; ToDistribute > 0; s = (s+1)%(maxSymbolValue+1)) in FSE_normalizeM2()411 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2()417 … U64 const rStep = ((((U64)1<<vStepLog) * ToDistribute) + mid) / total; /* scale on remaining */ in FSE_normalizeM2()
392 U32 ToDistribute; in FSE_normalizeM2() local418 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()420 if (ToDistribute == 0) in FSE_normalizeM2()423 if ((total / ToDistribute) > lowOne) { in FSE_normalizeM2()425 lowOne = (U32)((total * 3) / (ToDistribute * 2)); in FSE_normalizeM2()433 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()443 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2()449 for (s=0; ToDistribute > 0; s = (s+1)%(maxSymbolValue+1)) in FSE_normalizeM2()450 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2()456 …U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on… in FSE_normalizeM2()