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

Method Size

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

Source from the content-addressed store, hash-verified

4750}
4751
4752func (m *LabelValuesResponse) Size() (n int) {
4753 if m == nil {
4754 return 0
4755 }
4756 var l int
4757 _ = l
4758 if len(m.LabelValues) > 0 {
4759 for _, s := range m.LabelValues {
4760 l = len(s)
4761 n += 1 + l + sovIngester(uint64(l))
4762 }
4763 }
4764 return n
4765}
4766
4767func (m *LabelValuesStreamResponse) Size() (n int) {
4768 if m == nil {

Callers 3

XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 1

sovIngesterFunction · 0.85

Tested by

no test coverage detected