Logo Search packages:      
Sourcecode: jellyfish version File versions  Download package

Classes | Public Types | Public Member Functions | Private Types | Private Attributes

jellyfish::aligned_values::array< _key_t, _val_t, atomic, mem_block_t > Class Template Reference

Inheritance diagram for jellyfish::aligned_values::array< _key_t, _val_t, atomic, mem_block_t >:
Inheritance graph
[legend]
Collaboration diagram for jellyfish::aligned_values::array< _key_t, _val_t, atomic, mem_block_t >:
Collaboration graph
[legend]

List of all members.

Classes

class  iterator

Public Types

typedef _key_t key_t
typedef _val_t val_t

Public Member Functions

template<typename add_t >
bool add (key_t key, const add_t &val, val_t *oval=0)
 array (size_t _size, uint_t _key_len, uint_t _reprobe_limit, size_t *_reprobes)
 array (char *keys_map, char *vals_map, size_t _size, uint_t _key_len, uint_t _reprobe_limit, size_t *_reprobes, SquareBinaryMatrix &hash_matrix, SquareBinaryMatrix &hash_inv_matrix)
size_t floor_block (size_t entries, size_t &blocks) const
uint_t get_block_len () const
uint_t get_block_word_len () const
uint_t get_key_len () const
uint_t get_max_reprobe () const
size_t get_max_reprobe_offset () const
size_t get_size () const
bool get_val (key_t key, val_t &val, bool full=true) const
uint_t get_val_len () const
iterator iterator_all () const
iterator iterator_slice (size_t slice_number, size_t number_of_slice) const
void set_matrix (SquareBinaryMatrix &m)
void write_keys_blocks (std::ostream *out, size_t start, size_t length) const
void write_matrices (std::ostream *out)
void write_values (std::ostream *out, size_t start, size_t length) const
void zero_keys (const size_t start, const size_t length)
void zero_values (const size_t start, const size_t length)

Private Types

typedef
::jellyfish::invertible_hash::array
< key_t, atomic, mem_block_t > 
key_ary_t
typedef
::jellyfish::direct_indexing::array
< size_t, val_t, atomic,
mem_block_t > 
val_ary_t

Private Attributes

key_ary_t keys
val_ary_t vals

Detailed Description

template<typename _key_t, typename _val_t, typename atomic, typename mem_block_t>
class jellyfish::aligned_values::array< _key_t, _val_t, atomic, mem_block_t >

Definition at line 26 of file aligned_values_array.hpp.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index