MCPcopy Create free account
hub / github.com/apache/fory / x64fmix64

Function x64fmix64

javascript/packages/core/lib/murmurHash3.ts:135–144  ·  view source on GitHub ↗
(h: u64)

Source from the content-addressed store, hash-verified

133
134
135function x64fmix64(h: u64): u64 {
136 // [0x0, h[0] >>> 1] is a 33 bit shr.
137 h = xor64(h, [0x0, h[0] >>> 1]);
138 h = mul64(h, [0xff51afd7, 0xed558ccd]);
139 h = xor64(h, [0x0, h[0] >>> 1]);
140 h = mul64(h, [0xc4ceb9fe, 0x1a85ec53]);
141 h = xor64(h, [0x0, h[0] >>> 1]);
142
143 return h;
144}
145
146
147const x64hash128c1: u64 = [0x87c37b91, 0x114253d5];

Callers 1

x64hash128Function · 0.85

Calls 2

xor64Function · 0.85
mul64Function · 0.85

Tested by

no test coverage detected