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

Method Length

r/src/altrep.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 static bool IsMaterialized(SEXP alt) { return !Rf_isNull(Impl::Representation(alt)); }
109
110 static R_xlen_t Length(SEXP alt) {
111 if (IsMaterialized(alt)) {
112 return Rf_xlength(Representation(alt));
113 } else {
114 return GetChunkedArray(alt)->length();
115 }
116 }
117
118 static int No_NA(SEXP alt) {
119 if (IsMaterialized(alt)) {

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected