Searched refs:primePower (Results 1 – 2 of 2) sorted by relevance
803 U64 primePower; member1248 mtctx->rsync.primePower = ZSTD_rollingHash_primePower(RSYNC_LENGTH); in ZSTDMT_initCStream_internal()1658 U64 const primePower = mtctx->rsync.primePower; in findSynchronizationPoint() local1720 hash = ZSTD_rollingHash_rotate(hash, toRemove, istart[pos], primePower); in findSynchronizationPoint()
764 MEM_STATIC U64 ZSTD_rollingHash_rotate(U64 hash, BYTE toRemove, BYTE toAdd, U64 primePower) in ZSTD_rollingHash_rotate() argument766 hash -= (toRemove + ZSTD_ROLL_HASH_CHAR_OFFSET) * primePower; in ZSTD_rollingHash_rotate()