Home
last modified time | relevance | path

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

/lib/zstd/
Dhuf_compress.c316 U32 rankLast[HUF_TABLELOG_MAX + 2]; in HUF_setMaxHeight() local
320 memset(rankLast, 0xF0, sizeof(rankLast)); in HUF_setMaxHeight()
327 rankLast[maxNbBits - currNbBits] = pos; in HUF_setMaxHeight()
334 U32 highPos = rankLast[nBitsToDecrease]; in HUF_setMaxHeight()
335 U32 lowPos = rankLast[nBitsToDecrease - 1]; in HUF_setMaxHeight()
349 while ((nBitsToDecrease <= HUF_TABLELOG_MAX) && (rankLast[nBitsToDecrease] == noSymbol)) in HUF_setMaxHeight()
352 if (rankLast[nBitsToDecrease - 1] == noSymbol) in HUF_setMaxHeight()
353 rankLast[nBitsToDecrease - 1] = rankLast[nBitsToDecrease]; /* this rank is no longer empty */ in HUF_setMaxHeight()
354 huffNode[rankLast[nBitsToDecrease]].nbBits++; in HUF_setMaxHeight()
355 if (rankLast[nBitsToDecrease] == 0) /* special case, reached largest symbol */ in HUF_setMaxHeight()
[all …]