MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / Size

Method Size

bitmap/pb.pb.go:12104–12117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12102}
12103
12104func (m *SubscriptionRequest) Size() (n int) {
12105 if m == nil {
12106 return 0
12107 }
12108 var l int
12109 _ = l
12110 if len(m.Prefixes) > 0 {
12111 for _, b := range m.Prefixes {
12112 l = len(b)
12113 n += 1 + l + sovPb(uint64(l))
12114 }
12115 }
12116 return n
12117}
12118
12119func (m *SubscriptionResponse) Size() (n int) {
12120 if m == nil {

Callers 3

XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 1

sovPbFunction · 0.85

Tested by

no test coverage detected