Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dhuf_compress.c237 U32 rankLast[HUF_TABLELOG_MAX+2]; in HUF_setMaxHeight() local
240 memset(rankLast, 0xF0, sizeof(rankLast)); in HUF_setMaxHeight()
246 rankLast[maxNbBits-currentNbBits] = (U32)pos; in HUF_setMaxHeight()
265 if (rankLast[nBitsToDecrease-1] == noSymbol) in HUF_setMaxHeight()
266rankLast[nBitsToDecrease-1] = rankLast[nBitsToDecrease]; /* this rank is no longer empty */ in HUF_setMaxHeight()
267 huffNode[rankLast[nBitsToDecrease]].nbBits ++; in HUF_setMaxHeight()
269 rankLast[nBitsToDecrease] = noSymbol; in HUF_setMaxHeight()
271 rankLast[nBitsToDecrease]--; in HUF_setMaxHeight()
281 rankLast[1] = (U32)(n+1); in HUF_setMaxHeight()
285 huffNode[ rankLast[1] + 1 ].nbBits--; in HUF_setMaxHeight()
[all …]
/freebsd/sys/contrib/zstd/lib/compress/
H A Dhuf_compress.c341 U32 rankLast[HUF_TABLELOG_MAX+2]; in HUF_setMaxHeight() local
344 ZSTD_memset(rankLast, 0xF0, sizeof(rankLast)); in HUF_setMaxHeight()
378 huffNode[rankLast[nBitsToDecrease]].nbBits++; in HUF_setMaxHeight()
384 if (rankLast[nBitsToDecrease-1] == noSymbol) in HUF_setMaxHeight()
385 rankLast[nBitsToDecrease-1] = rankLast[nBitsToDecrease]; in HUF_setMaxHeight()
394 rankLast[nBitsToDecrease] = noSymbol; in HUF_setMaxHeight()
396 rankLast[nBitsToDecrease]--; in HUF_setMaxHeight()
412 if (rankLast[1] == noSymbol) { in HUF_setMaxHeight()
416 rankLast[1] = (U32)(n+1); in HUF_setMaxHeight()
420 huffNode[ rankLast[1] + 1 ].nbBits--; in HUF_setMaxHeight()
[all …]