Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FirmaChain/firmachain
/ sovQuery
Function
sovQuery
x/contract/types/query.pb.go:1557–1559 ·
view source on GitHub ↗
(x uint64)
Source
from the content-addressed store, hash-verified
1555
}
1556
1557
func
sovQuery(x uint64) (n int) {
1558
return
(math_bits.Len64(x|1) + 6) / 7
1559
}
1560
func
sozQuery(x uint64) (n int) {
1561
return
sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1562
}
Callers
13
encodeVarintQuery
Function · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Size
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected