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

Function sovSql

rel/sql.pb.go:1744–1753  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

1742}
1743
1744func sovSql(x uint64) (n int) {
1745 for {
1746 n++
1747 x >>= 7
1748 if x == 0 {
1749 break
1750 }
1751 }
1752 return n
1753}
1754func sozSql(x uint64) (n int) {
1755 return sovSql(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1756}

Callers 10

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
sozSqlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected