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

Method ViewOrCopyTo

cpp/src/arrow/array/data.cc:184–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184Result<std::shared_ptr<ArrayData>> ArrayData::ViewOrCopyTo(
185 const std::shared_ptr<MemoryManager>& to) const {
186 return CopyToImpl(*this, to, Buffer::ViewOrCopy);
187}
188
189std::shared_ptr<ArrayData> ArrayData::Slice(int64_t off, int64_t len) const {
190 ARROW_CHECK_LE(off, length) << "Slice offset (" << off

Callers

nothing calls this directly

Calls 1

CopyToImplFunction · 0.85

Tested by

no test coverage detected