MCPcopy Create free account
hub / github.com/FastLED/FastLED / compare

Method compare

src/fl/stl/basic_string.cpp.hpp:1111–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1109// ======= COMPARE =======
1110
1111int basic_string::compare(const basic_string& str) const { return fl::strcmp(c_str(), str.c_str()); }
1112
1113int basic_string::compare(fl::size pos1, fl::size count1, const basic_string& str) const {
1114 if (pos1 > mLength) {

Callers 2

FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls 6

strcmpFunction · 0.85
strncmpFunction · 0.85
strlenFunction · 0.85
c_strMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected