Home | History | Annotate | Download | only in compress

Lines Matching refs:U64

121         {   U64 const add = 0x0101010101010101ull;
123 U64 sv = 0;
446 { U64 const vStepLog = 62 - tableLog;
447 U64 const mid = (1ULL << (vStepLog-1)) - 1;
448 U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on remaining */
449 U64 tmpTotal = mid;
452 U64 const end = tmpTotal + (count[s] * rStep);
477 U64 const scale = 62 - tableLog;
478 U64 const step = ZSTD_div64((U64)1<<62, (U32)total); /* <== here, one division ! */
479 U64 const vStep = 1ULL<<(scale-20);
495 U64 restToBeat = vStep * rtbTable[proba];
496 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat;