Home
last modified time | relevance | path

Searched refs:locations (Results 1 – 4 of 4) sorted by relevance

/oneTBB/test/common/
H A Dcontainer_move_support.h330 std::vector<const void*> locations; member
333 MemoryLocations( const ContainerType& source ) : locations(source.size()) { in MemoryLocations()
335 locations[std::distance(source.begin(), it)] = &*it; in MemoryLocations()
345 return std::equal(dst.begin(), dst.end(), locations.begin(), is_same_location); in content_location_unchanged()
353 return std::equal(dst.begin(), dst.end(), locations.begin(), is_not_same_location); in content_location_changed()
433 MemoryLocations locations; member
439 locations(source) in container_size()
448 locations(source) in container_size()
462 verify_size(locations.locations); in init()
466 return locations.content_location_unchanged(dst); in content_location_unchanged()
[all …]
/oneTBB/doc/main/tbb_userguide/
H A DPartitioner_Summary.rst59 memory locations. Keeping the subrange below a limit might enable the
60 repeatedly referenced memory locations to fit in cache.
H A Dparallel_reduce.rst89 loop does not write to any of the other locations, and hoist the
/oneTBB/test/conformance/
H A Dconformance_concurrent_queue.cpp557 std::vector<const T*> locations(size); in TestConstructors() local
560 locations[i] = &(*qit); in TestConstructors()
570 …std::equal(locations.begin(), locations.end(), dst_queue.unsafe_begin(), [](const T* t1, const T& … in TestConstructors()
1313 const T* locations[size]; in TestMoveConstructors() local
1316 locations[i] = &(*qit); in TestMoveConstructors()
1328 REQUIRE_MESSAGE(locations[i] != &(*qit), "an item should have been copied but was not" ); in TestMoveConstructors()
1329 locations[i] = &(*qit); in TestMoveConstructors()
1342 REQUIRE_MESSAGE(locations[i] == &(*qit), "an item should have been moved but was not" ); in TestMoveConstructors()