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

Method Allocate

r/src/array_to_vector.cpp:1164–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1162 : Converter(chunked_array) {}
1163
1164 SEXP Allocate(R_xlen_t n) const {
1165 auto extension_type =
1166 dynamic_cast<const RExtensionType*>(chunked_array_->type().get());
1167 if (extension_type == nullptr) {
1168 Rf_error("Converter_Extension can't be used with a non-R extension type");
1169 }
1170
1171 return extension_type->Convert(chunked_array_);
1172 }
1173
1174 // At this point we have already done the conversion
1175 Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const {

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
typeMethod · 0.45
ConvertMethod · 0.45

Tested by

no test coverage detected