Force CCtx minmatch to be same as generated minmatch
This commit is contained in:
parent
0a4dbe9cd2
commit
23554ff25f
@ -198,6 +198,7 @@ static size_t roundTripTest(void *result, size_t resultCapacity,
|
|||||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, 0);
|
ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, 0);
|
||||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, cLevel);
|
ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, cLevel);
|
||||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_windowLog, wLog);
|
ZSTD_CCtx_setParameter(cctx, ZSTD_c_windowLog, wLog);
|
||||||
|
ZSTD_CCtx_setParameter(cctx, ZSTD_c_minMatch, ZSTD_MINMATCH_MIN);
|
||||||
/* TODO: Add block delim mode fuzzing */
|
/* TODO: Add block delim mode fuzzing */
|
||||||
ZSTD_CCtx_setParameter(cctx, ZSTD_c_blockDelimiters, ZSTD_sf_noBlockDelimiters);
|
ZSTD_CCtx_setParameter(cctx, ZSTD_c_blockDelimiters, ZSTD_sf_noBlockDelimiters);
|
||||||
if (hasDict) {
|
if (hasDict) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user