Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_opt.c167 … optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
168 optPtr->offCodeSum += optPtr->offCodeFreq[of]; in ZSTD_rescaleFreqs()
194 optPtr->offCodeFreq[of] = 1; in ZSTD_rescaleFreqs()
206 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_rescaleFreqs()
271 … * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLe… in ZSTD_getMatchPrice()
309 optPtr->offCodeFreq[offCode]++; in ZSTD_updateStats()
1243 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_upscaleStats()
H A Dzstd_compress_internal.h121 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member
H A Dzstd_compress.c1572 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()