Home
last modified time | relevance | path

Searched refs:MaxOff (Results 1 – 8 of 8) sorted by relevance

/dragonfly/contrib/zstd/lib/decompress/
H A Dzstd_decompress_internal.h37 static UNUSED_ATTR const U32 OF_base[MaxOff+1] = {
43 static UNUSED_ATTR const U32 OF_bits[MaxOff+1] = {
H A Dzstd_decompress.c1097 { short offcodeNCount[MaxOff+1]; in ZSTD_loadDEntropy()
1098 unsigned offcodeMaxValue = MaxOff, offcodeLog; in ZSTD_loadDEntropy()
1101 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c629 OFtype, MaxOff, OffFSELog, in ZSTD_decodeSeqHeaders()
961 assert(ofBits <= MaxOff); in ZSTD_decodeSequence()
/dragonfly/contrib/zstd/lib/common/
H A Dzstd_internal.h182 #define MaxOff 31 macro
191 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_opt.c163 for (of=0; of<=MaxOff; of++) { in ZSTD_rescaleFreqs()
193 for (of=0; of<=MaxOff; of++) in ZSTD_rescaleFreqs()
196 optPtr->offCodeSum = MaxOff+1; in ZSTD_rescaleFreqs()
206 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_rescaleFreqs()
308 assert(offCode <= MaxOff); in ZSTD_updateStats()
1243 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_upscaleStats()
H A Dzstd_compress_superblock.c221 unsigned max = MaxOff; in ZSTD_buildSuperBlockEntropy_sequences()
648 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
H A Dzstd_compress.c1286 + ZSTD_cwksp_alloc_size((MaxOff+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1572 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2253 { unsigned max = MaxOff; in ZSTD_entropyCompressSequences_internal()
3170 short offcodeNCount[MaxOff+1]; in ZSTD_loadCEntropy()
3171 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadCEntropy()
3199 offcodeNCount, MaxOff, offcodeLog, in ZSTD_loadCEntropy()
3241 U32 offcodeMax = MaxOff; in ZSTD_loadCEntropy()
3247 …ffcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)); in ZSTD_loadCEntropy()
H A Dzstd_compress_internal.h71 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];