Home
last modified time | relevance | path

Searched refs:start_idx (Results 1 – 2 of 2) sorted by relevance

/oneTBB/include/oneapi/tbb/
H A Dconcurrent_vector.h791 …void internal_loop_construct( segment_table_type table, size_type start_idx, size_type end_idx, co… in internal_loop_construct() argument
793 for (size_type idx = start_idx; idx < end_idx; ++idx) { in internal_loop_construct()
812 for (size_type idx = start_idx; idx < end_idx; ++idx) { in internal_loop_construct()
828 iterator internal_grow( size_type start_idx, size_type end_idx, const Args&... args ) { in internal_grow() argument
832 this->extend_table_if_necessary(table, start_idx, end_idx); in internal_grow()
839 if (first_element >= start_idx && first_element < end_idx) { in internal_grow()
846 internal_loop_construct(table, start_idx, end_idx, args...); in internal_grow()
848 …return iterator(*this, start_idx, &base_type::template internal_subscript</*allow_out_of_range_acc… in internal_grow()
857 size_type start_idx = this->my_size.fetch_add(delta); in internal_grow_by_delta() local
858 size_type end_idx = start_idx + delta; in internal_grow_by_delta()
[all …]
/oneTBB/test/tbb/
H A Dtest_task.cpp310 std::size_t start_idx = my_current_task.fetch_add(delta); in operator ()() local
312 if (start_idx < my_task_pool.size()) { in operator ()()
313 …for (std::size_t idx = start_idx; idx != std::min(my_task_pool.size(), start_idx + delta); ++idx) { in operator ()()