16#include "../../../include/lammp/secret.h"
18#define PRIME64_1 0x9E3779B185EBCA87ULL
19#define PRIME64_2 0xC2B2AE3D27D4EB4FULL
20#define PRIME64_3 0x165667B19E3779F9ULL
21#define PRIME64_4 0x85EBCA77C2B2AE63ULL
22#define PRIME64_5 0x27D4EB2F165667C5ULL
24static inline uint64_t
rotl64(uint64_t
x,
int b) {
26 return (
x <<
b) | (
x >> (64 -
b));
42 const uint64_t* p =
in;
47 const uint64_t*
const limit =
end - 4;
const mp_limb_t * mp_srcptr
const uint64_t srckey64_t[1]
Copyright (C) 2026 HJimmyK(Jericho Knox)
uint64_t lmmp_xxhash_(mp_srcptr in, mp_size_t inlen, srckey64_t key)
xxhash 函数(非标准处理任意字节流的 xxhash)
static uint64_t rotl64(uint64_t x, int b)
#define PRIME64_1
Copyright (C) 2026 HJimmyK(Jericho Knox)