Home
last modified time | relevance | path

Searched refs:m1 (Results 1 – 6 of 6) sorted by relevance

/oneTBB/doc/main/tbb_userguide/
H A Duse_nested_flow_graphs.rst34 function_node< int, int > m1( h, unlimited, []( int j ) -> int {
35 cout << "m1: " << j << "\n";
50 make_edge( m1, m2 );
51 make_edge( m1, m3 );
54 m1.try_put(i);
76 function_node< int, int > m1( h, unlimited, []( int j ) -> int {
77 cout << "m1: " << j << "\n";
92 make_edge( m1, m2 );
93 make_edge( m1, m3 );
114 m1.try_put(i);
[all …]
H A Dcommunicate_with_nodes.rst43 function_node< int, int > m1( g2, 1, [](int i) -> int {
44 cout << "m1\n";
54 make_edge( m1, m2 );
57 m1.try_put( 1 );
62 // The following call returns after m1 & m2
70 In the example above, m1.try_put(1) sends a message to node m1, which
83 g2. The call to g2.wait_for_all returns after both m1 and m2 are done,
/oneTBB/test/conformance/
H A Dconformance_concurrent_unordered_map.cpp140 TMap m1(v.begin(), v.end(), 1); in test_deduction_guides() local
141 static_assert(std::is_same<decltype(m1), TMap<int, std::string>>::value); in test_deduction_guides()
198 TMap m14(m1); in test_deduction_guides()
199 static_assert(std::is_same<decltype(m14), decltype(m1)>::value); in test_deduction_guides()
207 TMap m16(std::move(m1)); in test_deduction_guides()
208 static_assert(std::is_same<decltype(m16), decltype(m1)>::value); in test_deduction_guides()
H A Dconformance_concurrent_hash_map.cpp1102 TMap m1(v.begin(), v.end()); in TestDeductionGuides() local
1103 …static_assert(std::is_same<decltype(m1), TMap<Key, Value, DefaultCompare, DefaultAllocator>>::valu… in TestDeductionGuides()
1134 TMap m9(m1); in TestDeductionGuides()
1135 static_assert(std::is_same<decltype(m9), decltype(m1)>::value); in TestDeductionGuides()
1142 TMap m11(std::move(m1)); in TestDeductionGuides()
1143 static_assert(std::is_same<decltype(m11), decltype(m1)>::value); in TestDeductionGuides()
/oneTBB/examples/test_all/fibonacci/
H A Dfibonacci.cpp294 Matrix2x2 m1, m2; in operator ()() local
296 while (!queue->try_pop(m1)) in operator ()()
300 m1 = m1 * m2; // process them in operator ()()
301 queue->push(m1); // and push back in operator ()()
/oneTBB/test/tbb/
H A Dtest_eh_algorithms.cpp1331 FilterSet( tbb::filter_mode m1, tbb::filter_mode m2, bool t1, bool t2 ) in FilterSet()
1332 : mode1(m1), mode2(m2), throw1(t1), throw2(t2) in FilterSet()