MCPcopy Create free account
hub / github.com/RcppCore/RcppParallel / prio_pop

Function prio_pop

src/tbb/include/oneapi/tbb/flow_graph.h:2057–2077  ·  view source on GitHub ↗

prio_pop: deletes highest priority item from the array, and if it is item 0, move last item to 0 and reheap. If end of array, just destroy and decrement tail and mark. Assumes the array has already been tested for emptiness; no failure.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

internal_popFunction · 0.85
internal_reserveFunction · 0.85
try_put_and_add_taskFunction · 0.85

Calls 5

prio_use_tailFunction · 0.85
reheapFunction · 0.85
destroy_itemMethod · 0.80
my_item_validMethod · 0.80
move_itemMethod · 0.80

Tested by

no test coverage detected