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

Method Size

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

Source from the content-addressed store, hash-verified

4709}
4710
4711func (m *ExemplarQueryResponse) Size() (n int) {
4712 if m == nil {
4713 return 0
4714 }
4715 var l int
4716 _ = l
4717 if len(m.Timeseries) > 0 {
4718 for _, e := range m.Timeseries {
4719 l = e.Size()
4720 n += 1 + l + sovIngester(uint64(l))
4721 }
4722 }
4723 return n
4724}
4725
4726func (m *LabelValuesRequest) Size() (n int) {
4727 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