Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c504 U32 ToDistribute; in FSE_normalizeM2() local
530 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()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp319 auto ToDistribute = BranchProbability::getZero(); in calcMetadataWeights() local
323 ToDistribute += BP[i] - UnreachableProb; in calcMetadataWeights()
329 if (ToDistribute > BranchProbability::getZero()) { in calcMetadataWeights()
330 BranchProbability PerEdge = ToDistribute / ReachableIdxs.size(); in calcMetadataWeights()