Searched refs:scale (Results 1 – 3 of 3) sorted by relevance
188 int scale = STACK_HASH_TABLE_SCALE; in stack_depot_init() local193 if (scale > PAGE_SHIFT) in stack_depot_init()194 entries >>= (scale - PAGE_SHIFT); in stack_depot_init()196 entries <<= (PAGE_SHIFT - scale); in stack_depot_init()
485 U64 const scale = 62 - tableLog; in FSE_normalizeCount() local487 U64 const vStep = 1ULL<<(scale-20); in FSE_normalizeCount()501 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount()504 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()
304 U32 const scale = targetTableLog - tableLog; in HUF_rescaleStats() local308 huffWeight[s] += (BYTE)((huffWeight[s] == 0) ? 0 : scale); in HUF_rescaleStats()314 for (s = targetTableLog; s > scale; --s) { in HUF_rescaleStats()315 rankVal[s] = rankVal[s - scale]; in HUF_rescaleStats()317 for (s = scale; s > 0; --s) { in HUF_rescaleStats()