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

Function startsWith

Source/ThirdParty/catch2/catch.hpp:13810–13812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13808 }
13809
13810 bool startsWith( std::string const& s, std::string const& prefix ) {
13811 return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin());
13812 }
13813 bool startsWith( std::string const& s, char prefix ) {
13814 return !s.empty() && s[0] == prefix;
13815 }

Callers 11

registerTestMethodsFunction · 0.85
makeCommandLineParserFunction · 0.85
listTestsNamesOnlyFunction · 0.85
matchMethod · 0.85
addMethod · 0.85
parseSpecialTagFunction · 0.85
makeTestCaseFunction · 0.85
extractClassNameFunction · 0.85
preprocessPatternMethod · 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