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

Function ChunkedArray__Slice2

r/src/chunkedarray.cpp:68–74  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

66
67// [[arrow::export]]
68std::shared_ptr<arrow::ChunkedArray> ChunkedArray__Slice2(
69 const std::shared_ptr<arrow::ChunkedArray>& chunked_array, R_xlen_t offset,
70 R_xlen_t length) {
71 arrow::r::validate_slice_offset(offset, chunked_array->length());
72 arrow::r::validate_slice_length(length, chunked_array->length() - offset);
73 return chunked_array->Slice(offset, length);
74}
75
76// [[arrow::export]]
77std::shared_ptr<arrow::ChunkedArray> ChunkedArray__View(

Callers 1

Calls 2

lengthMethod · 0.45
SliceMethod · 0.45

Tested by

no test coverage detected