MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / naturalcasecmp_to

Method naturalcasecmp_to

core/string/ustring.cpp:626–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624}
625
626signed char String::naturalcasecmp_to(const String &p_str) const {
627 const char32_t *this_str = get_data();
628 const char32_t *that_str = p_str.get_data();
629
630 return naturalcasecmp_to_base(this_str, that_str);
631}
632
633static _FORCE_INLINE_ signed char naturalnocasecmp_to_base(const char32_t *p_this_str, const char32_t *p_that_str) {
634 if (p_this_str && p_that_str) {

Callers 6

operator<Method · 0.80
operator<Method · 0.80
operator<Method · 0.80
operator()Method · 0.80
operator()Method · 0.80
operator()Method · 0.80

Calls 3

get_dataFunction · 0.85
naturalcasecmp_to_baseFunction · 0.85
get_dataMethod · 0.45

Tested by

no test coverage detected