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

Method Size

bitmap/pb.pb.go:10801–10814  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10799}
10800
10801func (m *ValueList) Size() (n int) {
10802 if m == nil {
10803 return 0
10804 }
10805 var l int
10806 _ = l
10807 if len(m.Values) > 0 {
10808 for _, e := range m.Values {
10809 l = e.Size()
10810 n += 1 + l + sovPb(uint64(l))
10811 }
10812 }
10813 return n
10814}
10815
10816func (m *LangList) Size() (n int) {
10817 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