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

Method Size

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

Source from the content-addressed store, hash-verified

4765}
4766
4767func (m *LabelValuesStreamResponse) Size() (n int) {
4768 if m == nil {
4769 return 0
4770 }
4771 var l int
4772 _ = l
4773 if len(m.LabelValues) > 0 {
4774 for _, s := range m.LabelValues {
4775 l = len(s)
4776 n += 1 + l + sovIngester(uint64(l))
4777 }
4778 }
4779 return n
4780}
4781
4782func (m *LabelNamesRequest) Size() (n int) {
4783 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