Home
last modified time | relevance | path

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

/freebsd-13.1/sys/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()
/freebsd-13.1/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.c8129 …{ CHECK_V_F(maxCount, HIST_count_wksp(count, &maxSymbolValue, src, srcSize, scratchBuffer, scrat… in FSE_compress_wksp()
8130 if (maxCount == srcSize) return 1; /* only a single symbol in src : rle */ in FSE_compress_wksp()
8131 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in FSE_compress_wksp()
8132 if (maxCount < (srcSize >> 7)) return 0; /* Heuristic : not compressible enough */ in FSE_compress_wksp()
8444 …{ unsigned const maxCount = HIST_count_simple(count, &maxSymbolValue, weightTable, wtSize); /*… in HUF_compressWeights() local
8445 if (maxCount == wtSize) return 1; /* only a single symbol in src : rle */ in HUF_compressWeights()
8446 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in HUF_compressWeights()
/freebsd-13.1/contrib/sqlite3/
H A Dsqlite3.c26144 u32 maxCount; /* Maximum instantaneous currentCount */
26302 if( mem5.maxCount<mem5.currentCount ) mem5.maxCount = mem5.currentCount;
26575 fprintf(out, "mem5.maxCount = %u\n", mem5.maxCount);