Searched refs:rankVal (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/lib/zstd/decompress/ |
D | huf_decompress.c | 134 U32 rankVal[HUF_TABLELOG_ABSOLUTEMAX + 1]; member 162 …iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &… in HUF_readDTableX1_wksp_bmi2() 192 nextRankStart += wksp->rankVal[n]; in HUF_readDTableX1_wksp_bmi2() 216 int symbol=wksp->rankVal[0]; in HUF_readDTableX1_wksp_bmi2() 219 int const symbolCount = wksp->rankVal[w]; in HUF_readDTableX1_wksp_bmi2() 534 U32* rankVal = wksp; in HUF_fillDTableX2Level2() local 539 ZSTD_memcpy(rankVal, rankValOrigin, sizeof(U32) * (HUF_TABLELOG_MAX + 1)); in HUF_fillDTableX2Level2() 543 U32 i, skipSize = rankVal[minWeight]; in HUF_fillDTableX2Level2() 557 const U32 start = rankVal[weight]; in HUF_fillDTableX2Level2() 566 rankVal[weight] += length; in HUF_fillDTableX2Level2() [all …]
|
/linux-6.1.9/lib/zstd/compress/ |
D | huf_compress.c | 163 U32 rankVal[HUF_TABLELOG_ABSOLUTEMAX + 1]; /* large enough for values from 0 to 16 */ in HUF_readCTable() local 168 …CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLo… in HUF_readCTable() 169 *hasZeroWeights = (rankVal[0] > 0); in HUF_readCTable() 179 nextRankStart += (rankVal[n] << (n-1)); in HUF_readCTable() 180 rankVal[n] = curr; in HUF_readCTable()
|