()
| 10927 | } |
| 10928 | |
| 10929 | func (m *SortResult) Size() (n int) { |
| 10930 | if m == nil { |
| 10931 | return 0 |
| 10932 | } |
| 10933 | var l int |
| 10934 | _ = l |
| 10935 | if len(m.UidMatrix) > 0 { |
| 10936 | for _, e := range m.UidMatrix { |
| 10937 | l = e.Size() |
| 10938 | n += 1 + l + sovPb(uint64(l)) |
| 10939 | } |
| 10940 | } |
| 10941 | return n |
| 10942 | } |
| 10943 | |
| 10944 | func (m *RaftContext) Size() (n int) { |
| 10945 | if m == nil { |