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

Method Size

pkg/ruler/ruler.pb.go:1678–1688  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1676}
1677
1678func (m *LivenessCheckResponse) Size() (n int) {
1679 if m == nil {
1680 return 0
1681 }
1682 var l int
1683 _ = l
1684 if m.State != 0 {
1685 n += 1 + sovRuler(uint64(m.State))
1686 }
1687 return n
1688}
1689
1690func (m *RulesResponse) Size() (n int) {
1691 if m == nil {

Callers 3

XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 1

sovRulerFunction · 0.85

Tested by

no test coverage detected