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

Method Size

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

Source from the content-addressed store, hash-verified

4694}
4695
4696func (m *QueryStreamResponse) Size() (n int) {
4697 if m == nil {
4698 return 0
4699 }
4700 var l int
4701 _ = l
4702 if len(m.Chunkseries) > 0 {
4703 for _, e := range m.Chunkseries {
4704 l = e.Size()
4705 n += 1 + l + sovIngester(uint64(l))
4706 }
4707 }
4708 return n
4709}
4710
4711func (m *ExemplarQueryResponse) Size() (n int) {
4712 if m == nil {

Callers 4

queryIngesterStreamMethod · 0.95
XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 2

sovIngesterFunction · 0.85
SizeMethod · 0.65

Tested by

no test coverage detected