MCPcopy Create free account
hub / github.com/dagger/dagger / sovGit

Function sovGit

engine/session/git/git.pb.go:1738–1740  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

1736}
1737
1738func sovGit(x uint64) (n int) {
1739 return (math_bits.Len64(x|1) + 6) / 7
1740}
1741func sozGit(x uint64) (n int) {
1742 return sovGit(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1743}

Callers 11

encodeVarintGitFunction · 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
sozGitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected