Searched refs:offcodeMax (Results 1 – 2 of 2) sorted by relevance
693 U32 offcodeMax = ZSTD_highbit32((U32)(dictBufferSize + 128 KB)); in ZDICT_analyzeEntropy() local719 …if (offcodeMax>OFFCODE_MAX) { eSize = ERROR(dictionaryCreation_failed); goto _cleanup; } /* too … in ZDICT_analyzeEntropy()721 for (u=0; u<=offcodeMax; u++) offcodeCount[u] = 1; in ZDICT_analyzeEntropy()768 total=0; for (u=0; u<=offcodeMax; u++) total+=offcodeCount[u]; in ZDICT_analyzeEntropy()769 errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax); in ZDICT_analyzeEntropy()
2321 U32 offcodeMax = MaxOff; in ZSTD_loadZstdDictionary() local2324 …offcodeMax = ZSTD_highbit32(maxOffset); /* Calculate minimum offset code required to represent max… in ZSTD_loadZstdDictionary()2327 CHECK_F (ZSTD_checkDictNCount(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff))); in ZSTD_loadZstdDictionary()