()
| 10721 | } |
| 10722 | |
| 10723 | func (m *SrcFunction) Size() (n int) { |
| 10724 | if m == nil { |
| 10725 | return 0 |
| 10726 | } |
| 10727 | var l int |
| 10728 | _ = l |
| 10729 | l = len(m.Name) |
| 10730 | if l > 0 { |
| 10731 | n += 1 + l + sovPb(uint64(l)) |
| 10732 | } |
| 10733 | if len(m.Args) > 0 { |
| 10734 | for _, s := range m.Args { |
| 10735 | l = len(s) |
| 10736 | n += 1 + l + sovPb(uint64(l)) |
| 10737 | } |
| 10738 | } |
| 10739 | if m.IsCount { |
| 10740 | n += 2 |
| 10741 | } |
| 10742 | return n |
| 10743 | } |
| 10744 | |
| 10745 | func (m *Query) Size() (n int) { |
| 10746 | if m == nil { |