Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dhuf_compress.c252 U16 valPerRank[HUF_TABLELOG_MAX+2] = {0}; in HUF_readCTable() local
255 valPerRank[tableLog+1] = 0; /* for w==0 */ in HUF_readCTable()
258 valPerRank[n] = min; /* get starting value within each rank */ in HUF_readCTable()
263 … { U32 n; for (n=0; n<nbSymbols; n++) HUF_setValue(ct + n, valPerRank[HUF_getNbBits(ct[n])]++); } in HUF_readCTable()
659 U16 valPerRank[HUF_TABLELOG_MAX+1] = {0}; in HUF_buildCTableFromTree() local
666 valPerRank[n] = min; /* get starting value within each rank */ in HUF_buildCTableFromTree()
673 …HUF_setValue(ct + n, valPerRank[HUF_getNbBits(ct[n])]++); /* assign value within rank, symbol or… in HUF_buildCTableFromTree()