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

Method indexToMask

include/records/RecHttp.h:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 SessionProtocolSet() = default;
69
70 uint32_t
71 indexToMask(int idx) const
72 {
73 return 0 <= idx && idx < static_cast<int>(MAX) ? static_cast<uint32_t>(1) << idx : 0;
74 }
75
76 /// Mark the protocol at @a idx as present.
77 void

Callers 3

markInMethod · 0.95
markOutMethod · 0.95
containsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected