MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / compare

Method compare

src/common/classes/fb_string.cpp:489–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487 }
488
489 int PathNameComparator::compare(AbstractString::const_pointer s1, AbstractString::const_pointer s2,
490 const AbstractString::size_type n)
491 {
492 if (CASE_SENSITIVITY)
493 return memcmp(s1, s2, n);
494
495 return STRNCASECMP(s1, s2, n);
496 }
497
498 int IgnoreCaseComparator::compare(AbstractString::const_pointer s1, AbstractString::const_pointer s2,
499 const AbstractString::size_type n)

Callers 1

testFunction · 0.45

Calls

no outgoing calls

Tested by 1

testFunction · 0.36