MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Int64ToUint64

Function Int64ToUint64

IceFireDB-SQLProxy/utils/zeroalloc.go:21–23  ·  view source on GitHub ↗
(val int64)

Source from the content-addressed store, hash-verified

19}
20
21func Int64ToUint64(val int64) uint64 {
22 return *(*uint64)(unsafe.Pointer(&val))
23}
24
25func Float64ToUint64(val float64) uint64 {
26 return *(*uint64)(unsafe.Pointer(&val))

Callers 2

ParseTextMethod · 0.92
ParseBinaryMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected