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

Function Array__RangeEquals

r/src/array.cpp:171–184  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

169
170// [[arrow::export]]
171bool Array__RangeEquals(const std::shared_ptr<arrow::Array>& self,
172 const std::shared_ptr<arrow::Array>& other, R_xlen_t start_idx,
173 R_xlen_t end_idx, R_xlen_t other_start_idx) {
174 if (start_idx == NA_INTEGER) {
175 cpp11::stop("'start_idx' cannot be NA");
176 }
177 if (end_idx == NA_INTEGER) {
178 cpp11::stop("'end_idx' cannot be NA");
179 }
180 if (other_start_idx == NA_INTEGER) {
181 cpp11::stop("'other_start_idx' cannot be NA");
182 }
183 return self->RangeEquals(*other, start_idx, end_idx, other_start_idx);
184}
185
186// [[arrow::export]]
187std::shared_ptr<arrow::Array> Array__View(const std::shared_ptr<arrow::Array>& array,

Callers 1

Calls 2

stopFunction · 0.85
RangeEqualsMethod · 0.80

Tested by

no test coverage detected