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

Method Size

rel/sql.pb.go:1450–1469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1448 return offset + 1
1449}
1450func (m *SqlStatementPb) Size() (n int) {
1451 var l int
1452 _ = l
1453 if m.Select != nil {
1454 l = m.Select.Size()
1455 n += 1 + l + sovSql(uint64(l))
1456 }
1457 if m.Source != nil {
1458 l = m.Source.Size()
1459 n += 1 + l + sovSql(uint64(l))
1460 }
1461 if m.Projection != nil {
1462 l = m.Projection.Size()
1463 n += 1 + l + sovSql(uint64(l))
1464 }
1465 if m.XXX_unrecognized != nil {
1466 n += len(m.XXX_unrecognized)
1467 }
1468 return n
1469}
1470
1471func (m *SqlSelectPb) Size() (n int) {
1472 var l int

Callers 1

MarshalMethod · 0.95

Calls 2

sovSqlFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected