Home
last modified time | relevance | path

Searched refs:RSYNC_LENGTH (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c798 #define RSYNC_LENGTH 32 macro
1248 mtctx->rsync.primePower = ZSTD_rollingHash_primePower(RSYNC_LENGTH); in ZSTDMT_initCStream_internal()
1671 if (mtctx->inBuff.filled + syncPoint.toLoad < RSYNC_LENGTH) in findSynchronizationPoint()
1681 if (mtctx->inBuff.filled >= RSYNC_LENGTH) { in findSynchronizationPoint()
1686 prev = (BYTE const*)mtctx->inBuff.buffer.start + mtctx->inBuff.filled - RSYNC_LENGTH; in findSynchronizationPoint()
1687 hash = ZSTD_rollingHash_compute(prev, RSYNC_LENGTH); in findSynchronizationPoint()
1704 pos = RSYNC_LENGTH - mtctx->inBuff.filled; in findSynchronizationPoint()
1718 BYTE const toRemove = pos < RSYNC_LENGTH ? prev[pos] : istart[pos - RSYNC_LENGTH]; in findSynchronizationPoint()