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

Method Size

bitmap/pb.pb.go:10929–10942  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10927}
10928
10929func (m *SortResult) Size() (n int) {
10930 if m == nil {
10931 return 0
10932 }
10933 var l int
10934 _ = l
10935 if len(m.UidMatrix) > 0 {
10936 for _, e := range m.UidMatrix {
10937 l = e.Size()
10938 n += 1 + l + sovPb(uint64(l))
10939 }
10940 }
10941 return n
10942}
10943
10944func (m *RaftContext) Size() (n int) {
10945 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