Home
last modified time | relevance | path

Searched refs:MAX_ITER (Results 1 – 3 of 3) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_shutdown_hang.cpp38 const int MAX_ITER = 10000; in allocatorRandomThrashing() local
42 for (int i = 0; i < rand() % MAX_ITER; ++i) { in allocatorRandomThrashing()
/oneTBB/test/common/
H A Dconcurrent_priority_queue_common.h231 const std::size_t MAX_ITER = 10000; variable
259 for (std::size_t i = 0; i < MAX_ITER; ++i) { in operator()
306 for (std::size_t i = 0; i < MAX_ITER; ++i) { in operator()
325 REQUIRE_MESSAGE(q.size() == n * MAX_ITER, "Failed concurrent push size test"); in test_parallel_push_pop()
/oneTBB/test/conformance/
H A Dconformance_concurrent_priority_queue.cpp503 oneapi::tbb::concurrent_priority_queue<int, std::less<int>> q(MAX_ITER); in test_serial_push_pop()
509 for (std::size_t i = 0; i < MAX_ITER; ++i) { in test_serial_push_pop()
514 REQUIRE_MESSAGE(q.size() == MAX_ITER, "Failed push size test"); in test_serial_push_pop()
524 REQUIRE_MESSAGE(q.size() == MAX_ITER - count, "Failed pop size test"); in test_serial_push_pop()
525 REQUIRE_MESSAGE((!q.empty() || count == MAX_ITER), "Failed pop empty test"); in test_serial_push_pop()