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

Method add

plugins/cachekey/pattern.cc:430–434  ·  view source on GitHub ↗

* @brief Adds a pattern to the multi-pattern * * The order of addition matters during the classification * @param pattern pattern pointer */

Source from the content-addressed store, hash-verified

428 * @param pattern pattern pointer
429 */
430void
431MultiPattern::add(Pattern *pattern)
432{
433 this->_list.push_back(pattern);
434}
435
436/**
437 * @brief Matches the subject string against all patterns.

Callers 2

setPatternFunction · 0.45
loadClassifiersMethod · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected