Home
last modified time | relevance | path

Searched refs:minMatch (Results 1 – 25 of 25) 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.c552 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree()
571 U32 const minMatch = (mls==3) ? 3 : 4; in ZSTD_insertBtAndGetAllMatches() local
622 …(repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, mi… in ZSTD_insertBtAndGetAllMatches()
623 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches()
633 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches()
634 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches()
639 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches()
640 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + in ZSTD_insertBtAndGetAllMatches()
807 assert(BOUNDED(3, ms->cParams.minMatch, 6) == mls); in ZSTD_btGetAllMatches_internal()
859 U32 const mls = BOUNDED(3, ms->cParams.minMatch, 6);
[all …]
Dzstd_ldm.c583 ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize, U32 const minMatch) in ZSTD_ldm_skipSequences() argument
597 if (seq->matchLength < minMatch) { in ZSTD_ldm_skipSequences()
620 U32 const remaining, U32 const minMatch) in maybeSplitSequence() argument
634 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
639 ZSTD_ldm_skipSequences(rawSeqStore, remaining, minMatch); in maybeSplitSequence()
666 unsigned const minMatch = cParams->minMatch; in ZSTD_ldm_blockCompress() local
691 (U32)(iend - ip), minMatch); in ZSTD_ldm_blockCompress()
Dzstd_ldm.h80 U32 const minMatch);
Dzstd_fast.c22 U32 const mls = cParams->minMatch; in ZSTD_fillHashTable()
339 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast()
531 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_dictMatchState()
662 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast_extDict()
Dzstd_double_fast.c21 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTable()
494 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast()
514 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_dictMatchState()
683 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_extDict()
Dzstd_lazy.c431 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
500 U32 const h = (U32)ZSTD_hashPtr(base + idx, hashLog, ms->cParams.minMatch) in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
643 return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch); in ZSTD_insertAndFindFirstIndex()
980 const U32 mls = MIN(ms->cParams.minMatch, 6 /* mls caps out at 6 */); in ZSTD_row_update()
1342 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1355 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1368 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \
1461 U32 const mls = MAX(4, MIN(6, ms->cParams.minMatch)); in ZSTD_selectLazyVTable()
1529 MIN(ms->cParams.minMatch, 6 /* mls caps out at 6 */), in ZSTD_compressBlock_lazy_generic()
1895 MIN(ms->cParams.minMatch, 6 /* mls caps out at 6 */), in ZSTD_compressBlock_lazy_extDict_generic()
Dzstd_compress.c749 CCtxParams->cParams.minMatch = value; in ZSTD_CCtxParams_setParameter()
750 return CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_setParameter()
953 *value = CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_getParameter()
1238 BOUNDCHECK(ZSTD_c_minMatch, (int)cParams.minMatch); in ZSTD_checkCParams()
1260 CLAMP(ZSTD_c_minMatch, cParams.minMatch); in ZSTD_clampCParams()
1396 if (overrides->minMatch) cParams->minMatch = overrides->minMatch; in ZSTD_overrideCParams()
1427 …U32 const hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->window… in ZSTD_sizeof_matchState()
1469 U32 const divider = (cParams->minMatch==3) ? 3 : 4; in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1662 assert(cParams1.minMatch == cParams2.minMatch); in ZSTD_assertEqualCParams()
1735 …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/programs/
Dzstdcli.c594 …ringPtr, "minMatch=") || longCommandWArg(&stringPtr, "mml=")) { params->minMatch = readU32FromChar… in parseCompressionParameters()
607 …DISPLAYLEVEL(4, "minMatch=%d, targetLength=%d, strategy=%d \n", params->minMatch, params->targetLe… in parseCompressionParameters()
667 DISPLAY(" - minMatch : %u\n", cParams.minMatch); in printDefaultCParams()
682 actualCParams.minMatch = cParams->minMatch == 0 ? actualCParams.minMatch : cParams->minMatch; in printActualCParams()
687 actualCParams.minMatch, actualCParams.targetLength, actualCParams.strategy); in printActualCParams()
Dbenchzstd.c188 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_minMatch, (int)comprParams->minMatch)); in BMK_initCCtx()
Dzstd.1.md510 - `minMatch`=_mml_, `mml`=_mml_:
Dfileio.c1041 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_minMatch, (int)comprParams.minMatch) ); in FIO_createCResources()
/external/zstd/tests/
Dlongmatch.c53 params.cParams.minMatch = 7; in main()
Dfullbench.c529 ZSTD_CCtx_setParameter(g_zcc, ZSTD_c_minMatch, (int)cparams.minMatch); in benchMem()
538 ZSTD_CCtx_setParameter(g_cstream, ZSTD_c_minMatch, (int)cparams.minMatch); in benchMem()
884 …argument, "minMatch=") || longCommandWArg(&argument, "mml=")) { cparams.minMatch = readU32FromChar… in main()
Dzstreamtest.c233 CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_minMatch, (int*)&savedParams->cParams.minMatch)); in getCCtxParams()
253 CHECK_RET(5, params.cParams.minMatch != savedParams.cParams.minMatch, "minMatch"); in badParameters()
377 params.cParams.minMatch = 2; in basicUnitTests()
2172 cParams.minMatch += (FUZ_rand(&lseed) & 3) - 1; in fuzzerTests_newAPI()
2191 …ed) & 1) CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_minMatch, cParams.minMatch, opaqueAPI) ); in fuzzerTests_newAPI()
DREADME.md144 l# - minMatch
Dparamgrill.c340 c.minMatch = p.vals[mml_ind]; in pvalsToCParams()
355 p.vals[mml_ind] = c.minMatch; in cParamsToPVals()
/external/zstd/contrib/linux-kernel/
Dzstd_compress_module.c43 cctx, ZSTD_c_minMatch, parameters->cParams.minMatch)); in zstd_cctx_init()
/external/zstd/lib/deprecated/
Dzbuff_compress.c85 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_minMatch, params.cParams.minMatch), ""); in ZBUFF_compressInit_advanced()
/external/zstd/tests/regression/
Dconfig.c391 zparams.cParams.minMatch = value; in config_get_zstd_params()
/external/zstd/lib/
Dzstd.h1220 …unsigned minMatch; /**< match length searched : larger == faster decompression, sometimes l… member
/external/zstd/zlibWrapper/
Dzstd_zlibwrapper.c213 …inLog, params.cParams.hashLog, params.cParams.searchLog, params.cParams.minMatch, params.cParams.s… in ZWRAP_initializeCStream()