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

Method Size

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

Source from the content-addressed store, hash-verified

4635}
4636
4637func (m *QueryResponse) Size() (n int) {
4638 if m == nil {
4639 return 0
4640 }
4641 var l int
4642 _ = l
4643 if len(m.Timeseries) > 0 {
4644 for _, e := range m.Timeseries {
4645 l = e.Size()
4646 n += 1 + l + sovIngester(uint64(l))
4647 }
4648 }
4649 return n
4650}
4651
4652func (m *QueryRequest) Size() (n int) {
4653 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