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

Method in

include/tscore/PriorityQueue.h:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75template <typename T, typename Comp>
76bool
77PriorityQueue<T, Comp>::in(PriorityQueueEntry<T> *entry)
78{
79 ink_release_assert(entry != nullptr);
80
81 if (std::find(_v.begin(), _v.end(), entry) != _v.end()) {
82 return true;
83 }
84
85 return false;
86}
87
88template <typename T, typename Comp>
89bool

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected