Searched refs:ZSTD_highbit32 (Results 1 – 3 of 3) sorted by relevance
21 ssPtr->log2matchLengthSum = ZSTD_highbit32(ssPtr->matchLengthSum + 1); in ZSTD_setLog2Prices()22 ssPtr->log2litLengthSum = ZSTD_highbit32(ssPtr->litLengthSum + 1); in ZSTD_setLog2Prices()23 ssPtr->log2litSum = ZSTD_highbit32(ssPtr->litSum + 1); in ZSTD_setLog2Prices()24 ssPtr->log2offCodeSum = ZSTD_highbit32(ssPtr->offCodeSum + 1); in ZSTD_setLog2Prices()96 return ZSTD_highbit32((U32)litLength + 1) + (litLength * 6); in ZSTD_getLiteralPrice()99 return ssPtr->log2litLengthSum - ZSTD_highbit32(ssPtr->litLengthFreq[0] + 1); in ZSTD_getLiteralPrice()107 price -= ZSTD_highbit32(ssPtr->litFreq[literals2[u]] + 1); in ZSTD_getLiteralPrice()113 price -= ZSTD_highbit32(ssPtr->litFreq[literals[u]] + 1); in ZSTD_getLiteralPrice()136 BYTE const offCode = (BYTE)ZSTD_highbit32(offset + 1); in ZSTD_getPrice()141 …price = offCode + seqStorePtr->log2offCodeSum - ZSTD_highbit32(seqStorePtr->offCodeFreq[offCode] +… in ZSTD_getPrice()[all …]
236 ZSTD_STATIC U32 ZSTD_highbit32(U32 val) { return 31 - __builtin_clz(val); } in ZSTD_highbit32() function
1246 if (ZSTD_highbit32(windowSize) > STREAM_ACCUMULATOR_MIN) { in ZSTD_decodeSequenceLong()
Completed in 12 milliseconds