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

Function MakeArray

cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc:445–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443
444template <typename... Elements>
445std::string MakeArray(Elements... elements) {
446 std::vector<std::string> elements_as_strings = {std::to_string(elements)...};
447
448 std::vector<std::string_view> elements_as_views(sizeof...(Elements));
449 std::copy(elements_as_strings.begin(), elements_as_strings.end(),
450 elements_as_views.begin());
451
452 return "[" + ::arrow::internal::JoinStrings(elements_as_views, ",") + "]";
453}
454
455template <typename T>
456class TestBinaryArithmeticIntegral : public TestBinaryArithmetic<T> {};

Callers 15

CastToDictionaryFunction · 0.70
ExecMethod · 0.70
CheckTakeIndicesCaseFunction · 0.70
DictEncodeFinalizeFunction · 0.70
BoxValueCountsFunction · 0.70
TakeCACMethod · 0.70
TakeCCCMethod · 0.70
TakeACCMethod · 0.70
TakeRARMethod · 0.70
ExecuteImplMethod · 0.70

Calls 4

to_stringFunction · 0.85
JoinStringsFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected