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

Function Table__Slice2

r/src/table.cpp:93–98  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

91
92// [[arrow::export]]
93std::shared_ptr<arrow::Table> Table__Slice2(const std::shared_ptr<arrow::Table>& table,
94 R_xlen_t offset, R_xlen_t length) {
95 arrow::r::validate_slice_offset(offset, table->num_rows());
96 arrow::r::validate_slice_length(length, table->num_rows() - offset);
97 return table->Slice(offset, length);
98}
99
100// [[arrow::export]]
101bool Table__Equals(const std::shared_ptr<arrow::Table>& lhs,

Callers 1

_arrow_Table__Slice2Function · 0.85

Calls 2

num_rowsMethod · 0.45
SliceMethod · 0.45

Tested by

no test coverage detected