MaxML
#define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
#define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) * OffFSELog + 7) / 8)
static UNUSED_ATTR const U8 ML_bits[MaxML+1] = {
static UNUSED_ATTR const S16 ML_defaultNorm[MaxML+1] = {
ZSTD_cwksp_aligned64_alloc_size((MaxML+1) * sizeof(U32))
ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned64(ws, (MaxML+1) * sizeof(unsigned));
mlCodeTable[seqStorePtr->longLengthPos] = MaxML;
{ unsigned max = MaxML;
ML_defaultNorm, ML_defaultNormLog, MaxML,
cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, nbSeq, MaxML,
ML_defaultNorm, ML_defaultNormLog, MaxML,
{ short matchlengthNCount[MaxML+1];
unsigned matchlengthMaxValue = MaxML, matchlengthLog;
bs->entropy.fse.matchlength_repeatMode = ZSTD_dictNCountRepeat(matchlengthNCount, matchlengthMaxValue, MaxML);
FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)];
cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML,
ML_defaultNorm, ML_defaultNormLog, MaxML,
for (ml=0; ml<=MaxML; ml++) {
for (ml=0; ml<=MaxML; ml++)
optPtr->matchLengthSum = MaxML+1;
optPtr->matchLengthSum = ZSTD_scaleStats(optPtr->matchLengthFreq, MaxML, 11);
{ short matchlengthNCount[MaxML+1];
unsigned matchlengthMaxValue = MaxML, matchlengthLog;
RETURN_ERROR_IF(matchlengthMaxValue > MaxML, dictionary_corrupted, "");
MLtype, MaxML, MLFSELog,
static UNUSED_ATTR const U32 ML_base[MaxML+1] = {