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

Function ChunkedArray__Slice1

r/src/chunkedarray.cpp:61–65  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

59
60// [[arrow::export]]
61std::shared_ptr<arrow::ChunkedArray> ChunkedArray__Slice1(
62 const std::shared_ptr<arrow::ChunkedArray>& chunked_array, R_xlen_t offset) {
63 arrow::r::validate_slice_offset(offset, chunked_array->length());
64 return chunked_array->Slice(offset);
65}
66
67// [[arrow::export]]
68std::shared_ptr<arrow::ChunkedArray> ChunkedArray__Slice2(

Callers 1

Calls 2

lengthMethod · 0.45
SliceMethod · 0.45

Tested by

no test coverage detected