MCPcopy 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
1557func sovQuery(x uint64) (n int) {
1558 return (math_bits.Len64(x|1) + 6) / 7
1559}
1560func sozQuery(x uint64) (n int) {
1561 return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1562}

Callers 13

encodeVarintQueryFunction · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70
SizeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected