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

Method Allocate

r/src/array_to_vector.cpp:499–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497 : Converter(chunked_array) {}
498
499 SEXP Allocate(R_xlen_t n) const {
500 SEXP res = PROTECT(Rf_allocVector(VECSXP, n));
501 if (std::is_same<ArrayType, BinaryArray>::value) {
502 Rf_classgets(res, data::classes_arrow_binary);
503 } else {
504 Rf_classgets(res, data::classes_arrow_large_binary);
505 }
506 UNPROTECT(1);
507 return res;
508 }
509
510 Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const {
511 return Status::OK();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected