| 223 | } |
| 224 | |
| 225 | void RowTableImpl::Clean() { |
| 226 | num_rows_ = 0; |
| 227 | num_rows_for_has_any_nulls_ = 0; |
| 228 | has_any_nulls_ = false; |
| 229 | |
| 230 | if (!metadata_.is_fixed_length) { |
| 231 | reinterpret_cast<offset_type*>(offsets_->mutable_data())[0] = 0; |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | int64_t RowTableImpl::size_null_masks(int64_t num_rows) const { |
| 236 | return num_rows * metadata_.null_masks_bytes_per_row + kPaddingForVectors; |
no test coverage detected