Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dzstdmt_compress.c803 U64 primePower; member
1248 mtctx->rsync.primePower = ZSTD_rollingHash_primePower(RSYNC_LENGTH); in ZSTDMT_initCStream_internal()
1658 U64 const primePower = mtctx->rsync.primePower; in findSynchronizationPoint() local
1720 hash = ZSTD_rollingHash_rotate(hash, toRemove, istart[pos], primePower); in findSynchronizationPoint()
Dzstd_compress_internal.h764 MEM_STATIC U64 ZSTD_rollingHash_rotate(U64 hash, BYTE toRemove, BYTE toAdd, U64 primePower) in ZSTD_rollingHash_rotate() argument
766 hash -= (toRemove + ZSTD_ROLL_HASH_CHAR_OFFSET) * primePower; in ZSTD_rollingHash_rotate()