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

Method Size

bitmap/pb.pb.go:11978–11991  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11976}
11977
11978func (m *MapHeader) Size() (n int) {
11979 if m == nil {
11980 return 0
11981 }
11982 var l int
11983 _ = l
11984 if len(m.PartitionKeys) > 0 {
11985 for _, b := range m.PartitionKeys {
11986 l = len(b)
11987 n += 1 + l + sovPb(uint64(l))
11988 }
11989 }
11990 return n
11991}
11992
11993func (m *MovePredicatePayload) Size() (n int) {
11994 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