Home
last modified time | relevance | path

Searched refs:minMatch (Results 1 – 24 of 24) sorted by relevance

/external/jackson-core/src/main/java/com/fasterxml/jackson/core/format/
DDataFormatDetector.java67 MatchStrength optMatch, MatchStrength minMatch, int maxInputLookahead) { in DataFormatDetector() argument
70 _minimalMatch = minMatch; in DataFormatDetector()
90 public DataFormatDetector withMinimalMatch(MatchStrength minMatch) { in withMinimalMatch() argument
91 if (minMatch == _minimalMatch) { in withMinimalMatch()
94 return new DataFormatDetector(_detectors, _optimalMatch, minMatch, _maxInputLookahead); in withMinimalMatch()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DDataFormatReaders.java74 MatchStrength optMatch, MatchStrength minMatch, in DataFormatReaders() argument
79 _minimalMatch = minMatch; in DataFormatReaders()
96 public DataFormatReaders withMinimalMatch(MatchStrength minMatch) { in withMinimalMatch() argument
97 if (minMatch == _minimalMatch) { in withMinimalMatch()
100 return new DataFormatReaders(_readers, _optimalMatch, minMatch, _maxInputLookahead); in withMinimalMatch()
/external/zstd/lib/compress/
Dzstd_opt.c505 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree()
524 U32 const minMatch = (mls==3) ? 3 : 4; in ZSTD_insertBtAndGetAllMatches() local
575 …(repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, mi… in ZSTD_insertBtAndGetAllMatches()
576 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches()
586 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches()
587 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches()
592 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches()
593 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + in ZSTD_insertBtAndGetAllMatches()
752 U32 const matchLengthSearch = cParams->minMatch; in ZSTD_BtGetAllMatches()
948 U32 const minMatch = (cParams->minMatch == 3) ? 3 : 4; in ZSTD_compressBlock_opt_generic() local
[all …]
Dzstd_ldm.c521 void ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize, U32 const minMatch) { in ZSTD_ldm_skipSequences() argument
534 if (seq->matchLength < minMatch) { in ZSTD_ldm_skipSequences()
557 U32 const remaining, U32 const minMatch) in maybeSplitSequence() argument
571 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
576 ZSTD_ldm_skipSequences(rawSeqStore, remaining, minMatch); in maybeSplitSequence()
602 unsigned const minMatch = cParams->minMatch; in ZSTD_ldm_blockCompress() local
627 (U32)(iend - ip), minMatch); in ZSTD_ldm_blockCompress()
Dzstd_ldm.h79 U32 const minMatch);
Dzstd_lazy.c399 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_selectMLS()
415 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_dictMatchState_selectMLS()
431 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_extDict_selectMLS()
476 return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch); in ZSTD_insertAndFindFirstIndex()
513 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
582 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch) in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
790 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_selectMLS()
806 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_dictMatchState_selectMLS()
822 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_dedicatedDictSearch_selectMLS()
838 switch(ms->cParams.minMatch) in ZSTD_HcFindBestMatch_extDict_selectMLS()
Dzstd_fast.c22 U32 const mls = cParams->minMatch; in ZSTD_fillHashTable()
190 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast()
358 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_dictMatchState()
483 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_extDict()
Dzstd_double_fast.c21 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTable()
323 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast()
343 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_dictMatchState()
508 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_extDict()
Dzstd_compress.c639 CCtxParams->cParams.minMatch = value; in ZSTD_CCtxParams_setParameter()
640 return CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_setParameter()
828 *value = CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_getParameter()
1104 BOUNDCHECK(ZSTD_c_minMatch, (int)cParams.minMatch); in ZSTD_checkCParams()
1126 CLAMP(ZSTD_c_minMatch, cParams.minMatch); in ZSTD_clampCParams()
1250 if (overrides->minMatch) cParams->minMatch = overrides->minMatch; in ZSTD_overrideCParams()
1276 …U32 const hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->window… in ZSTD_sizeof_matchState()
1308 U32 const divider = (cParams->minMatch==3) ? 3 : 4; in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1468 assert(cParams1.minMatch == cParams2.minMatch); in ZSTD_assertEqualCParams()
1535 …U32 const hashLog3 = ((forWho == ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HAS… in ZSTD_reset_matchState()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DLZ77Compressor.java419 final int minMatch = params.getMinBackReferenceLength(); in compress() local
423 while (lookahead >= minMatch) { in compress()
431 if (lazy && matchLength <= lazyThreshold && lookahead > minMatch) { in compress()
436 if (matchLength >= minMatch) { in compress()
/external/zstd/tests/fuzz/
Dzstd_helpers.c43 cParams.minMatch = FUZZ_dataProducer_uint32Range(producer, ZSTD_MINMATCH_MIN, in FUZZ_randomCParams()
75 set(cctx, ZSTD_c_minMatch, cParams.minMatch); in FUZZ_setRandomParameters()
/external/zstd/tests/
Dlongmatch.c53 params.cParams.minMatch = 7; in main()
Dfullbench.c502 ZSTD_CCtx_setParameter(g_zcc, ZSTD_c_minMatch, (int)cparams.minMatch); in benchMem()
512 ZSTD_CCtx_setParameter(g_cstream, ZSTD_c_minMatch, (int)cparams.minMatch); in benchMem()
855 …argument, "minMatch=") || longCommandWArg(&argument, "mml=")) { cparams.minMatch = readU32FromChar… in main()
Dzstreamtest.c232 CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_minMatch, (int*)&savedParams->cParams.minMatch)); in getCCtxParams()
252 CHECK_RET(5, params.cParams.minMatch != savedParams.cParams.minMatch, "minMatch"); in badParameters()
374 params.cParams.minMatch = 2; in basicUnitTests()
2150 cParams.minMatch += (FUZ_rand(&lseed) & 3) - 1; in fuzzerTests_newAPI()
2169 …ed) & 1) CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_minMatch, cParams.minMatch, opaqueAPI) ); in fuzzerTests_newAPI()
DREADME.md145 l# - minMatch
Dparamgrill.c340 c.minMatch = p.vals[mml_ind]; in pvalsToCParams()
355 p.vals[mml_ind] = c.minMatch; in cParamsToPVals()
/external/zstd/tests/regression/
Dconfig.c265 zparams.cParams.minMatch = value; in config_get_zstd_params()
/external/zstd/contrib/linux-kernel/
Dzstd_compress_module.c33 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, minMatch) == in zstd_check_structs()
/external/zstd/programs/
Dzstdcli.c545 …ringPtr, "minMatch=") || longCommandWArg(&stringPtr, "mml=")) { params->minMatch = readU32FromChar… in parseCompressionParameters()
558 …DISPLAYLEVEL(4, "minMatch=%d, targetLength=%d, strategy=%d \n", params->minMatch, params->targetLe… in parseCompressionParameters()
1344 DISPLAY(" - minMatch : %u\n", cParams.minMatch); in main()
Dbenchzstd.c187 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_minMatch, (int)comprParams->minMatch)); in BMK_initCCtx()
Dzstd.1.md483 - `minMatch`=_mml_, `mml`=_mml_:
Dfileio.c984 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_minMatch, (int)comprParams.minMatch) ); in FIO_createCResources()
/external/zstd/lib/
Dzstd.h1168 …unsigned minMatch; /**< match length searched : larger == faster decompression, sometimes l… member
/external/zstd/zlibWrapper/
Dzstd_zlibwrapper.c211 …inLog, params.cParams.hashLog, params.cParams.searchLog, params.cParams.minMatch, params.cParams.s… in ZWRAP_initializeCStream()