Copy values starting from index `start` into `out_data`
| 634 | |
| 635 | // Copy values starting from index `start` into `out_data` |
| 636 | void CopyValues(int32_t start, Scalar* out_data) const { |
| 637 | ARROW_DCHECK_GE(start, 0); |
| 638 | ARROW_DCHECK_LE(static_cast<size_t>(start), index_to_value_.size()); |
| 639 | int64_t offset = start * static_cast<int32_t>(sizeof(Scalar)); |
| 640 | memcpy(out_data, index_to_value_.data() + offset, (size() - start) * sizeof(Scalar)); |
| 641 | } |
| 642 | |
| 643 | void CopyValues(Scalar* out_data) const { CopyValues(0, out_data); } |
| 644 |
nothing calls this directly
no test coverage detected