Lines Matching refs:offCode
304 U32 const offCode = ZSTD_highbit32(STORED_TO_OFFBASE(offcode));
309 return WEIGHT(mlBase, optLevel) + ((16 + offCode) * BITCOST_MULTIPLIER);
312 price = (offCode * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLevel));
313 if ((optLevel<2) /*static*/ && offCode >= 20)
314 price += (offCode-19)*2 * BITCOST_MULTIPLIER; /* handicap for long distance offsets, favor decompression speed */
348 { U32 const offCode = ZSTD_highbit32(STORED_TO_OFFBASE(offsetCode));
349 assert(offCode <= MaxOff);
350 optPtr->offCodeFreq[offCode]++;
709 DEBUGLOG(8, "found match of length %u at distance %u (offCode=%u)",
757 DEBUGLOG(8, "found dms match of length %u at distance %u (offCode=%u)",
963 /* Note: ZSTD_match_t actually contains offCode and matchLength (before subtracting MINMATCH) */
975 DEBUGLOG(6, "ZSTD_optLdm_maybeAddMatch(): Adding ldm candidate match (offCode: %u matchLength %u) at block position=%u",
1233 DEBUGLOG(7, "testing match %u => offCode=%4u, mlen=%2u, llen=%2u",
1299 U32 const offCode = opt[storePos].off;
1311 ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen);
1312 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen);