Lines Matching refs:U64
120 { U64 const add = 0x0101010101010101ull;
122 U64 sv = 0;
454 { U64 const vStepLog = 62 - tableLog;
455 U64 const mid = (1ULL << (vStepLog-1)) - 1;
456 U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on remaining */
457 U64 tmpTotal = mid;
460 U64 const end = tmpTotal + (count[s] * rStep);
485 U64 const scale = 62 - tableLog;
486 U64 const step = ZSTD_div64((U64)1<<62, (U32)total); /* <== here, one division ! */
487 U64 const vStep = 1ULL<<(scale-20);
503 U64 restToBeat = vStep * rtbTable[proba];
504 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat;