MCPcopy Create free account
hub / github.com/apache/arrow / CopyValues

Method CopyValues

cpp/src/arrow/util/hashing.h:636–641  ·  view source on GitHub ↗

Copy values starting from index `start` into `out_data`

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

CopyValuesFunction · 0.85
sizeFunction · 0.50
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected