Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <_flow_graph_tagged_buffer_impl.h>
Classes | |
struct | DoCleanup |
Public Types | |
typedef ValueType | value_type |
typedef buffer_element_type< value_type >::type | element_type |
typedef value_type * | pointer_type |
typedef element_type * | list_array_type |
typedef list_array_type * | pointer_array_type |
typedef Allocator::template rebind< list_array_type >::other | pointer_array_allocator_type |
typedef Allocator::template rebind< element_type >::other | elements_array_allocator |
typedef tbb::internal::strip< Key >::type | Knoref |
Public Member Functions | |
hash_buffer () | |
~hash_buffer () | |
void | reset () |
void | set_key_func (ValueToKey *vtk) |
ValueToKey * | get_key_func () |
bool | insert_with_key (const value_type &v) |
bool | find_ref_with_key (const Knoref &k, pointer_type &v) |
bool | find_with_key (const Knoref &k, value_type &v) |
void | delete_with_key (const Knoref &k) |
Static Public Attributes | |
static const size_t | INITIAL_SIZE = 8 |
Private Member Functions | |
size_t | mask () |
void | set_up_free_list (element_type **p_free_list, list_array_type la, size_t sz) |
void | grow_array () |
void | internal_insert_with_key (element_type **p_pointer_array, size_t p_sz, list_array_type &p_free_list, const value_type &v) |
void | internal_initialize_buffer () |
Static Private Member Functions | |
static void | internal_free_buffer (pointer_array_type &pa, list_array_type &el, size_t &sz, size_t &ne) |
Private Attributes | |
ValueToKey * | my_key |
size_t | my_size |
size_t | nelements |
pointer_array_type | pointer_array |
list_array_type | elements_array |
element_type * | free_list |
Definition at line 48 of file _flow_graph_tagged_buffer_impl.h.
typedef buffer_element_type< value_type >::type hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::element_type |
Definition at line 52 of file _flow_graph_tagged_buffer_impl.h.
typedef Allocator::template rebind<element_type>::other hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::elements_array_allocator |
Definition at line 57 of file _flow_graph_tagged_buffer_impl.h.
typedef tbb::internal::strip<Key>::type hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::Knoref |
Definition at line 58 of file _flow_graph_tagged_buffer_impl.h.
typedef element_type* hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::list_array_type |
Definition at line 54 of file _flow_graph_tagged_buffer_impl.h.
typedef Allocator::template rebind<list_array_type>::other hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::pointer_array_allocator_type |
Definition at line 56 of file _flow_graph_tagged_buffer_impl.h.
typedef list_array_type* hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::pointer_array_type |
Definition at line 55 of file _flow_graph_tagged_buffer_impl.h.
typedef value_type* hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::pointer_type |
Definition at line 53 of file _flow_graph_tagged_buffer_impl.h.
typedef ValueType hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::value_type |
Definition at line 51 of file _flow_graph_tagged_buffer_impl.h.
|
inline |
Definition at line 172 of file _flow_graph_tagged_buffer_impl.h.
|
inline |
Definition at line 176 of file _flow_graph_tagged_buffer_impl.h.
|
inline |
Definition at line 230 of file _flow_graph_tagged_buffer_impl.h.
|
inline |
Definition at line 207 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::find_with_key(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::insert_with_key().
|
inline |
Definition at line 220 of file _flow_graph_tagged_buffer_impl.h.
|
inline |
Definition at line 190 of file _flow_graph_tagged_buffer_impl.h.
|
inlineprivate |
Definition at line 95 of file _flow_graph_tagged_buffer_impl.h.
|
inline |
Definition at line 192 of file _flow_graph_tagged_buffer_impl.h.
|
inlinestaticprivate |
Definition at line 149 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::grow_array(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::reset(), hash_buffer< Key, ValueType, ValueToKey, HashCompare, Allocator >::DoCleanup::~DoCleanup(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::~hash_buffer().
|
inlineprivate |
Definition at line 141 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::hash_buffer(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::reset().
|
inlineprivate |
Definition at line 129 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::grow_array(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::insert_with_key().
|
inlineprivate |
Definition at line 68 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::delete_with_key(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::find_ref_with_key().
|
inline |
Definition at line 181 of file _flow_graph_tagged_buffer_impl.h.
Referenced by internal::key_matching_port< TraitsType >::reset_receiver().
|
inline |
Definition at line 188 of file _flow_graph_tagged_buffer_impl.h.
|
inlineprivate |
Definition at line 70 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::grow_array(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::internal_initialize_buffer().
|
private |
Definition at line 65 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::grow_array(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::internal_initialize_buffer(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::reset(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::~hash_buffer().
|
private |
Definition at line 66 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::delete_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::grow_array(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::insert_with_key(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::internal_initialize_buffer().
|
static |
Definition at line 50 of file _flow_graph_tagged_buffer_impl.h.
|
private |
Definition at line 61 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::delete_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::find_ref_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::get_key_func(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::insert_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::internal_insert_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::set_key_func(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::~hash_buffer().
|
private |
Definition at line 62 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::grow_array(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::insert_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::internal_initialize_buffer(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::mask(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::reset(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::~hash_buffer().
|
private |
Definition at line 63 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::delete_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::grow_array(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::insert_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::reset(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::~hash_buffer().
|
private |
Definition at line 64 of file _flow_graph_tagged_buffer_impl.h.
Referenced by hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::delete_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::find_ref_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::grow_array(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::insert_with_key(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::internal_initialize_buffer(), hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::reset(), and hash_buffer< tbb::internal::strip< K >::type &, count_element< tbb::internal::strip< K >::type >, internal::type_to_key_function_body< count_element< tbb::internal::strip< K >::type >, tbb::internal::strip< K >::type & >, KHash >::~hash_buffer().