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

Method Size

bitmap/pb.pb.go:11894–11907  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11892}
11893
11894func (m *SchemaResult) Size() (n int) {
11895 if m == nil {
11896 return 0
11897 }
11898 var l int
11899 _ = l
11900 if len(m.Schema) > 0 {
11901 for _, e := range m.Schema {
11902 l = e.Size()
11903 n += 1 + l + sovPb(uint64(l))
11904 }
11905 }
11906 return n
11907}
11908
11909func (m *SchemaUpdate) Size() (n int) {
11910 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