OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:repIndex
(Results
1 - 5
of
5
) sorted by relevancy
/src/external/bsd/zstd/dist/lib/compress/
zstd_fast.c
541
const U32
repIndex
= curr + 1 - offset_1;
542
const BYTE* repMatch = (
repIndex
< prefixStartIndex) ?
543
dictBase + (
repIndex
- dictIndexDelta) :
544
base +
repIndex
;
549
if (((U32) ((prefixStartIndex - 1) -
repIndex
) >=
550
3) /* intentional underflow : ensure
repIndex
isn't overlapping dict + prefix */
552
const BYTE* const repMatchEnd =
repIndex
< prefixStartIndex ? dictEnd : iend;
777
U32 const
repIndex
= current2 - offset_1;
778
const BYTE* const repBase =
repIndex
< prefixStartIndex ? dictBase : base;
780
if ( ((U32)(prefixStartIndex -
repIndex
) >= 4) /* intentional underflow *
[
all
...]
zstd_double_fast.c
388
const U32
repIndex
= curr + 1 - offset_1;
389
const BYTE* repMatch = (
repIndex
< prefixLowestIndex) ?
390
dictBase + (
repIndex
- dictIndexDelta) :
391
base +
repIndex
;
395
if (((U32)((prefixLowestIndex-1) -
repIndex
) >= 3 /* intentional underflow */)
397
const BYTE* repMatchEnd =
repIndex
< prefixLowestIndex ? dictEnd : iend;
648
const U32
repIndex
= curr + 1 - offset_1; /* offset_1 expected <= curr +1 */
649
const BYTE* const repBase =
repIndex
< prefixStartIndex ? dictBase : base;
650
const BYTE* const repMatch = repBase +
repIndex
;
654
if ((((U32)((prefixStartIndex-1) -
repIndex
) >= 3) /* intentional underflow : ensure repIndex doesn't overlap dict + prefix *
[
all
...]
zstd_lazy.c
1588
const U32
repIndex
= (U32)(ip - base) + 1 - offset_1;
1590
&&
repIndex
< prefixLowestIndex) ?
1591
dictBase + (
repIndex
- dictIndexDelta) :
1592
base +
repIndex
;
1593
if (((U32)((prefixLowestIndex-1) -
repIndex
) >= 3 /* intentional underflow */)
1595
const BYTE* repMatchEnd =
repIndex
< prefixLowestIndex ? dictEnd : iend;
1641
const U32
repIndex
= (U32)(ip - base) - offset_1;
1642
const BYTE* repMatch =
repIndex
< prefixLowestIndex ?
1643
dictBase + (
repIndex
- dictIndexDelta) :
1644
base +
repIndex
;
[
all
...]
zstd_opt.c
650
U32 const
repIndex
= curr - repOffset;
653
if (repOffset-1 /* intentional overflow, discards 0 and -1 */ < curr-dictLimit) { /* equivalent to `curr >
repIndex
>= dictLimit` */
657
if ((
repIndex
>= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, minMatch))) {
660
} else { /*
repIndex
< dictLimit ||
repIndex
>= curr */
662
dmsBase +
repIndex
- dmsIndexDelta :
663
dictBase +
repIndex
;
666
&& ( ((repOffset-1) /*intentional overflow*/ < curr - windowLow) /* equivalent to `curr >
repIndex
>= windowLow` */
667
& (((U32)((dictLimit-1) -
repIndex
) >= 3) ) /* intentional overflow : do not test positions overlapping 2 memory segments */)
672
&& ( ((repOffset-1) /*intentional overflow*/ < curr - (dmsLowLimit + dmsIndexDelta)) /* equivalent to `curr >
repIndex
>= dmsLowLimit` *
[
all
...]
/src/external/bsd/zstd/dist/tests/
decodecorpus.c
681
U32 offset, offBase,
repIndex
;
718
repIndex
= 2;
725
repIndex
= randomRepIndex;
730
repIndex
= MIN(2, randomRepIndex + 1);
750
for (r =
repIndex
; r > 0; r--) {
762
DISPLAYLEVEL(7, " repeat offset: %d\n", (int)
repIndex
);
Completed in 48 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026