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

Method Size

bitmap/pb.pb.go:11744–11757  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11742}
11743
11744func (m *Facets) Size() (n int) {
11745 if m == nil {
11746 return 0
11747 }
11748 var l int
11749 _ = l
11750 if len(m.Facets) > 0 {
11751 for _, e := range m.Facets {
11752 l = e.Size()
11753 n += 1 + l + sovPb(uint64(l))
11754 }
11755 }
11756 return n
11757}
11758
11759func (m *FacetsList) Size() (n int) {
11760 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