Searched refs:BIT_highbit32 (Results 1 – 16 of 16) sorted by relevance
197 { U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats()203 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats()204 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats()
139 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function283 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()311 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
109 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable()
192 nbBits = BIT_highbit32(remaining) + 1; in FSE_readNCount_body()315 { U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats_body()321 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats_body()322 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats_body()
140 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function294 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()322 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
169 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable_internal()
149 U32 const maxBitsOut = tableLog - BIT_highbit32 (normalizedCounter[s]-1); in FSE_buildCTable_wksp()318 U32 minBitsSrc = BIT_highbit32((U32)(srcSize)) + 1; in FSE_minTableLog()319 U32 minBitsSymbols = BIT_highbit32(maxSymbolValue) + 2; in FSE_minTableLog()327 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal()
250 U32 nBitsToDecrease = BIT_highbit32((U32)totalCost) + 1; in HUF_setMaxHeight()313 U32 r = BIT_highbit32(count[n] + 1); in HUF_sort()320 U32 const r = BIT_highbit32(c+1) + 1; in HUF_sort()
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()
357 U32 nBitsToDecrease = BIT_highbit32((U32)totalCost) + 1; in HUF_setMaxHeight()455 #define RANK_POSITION_DISTINCT_COUNT_CUTOFF RANK_POSITION_LOG_BUCKETS_BEGIN + BIT_highbit32(RANK_PO…463 : BIT_highbit32(count) + RANK_POSITION_LOG_BUCKETS_BEGIN; in HUF_getIndex()810 size_t const dirtyBits = nbBits == 0 ? 0 : BIT_highbit32((U32)nbBits) + 1; in HUF_addBits()
353 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function399 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()425 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()1153 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()1596 tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats()1601 U32 verif = 1 << BIT_highbit32(rest); in HUF_readStats()1602 U32 lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats()
350 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function396 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()422 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()1152 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()1599 tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats()1604 U32 verif = 1 << BIT_highbit32(rest); in HUF_readStats()1605 U32 lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats()
624 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function669 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()689 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()1130 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()1749 tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats()1754 U32 verif = 1 << BIT_highbit32(rest); in HUF_readStats()1755 U32 lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats()
421 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable()
145 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()