Home
last modified time | relevance | path

Searched refs:pq (Results 1 – 3 of 3) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_concurrent_priority_queue.cpp154 CPQExTestType pq(3); in test_exceptions() local
156 push_selector(pq, elem, i); in test_exceptions()
157 push_selector(pq, elem, i); in test_exceptions()
158 push_selector(pq, elem, i); in test_exceptions()
163 push_selector(pq, elem, i); in test_exceptions()
165 REQUIRE_MESSAGE(!pq.empty(), "Failed: pq should not be empty"); in test_exceptions()
166 REQUIRE_MESSAGE(pq.size() == 3, "Failed: pq should contain only three elements"); in test_exceptions()
167 REQUIRE_MESSAGE(pq.try_pop(elem), "Failed: pq is not functional"); in test_exceptions()
/oneTBB/test/conformance/
H A Dconformance_composite_node.cpp105 oneapi::tbb::flow::priority_queue_node<int> pq(g);
111 pq, ovw, wo, bf, seq);
113 q, pq, ovw, wo, bf, seq);
119 a_node.add_visible_nodes(src, fxn, m_fxn, bc, lim, ind, s, ct, j, q, bf, pq, wo, ovw, seq);
120 a_node.add_nodes(src, fxn, m_fxn, bc, lim, ind, s, ct, j, q, bf, pq, wo, ovw, seq);
134 b_node.add_visible_nodes(src, fxn, m_fxn, bc, lim, ind, s, ct, j, q, bf, pq, wo, ovw, seq);
135 b_node.add_nodes(src, fxn, m_fxn, bc, lim, ind, s, ct, j, q, bf, pq, wo, ovw, seq);
148 c_node.add_visible_nodes(src, fxn, m_fxn, bc, lim, ind, s, ct, j, q, bf, pq, wo, ovw, seq);
150 c_node.add_nodes(src, fxn, m_fxn, bc, lim, ind, s, ct, j, q, bf, pq, wo, ovw, seq);
H A Dconformance_graph.cpp204 oneapi::tbb::flow::priority_queue_node<int> pq(g);
219 oneapi::tbb::flow::make_edge(pq, successor);
237 pq.try_put(1);