nmhash32x 接口

公有接口 nmhash32x

NMHASH32X 接口 (规范)


函数

私有基本模块函数 character_nmhash32x(key, seed) 结果(hash_value)

用于默认字符字符串键的 NMHASH32 哈希函数

参数

类型 意图可选 属性 名称
character(len=*), intent(in) :: key
integer(kind=int32), intent(in) :: seed

返回值 integer(kind=int32)

私有纯模块函数 int16_nmhash32x(key, seed) 结果(hash_value)

用于 kind 为 int16 的秩 1 数组键的 NMHASH32 哈希函数

参数

类型 意图可选 属性 名称
integer(kind=int16), intent(in) :: key(0:)
integer(kind=int32), intent(in) :: seed

返回值 integer(kind=int32)

私有纯模块函数 int32_nmhash32x(key, seed) 结果(hash_value)

用于 kind 为 int32 的秩 1 数组键的 NMHASH32 哈希函数

参数

类型 意图可选 属性 名称
integer(kind=int32), intent(in) :: key(0:)
integer(kind=int32), intent(in) :: seed

返回值 integer(kind=int32)

私有纯模块函数 int64_nmhash32x(key, seed) 结果(hash_value)

用于 kind 为 int64 的秩 1 数组键的 NMHASH32 哈希函数

参数

类型 意图可选 属性 名称
integer(kind=int64), intent(in) :: key(0:)
integer(kind=int32), intent(in) :: seed

返回值 integer(kind=int32)

私有纯模块函数 int8_nmhash32x(key, seed) 结果(hash_value)

用于 kind 为 int8 的秩 1 数组键的 NMHASH32 哈希函数

参数

类型 意图可选 属性 名称
integer(kind=int8), intent(in) :: key(0:)
integer(kind=int32), intent(in) :: seed

返回值 integer(kind=int32)