MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / encodeVarintTypes

Function encodeVarintTypes

abci/types/types.pb.go:6584–6594  ·  view source on GitHub ↗
(dAtA []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

6582}
6583
6584func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
6585 offset -= sovTypes(v)
6586 base := offset
6587 for v >= 1<<7 {
6588 dAtA[offset] = uint8(v&0x7f | 0x80)
6589 v >>= 7
6590 offset++
6591 }
6592 dAtA[offset] = uint8(v)
6593 return base
6594}
6595func (m *Request) Size() (n int) {
6596 if m == nil {
6597 return 0

Callers 15

MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70
MarshalToSizedBufferMethod · 0.70

Calls 1

sovTypesFunction · 0.70

Tested by

no test coverage detected