Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ Uint64ToInt64
Function
Uint64ToInt64
IceFireDB-SQLite/utils/zeroalloc.go:13–15 ·
view source on GitHub ↗
(val uint64)
Source
from the content-addressed store, hash-verified
11
}
12
13
func
Uint64ToInt64(val uint64) int64 {
14
return
*(*int64)(unsafe.Pointer(&val))
15
}
16
17
func
Uint64ToFloat64(val uint64) float64 {
18
return
*(*float64)(unsafe.Pointer(&val))
Callers
1
AsInt64
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected