MCPcopy Create free account
hub / github.com/cortexproject/cortex / encodeVarintIngester

Function encodeVarintIngester

pkg/ingester/client/ingester.pb.go:4596–4606  ·  view source on GitHub ↗
(dAtA []byte, offset int, v uint64)

Source from the content-addressed store, hash-verified

4594}
4595
4596func encodeVarintIngester(dAtA []byte, offset int, v uint64) int {
4597 offset -= sovIngester(v)
4598 base := offset
4599 for v >= 1<<7 {
4600 dAtA[offset] = uint8(v&0x7f | 0x80)
4601 v >>= 7
4602 offset++
4603 }
4604 dAtA[offset] = uint8(v)
4605 return base
4606}
4607func (m *ReadRequest) Size() (n int) {
4608 if m == nil {
4609 return 0

Callers 15

MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85
MarshalToSizedBufferMethod · 0.85

Calls 1

sovIngesterFunction · 0.85

Tested by

no test coverage detected