|
Neko 1.99.3
A portable framework for high-order spectral element flow simulations
|
Integer*8 based hash table. More...


Public Member Functions | |
| procedure, pass(this) | init (this, size, data) |
| Initialize an integer*8 based hash table. | |
| procedure, pass(this) | set (this, key, data) |
| Insert an integer*8 into the hash table. | |
| procedure, pass(this) | get (this, key, data) |
| Retrive an integer*8 with key key from the hash table. | |
| procedure, pass(this) | hash (this, k, c) |
| Hash function for an integer*8 based hash table. | |
| procedure, pass(this) | remove (this, key) |
| Remove an integer*8 with key key from the hash table. | |
| procedure(htable_hash), deferred, pass | hash (this, k, c) |
| procedure, pass(this), public | clear (this) |
| Clear all entries in a hash table. | |
| procedure, pass(this), public | free (this) |
| Destroy a hash table. | |
| procedure, pass(this), public | num_entries (this) |
| Return number of entries in the table. | |
| procedure, pass(this), public | get_size (this) |
| Return total size of htable. | |
Public Attributes | |
| type(h_tuple_t), pointer | head => null() |
| type(h_tuple_t), pointer | tail => null() |
Private Attributes | |
| integer, private | size = 0 |
| integer, private | entries = 0 |
| type(h_tuple_t), dimension(:), allocatable, private | t |
Definition at line 96 of file htable.f90.
|
inherited |
Definition at line 65 of file htable.f90.
|
inherited |
Definition at line 66 of file htable.f90.
| procedure, pass(this) htable::htable_i8_t::get | ( | class(htable_i8_t), intent(inout) | this, |
| integer(kind=i8), intent(inout) | key, | ||
| class(*), intent(inout) | data | ||
| ) |
| [in,out] | key | Key to retrieve |
| [in,out] | data | Retrieved data |
Definition at line 100 of file htable.f90.
|
inherited |
Definition at line 68 of file htable.f90.
|
pure virtualinherited |
Definition at line 64 of file htable.f90.
| procedure, pass(this) htable::htable_i8_t::hash | ( | class(htable_i8_t), intent(in) | this, |
| class(*), intent(in) | k, | ||
| integer, value | c | ||
| ) |
Definition at line 101 of file htable.f90.
| procedure, pass(this) htable::htable_i8_t::init | ( | class(htable_i8_t), intent(inout) | this, |
| integer, value | size, | ||
| class(*), intent(inout), optional | data | ||
| ) |
| size | Initial size of the table | |
| [in,out] | data | Data to associate with key |
Definition at line 98 of file htable.f90.
|
inherited |
Definition at line 67 of file htable.f90.
| procedure, pass(this) htable::htable_i8_t::remove | ( | class(htable_i8_t), intent(inout) | this, |
| integer(kind=i8), intent(inout) | key | ||
| ) |
| [in,out] | key | Table key |
Definition at line 102 of file htable.f90.
| procedure, pass(this) htable::htable_i8_t::set | ( | class(htable_i8_t), intent(inout) | this, |
| integer(kind=i8), intent(inout) | key, | ||
| class(*), intent(inout) | data | ||
| ) |
| [in,out] | key | Table key |
| [in,out] | data | Data associated with key |
Definition at line 99 of file htable.f90.
Definition at line 59 of file htable.f90.
Definition at line 61 of file htable.f90.
Definition at line 58 of file htable.f90.
|
privateinherited |
Definition at line 60 of file htable.f90.
Definition at line 62 of file htable.f90.