Home
last modified time | relevance | path

Searched refs:q1 (Results 1 – 8 of 8) sorted by relevance

/oneTBB/test/common/
H A Dconcurrent_priority_queue_common.h64 REQUIRE((!q1.empty() && q1.size() == vec_sorted.size())); in examine()
80 REQUIRE((q1.empty() && !q1.size())); in examine()
83 q1.swap(q2); in examine()
85 REQUIRE((!q1.empty() && q1.size() == vec_sorted.size())); in examine()
93 QueueType q1(q), q2(q); in examine()
107 queue_type q1; in type_tester() local
109 examine(q1, vec_sorted); in type_tester()
125 queue_type q4(q1); in type_tester()
213 queue_type q1, q1_copy; in type_tester_unique_ptr() local
221 q1.clear(); in type_tester_unique_ptr()
[all …]
/oneTBB/test/tbb/
H A Dtest_concurrent_queue.cpp76 Queue q1; in TestVectorTypes() local
80 q1.push(bar); in TestVectorTypes()
84 Queue q2 = q1; in TestVectorTypes()
97 bool b = q1.try_pop(tmp); in TestVectorTypes()
H A Dtest_flow_graph_whitebox.cpp406 tbb::flow::queue_node<int> q1(g); in TestJoinNode() local
408 tbb::flow::make_edge(q1,tbb::flow::input_port<1>(rj)); in TestJoinNode()
416 q1.try_put(2); in TestJoinNode()
424 q1.try_put(3); in TestJoinNode()
432 CHECK_MESSAGE( (q1.my_successors.empty()), "edge not removed by reset(rf_clear_edges)"); in TestJoinNode()
H A Dtest_multifunction_node.cpp430 tbb::flow::queue_node<OddType> q1(g); in run_multiport_test() local
433 tbb::flow::make_edge(tbb::flow::output_port<1>(mo_node), q1); in run_multiport_test()
445 CHECK_MESSAGE( q1.try_get(o), "" ); in run_multiport_test()
H A Dtest_queue_node.cpp484 queue_node q1(follows(br)); in test_deduction_guides() local
485 static_assert(std::is_same_v<decltype(q1), queue_node<int>>); in test_deduction_guides()
/oneTBB/test/conformance/
H A Dconformance_concurrent_queue.cpp1447 TQueue q3(q1); in TestDeductionGuides()
1455 TQueue q5(std::move(q1)); in TestDeductionGuides()
1694 CQ q1, q2, q3; in test_queue_helper() local
1698 q1 = q3; in test_queue_helper()
1702 CHECK(q1 != q4); in test_queue_helper()
1703 q1.swap(q4); in test_queue_helper()
1722 QueueType q1, q2; in TestMoveQueue() local
1728 q1.push(obj); in TestMoveQueue()
1738 q1 = std::move(q2); in TestMoveQueue()
1789 q1.push(obj); in TestMoveQueueUnequal()
[all …]
H A Dconformance_concurrent_priority_queue.cpp330 oneapi::tbb::concurrent_priority_queue<MoveOperationTracker> q1; in test_move_support_in_push_pop() local
335 q1.push(MoveOperationTracker{}); in test_move_support_in_push_pop()
341 q1.push(std::move(ob)); in test_move_support_in_push_pop()
347 q1.try_pop(ob); in test_move_support_in_push_pop()
/oneTBB/doc/main/tbb_userguide/
H A Dbroadcast_or_send.rst116 priority_queue_node< int > q1(g);
121 make_edge( b, q1 );
123 make_edge( q1, f1 );