MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / compare

Method compare

tests/framework/src/doctest.cpp:693–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691}
692
693int String::compare(const char* other, bool no_case) const {
694 if(no_case)
695 return doctest::stricmp(c_str(), other);
696 return std::strcmp(c_str(), other);
697}
698
699int String::compare(const String& other, bool no_case) const {
700 return compare(other.c_str(), no_case);

Callers 11

operator==Function · 0.45
operator!=Function · 0.45
operator<Function · 0.45
operator>Function · 0.45
operator<=Function · 0.45
operator>=Function · 0.45
operator<Method · 0.45
fileOrderComparatorFunction · 0.45
isDebuggerActiveFunction · 0.45
parseIntOptionFunction · 0.45
runMethod · 0.45

Calls 4

stricmpFunction · 0.85
c_strFunction · 0.50
compareFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected