| 125 | /// can be called to update num_rows_. Two consecutive AddRow() calls without a |
| 126 | /// CommitRows() call between them have the same effect as a single call. |
| 127 | int ALWAYS_INLINE AddRows(int n) { |
| 128 | DCHECK_LE(num_rows_ + n, capacity_); |
| 129 | return num_rows_; |
| 130 | } |
| 131 | |
| 132 | int ALWAYS_INLINE AddRow() { return AddRows(1); } |
| 133 |