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

Method Equals

cpp/src/arrow/array/diff.cc:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 ~DefaultValueComparator() override = default;
156
157 bool Equals(int64_t base_index, int64_t target_index) override {
158 const bool base_valid = base.IsValid(base_index);
159 const bool target_valid = target.IsValid(target_index);
160 if (base_valid && target_valid) {
161 return GetView(base, base_index) == GetView(target, target_index);
162 }
163 return base_valid == target_valid;
164 }
165};
166
167template <typename RunEndCType>

Callers

nothing calls this directly

Calls 2

GetViewFunction · 0.70
IsValidMethod · 0.45

Tested by

no test coverage detected