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

Function encodeVarintPopulateTimestamp

postgres/parser/hlc/timestamp.pb.go:211–218  ·  view source on GitHub ↗
(dAtA []byte, v uint64)

Source from the content-addressed store, hash-verified

209 return dAtA
210}
211func encodeVarintPopulateTimestamp(dAtA []byte, v uint64) []byte {
212 for v >= 1<<7 {
213 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
214 v >>= 7
215 }
216 dAtA = append(dAtA, uint8(v))
217 return dAtA
218}
219func (m *Timestamp) Size() (n int) {
220 if m == nil {
221 return 0

Callers 1

randFieldTimestampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected