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

Method push

include/tscore/PriorityQueue.h:96–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95template <typename T, typename Comp>
96void
97PriorityQueue<T, Comp>::push(PriorityQueueEntry<T> *entry)
98{
99 ink_release_assert(entry != nullptr);
100
101 int len = _v.size();
102 _v.push_back(entry);
103 entry->index = len;
104
105 _bubble_up(len);
106}
107
108template <typename T, typename Comp>
109PriorityQueueEntry<T> *

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected