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

Function encodeVarintTypes

proto/tendermint/statesync/types.pb.go:707–717  ·  view source on GitHub ↗
(dAtA []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

705}
706
707func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
708 offset -= sovTypes(v)
709 base := offset
710 for v >= 1<<7 {
711 dAtA[offset] = uint8(v&0x7f | 0x80)
712 v >>= 7
713 offset++
714 }
715 dAtA[offset] = uint8(v)
716 return base
717}
718func (m *Message) Size() (n int) {
719 if m == nil {
720 return 0

Callers 7

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