Searched refs:offCodeFreq (Results 1 - 9 of 9) sorted by relevance
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_opt.c | 167 optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; 168 optPtr->offCodeSum += optPtr->offCodeFreq[of]; 194 optPtr->offCodeFreq[of] = 1; 206 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); 271 price = (offCode * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLevel)); 309 optPtr->offCodeFreq[offCode]++; 1098 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0);
|
H A D | zstd_compress_internal.h | 105 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member in struct:__anon185
|
H A D | zstd_compress.c | 1391 ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned));
|
/freebsd-current/sys/contrib/zstd/lib/compress/ |
H A D | zstd_opt.c | 187 optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; 188 optPtr->offCodeSum += optPtr->offCodeFreq[of]; 223 ZSTD_memcpy(optPtr->offCodeFreq, baseOFCfreqs, sizeof(baseOFCfreqs)); 236 optPtr->offCodeSum = ZSTD_scaleStats(optPtr->offCodeFreq, MaxOff, 11); 312 price = (offCode * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLevel)); 350 optPtr->offCodeFreq[offCode]++;
|
H A D | zstd_compress_internal.h | 168 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member in struct:__anon92
|
H A D | zstd_compress.c | 1773 ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned));
|
/freebsd-current/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v06.c | 595 U32* offCodeFreq; member in struct:__anon254
|
H A D | zstd_v05.c | 541 U32* offCodeFreq; member in struct:__anon231
|
H A D | zstd_v07.c | 2829 U32* offCodeFreq; member in struct:__anon286
|
Completed in 329 milliseconds