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

Method Size

bitmap/pb.pb.go:11709–11724  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11707}
11708
11709func (m *FacetParam) Size() (n int) {
11710 if m == nil {
11711 return 0
11712 }
11713 var l int
11714 _ = l
11715 l = len(m.Key)
11716 if l > 0 {
11717 n += 1 + l + sovPb(uint64(l))
11718 }
11719 l = len(m.Alias)
11720 if l > 0 {
11721 n += 1 + l + sovPb(uint64(l))
11722 }
11723 return n
11724}
11725
11726func (m *FacetParams) Size() (n int) {
11727 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