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

Method AllocateSlice

r/src/array_to_vector.cpp:807–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805 }
806
807 SEXP AllocateSlice(R_xlen_t n) const {
808 // altrep would shadow the whole chunked array rather than the slice
809 return AllocateDataFrame(n, [n](const std::shared_ptr<Converter>& converter) {
810 return converter->AllocateSlice(n);
811 });
812 }
813
814 // Convert each child of the slice through its own converter, rather than
815 // allocating then ingesting: that lets children that can only convert whole

Callers

nothing calls this directly

Calls 1

AllocateSliceMethod · 0.45

Tested by

no test coverage detected