MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / cStringEq

Method cStringEq

src/thundersvm/util/log.cpp:876–880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874 }
875
876 bool Str::cStringEq(const char* s1, const char* s2) {
877 if (s1 == nullptr && s2 == nullptr) return true;
878 if (s1 == nullptr || s2 == nullptr) return false;
879 return strcmp(s1, s2) == 0;
880 }
881
882 bool Str::cStringCaseEq(const char* s1, const char* s2) {
883 if (s1 == nullptr && s2 == nullptr) return true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected