MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / startsWith

Function startsWith

Bcore/src/main/cpp/Dobby/tests/catch.hpp:9499–9501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9497namespace Catch {
9498
9499bool startsWith(std::string const &s, std::string const &prefix) {
9500 return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin());
9501}
9502bool startsWith(std::string const &s, char prefix) {
9503 return !s.empty() && s[0] == prefix;
9504}

Callers 10

registerTestMethodsFunction · 0.85
addPatternMethod · 0.85
makeCommandLineParserFunction · 0.85
listTestsNamesOnlyFunction · 0.85
matchMethod · 0.85
addMethod · 0.85
parseSpecialTagFunction · 0.85
extractClassNameFunction · 0.85
WildcardPatternMethod · 0.85
matchesMethod · 0.85

Calls 4

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected