Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress_internal.h37 static UNUSED_ATTR const U32 OF_base[MaxOff+1] = {
43 static UNUSED_ATTR const U8 OF_bits[MaxOff+1] = {
Dzstd_decompress.c1316 { short offcodeNCount[MaxOff+1]; in ZSTD_loadDEntropy()
1317 unsigned offcodeMaxValue = MaxOff, offcodeLog; in ZSTD_loadDEntropy()
1320 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
Dzstd_decompress_block.c705 OFtype, MaxOff, OffFSELog, in ZSTD_decodeSeqHeaders()
1204 assert(ofBits <= MaxOff);
/linux-6.12.1/lib/zstd/common/
Dzstd_internal.h100 #define MaxOff 31 macro
109 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
/linux-6.12.1/lib/zstd/compress/
Dzstd_opt.c183 for (of=0; of<=MaxOff; of++) { in ZSTD_rescaleFreqs()
217 { unsigned const baseOFCfreqs[MaxOff+1] = { in ZSTD_rescaleFreqs()
224 optPtr->offCodeSum = sum_u32(baseOFCfreqs, MaxOff+1); in ZSTD_rescaleFreqs()
236 optPtr->offCodeSum = ZSTD_scaleStats(optPtr->offCodeFreq, MaxOff, 11); in ZSTD_rescaleFreqs()
349 assert(offCode <= MaxOff); in ZSTD_updateStats()
Dzstd_compress_superblock.c372 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
Dzstd_compress.c1368 + ZSTD_cwksp_aligned_alloc_size((MaxOff+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1694 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2412 { unsigned max = MaxOff; in ZSTD_buildSequencesStatistics()
3220 …qSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, nbSeq, MaxOff, in ZSTD_estimateBlockSize_sequences()
4226 short offcodeNCount[MaxOff+1]; in ZSTD_loadCEntropy()
4227 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadCEntropy()
4255 offcodeNCount, MaxOff, offcodeLog, in ZSTD_loadCEntropy()
4297 U32 offcodeMax = MaxOff; in ZSTD_loadCEntropy()
4303 …ffcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)); in ZSTD_loadCEntropy()
Dzstd_compress_internal.h65 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];