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

Method Size

bitmap/pb.pb.go:10707–10721  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10705}
10706
10707func (m *TaskValue) Size() (n int) {
10708 if m == nil {
10709 return 0
10710 }
10711 var l int
10712 _ = l
10713 l = len(m.Val)
10714 if l > 0 {
10715 n += 1 + l + sovPb(uint64(l))
10716 }
10717 if m.ValType != 0 {
10718 n += 1 + sovPb(uint64(m.ValType))
10719 }
10720 return n
10721}
10722
10723func (m *SrcFunction) Size() (n int) {
10724 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