Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c817 #define RSYNC_LENGTH 32 macro
1278 mtctx->rsync.primePower = ZSTD_rollingHash_primePower(RSYNC_LENGTH); in ZSTDMT_initCStream_internal()
1710 if (mtctx->inBuff.filled + syncPoint.toLoad < RSYNC_LENGTH) in findSynchronizationPoint()
1726 if (pos >= RSYNC_LENGTH) { in findSynchronizationPoint()
1727 prev = istart + pos - RSYNC_LENGTH; in findSynchronizationPoint()
1728 hash = ZSTD_rollingHash_compute(prev, RSYNC_LENGTH); in findSynchronizationPoint()
1730 assert(mtctx->inBuff.filled >= RSYNC_LENGTH); in findSynchronizationPoint()
1731 prev = (BYTE const*)mtctx->inBuff.buffer.start + mtctx->inBuff.filled - RSYNC_LENGTH; in findSynchronizationPoint()
1732 hash = ZSTD_rollingHash_compute(prev + pos, (RSYNC_LENGTH - pos)); in findSynchronizationPoint()
1741 assert(RSYNC_MIN_BLOCK_SIZE >= RSYNC_LENGTH); in findSynchronizationPoint()
[all …]