Home
last modified time | relevance | path

Searched refs:MaxLL (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h136 #define MaxLL 35 macro
139 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
145 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0,
150 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2,
/freebsd-12.1/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c696 U32 litLengthCount[MaxLL+1]; in ZDICT_analyzeEntropy()
697 short litLengthNCount[MaxLL+1]; in ZDICT_analyzeEntropy()
723 for (u=0; u<=MaxLL; u++) litLengthCount[u] = 1; in ZDICT_analyzeEntropy()
786 total=0; for (u=0; u<=MaxLL; u++) total+=litLengthCount[u]; in ZDICT_analyzeEntropy()
787 errorCode = FSE_normalizeCount(litLengthNCount, llLog, litLengthCount, total, MaxLL); in ZDICT_analyzeEntropy()
829 { size_t const lhSize = FSE_writeNCount(dstPtr, maxDstSize, litLengthNCount, MaxLL, llLog); in ZDICT_analyzeEntropy()
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c52 for (u=0; u<=MaxLL; u++) in ZSTD_rescaleFreqs()
54 optPtr->litLengthSum = MaxLL+1; in ZSTD_rescaleFreqs()
71 for (u=0; u<=MaxLL; u++) { in ZSTD_rescaleFreqs()
H A Dzstd_compress.c676 … size_t const optPotentialSpace = ((MaxML+1) + (MaxLL+1) + (MaxOff+1) + (1<<Litbits)) * sizeof(U32) in ZSTD_sizeof_matchState()
922 ms->opt.matchLengthFreq = ms->opt.litLengthFreq + (MaxLL+1); in ZSTD_reset_matchState()
1462 llCodeTable[seqStorePtr->longLengthPos] = MaxLL; in ZSTD_seqToCodes()
1765 { U32 max = MaxLL; in ZSTD_compressSequences_internal()
1771 count, max, llCodeTable, nbSeq, LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_compressSequences_internal()
2302 { short litlengthNCount[MaxLL+1]; in ZSTD_loadZstdDictionary()
2303 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadZstdDictionary()
2308 CHECK_F( ZSTD_checkDictNCount(litlengthNCount, litlengthMaxValue, MaxLL)); in ZSTD_loadZstdDictionary()
H A Dzstd_compress_internal.h59 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
/freebsd-12.1/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c497 #define MaxLL 35 macro
499 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
509 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
512 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
3252 …{ size_t const bhSize = ZSTDv06_buildSeqTable(DTableLL, LLtype, MaxLL, LLFSELog, ip, iend-ip, LL… in ZSTDv06_decodeSeqHeaders()
3297 static const U32 LL_base[MaxLL+1] = { in ZSTDv06_decodeSequence()
3810 { short litlengthNCount[MaxLL+1]; in ZSTDv06_loadEntropy()
3811 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv06_loadEntropy()
H A Dzstd_v01.c1321 #define MaxLL ((1<<LLbits )-1) macro
1328 #define MaxSeq MAX(MaxLL, MaxML)
1619 { U32 max = MaxLL; in ZSTDv01_decodeSeqHeaders()
1697 if (litLength == MaxLL) in ZSTD_decodeSequence()
H A Dzstd_v05.c474 #define MaxLL ((1<<LLbits) - 1) macro
479 #define MaxSeq MAX(MaxLL, MaxML)
3057 { U32 max = MaxLL; in ZSTDv05_decodeSeqHeaders()
3147 if (litLength == MaxLL) { in ZSTDv05_decodeSequence()
3155 …if (dumps > de) { litLength = MaxLL+255; } /* late correction, to avoid using uninitialized memor… in ZSTDv05_decodeSequence()
3636 short litlengthNCount[MaxLL+1]; in ZSTDv05_loadEntropy()
3637 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv05_loadEntropy()
H A Dzstd_v07.c2731 #define MaxLL 35 macro
2733 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
2743 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2746 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
3478 …{ size_t const llhSize = ZSTDv07_buildSeqTable(DTableLL, LLtype, MaxLL, LLFSELog, ip, iend-ip, L… in ZSTDv07_decodeSeqHeaders()
3523 static const U32 LL_base[MaxLL+1] = { in ZSTDv07_decodeSequence()
4086 { short litlengthNCount[MaxLL+1]; in ZSTDv07_loadEntropy()
4087 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv07_loadEntropy()
H A Dzstd_v04.c421 #define MaxLL ((1<<LLbits) - 1) macro
426 #define MaxSeq MAX(MaxLL, MaxML)
2788 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2866 if (litLength == MaxLL) { in ZSTD_decodeSequence()
2873 …if (dumps > de) { litLength = MaxLL+255; } /* late correction, to avoid using uninitialized memor… in ZSTD_decodeSequence()
H A Dzstd_v03.c2354 #define MaxLL ((1<<LLbits )-1) macro
2361 #define MaxSeq MAX(MaxLL, MaxML)
2598 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2677 if (litLength == MaxLL) in ZSTD_decodeSequence()
H A Dzstd_v02.c2713 #define MaxLL ((1<<LLbits )-1) macro
2720 #define MaxSeq MAX(MaxLL, MaxML)
2957 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
3036 if (litLength == MaxLL) in ZSTD_decodeSequence()
/freebsd-12.1/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c908 static const U32 LL_base[MaxLL+1] = {
972 LLtype, MaxLL, LLFSELog, in ZSTD_decodeSeqHeaders()
2213 { short litlengthNCount[MaxLL+1]; in ZSTD_loadEntropy()
2214 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadEntropy()
2217 if (litlengthMaxValue > MaxLL) return ERROR(dictionary_corrupted); in ZSTD_loadEntropy()
/freebsd-12.1/sys/contrib/zstd/tests/
H A Ddecodecorpus.c206 FSE_CTable litlengthCTable [FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
836 { U32 max = MaxLL; in writeSequences()
850 …FSE_buildCTable_wksp(CTable_LitLength, LL_defaultNorm, MaxLL, LL_defaultNormLog, scratchBuffer, si… in writeSequences()