Searched refs:offCodeFreq (Results 1 – 3 of 3) sorted by relevance
179 … optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()180 optPtr->offCodeSum += optPtr->offCodeFreq[of]; in ZSTD_rescaleFreqs()206 optPtr->offCodeFreq[of] = 1; in ZSTD_rescaleFreqs()218 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_rescaleFreqs()283 … * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLe… in ZSTD_getMatchPrice()321 optPtr->offCodeFreq[offCode]++; in ZSTD_updateStats()1256 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_upscaleStats()
115 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member
1530 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()