Home
last modified time | relevance | path

Searched refs:const_accessor (Results 1 – 5 of 5) sorted by relevance

/oneTBB/doc/main/tbb_userguide/
H A Dconcurrent_hash_map.rst90 respectively with the classes ``accessor`` and ``const_accessor`` that
94 ``const_accessor`` is similar, except that is represents *read-only*
101 ``const_accessor`` as an argument. The choice tells
104 ``accessor`` or ``const_accessor`` is destroyed. Because having access
106 the ``accessor`` or ``const_accessor``. To do so, declare it in the
/oneTBB/test/tbb/
H A Dtest_concurrent_hash_map.cpp87 typename Table::const_accessor ca; in operator ()()
133 typename Table::const_accessor ca; in operator ()()
622 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex()
631 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex()
641 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex()
664 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex()
673 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex()
846 using const_accessor = IsWriterAccessor<typename map_type::const_accessor>; typedef
849 test_chmap_access_mode<map_type, const_accessor>(/*expect_write = */false);
/oneTBB/test/conformance/
H A Dconformance_concurrent_hash_map.cpp238 typename test_table_type::const_accessor a; in CheckTable()
702 test_table_type::const_accessor a; in apply()
703 const test_table_type::const_accessor& ca = a; in apply()
782 test_table_type::const_accessor a; in apply()
812 YourTable::const_accessor res; in apply()
837 YourTable::const_accessor real_ca; in operator ()()
1286 using const_accessor = typename chmap_type::const_accessor; in test_heterogeneous_find() typedef
1288 const_accessor cacc; in test_heterogeneous_find()
1416 using const_accessor = typename chmap_type::const_accessor; in test_heterogeneous_insert() typedef
1418 const_accessor cacc; in test_heterogeneous_insert()
[all …]
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_hash_map.h630 friend class const_accessor; in __TBB_requires() local
805 const_accessor() : my_node(nullptr), my_hash() {} in __TBB_requires()
808 ~const_accessor() { in __TBB_requires()
818 class accessor: public const_accessor { in __TBB_requires()
1109 bool find( const_accessor &result, const Key &key ) const { in __TBB_requires()
1137 bool insert( const_accessor &result, const Key &key ) { in __TBB_requires()
1187 bool insert( const_accessor &result, value_type && value ) { in __TBB_requires()
1206 bool emplace( const_accessor &result, Args&&... args ) { in __TBB_requires()
1250 bool erase( const_accessor& item_accessor ) { in __TBB_requires()
1361 friend const_accessor* accessor_location( const_accessor & a ) { return &a;} in __TBB_requires()
[all …]
/oneTBB/examples/test_all/fibonacci/
H A Dfibonacci.cpp231 NumbersTable::const_accessor f1, f2; // same as iterators in operator ()()
238 NumbersTable::const_accessor fsum; in operator ()()
260 NumbersTable::const_accessor fresult; in ConcurrentHashSerialFib()