Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 25 of 53) sorted by relevance

123

/oneTBB/doc/main/tbb_userguide/design_patterns/
H A DReference_Counting.rst33 - If there are cycles of references, basic reference counting is
46 Thread-safe reference counting is like serial reference counting,
61 // Construct object with a single reference to it.
63 // Add reference
65 // Remove reference. Return true if it was the last reference.
67 // Get reference to underlying object
80 reference.
111 becomes more important with atomic reference counts.
114 Weighted reference counting can be used to reduce costs if the
120 constant W to the reference count and weight of ``x``.
[all …]
/oneTBB/doc/main/reference/
H A Dconcurrent_lru_cache_cls.rst26 Once there are no ``handle`` objects holding reference to an item, it is considered unused.
60 using reference = value_type&;
111 **Returns**: a ``handle`` object holding reference to the matching value.
129 **Effects**: Transfers the reference to the value stored in ``concurrent_lru_cache``
137 … **Effects**: Releases the reference (if it exists) to a value stored in ``concurrent_lru_cache``.
145 … **Effects**: Transfers the reference to a value stored in ``concurrent_lru_cache`` from ``other``
146 to ``*this``. If existed, the previous reference held by ``*this`` is released. Upon
149 **Returns**: a reference to ``*this``.
155 **Returns**: ``true`` if ``*this`` holds reference to a value, ``false`` otherwise.
161 **Returns**: a reference to a ``value_type`` object stored in ``concurrent_lru_cache``.
H A Dparallel_for_each_semantics.rst45 * ``reference`` - the type ``typename std::iterator_traits<iterator>::reference``.
53 rvalue reference will be preferred.
57 …If the ``Body`` only takes non-const lvalue reference to ``value_type``, named requirements above …
60 with an object of type ``reference`` to be well-formed.
H A Dparallel_sort_ranges_extension.rst14 with overloads that takes the container by forwarding reference.
/oneTBB/test/common/
H A Diterator.h38 typedef typename allocator_traits_type::value_type& reference; typedef
119 typedef typename allocator_traits_type::value_type& reference; typedef
145 typedef typename allocator_traits_type::value_type& reference; typedef
189 reference operator[]( difference_type n ) const {
203 typedef const typename allocator_traits_type::value_type& reference; typedef
248 reference operator[]( difference_type n ) const {
/oneTBB/doc/index/
H A Dtoctree.rst39 /main/reference/reference
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_set.h38 using reference = value_type&; member
66 using reference = typename base_type::reference; variable
167 using reference = typename base_type::reference; variable
H A Dtbb_allocator.h76 using reference = value_type&; variable
92 pointer address(reference x) const { return &x; } in address()
H A Dparallel_sort.h37 …td::remove_reference_t<Compare>& comp, typename std::iterator_traits<Iterator>::reference value ) { in requires()
39 { comp(typename std::iterator_traits<Iterator>::reference(value), in requires()
40 … typename std::iterator_traits<Iterator>::reference(value)) } -> std::convertible_to<bool>; in requires()
H A Dconcurrent_map.h40 using reference = value_type&; member
83 using reference = typename base_type::reference; variable
233 using reference = typename base_type::reference; variable
H A Dconcurrent_vector.h49 using reference = value_type&; variable
110 reference operator*() const {
122 reference operator[]( difference_type k ) const {
240 using reference = T&; variable
267 using reference = value_type&; variable
421 reference operator[]( size_type index ) {
428 reference at( size_type index ) { in at()
445 reference front() { in front()
453 reference back() { in back()
741 reference internal_subscript( size_type index ) { in internal_subscript()
[all …]
H A Dcache_aligned_allocator.h70 using reference = value_type&; variable
81 pointer address(reference x) const { return &x; } in address()
H A Denumerable_thread_specific.h372 using reference = Value&;
526 using reference = Value&;
587 reference operator*() const {
772 using reference = T&;
834 using reference = value_type&;
886 reference local() {
892 reference local(bool& exists) {
1059 using reference = typename conval_type::reference;
H A Dscalable_allocator.h240 using reference = value_type&; variable
256 pointer address(reference x) const { return &x; } in address()
H A Dconcurrent_unordered_set.h59 using reference = typename base_type::reference; variable
198 using reference = typename base_type::reference; variable
H A Dconcurrent_lru_cache.h58 using reference = ValT&; variable
70 using storage_map_reference_type = typename storage_map_type::reference;
H A Dmemory_pool.h92 typedef value_type& reference; typedef
105 pointer address(reference x) const { return &x; } in address()
H A Dconcurrent_unordered_map.h61 using reference = typename base_type::reference; variable
260 using reference = typename base_type::reference; variable
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dmemory_pool_allocator_cls.rst46 using reference = value_type&;
58 pointer address(reference x) const;
/oneTBB/include/oneapi/tbb/detail/
H A D_concurrent_skip_list.h63 using reference = value_type&; variable
125 reference value() { in value()
194 using reference = value_type&; variable
206 reference operator*() const { return my_node_ptr->value(); }
272 using reference = value_type&; variable
671 using reference = typename iterator::reference; variable
717 using reference = typename iterator::reference; variable
H A D_concurrent_queue_base.h65 using reference = value_type&; variable
83 reference operator[] (std::size_t index) {
321 destroyer( reference value ) : my_value(value) {} in destroyer()
598 using reference = value_type&; variable
618 reference operator*() const {
H A D_flow_graph_impl.h51 typedef GraphNodeType& reference; typedef
70 reference operator*() const;
H A D_range_common.h81 using iterator_reference_type = typename std::iterator_traits<Iterator>::reference;
/oneTBB/doc/main/tbb_userguide/
H A DDebug_Versus_Release_Libraries.rst48 The :ref:`reference` section explains the default values in more detail.
H A Dparallel_reduce.rst73 The splitting constructor takes as arguments a reference to the original
113 So if the splitting constructor needs to increment a reference count

123