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

Method Size

pkg/ingester/client/ingester.pb.go:4607–4620  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4605 return base
4606}
4607func (m *ReadRequest) Size() (n int) {
4608 if m == nil {
4609 return 0
4610 }
4611 var l int
4612 _ = l
4613 if len(m.Queries) > 0 {
4614 for _, e := range m.Queries {
4615 l = e.Size()
4616 n += 1 + l + sovIngester(uint64(l))
4617 }
4618 }
4619 return n
4620}
4621
4622func (m *ReadResponse) Size() (n int) {
4623 if m == nil {

Callers 3

XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 2

sovIngesterFunction · 0.85
SizeMethod · 0.65

Tested by

no test coverage detected