MCPcopy Create free account
hub / github.com/dolthub/doltgresql / encodeVarintTypes

Function encodeVarintTypes

postgres/parser/types/types.pb.go:943–951  ·  view source on GitHub ↗
(dAtA []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

941}
942
943func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
944 for v >= 1<<7 {
945 dAtA[offset] = uint8(v&0x7f | 0x80)
946 v >>= 7
947 offset++
948 }
949 dAtA[offset] = uint8(v)
950 return offset + 1
951}
952func (m *IntervalDurationField) Size() (n int) {
953 if m == nil {
954 return 0

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected