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

Method contains

include/records/RecHttp.h:102–106  ·  view source on GitHub ↗

Test if a protocol is in the set.

Source from the content-addressed store, hash-verified

100 }
101 /// Test if a protocol is in the set.
102 bool
103 contains(int idx) const
104 {
105 return 0 != (m_bits & this->indexToMask(idx));
106 }
107 /// Test if all the protocols in @a that are in @a this protocol set.
108 bool
109 contains(self_type const &that) const

Callers

nothing calls this directly

Calls 1

indexToMaskMethod · 0.95

Tested by

no test coverage detected