MCPcopy Create free account
hub / github.com/dop251/goja / randomHash

Function randomHash

value.go:27–30  ·  view source on GitHub ↗

Not goroutine-safe, do not use for anything other than package level init

()

Source from the content-addressed store, hash-verified

25
26// Not goroutine-safe, do not use for anything other than package level init
27func randomHash() uint64 {
28 pkgHasher.WriteByte(0)
29 return pkgHasher.Sum64()
30}
31
32var (
33 valueFalse Value = valueBool(false)

Callers 1

value.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…