| 494 | } |
| 495 | |
| 496 | void RowBatch::VLogRows(const string& context) { |
| 497 | if (!VLOG_ROW_IS_ON) return; |
| 498 | VLOG_ROW << context << ": #rows=" << num_rows_; |
| 499 | for (int i = 0; i < num_rows_; ++i) { |
| 500 | VLOG_ROW << PrintRow(GetRow(i), *row_desc_); |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | void RowBatch::CopyRows(RowBatch* src, int num_rows, int src_offset, int dst_offset) { |
| 505 | DCHECK_GT(num_rows, 0); |
no test coverage detected