Lines Matching defs:ToDistribute
392 U32 ToDistribute;
418 ToDistribute = (1 << tableLog) - distributed;
420 if (ToDistribute == 0)
423 if ((total / ToDistribute) > lowOne) {
425 lowOne = (U32)((total * 3) / (ToDistribute * 2));
433 ToDistribute = (1 << tableLog) - distributed;
443 norm[maxV] += (short)ToDistribute;
449 for (s=0; ToDistribute > 0; s = (s+1)%(maxSymbolValue+1))
450 if (norm[s] > 0) { ToDistribute--; norm[s]++; }
456 U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on remaining */