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

Function ArrayEquals

cpp/src/arrow/compare.cc:1148–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146}
1147
1148bool ArrayEquals(const Array& left, const Array& right, const EqualOptions& opts) {
1149 if (left.length() != right.length()) {
1150 ARROW_IGNORE_EXPR(PrintDiff(left, right, opts.diff_sink()));
1151 return false;
1152 }
1153 return ArrayRangeEquals(left, right, 0, left.length(), 0, opts);
1154}
1155
1156bool ArrayApproxEquals(const Array& left, const Array& right, const EqualOptions& opts) {
1157 auto resolved_options = opts;

Callers 3

VisitMethod · 0.85
ArrayApproxEqualsFunction · 0.85
EqualsMethod · 0.85

Calls 3

PrintDiffFunction · 0.85
ArrayRangeEqualsFunction · 0.85
lengthMethod · 0.45

Tested by

no test coverage detected