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

Method Size

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

Source from the content-addressed store, hash-verified

1104}
1105
1106func (m *TriNodePb) Size() (n int) {
1107 var l int
1108 _ = l
1109 n += 1 + sovNode(uint64(m.Op))
1110 if len(m.Args) > 0 {
1111 for _, e := range m.Args {
1112 l = e.Size()
1113 n += 1 + l + sovNode(uint64(l))
1114 }
1115 }
1116 if m.XXX_unrecognized != nil {
1117 n += len(m.XXX_unrecognized)
1118 }
1119 return n
1120}
1121
1122func (m *ArrayNodePb) Size() (n int) {
1123 var l int

Callers 1

MarshalMethod · 0.95

Calls 2

sovNodeFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected