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

Method Allocate

r/src/array_to_vector.cpp:1186–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1184 : Converter(chunked_array) {}
1185
1186 SEXP Allocate(R_xlen_t n) const {
1187 auto extension_type =
1188 dynamic_cast<const RExtensionType*>(chunked_array_->type().get());
1189 if (extension_type == nullptr) {
1190 Rf_error("Converter_Extension can't be used with a non-R extension type");
1191 }
1192
1193 return extension_type->Convert(chunked_array_);
1194 }
1195
1196 // At this point we have already done the conversion
1197 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