MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / compare

Method compare

src/common/classes/MetaString.h:91–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90 int compare(const char* s, FB_SIZE_T l) const;
91 int compare(const char* s) const { return compare(s, s ? fb_strlen(s) : 0); }
92 int compare(const AbstractString& s) const { return compare(s.c_str(), s.length()); }
93 int compare(const MetaString& m) const { return memcmp(data, m.data, MAX_SQL_IDENTIFIER_SIZE); }
94

Callers

nothing calls this directly

Calls 4

fb_strlenFunction · 0.85
compareClass · 0.50
c_strMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected