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

Function Array__Slice1

r/src/array.cpp:81–85  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

79
80// [[arrow::export]]
81std::shared_ptr<arrow::Array> Array__Slice1(const std::shared_ptr<arrow::Array>& array,
82 R_xlen_t offset) {
83 arrow::r::validate_slice_offset(offset, array->length());
84 return array->Slice(offset);
85}
86
87// [[arrow::export]]
88std::shared_ptr<arrow::Array> Array__Slice2(const std::shared_ptr<arrow::Array>& array,

Callers 1

_arrow_Array__Slice1Function · 0.85

Calls 2

lengthMethod · 0.45
SliceMethod · 0.45

Tested by

no test coverage detected