Searched refs:BIT_highbit32 (Results 1 – 7 of 7) sorted by relevance
181 nbBits = BIT_highbit32(remaining) + 1; in FSE_readNCount_body()304 { U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats_body()310 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats_body()311 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats_body()
130 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function269 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()297 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
169 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable_internal()
194 { U32 const maxBitsOut = tableLog - BIT_highbit32 ((U32)normalizedCounter[s]-1); in FSE_buildCTable_wksp()358 U32 minBitsSrc = BIT_highbit32((U32)(srcSize)) + 1; in FSE_minTableLog()359 U32 minBitsSymbols = BIT_highbit32(maxSymbolValue) + 2; in FSE_minTableLog()367 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal()
354 U32 nBitsToDecrease = BIT_highbit32((U32)totalCost) + 1; in HUF_setMaxHeight()452 #define RANK_POSITION_DISTINCT_COUNT_CUTOFF RANK_POSITION_LOG_BUCKETS_BEGIN + BIT_highbit32(RANK_PO…460 : BIT_highbit32(count) + RANK_POSITION_LOG_BUCKETS_BEGIN; in HUF_getIndex()807 size_t const dirtyBits = nbBits == 0 ? 0 : BIT_highbit32((U32)nbBits) + 1; in HUF_addBits()
141 size_t const bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in HUF_initDStream()
554 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable_body()