Home
last modified time | relevance | path

Searched refs:ZSTD_HASHLOG_MIN (Results 1 – 7 of 7) sorted by relevance

/external/zstd/tests/fuzz/
Dzstd_helpers.c40 cParams.hashLog = FUZZ_dataProducer_uint32Range(producer, ZSTD_HASHLOG_MIN, 15); in FUZZ_randomCParams()
84 setRand(cctx, ZSTD_c_ldmHashLog, ZSTD_HASHLOG_MIN, 16, producer); in FUZZ_setRandomParameters()
/external/zstd/lib/
Dzstd.h1077 #define ZSTD_HASHLOG_MIN 6 macro
1081 #define ZSTD_CHAINLOG_MIN ZSTD_HASHLOG_MIN
1103 #define ZSTD_LDM_HASHLOG_MIN ZSTD_HASHLOG_MIN
1110 #define ZSTD_LDM_HASHRATELOG_MAX (ZSTD_WINDOWLOG_MAX - ZSTD_HASHLOG_MIN)
/external/zstd/lib/compress/
Dzstd_ldm.c31 params->hashLog = MAX(ZSTD_HASHLOG_MIN, params->windowLog - LDM_HASH_RLOG); in ZSTD_ldm_adjustParameters()
Dzstd_compress.c314 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds()
758 RETURN_ERROR_IF(value > ZSTD_WINDOWLOG_MAX - ZSTD_HASHLOG_MIN, in ZSTD_CCtxParams_setParameter()
1211 static U32 const hashSizeMin = 1 << ZSTD_HASHLOG_MIN; in ZSTD_adjustCParams_internal()
1212 U32 const srcLog = (tSize < hashSizeMin) ? ZSTD_HASHLOG_MIN : in ZSTD_adjustCParams_internal()
/external/zstd/tests/
Dfuzzer.c1177 CHECK_Z(ZSTD_CCtx_setParameter(cctx, ZSTD_c_hashLog, ZSTD_HASHLOG_MIN)); in basicUnitTests()
1181 CHECK_EQ(value, ZSTD_HASHLOG_MIN); in basicUnitTests()
1186 CHECK_EQ(value, ZSTD_HASHLOG_MIN); in basicUnitTests()
1192 CHECK_EQ(value, ZSTD_HASHLOG_MIN); in basicUnitTests()
1198 CHECK_EQ(value, ZSTD_HASHLOG_MIN); in basicUnitTests()
Dparamgrill.c76 #define HLOG_RANGE (ZSTD_HASHLOG_MAX - ZSTD_HASHLOG_MIN + 1)
120 …{ ZSTD_WINDOWLOG_MIN, ZSTD_CHAINLOG_MIN, ZSTD_HASHLOG_MIN, ZSTD_SEARCHLOG_MIN, ZSTD_MINMATCH_MIN, …
Dzstreamtest.c2175 …(zc, cctxParams, ZSTD_c_ldmHashLog, FUZ_randomClampedLength(&lseed, ZSTD_HASHLOG_MIN, 23), opaqueA… in fuzzerTests_newAPI()