Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dhuf_compress.c338 U32 rankLast[HUF_TABLELOG_MAX+2]; in HUF_setMaxHeight() local
341 ZSTD_memset(rankLast, 0xF0, sizeof(rankLast)); in HUF_setMaxHeight()
347 rankLast[maxNbBits-currentNbBits] = (U32)pos; in HUF_setMaxHeight()
356 U32 const highPos = rankLast[nBitsToDecrease]; in HUF_setMaxHeight()
357 U32 const lowPos = rankLast[nBitsToDecrease-1]; in HUF_setMaxHeight()
368 assert(rankLast[nBitsToDecrease] != noSymbol || nBitsToDecrease == 1); in HUF_setMaxHeight()
370 … while ((nBitsToDecrease<=HUF_TABLELOG_MAX) && (rankLast[nBitsToDecrease] == noSymbol)) in HUF_setMaxHeight()
372 assert(rankLast[nBitsToDecrease] != noSymbol); in HUF_setMaxHeight()
375 huffNode[rankLast[nBitsToDecrease]].nbBits++; in HUF_setMaxHeight()
381 if (rankLast[nBitsToDecrease-1] == noSymbol) in HUF_setMaxHeight()
[all …]