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

Method Allocate

r/src/array_to_vector.cpp:1212–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210 : Converter(chunked_array) {}
1211
1212 SEXP Allocate(R_xlen_t n) const {
1213 cpp11::writable::doubles data(n);
1214 data.attr("class") = "integer64";
1215 return data;
1216 }
1217
1218 Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const {
1219 auto p_data = reinterpret_cast<int64_t*>(REAL(data)) + start;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected