Searched refs:offCodeFreq (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_opt.c | 168 … optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs() 169 optPtr->offCodeSum += optPtr->offCodeFreq[of]; in ZSTD_rescaleFreqs() 195 optPtr->offCodeFreq[of] = 1; in ZSTD_rescaleFreqs() 207 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_rescaleFreqs() 272 … * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLe… in ZSTD_getMatchPrice() 310 optPtr->offCodeFreq[offCode]++; in ZSTD_updateStats() 1099 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_upscaleStats()
|
H A D | zstd_compress_internal.h | 106 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member
|
H A D | zstd_compress.c | 1392 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_opt.c | 187 … optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs() 188 optPtr->offCodeSum += optPtr->offCodeFreq[of]; in ZSTD_rescaleFreqs() 223 ZSTD_memcpy(optPtr->offCodeFreq, baseOFCfreqs, sizeof(baseOFCfreqs)); in ZSTD_rescaleFreqs() 236 optPtr->offCodeSum = ZSTD_scaleStats(optPtr->offCodeFreq, MaxOff, 11); in ZSTD_rescaleFreqs() 312 … * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLe… in ZSTD_getMatchPrice() 350 optPtr->offCodeFreq[offCode]++; in ZSTD_updateStats()
|
H A D | zstd_compress_internal.h | 168 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member
|
H A D | zstd_compress.c | 1773 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
|
/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v05.c | 541 U32* offCodeFreq; member
|
H A D | zstd_v06.c | 595 U32* offCodeFreq; member
|
H A D | zstd_v07.c | 2829 U32* offCodeFreq; member
|