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

Method Allocate

r/src/array_to_vector.cpp:545–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543 : Converter(chunked_array), byte_width_(byte_width) {}
544
545 SEXP Allocate(R_xlen_t n) const {
546 SEXP res = PROTECT(Rf_allocVector(VECSXP, n));
547 Rf_classgets(res, data::classes_arrow_fixed_size_binary);
548 Rf_setAttrib(res, symbols::byte_width, Rf_ScalarInteger(byte_width_));
549 UNPROTECT(1);
550 return res;
551 }
552
553 Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const {
554 return Status::OK();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected