MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
A chaining hash map for integers. More...
Data Types | |
type | nodetype |
type | buckettype |
type | hashtabletype |
Functions/Subroutines | |
subroutine, public | hash_table_cr (map) |
Create a hash table. More... | |
subroutine, public | hash_table_da (map) |
Deallocate the hash table. More... | |
subroutine | ht_add (this, k, v) |
Associate the given key and value. More... | |
type(nodetype) function, pointer | find_node (this, k) |
Find the node containing the given key. More... | |
integer(i4b) function | ht_get (this, k) |
Get the value for the given key if it exists, otherwise return zero. More... | |
subroutine | list_cr (list, k, v) |
Create a list with the given key/value pair. More... | |
subroutine | list_add (this, k, v) |
Add a key/value pair to the list. More... | |
subroutine | list_da (list) |
Deallocate the list. More... | |
integer(i4b) function | hash (k) |
Map a character string to an integer. More... | |
Variables | |
integer, parameter, private | hash_size = 4993 |
integer, parameter, private | multiplier = 31 |
Convenient for use as an index into arrays of arbitrary data type. The implementation is based on Arjen Markus' dictionary in the Flibs collection of Fortran utilities.
|
private |
this | the hash map | |
[in] | k | the key |
Definition at line 111 of file HashTable.f90.
|
private |
[in] | k | the key |
Definition at line 201 of file HashTable.f90.
subroutine, public hashtablemodule::hash_table_cr | ( | type(hashtabletype), pointer | map | ) |
subroutine, public hashtablemodule::hash_table_da | ( | type(hashtabletype), pointer | map | ) |
Definition at line 63 of file HashTable.f90.
|
private |
|
private |
|
private |
|
private |
list | pointer to the list | |
[in] | k | the first key |
[in] | v | the first value |
Definition at line 153 of file HashTable.f90.
|
private |
[in] | list | the list |
Definition at line 184 of file HashTable.f90.
|
private |
Definition at line 18 of file HashTable.f90.
|
private |
Definition at line 19 of file HashTable.f90.