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

Function ArrayEquals

cpp/src/arrow/compare.cc:1124–1131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1122}
1123
1124bool ArrayEquals(const Array& left, const Array& right, const EqualOptions& opts,
1125 bool floating_approximate) {
1126 if (left.length() != right.length()) {
1127 ARROW_IGNORE_EXPR(PrintDiff(left, right, opts.diff_sink()));
1128 return false;
1129 }
1130 return ArrayRangeEquals(left, right, 0, left.length(), 0, opts, floating_approximate);
1131}
1132
1133bool ScalarEquals(const Scalar& left, const Scalar& right, const EqualOptions& options,
1134 bool floating_approximate) {

Callers 3

VisitMethod · 0.85
ArrayApproxEqualsFunction · 0.85
EqualsMethod · 0.85

Calls 5

PrintDiffFunction · 0.85
ArrayRangeEqualsFunction · 0.85
diff_sinkMethod · 0.80
use_atolMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected