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

Method Ingest_all_nulls

r/src/array_to_vector.cpp:323–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321 SEXP Allocate(R_xlen_t n) const { return Rf_allocVector(STRSXP, n); }
322
323 Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const {
324 for (R_xlen_t i = 0; i < n; i++) {
325 SET_STRING_ELT(data, i + start, NA_STRING);
326 }
327 return Status::OK();
328 }
329
330 Status Ingest_some_nulls(SEXP data, const std::shared_ptr<arrow::Array>& array,
331 R_xlen_t start, R_xlen_t n, size_t chunk_index) const {

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected