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

Method Size

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

Source from the content-addressed store, hash-verified

1087}
1088
1089func (m *FuncNodePb) Size() (n int) {
1090 var l int
1091 _ = l
1092 l = len(m.Name)
1093 n += 1 + l + sovNode(uint64(l))
1094 if len(m.Args) > 0 {
1095 for _, e := range m.Args {
1096 l = e.Size()
1097 n += 1 + l + sovNode(uint64(l))
1098 }
1099 }
1100 if m.XXX_unrecognized != nil {
1101 n += len(m.XXX_unrecognized)
1102 }
1103 return n
1104}
1105
1106func (m *TriNodePb) Size() (n int) {
1107 var l int

Callers 1

MarshalMethod · 0.95

Calls 2

sovNodeFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected