Searched refs:rankVal (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/lib/zstd/decompress/ |
D | huf_decompress.c | 299 static U32 HUF_rescaleStats(BYTE* huffWeight, U32* rankVal, U32 nbSymbols, U32 tableLog, U32 target… in HUF_rescaleStats() argument 315 rankVal[s] = rankVal[s - scale]; in HUF_rescaleStats() 318 rankVal[s] = 0; in HUF_rescaleStats() 325 U32 rankVal[HUF_TABLELOG_ABSOLUTEMAX + 1]; member 353 …iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &… in HUF_readDTableX1_wksp_bmi2() 361 … tableLog = HUF_rescaleStats(wksp->huffWeight, wksp->rankVal, nbSymbols, tableLog, targetTableLog); in HUF_readDTableX1_wksp_bmi2() 387 nextRankStart += wksp->rankVal[n]; in HUF_readDTableX1_wksp_bmi2() 411 int symbol=wksp->rankVal[0]; in HUF_readDTableX1_wksp_bmi2() 414 int const symbolCount = wksp->rankVal[w]; in HUF_readDTableX1_wksp_bmi2() 932 const U32* rankVal, const int minWeight, const int maxWeight1, in HUF_fillDTableX2Level2() argument [all …]
|
/linux-6.12.1/lib/zstd/compress/ |
D | huf_compress.c | 221 U32 rankVal[HUF_TABLELOG_ABSOLUTEMAX + 1]; /* large enough for values from 0 to 16 */ in HUF_readCTable() local 227 …CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLo… in HUF_readCTable() 228 *hasZeroWeights = (rankVal[0] > 0); in HUF_readCTable() 240 nextRankStart += (rankVal[n] << (n-1)); in HUF_readCTable() 241 rankVal[n] = curr; in HUF_readCTable()
|