MCPcopy Create free account
hub / github.com/apache/impala / Eq

Method Eq

be/src/runtime/string-value.inline.h:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64inline bool StringValue::Eq(const StringValue& other) const {
65 SimpleString this_s = ToSimpleString();
66 SimpleString other_s = other.ToSimpleString();
67 if (this_s.len != other_s.len) return false;
68 return StringCompare(this_s.ptr, this_s.len, other_s.ptr, other_s.len, this_s.len) == 0;
69}
70
71inline bool StringValue::operator==(const StringValue& other) const {
72 return Eq(other);

Callers

nothing calls this directly

Calls 2

StringCompareFunction · 0.70
ToSimpleStringMethod · 0.45

Tested by

no test coverage detected