Allocate the internal (shared) memory @param[in] n_elem number of distinct values to store @param[in] htsize range of the hash function
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(index_rhash_t), | intent(inout) | :: | this | |||
integer(kind=int64), | intent(in) | :: | n_elem | |||
integer(kind=int64), | intent(in) | :: | htsize |
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