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

Function ArraysCanFitInteger

r/src/array_to_vector.cpp:1207–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1205};
1206
1207bool ArraysCanFitInteger(ArrayVector arrays) {
1208 bool all_can_fit = true;
1209 auto i32 = arrow::int32();
1210 for (const auto& array : arrays) {
1211 if (all_can_fit) {
1212 all_can_fit = arrow::IntegersCanFit(*array->data(), *i32).ok();
1213 }
1214 }
1215 return all_can_fit;
1216}
1217
1218bool GetBoolOption(const std::string& name, bool default_) {
1219 SEXP getOption = Rf_install("getOption");

Callers 1

MakeMethod · 0.85

Calls 3

IntegersCanFitFunction · 0.85
okMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected