MCPcopy Create free account
hub / github.com/RenderKit/embree / startsWith

Function startsWith

tutorials/common/tutorial/benchmark.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool startsWith(std::string const &str, std::string const &prefix)
73{
74 if (str.length() <= prefix.length())
75 return false;
76 return (str.rfind(prefix, 0) == 0);
77}
78
79std::string removeQuotes(std::string const &str)
80{

Callers 2

removeQuotesFunction · 0.70
updateCommandLineMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected