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

Method MatchOpAnd

lib/yamlcpp/src/regeximpl.h:145–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143// the FIRST entry on the list.
144template <typename Source>
145inline int RegEx::MatchOpAnd(const Source& source) const {
146 int first = -1;
147 for (std::size_t i = 0; i < m_params.size(); i++) {
148 int n = m_params[i].MatchUnchecked(source);
149 if (n == -1)
150 return -1;
151 if (i == 0)
152 first = n;
153 }
154 return first;
155}
156
157// NotOperator
158template <typename Source>

Callers

nothing calls this directly

Calls 2

MatchUncheckedMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected