Searched refs:acc (Results 1 – 4 of 4) sorted by relevance
| /oneTBB/test/tbb/ |
| H A D | test_concurrent_hash_map.cpp | 624 CHECK(acc->first == i); in test_with_minimalistic_mutex() 634 CHECK(acc->first == i); in test_with_minimalistic_mutex() 644 CHECK(acc->first == i); in test_with_minimalistic_mutex() 665 bool result = chmap.find(acc, i); in test_with_minimalistic_mutex() 674 bool result = chmap.find(acc, i); in test_with_minimalistic_mutex() 703 Accessor acc; in test_chmap_access_mode() local 706 bool result = map.insert(acc, 1); in test_chmap_access_mode() 711 result = map.insert(acc, 2L); in test_chmap_access_mode() 717 result = map.insert(acc, value); in test_chmap_access_mode() 727 result = map.find(acc, 1); in test_chmap_access_mode() [all …]
|
| H A D | test_parallel_scan.cpp | 316 Accumulator<T> acc( 42, addend, sum); in TestAccumulator() local 321 tbb::parallel_scan( Range( 0, n, gs ), acc ); in TestAccumulator() 324 tbb::parallel_scan( Range( 0, n, gs ), acc, tbb::simple_partitioner() ); in TestAccumulator() 327 tbb::parallel_scan( Range( 0, n, gs ), acc, tbb::auto_partitioner() ); in TestAccumulator() 339 CHECK(acc.get_total()==sum[n-1]); in TestAccumulator() 341 CHECK(acc.get_total()==42); in TestAccumulator() 342 CHECK(control_total ==acc.get_total()); in TestAccumulator()
|
| H A D | test_tbb_fork.cpp | 87 TidTableType::accessor acc; in operator ()() local 88 if (tidTable.insert(acc, tid)) { in operator ()() 89 acc->second.h = h; in operator ()()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_hash_map.cpp | 1289 accessor acc; in test_heterogeneous_find() local 1302 regular_result = chmap.find(acc, key); in test_heterogeneous_find() 1303 heterogeneous_result = chmap.find(acc, int(1)); in test_heterogeneous_find() 1323 regular_result = chmap.find(acc, key); in test_heterogeneous_find() 1324 heterogeneous_result = chmap.find(acc, int(1)); in test_heterogeneous_find() 1328 REQUIRE_MESSAGE(acc->first.integer_key() == 1, "Incorrect accessor returned"); in test_heterogeneous_find() 1419 accessor acc; in test_heterogeneous_insert() local 1437 result = chmap.insert(acc, int(2)); in test_heterogeneous_insert() 1441 REQUIRE_MESSAGE(acc->first.integer_key() == 2, "Incorrect accessor"); in test_heterogeneous_insert() 1444 result = chmap.insert(acc, int(2)); in test_heterogeneous_insert() [all …]
|