MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / operator==

Function operator==

extern/re2/re2/stringpiece.h:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174};
175
176inline bool operator==(const StringPiece& x, const StringPiece& y) {
177 StringPiece::size_type len = x.size();
178 if (len != y.size()) return false;
179 return x.data() == y.data() || len == 0 ||
180 memcmp(x.data(), y.data(), len) == 0;
181}
182
183inline bool operator!=(const StringPiece& x, const StringPiece& y) {
184 return !(x == y);

Callers 12

operator==Method · 0.50
operator ==Function · 0.50
operator ==Method · 0.50
operator ==Function · 0.50
operator ==Method · 0.50
operator ==Method · 0.50
operator ==Method · 0.50
operator ==Method · 0.50
operator ==Method · 0.50
operator ==Method · 0.50
operator ==Method · 0.50
operator ==Method · 0.50

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected