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

Method Size

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

Source from the content-addressed store, hash-verified

1609}
1610
1611func (m *ProjectionPb) Size() (n int) {
1612 var l int
1613 _ = l
1614 n += 2
1615 n += 2
1616 if len(m.ColNames) > 0 {
1617 for _, s := range m.ColNames {
1618 l = len(s)
1619 n += 1 + l + sovSql(uint64(l))
1620 }
1621 }
1622 if len(m.Columns) > 0 {
1623 for _, e := range m.Columns {
1624 l = e.Size()
1625 n += 1 + l + sovSql(uint64(l))
1626 }
1627 }
1628 if m.XXX_unrecognized != nil {
1629 n += len(m.XXX_unrecognized)
1630 }
1631 return n
1632}
1633
1634func (m *ResultColumnPb) Size() (n int) {
1635 var l int

Callers 1

MarshalMethod · 0.95

Calls 2

sovSqlFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected