Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ randomHash
Function
randomHash
packages/db-ivm/src/hashing/murmur.ts:14–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
export
type
Hash = number
13
14
export
function
randomHash() {
15
return
(Math.random() * (2 ** 31 - 1)) >>> 0
16
}
17
18
export
interface
Hasher {
19
update: (val: symbol | string | number | bigint) => void
Callers
2
hash.ts
File · 0.85
murmur.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected