Home
last modified time | relevance | path

Searched refs:offcodeMax (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c742 U32 offcodeMax = ZSTD_highbit32((U32)(dictBufferSize + 128 KB)); in ZDICT_analyzeEntropy() local
760 …if (offcodeMax>OFFCODE_MAX) { eSize = ERROR(dictionaryCreation_failed); goto _cleanup; } /* too … in ZDICT_analyzeEntropy()
762 for (u=0; u<=offcodeMax; u++) offcodeCount[u] = 1; in ZDICT_analyzeEntropy()
792 for (u=0; u<=offcodeMax; u++) { in ZDICT_analyzeEntropy()
819 total=0; for (u=0; u<=offcodeMax; u++) total+=offcodeCount[u]; in ZDICT_analyzeEntropy()
820 …errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax, /* useLowPr… in ZDICT_analyzeEntropy()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c3013 U32 offcodeMax = MaxOff; in ZSTD_loadZstdDictionary() local
3016offcodeMax = ZSTD_highbit32(maxOffset); /* Calculate minimum offset code required to represent max… in ZSTD_loadZstdDictionary()
3019 …FORWARD_IF_ERROR(ZSTD_checkDictNCount(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)), ""… in ZSTD_loadZstdDictionary()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c4388 U32 offcodeMax = MaxOff; in ZSTD_loadCEntropy() local
4391offcodeMax = ZSTD_highbit32(maxOffset); /* Calculate minimum offset code required to represent max… in ZSTD_loadCEntropy()
4394 …ffcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)); in ZSTD_loadCEntropy()