Home
last modified time | relevance | path

Searched refs:q2 (Results 1 – 7 of 7) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_priority_queue_node.cpp170 tbb::flow::priority_queue_node<T> q2(g); in test_parallel() local
199 tbb::flow::make_edge( q, q2 ); in test_parallel()
200 tbb::flow::make_edge( q2, q3 ); in test_parallel()
208 CHECK_MESSAGE( q2.try_get( j ) == false, "" ); in test_parallel()
250 tbb::flow::priority_queue_node<T> q2(g); in test_serial() local
278 tbb::flow::make_edge( q, q2 ); in test_serial()
285 spin_try_get( q2, j ); in test_serial()
295 tbb::flow::remove_edge( q, q2 ); in test_serial()
305 tbb::flow::make_edge( q, q2 ); in test_serial()
306 tbb::flow::make_edge( q2, q3 ); in test_serial()
[all …]
H A Dtest_queue_node.cpp255 tbb::flow::queue_node<T> q2(g); in test_parallel() local
304 tbb::flow::make_edge( q, q2 ); in test_parallel()
305 tbb::flow::make_edge( q2, q3 ); in test_parallel()
360 tbb::flow::queue_node<T> q2(g); in test_serial() local
396 tbb::flow::make_edge( q, q2 ); in test_serial()
406 spin_try_get( q2, j ); in test_serial()
416 tbb::flow::remove_edge( q, q2 ); in test_serial()
426 tbb::flow::make_edge( q, q2 ); in test_serial()
427 tbb::flow::make_edge( q2, q3 ); in test_serial()
448 tbb::flow::remove_edge( q, q2 ); in test_serial()
[all …]
H A Dtest_concurrent_queue.cpp84 Queue q2 = q1; in TestVectorTypes() local
86 typename Queue::const_iterator ci = q2.unsafe_begin(); in TestVectorTypes()
88 CHECK((ci != q2.unsafe_end())); in TestVectorTypes()
/oneTBB/test/common/
H A Dconcurrent_priority_queue_common.h67 q2.clear(); in examine()
68 REQUIRE((q2.empty() && !q2.size() && !q2.try_pop(elem))); in examine()
74 QueuePushHelper<HasCopyCtor>::push(q2, elem); in examine()
81 REQUIRE((!q2.empty() && q2.size() == vec_sorted.size())); in examine()
83 q1.swap(q2); in examine()
84 REQUIRE((q2.empty() && !q2.size())); in examine()
93 QueueType q1(q), q2(q); in examine()
94 examine</*HasCopyCtor=*/true>(q1, q2, vec_sorted); in examine()
112 queue_type q2({vec[0], vec[1], vec[2]}); in type_tester()
114 q2.push(*it); in type_tester()
[all …]
/oneTBB/test/conformance/
H A Dconformance_concurrent_queue.cpp1287 CHECK(!q2.try_push(vec[0])); in bounded_queue_specific_test()
1694 CQ q1, q2, q3; in test_queue_helper() local
1699 q2 = std::move(q3); in test_queue_helper()
1704 CHECK(q2 == q4); in test_queue_helper()
1706 swap(q2, q3); in test_queue_helper()
1707 CHECK(q2.empty()); in test_queue_helper()
1722 QueueType q1, q2; in TestMoveQueue() local
1734 q2.push(obj); in TestMoveQueue()
1738 q1 = std::move(q2); in TestMoveQueue()
1793 q2.push(obj); in TestMoveQueueUnequal()
[all …]
H A Dconformance_concurrent_priority_queue.cpp351 oneapi::tbb::concurrent_priority_queue<NoDefaultCtorType> q2; in test_move_support_in_push_pop() local
352 q2.emplace(15, 3); in test_move_support_in_push_pop()
353 q2.emplace(2, 35); in test_move_support_in_push_pop()
354 q2.emplace(8, 8); in test_move_support_in_push_pop()
357 q2.try_pop(o); in test_move_support_in_push_pop()
359 q2.try_pop(o); in test_move_support_in_push_pop()
361 q2.try_pop(o); in test_move_support_in_push_pop()
363 REQUIRE_MESSAGE(!q2.try_pop(o), "The queue should be empty"); in test_move_support_in_push_pop()
/oneTBB/doc/main/tbb_userguide/
H A Dbroadcast_or_send.rst117 priority_queue_node< int > q2(g);
122 make_edge( b, q2 );
124 make_edge( q2, f2 );