MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / strequalrange

Function strequalrange

Source/ThirdParty/pugixml/pugixml.cpp:202–209  ·  view source on GitHub ↗

Compare lhs with [rhs_begin, rhs_end)

Source from the content-addressed store, hash-verified

200
201 // Compare lhs with [rhs_begin, rhs_end)
202 PUGI__FN bool strequalrange(const char_t* lhs, const char_t* rhs, size_t count)
203 {
204 for (size_t i = 0; i < count; ++i)
205 if (lhs[i] != rhs[i])
206 return false;
207
208 return lhs[count] == 0;
209 }
210
211 // Get length of wide string, even if CRT lacks wide character support
212 PUGI__FN size_t strlength_wide(const wchar_t* s)

Callers 3

first_element_by_pathMethod · 0.85
operator()Method · 0.85
operator==Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected