MCPcopy Create free account
hub / github.com/araddon/qlbridge / Size

Method Size

expr/node.pb.go:1030–1045  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1028}
1029
1030func (m *BinaryNodePb) Size() (n int) {
1031 var l int
1032 _ = l
1033 n += 1 + sovNode(uint64(m.Op))
1034 n += 2
1035 if len(m.Args) > 0 {
1036 for _, e := range m.Args {
1037 l = e.Size()
1038 n += 1 + l + sovNode(uint64(l))
1039 }
1040 }
1041 if m.XXX_unrecognized != nil {
1042 n += len(m.XXX_unrecognized)
1043 }
1044 return n
1045}
1046
1047func (m *BooleanNodePb) Size() (n int) {
1048 var l int

Callers 1

MarshalMethod · 0.95

Calls 2

sovNodeFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected