MCPcopy Create free account
hub / github.com/araddon/qlbridge / encodeVarintNode

Function encodeVarintNode

expr/node.pb.go:929–937  ·  view source on GitHub ↗
(data []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

927 return offset + 4
928}
929func encodeVarintNode(data []byte, offset int, v uint64) int {
930 for v >= 1<<7 {
931 data[offset] = uint8(v&0x7f | 0x80)
932 v >>= 7
933 offset++
934 }
935 data[offset] = uint8(v)
936 return offset + 1
937}
938func (m *ExprPb) Size() (n int) {
939 var l int
940 _ = l

Callers 14

MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85
MarshalToMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected