Home
last modified time | relevance | path

Searched refs:Foo (Results 1 – 18 of 18) sorted by relevance

/oneTBB/test/common/
H A Dcontainer_move_support.h175 Foo() { in Foo() function
180 Foo( const Foo& foo ) : state_trackable_type(foo) { in Foo() function
187 Foo( Foo&& foo ) : state_trackable_type(std::move(foo)) { in Foo() function
194 ~Foo() { in ~Foo()
203 Foo& operator=( const Foo& x ) {
211 Foo& operator=( Foo&& x ) {
232 friend bool operator==( const Foo& lhs, const Foo& rhs ) {
238 friend bool operator<( const Foo& lhs, const Foo& rhs ) {
251 struct FooWithAssign : Foo {
253 FooWithAssign( intptr_t b ) : Foo(b) {} in FooWithAssign()
[all …]
H A Dallocator_test_common.h52 struct Foo { struct
54 Foo() { in Foo() function
58 Foo( const Foo& x ) { in Foo() argument
62 Foo& operator=( const Foo& x ) {
69 ~Foo() { in ~Foo() argument
279 using FooChar = Foo<char, 1>;
280 using FooDouble = Foo<double, 1>;
281 using FooInt = Foo<int, 17>;
282 using FooFloat = Foo<float, 23>;
/oneTBB/test/conformance/
H A Dconformance_concurrent_queue.cpp96 TestEmptyQueue<ConcQWithCapacity<move_support_tests::Foo>, move_support_tests::Foo>(); in TestEmptiness()
99 test_allocator<move_support_tests::Foo>>, move_support_tests::Foo>(); in TestEmptiness()
131 TestFullQueue<ConcQWithCapacity<move_support_tests::Foo>, move_support_tests::Foo>(); in TestFullness()
132 …urrent_bounded_queue<move_support_tests::Foo, test_allocator<move_support_tests::Foo>>, move_suppo… in TestFullness()
146 move_support_tests::Foo f; in TestClear()
156 move_support_tests::Foo f; in TestClear()
166 move_support_tests::Foo f; in TestClear()
241 move_support_tests::Foo f; in TestIterator()
253 …ator<oneapi::tbb::concurrent_queue<move_support_tests::Foo, test_allocator<move_support_tests::Foo in TestQueueIteratorWorks()
1723 move_support_tests::Foo obj; in TestMoveQueue()
[all …]
H A Dconformance_concurrent_vector.cpp251 v.assign(old_size/2, move_support_tests::Foo() ); in TestResizeAndCopy()
258 v.resize(new_size, move_support_tests::Foo(33) ); in TestResizeAndCopy()
714 move_support_tests::Foo::State desired_state; in operator ()()
737 move_support_tests::Foo copy_from; in TestConcurrentGrowToAtLeastImpl()
739 MyVector v(2, move_support_tests::Foo(), MyAllocator()); in TestConcurrentGrowToAtLeastImpl()
819 move_support_tests::Foo::State expected_element_state;
1143 struct throwing_foo:move_support_tests::Foo {
1173 move_support_tests::Foo f; in TestPushBackMoveExceptionSafety()
1184 move_support_tests::Foo dummy; //make FooCount non zero; in TestEmplaceBackExceptionSafety()
1496 …raits<oneapi::tbb::concurrent_vector<move_support_tests::Foo>::iterator,move_support_tests::Foo>();
[all …]
H A Dconformance_concurrent_hash_map.cpp606 using DataStateTrackedTable = oneapi::tbb::concurrent_hash_map<MyKey, move_support_tests::Foo, MyHa…
612 …CHECK_FAST_MESSAGE((table.insert( a, std::make_pair(MyKey::make(i), move_support_tests::Foo(next))… in apply()
/oneTBB/doc/main/tbb_userguide/
H A DIterating_Over_a_Concurrent_Queue_for_Debugging.rst13 The ``operator<<`` is defined for a ``Foo``.
19 concurrent_queue<Foo> q;
21 typedef concurrent_queue<Foo>::const_iterator iter;
H A DAdvanced_Example.rst8 where ``Foo(i)`` is minimized. A serial version might look like this:
18 float value = Foo(a[i]);
51 float value = Foo(a[i]);
H A DMore_on_HashCompare.rst21 For example, if you have keys of type ``Foo``, and ``operator==`` is
22 defined for ``Foo``, you just have to provide a definition of
29 size_t tbb_hasher(const Foo& f) {
H A DCook_Until_Done_parallel_do.rst29 Foo(*i);
33 If ``Foo`` takes at least a few thousand instructions to run, you can
47 Foo(item);
H A Dparallel_for_os.rst7 Suppose you want to apply a function ``Foo`` to each element of an
17 Foo(a[i]);
41 Foo(a[i]);
H A DLambda_Expressions.rst30 Foo(a[i]);
95 parallel_for(size_t(0), n, [=](size_t i) {Foo(a[i]);});
H A Dparallel_reduce.rst16 sum += Foo(a[i]);
52 sum += Foo(a[i]);
147 sum += Foo(a[i]);
H A DBandwidth_and_Cache_Affinity_os.rst7 For a sufficiently simple function ``Foo``, the examples might not show
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_atexit.cpp124 class Foo { class
126 Foo() { in Foo() function in Foo
134 static Foo f;
/oneTBB/doc/main/intro/
H A Dnotation.rst50 ``Foo``:
56 class Foo {
60 ~Foo();
87 typedef internal::Foo_v3 Foo;
94 - ``Foo`` is actually a typedef to ``Foo_v3``.
/oneTBB/doc/main/tbb_userguide/design_patterns/
H A DGUI_Thread.rst94 oneapi::tbb::concurrent_queue<Foo>ResultQueue;
98 Foo CurrentResult;
144 is the most recent ``Foo`` that it has seen.
167 Foo x = result of long computation
/oneTBB/test/tbb/
H A Dtest_concurrent_vector.cpp402 using vector_type = tbb::concurrent_vector<move_support_tests::Foo, allocator_type>; in TestConcurrentOperationsWithUnSafeOperations()
589 using allocator_type = StaticSharedCountingAllocator<std::allocator<move_support_tests::Foo>>;
606 using allocator_type = StaticSharedCountingAllocator<std::allocator<move_support_tests::Foo>>;
607 using vector_type = tbb::concurrent_vector<move_support_tests::Foo, allocator_type>;
H A Dtest_eh_flow_graph.cpp1918 class Foo { class
1923 Foo(std::vector<int>& vec) : m_vec(&vec) { } in Foo() function in Foo
1938 Foo f(vec); in test_flow_graph_exception0()