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

Method match

lib/catch2/catch.hpp:3323–3329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3321 struct MatchAnyOf : MatcherBase<ArgT> {
3322
3323 bool match( ArgT const& arg ) const override {
3324 for( auto matcher : m_matchers ) {
3325 if (matcher->match(arg))
3326 return true;
3327 }
3328 return false;
3329 }
3330 std::string describe() const override {
3331 std::string description;
3332 description.reserve( 4 + m_matchers.size()*32 );

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected