Home
last modified time | relevance | path

Searched refs:kFast (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dhuf_compress.c784 FORCE_INLINE_TEMPLATE void HUF_addBits(HUF_CStream_t* bitC, HUF_CElt elt, int idx, int kFast) in HUF_addBits() argument
794 bitC->bitContainer[idx] |= kFast ? HUF_getValueFast(elt) : HUF_getValue(elt); in HUF_addBits()
812 assert(!kFast || (bitC->bitPos[idx] & 0xFF) <= HUF_BITS_IN_CONTAINER); in HUF_addBits()
844 FORCE_INLINE_TEMPLATE void HUF_flushBits(HUF_CStream_t* bitC, int kFast) in HUF_flushBits() argument
858 assert(!kFast || bitC->ptr <= bitC->endPtr); in HUF_flushBits()
859 if (!kFast && bitC->ptr > bitC->endPtr) bitC->ptr = bitC->endPtr; in HUF_flushBits()