Allocate the internal (shared) memory
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(index_rhash_t), | intent(inout) | :: | this | |||
| integer(kind=int64), | intent(in) | :: | n_elem |
number of distinct values to store |
||
| integer(kind=int64), | intent(in) | :: | htsize |
range of the hash function |
subroutine alloc(this, n_elem, htsize) class(index_rhash_t), intent(inout) :: this integer(int64), intent(in) :: n_elem integer(int64), intent(in) :: htsize call this%shared_ht%alloc(n_elem, htsize) end subroutine alloc