Searched refs:ZSTD_OPT_NUM (Results 1 – 3 of 3) sorted by relevance
520 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_insertBtAndGetAllMatches()671 if ( (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()718 if ( (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()870 …atches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OPT_NUM)) { in ZSTD_optLdm_maybeAddMatch()947 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_compressBlock_opt_generic()1034 assert(cur < ZSTD_OPT_NUM); in ZSTD_compressBlock_opt_generic()1105 || (cur + maxML >= ZSTD_OPT_NUM) ) { in ZSTD_compressBlock_opt_generic()1111 if (cur > ZSTD_OPT_NUM) cur = 0; /* underflow => first match */ in ZSTD_compressBlock_opt_generic()1147 assert(cur < ZSTD_OPT_NUM); /* control overflow*/ in ZSTD_compressBlock_opt_generic()1169 assert(storeEnd < ZSTD_OPT_NUM); in ZSTD_compressBlock_opt_generic()
1288 + ZSTD_cwksp_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_match_t)) in ZSTD_sizeof_matchState()1289 + ZSTD_cwksp_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_optimal_t)); in ZSTD_sizeof_matchState()1573 …ms->opt.matchTable = (ZSTD_match_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZSTD_… in ZSTD_reset_matchState()1574 …ms->opt.priceTable = (ZSTD_optimal_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZST… in ZSTD_reset_matchState()
138 #define ZSTD_OPT_NUM (1<<12) macro