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

Method Size

bitmap/pb.pb.go:12264–12278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12262}
12263
12264func (m *DropOperation) Size() (n int) {
12265 if m == nil {
12266 return 0
12267 }
12268 var l int
12269 _ = l
12270 if m.DropOp != 0 {
12271 n += 1 + sovPb(uint64(m.DropOp))
12272 }
12273 l = len(m.DropValue)
12274 if l > 0 {
12275 n += 1 + l + sovPb(uint64(l))
12276 }
12277 return n
12278}
12279
12280func (m *ExportRequest) Size() (n int) {
12281 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