Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c652 …{ CHECK_V_F(maxCount, HIST_count_wksp(count, &maxSymbolValue, src, srcSize, scratchBuffer, scrat… in FSE_compress_wksp()
653 if (maxCount == srcSize) return 1; /* only a single symbol in src : rle */ in FSE_compress_wksp()
654 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in FSE_compress_wksp()
655 if (maxCount < (srcSize >> 7)) return 0; /* Heuristic : not compressible enough */ in FSE_compress_wksp()
H A Dhuf_compress.c82 …{ unsigned const maxCount = HIST_count_simple(count, &maxSymbolValue, weightTable, wtSize); /*… in HUF_compressWeights() local
83 if (maxCount == wtSize) return 1; /* only a single symbol in src : rle */ in HUF_compressWeights()
84 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in HUF_compressWeights()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c692 …{ CHECK_V_F(maxCount, HIST_count_wksp(count, &maxSymbolValue, src, srcSize, scratchBuffer, scrat… in FSE_compress_wksp()
693 if (maxCount == srcSize) return 1; /* only a single symbol in src : rle */ in FSE_compress_wksp()
694 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in FSE_compress_wksp()
695 if (maxCount < (srcSize >> 7)) return 0; /* Heuristic : not compressible enough */ in FSE_compress_wksp()
H A Dhuf_compress.c108 …{ unsigned const maxCount = HIST_count_simple(wksp->count, &maxSymbolValue, weightTable, wtSize)… in HUF_compressWeights() local
109 if (maxCount == wtSize) return 1; /* only a single symbol in src : rle */ in HUF_compressWeights()
110 … if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in HUF_compressWeights()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c28269 u32 maxCount; /* Maximum instantaneous currentCount */ member
28427 if( mem5.maxCount<mem5.currentCount ) mem5.maxCount = mem5.currentCount; in memsys5MallocUnsafe()
28709 fprintf(out, "mem5.maxCount = %u\n", mem5.maxCount); in sqlite3Memsys5Dump()