| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | parameter | :: | int_hash | = | int32 |
The number of bits in the output hash |
| logical, | public, | parameter | :: | little_endian | = | (1==transfer([1_int8, 0_int8], 0_int16)) |
FNV_1 interfaces (Specification)
FNV_1 hash function for default character string keys
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key |
FNV_1 hash function for rank 1 array keys of kind int16
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int16), | intent(in) | :: | key(:) |
FNV_1 hash function for rank 1 array keys of kind int32
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | key(:) |
FNV_1 hash function for rank 1 array keys of kind int64
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | key(:) |
FNV_1 hash function for rank 1 array keys of kind int8
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int8), | intent(in) | :: | key(:) |
FNV_1A interfaces (Specification)
FNV_1A hash function for default character string keys
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key |
FNV_1A hash function for rank 1 array keys of kind int16
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int16), | intent(in) | :: | key(:) |
FNV_1A hash function for rank 1 array keys of kind int32
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | key(:) |
FNV_1A hash function for rank 1 array keys of kind int64
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | key(:) |
FNV_1A hash function for rank 1 array keys of kind int8
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int8), | intent(in) | :: | key(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout) | :: | seed |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout) | :: | seed |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(inout) | :: | seed |
NMHASH32 interfaces (Specification)
NMHASH32 hash function for default character string keys
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32 hash function for rank 1 array keys of kind int16
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int16), | intent(in) | :: | key(0:) | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32 hash function for rank 1 array keys of kind int32
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | key(0:) | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32 hash function for rank 1 array keys of kind int64
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | key(0:) | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32 hash function for rank 1 array keys of kind int8
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int8), | intent(in) | :: | key(0:) | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32X interfaces (Specification)
NMHASH32 hash function for default character string keys
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32 hash function for rank 1 array keys of kind int16
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int16), | intent(in) | :: | key(0:) | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32 hash function for rank 1 array keys of kind int32
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | key(0:) | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32 hash function for rank 1 array keys of kind int64
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | key(0:) | |||
| integer(kind=int32), | intent(in) | :: | seed |
NMHASH32 hash function for rank 1 array keys of kind int8
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int8), | intent(in) | :: | key(0:) | |||
| integer(kind=int32), | intent(in) | :: | seed |
WATER_HASH interfaces (Specification)
WATER hash function for default character string keys
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key | |||
| integer(kind=int64), | intent(in) | :: | seed |
WATER HASH function for rank 1 array keys of kind int16
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int16), | intent(in) | :: | key(0:) | |||
| integer(kind=int64), | intent(in) | :: | seed |
WATER HASH function for rank 1 array keys of kind int32
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | key(0:) | |||
| integer(kind=int64), | intent(in) | :: | seed |
WATER HASH function for rank 1 array keys of kind int64
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | key(0:) | |||
| integer(kind=int64), | intent(in) | :: | seed |
WATER HASH function for rank 1 array keys of kind int8
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int8), | intent(in) | :: | key(0:) | |||
| integer(kind=int64), | intent(in) | :: | seed |
Maps the 32 bit integer key to an unsigned integer value with only nbits
bits where nbits is less than 32
(Specification)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | key | |||
| integer, | intent(in) | :: | nbits |
Uses the "random" odd 32 bit integer seed to map the 32 bit integer key to
an unsigned integer value with only nbits bits where nbits is less than 32
(Specification)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | key | |||
| integer(kind=int32), | intent(in) | :: | seed | |||
| integer, | intent(in) | :: | nbits |
Returns a 32 bit pseudo random integer, harvest, distributed uniformly over
the odd integers of the int32 kind.
(Specification)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(out) | :: | harvest |