Searched refs:ToDistribute (Results 1 – 2 of 2) sorted by relevance
504 U32 ToDistribute; in FSE_normalizeM2() local530 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()532 if ((total / ToDistribute) > lowOne) { in FSE_normalizeM2()534 lowOne = (U32)((total * 3) / (ToDistribute * 2)); in FSE_normalizeM2()542 ToDistribute = (1 << tableLog) - distributed; in FSE_normalizeM2()552 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2()558 for (s=0; ToDistribute > 0; s = (s+1)%(maxSymbolValue+1)) in FSE_normalizeM2()559 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2()565 … U64 const rStep = ((((U64)1<<vStepLog) * ToDistribute) + mid) / total; /* scale on remaining */ in FSE_normalizeM2()
319 auto ToDistribute = BranchProbability::getZero(); in calcMetadataWeights() local323 ToDistribute += BP[i] - UnreachableProb; in calcMetadataWeights()329 if (ToDistribute > BranchProbability::getZero()) { in calcMetadataWeights()330 BranchProbability PerEdge = ToDistribute / ReachableIdxs.size(); in calcMetadataWeights()