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

Method Size

bitmap/pb.pb.go:10695–10705  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10693 return base
10694}
10695func (m *List) Size() (n int) {
10696 if m == nil {
10697 return 0
10698 }
10699 var l int
10700 _ = l
10701 if len(m.Uids) > 0 {
10702 n += 1 + sovPb(uint64(len(m.Uids)*8)) + len(m.Uids)*8
10703 }
10704 return n
10705}
10706
10707func (m *TaskValue) Size() (n int) {
10708 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