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

Method Size

bitmap/pb.pb.go:12119–12130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12117}
12118
12119func (m *SubscriptionResponse) Size() (n int) {
12120 if m == nil {
12121 return 0
12122 }
12123 var l int
12124 _ = l
12125 if m.Kvs != nil {
12126 l = m.Kvs.Size()
12127 n += 1 + l + sovPb(uint64(l))
12128 }
12129 return n
12130}
12131
12132func (m *Num) Size() (n int) {
12133 if m == nil {

Callers 3

XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 2

sovPbFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected