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

Method Size

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

Source from the content-addressed store, hash-verified

1138}
1139
1140func (m *StringNodePb) Size() (n int) {
1141 var l int
1142 _ = l
1143 if m.Noquote != nil {
1144 n += 2
1145 }
1146 if m.Quote != nil {
1147 n += 1 + sovNode(uint64(*m.Quote))
1148 }
1149 l = len(m.Text)
1150 n += 1 + l + sovNode(uint64(l))
1151 if m.XXX_unrecognized != nil {
1152 n += len(m.XXX_unrecognized)
1153 }
1154 return n
1155}
1156
1157func (m *IdentityNodePb) Size() (n int) {
1158 var l int

Callers 1

MarshalMethod · 0.95

Calls 1

sovNodeFunction · 0.85

Tested by

no test coverage detected