MCPcopy Create free account
hub / github.com/araddon/qlbridge / sovNode

Function sovNode

expr/node.pb.go:1210–1219  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

1208}
1209
1210func sovNode(x uint64) (n int) {
1211 for {
1212 n++
1213 x >>= 7
1214 if x == 0 {
1215 break
1216 }
1217 }
1218 return n
1219}
1220func sozNode(x uint64) (n int) {
1221 return sovNode(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1222}

Callers 15

SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85
SizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected