Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dfse_compress.c656 …{ CHECK_V_F(maxCount, HIST_count_wksp(count, &maxSymbolValue, src, srcSize, scratchBuffer, scrat… in FSE_compress_wksp()
657 if (maxCount == srcSize) return 1; /* only a single symbol in src : rle */ in FSE_compress_wksp()
658 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in FSE_compress_wksp()
659 if (maxCount < (srcSize >> 7)) return 0; /* Heuristic : not compressible enough */ in FSE_compress_wksp()
H A Dhuf_compress.c81 …{ unsigned const maxCount = HIST_count_simple(count, &maxSymbolValue, weightTable, wtSize); /*… in HUF_compressWeights() local
82 if (maxCount == wtSize) return 1; /* only a single symbol in src : rle */ in HUF_compressWeights()
83 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in HUF_compressWeights()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c8131 …{ CHECK_V_F(maxCount, HIST_count_wksp(count, &maxSymbolValue, src, srcSize, scratchBuffer, scrat… in FSE_compress_wksp()
8132 if (maxCount == srcSize) return 1; /* only a single symbol in src : rle */ in FSE_compress_wksp()
8133 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in FSE_compress_wksp()
8134 if (maxCount < (srcSize >> 7)) return 0; /* Heuristic : not compressible enough */ in FSE_compress_wksp()
8446 …{ unsigned const maxCount = HIST_count_simple(count, &maxSymbolValue, weightTable, wtSize); /*… in HUF_compressWeights() local
8447 if (maxCount == wtSize) return 1; /* only a single symbol in src : rle */ in HUF_compressWeights()
8448 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in HUF_compressWeights()