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

Method Size

bitmap/pb.pb.go:12186–12200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12184}
12185
12186func (m *Status) Size() (n int) {
12187 if m == nil {
12188 return 0
12189 }
12190 var l int
12191 _ = l
12192 if m.Code != 0 {
12193 n += 1 + sovPb(uint64(m.Code))
12194 }
12195 l = len(m.Msg)
12196 if l > 0 {
12197 n += 1 + l + sovPb(uint64(l))
12198 }
12199 return n
12200}
12201
12202func (m *BackupRequest) Size() (n int) {
12203 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