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

Method Size

bitmap/pb.pb.go:11759–11772  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11757}
11758
11759func (m *FacetsList) Size() (n int) {
11760 if m == nil {
11761 return 0
11762 }
11763 var l int
11764 _ = l
11765 if len(m.FacetsList) > 0 {
11766 for _, e := range m.FacetsList {
11767 l = e.Size()
11768 n += 1 + l + sovPb(uint64(l))
11769 }
11770 }
11771 return n
11772}
11773
11774func (m *Function) Size() (n int) {
11775 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