Home
last modified time | relevance | path

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

/src/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c175 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
176 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
213 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
235 optPtr->matchLengthSum = ZSTD_scaleStats(optPtr->matchLengthFreq, MaxML, 11); in ZSTD_rescaleFreqs()
318 …COST_MULTIPLIER) + (optPtr->matchLengthSumBasePrice - WEIGHT(optPtr->matchLengthFreq[mlCode], optL… in ZSTD_getMatchPrice()
357 optPtr->matchLengthFreq[mlCode]++; in ZSTD_updateStats()
H A Dzstd_compress_internal.h167 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member
H A Dzstd_compress.c1772 … ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c197 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
198 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
236 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
257 optPtr->matchLengthSum = ZSTD_scaleStats(optPtr->matchLengthFreq, MaxML, 11); in ZSTD_rescaleFreqs()
346 …COST_MULTIPLIER) + (optPtr->matchLengthSumBasePrice - WEIGHT(optPtr->matchLengthFreq[mlCode], optL… in ZSTD_getMatchPrice()
385 optPtr->matchLengthFreq[mlCode]++; in ZSTD_updateStats()
H A Dzstd_compress_internal.h232 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member
H A Dzstd_compress.c2059 …ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned64(ws, (MaxML+1) * sizeof(unsigned)… in ZSTD_reset_matchState()
/src/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c592 U32* matchLengthFreq; member
H A Dzstd_v05.c538 U32* matchLengthFreq; member
H A Dzstd_v07.c2826 U32* matchLengthFreq; member