MCPcopy Create free account
hub / github.com/apache/trafficserver / contains

Function contains

lib/catch2/catch.hpp:13829–13831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13827 return !s.empty() && s[s.size()-1] == suffix;
13828 }
13829 bool contains( std::string const& s, std::string const& infix ) {
13830 return s.find( infix ) != std::string::npos;
13831 }
13832 void toLowerInPlace( std::string& s ) {
13833 std::transform( s.begin(), s.end(), s.begin(), toLowerCh );
13834 }

Callers 5

matchMethod · 0.85
matchesMethod · 0.85
expandMethod · 0.85
MatchMethod · 0.85
ContainsMethod · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected