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

Function encodeVarintGit

engine/session/git/git.pb.go:1552–1562  ·  view source on GitHub ↗
(dAtA []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

1550}
1551
1552func encodeVarintGit(dAtA []byte, offset int, v uint64) int {
1553 offset -= sovGit(v)
1554 base := offset
1555 for v >= 1<<7 {
1556 dAtA[offset] = uint8(v&0x7f | 0x80)
1557 v >>= 7
1558 offset++
1559 }
1560 dAtA[offset] = uint8(v)
1561 return base
1562}
1563func (m *GitCredentialRequest) Size() (n int) {
1564 if m == nil {
1565 return 0

Callers 9

MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85

Calls 1

sovGitFunction · 0.85

Tested by

no test coverage detected