Lines Matching refs:to
7 To enable this feature, define the ``TBB_PREVIEW_CONCURRENT_LRU_CACHE`` macro to 1.
18 A ``concurrent_lru_cache`` container maps keys to values with the ability
19 to limit the number of stored unused values. For each key, there is at most one item
22 The container permits multiple threads to concurrently retrieve items from it.
25 ``concurrent_lru_cache::handle`` object that refers to an item instead of its value.
26 Once there are no ``handle`` objects holding reference to an item, it is considered unused.
29 number of unused items. Excessive unused items are erased according to
33 ``value_function_type`` object to construct a value for the key, and stores that value.
91 **Effects**: Constructs an empty cache that can keep up to ``number_of_lru_history_items``
107 **Effects**: Searches the container for an item that corresponds to the given key.
108 If such an item is not found, the user-specified function object is called to
111 **Returns**: a ``handle`` object holding reference to the matching value.
123 **Effects**: Constructs a ``handle`` object that does not refer to any value.
129 **Effects**: Transfers the reference to the value stored in ``concurrent_lru_cache``
130 from ``other`` to the newly constructed object. Upon completion,
131 ``other`` no longer refers to any value.
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
147 completion ``other`` no longer refers to any value.
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``.
163 The behavior is undefined if ``*this`` does not refer to any value.