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

Method Length

r/src/altrep.cpp:427–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425 using Base::IsMaterialized;
426
427 static R_xlen_t Length(SEXP alt) {
428 if (IsMaterialized(alt)) {
429 return Rf_xlength(Representation(alt));
430 } else {
431 return GetChunkedArray(alt)->length();
432 }
433 }
434
435 // redefining because data2 is a paired list with the representation as the
436 // first node: the CAR

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected