MCPcopy Create free account
hub / github.com/beefytech/Beef / StrEqual

Function StrEqual

IDEHelper/StrHashMap.h:84–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 bool StrEqual(const char* strA, const char* strB)
85 {
86 const char* ptrA = strA;
87 const char* ptrB = strB;
88
89 while (true)
90 {
91 char ca;
92 do { ca = *(strA++); } while (ca == ' ');
93 char cb;
94 do { cb = *(strB++); } while (cb == ' ');
95 if (ca != cb)
96 return false;
97 if (ca == '\0')
98 return true;
99 }
100 }
101
102public:
103 Beefy::BumpAllocator mAlloc;

Callers 2

FindMethod · 0.85
FindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected