Searched refs:repOffset (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 747 U32 repOffset[MAXREPOFFSET]; in ZDICT_analyzeEntropy() local 765 memset(repOffset, 0, sizeof(repOffset)); in ZDICT_analyzeEntropy() 766 repOffset[1] = repOffset[4] = repOffset[8] = 1; in ZDICT_analyzeEntropy() 783 countLit, offcodeCount, matchLengthCount, litLengthCount, repOffset, in ZDICT_analyzeEntropy() 815 ZDICT_insertSortCount(bestRepOffset, offset, repOffset[offset]); in ZDICT_analyzeEntropy()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_opt.c | 567 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches() local 568 U32 const repIndex = current - repOffset; in ZSTD_insertBtAndGetAllMatches() 571 …if (repOffset-1 /* intentional overflow, discards 0 and -1 */ < current-dictLimit) { /* equivalen… in ZSTD_insertBtAndGetAllMatches() 575 …>= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, minMatch))) { in ZSTD_insertBtAndGetAllMatches() 576 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches() 584 …&& ( ((repOffset-1) /*intentional overflow*/ < current - windowLow) /* equivalent to `current > r… in ZSTD_insertBtAndGetAllMatches() 590 …&& ( ((repOffset-1) /*intentional overflow*/ < current - (dmsLowLimit + dmsIndexDelta)) /* equiva… in ZSTD_insertBtAndGetAllMatches() 598 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_opt.c | 614 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches() local 615 U32 const repIndex = curr - repOffset; in ZSTD_insertBtAndGetAllMatches() 618 …if (repOffset-1 /* intentional overflow, discards 0 and -1 */ < curr-dictLimit) { /* equivalent t… in ZSTD_insertBtAndGetAllMatches() 622 …>= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, minMatch))) { in ZSTD_insertBtAndGetAllMatches() 623 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches() 631 …&& ( ((repOffset-1) /*intentional overflow*/ < curr - windowLow) /* equivalent to `curr > repInde… in ZSTD_insertBtAndGetAllMatches() 637 …&& ( ((repOffset-1) /*intentional overflow*/ < curr - (dmsLowLimit + dmsIndexDelta)) /* equivalen… in ZSTD_insertBtAndGetAllMatches() 645 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
|