Home
last modified time | relevance | path

Searched refs:SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE (Results 1 – 2 of 2) sorted by relevance

/src/sys/contrib/zstd/lib/compress/
H A Dhuf_compress.c1171 #define SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE 4096 macro
1212 …if (suspectUncompressible && srcSize >= (SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE * SUSPECT_INCOMPRESSIB… in HUF_compress_internal()
1215 …imple (table->count, &maxSymbolValueBegin, (const BYTE*)src, SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE) ); in HUF_compress_internal()
1219 …olValueEnd, (const BYTE*)src + srcSize - SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE, SUSPECT_INCOMPRESSIBL… in HUF_compress_internal()
1222 …if (largestTotal <= ((2 * SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE) >> 7)+4) return 0; /* heuristic : … in HUF_compress_internal()
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dhuf_compress.c1252 #define SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE 4096 macro
1368 …if ((flags & HUF_flags_suspectUncompressible) && srcSize >= (SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE * … in HUF_compress_internal()
1372 …imple (table->count, &maxSymbolValueBegin, (const BYTE*)src, SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE) ); in HUF_compress_internal()
1376 …olValueEnd, (const BYTE*)src + srcSize - SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE, SUSPECT_INCOMPRESSIBL… in HUF_compress_internal()
1379 …if (largestTotal <= ((2 * SUSPECT_INCOMPRESSIBLE_SAMPLE_SIZE) >> 7)+4) return 0; /* heuristic : … in HUF_compress_internal()