MCPcopy Index your code
hub / github.com/cockroachdb/errors / encodeVarintExtGrpc

Function encodeVarintExtGrpc

extgrpc/ext_grpc.pb.go:106–116  ·  view source on GitHub ↗
(dAtA []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

104}
105
106func encodeVarintExtGrpc(dAtA []byte, offset int, v uint64) int {
107 offset -= sovExtGrpc(v)
108 base := offset
109 for v >= 1<<7 {
110 dAtA[offset] = uint8(v&0x7f | 0x80)
111 v >>= 7
112 offset++
113 }
114 dAtA[offset] = uint8(v)
115 return base
116}
117func (m *EncodedGrpcCode) Size() (n int) {
118 if m == nil {
119 return 0

Callers 1

MarshalToSizedBufferMethod · 0.85

Calls 1

sovExtGrpcFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…