Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 24 of 24) sorted by relevance

/oneTBB/examples/getting_started/sub_string_finder/
H A Dsub_string_finder_extended.cpp32 std::size_t max_size = 0, max_pos = 0; in SerialSubStringFinder() local
39 if (k > max_size) { in SerialSubStringFinder()
40 max_size = k; in SerialSubStringFinder()
45 max_array[i] = max_size; in SerialSubStringFinder()
59 std::size_t max_size = 0, max_pos = 0; in operator ()() local
66 if (k > max_size) { in operator ()()
67 max_size = k; in operator ()()
73 max_array[i] = max_size; in operator ()()
H A Dsub_string_finder.cpp39 std::size_t max_size = 0, max_pos = 0; in operator ()() local
46 if (k > max_size) { in operator ()()
47 max_size = k; in operator ()()
53 max_array[i] = max_size; in operator ()()
H A Dsub_string_finder_pretty.cpp36 std::size_t max_size = 0, max_pos = 0; in operator ()() local
43 if (k + 1 > max_size) { in operator ()()
44 max_size = k + 1; in operator ()()
50 max_array[i] = max_size; in operator ()()
/oneTBB/test/conformance/
H A Dconformance_allocators.cpp37 AssertSameType(allocator.max_size(), typename std::allocator_traits<Allocator>::size_type(0));
40 …EQUIRE_MESSAGE((allocator.max_size() * typename std::allocator_traits<Allocator>::size_type(sizeof…
H A Dconformance_concurrent_hash_map.cpp235 CHECK(x.size()<=x.max_size()); in CheckTable()
H A Dconformance_concurrent_vector.cpp425 victim.reserve(victim.max_size()+1); in TestExceptions()
/oneTBB/examples/parallel_pipeline/square/
H A Dsquare.cpp48 static TextSlice* allocate(std::size_t max_size) { in allocate() argument
51 max_size + 1); in allocate()
53 t->physical_end = t->begin() + max_size; in allocate()
/oneTBB/test/common/
H A Dallocator_test_common.h139 AssertSameType(a.max_size(), typename A::size_type(0)); in TestBrokenAllocator()
142 …REQUIRE_MESSAGE((a.max_size() * typename A::size_type(sizeof(T)) >= a.max_size()), "max_size large… in TestBrokenAllocator()
H A Dconcurrent_associative_common.h451 REQUIRE_MESSAGE(ccont.max_size() > 0, "Concurrent container max size is invalid");
1137 if (!(!c.empty() && c.size() == lst.size() && c.max_size() >= c.size())) {
1143 std::cout << "Max size greater? " << (c.max_size() >= c.size()) << std::endl;
1145 REQUIRE((!c.empty() && c.size() == lst.size() && c.max_size() >= c.size()));
H A Dcustom_allocators.h88 std::size_t max_size() const noexcept { in max_size() function
/oneTBB/include/oneapi/tbb/
H A Dtbb_allocator.h84 size_type max_size() const noexcept { in max_size() function
H A Dcache_aligned_allocator.h63 std::size_t max_size() const noexcept { in max_size() function
H A Dscalable_allocator.h248 size_type max_size() const noexcept { in max_size() function
H A Dmemory_pool.h120 size_type max_size() const throw() { in max_size() function
H A Dconcurrent_vector.h491 size_type max_size() const noexcept { in max_size() function
492 return allocator_traits_type::max_size(base_type::get_allocator()); in max_size()
502 if (n > max_size()) { in reserve()
H A Dconcurrent_hash_map.h1074 size_type max_size() const { in __TBB_requires()
1075 return allocator_traits_type::max_size(base_type::get_allocator()); in __TBB_requires()
/oneTBB/doc/main/tbb_userguide/
H A DWorking_on_the_Assembly_Line_pipeline.rst76 // Allocate a TextSlice object that can hold up to max_size characters.
77 static TextSlice* allocate( size_t max_size ) {
79 …Slice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate( sizeof(TextSlice)+max_size+1 );
81 t->physical_end = t->begin()+max_size;
/oneTBB/test/tbb/
H A Dtest_concurrent_priority_queue.cpp108 …OO_LARGE_SZ = std::vector<MyThrowingType, typename CPQExTestType::allocator_type>{}.max_size() + 1; in test_exceptions()
H A Dtest_parallel_pipeline.cpp614 unsigned max_size = (sizeof(type1) > sizeof(type2) ) ? sizeof(type1) : sizeof(type2); in run_function() local
616 buffers[i] = malloc(max_size); in run_function()
H A Dtest_concurrent_hash_map.cpp204 CHECK(c.max_size() >= c.size()); in Examine()
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dmemory_pool_allocator_cls.rst62 size_type max_size() const throw();
/oneTBB/include/oneapi/tbb/detail/
H A D_concurrent_unordered_base.h407 size_type max_size() const noexcept { return allocator_traits_type::max_size(get_allocator()); } in max_size() function
643 return max_size(); in unsafe_max_bucket_count()
H A D_segment_table.h234 if (n > allocator_traits_type::max_size(my_segment_table_allocator)) { in reserve()
H A D_concurrent_skip_list.h623 size_type max_size() const { in max_size() function
624 return node_allocator_traits::max_size(my_node_allocator); in max_size()