Reset a 64-bit hash accumulator and fold in a container’s identity.
Byte for byte the same stream as soa_hash_begin_32: the schema
string, then the element count as an explicit int64. Only the FNV
parameters folded over it differ.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(array_hash64_t), | intent(inout) | :: | hasher |
Accumulator to restart. |
||
| character(len=*), | intent(in) | :: | schema |
The container’s schema string. |
||
| integer(kind=default_int), | intent(in) | :: | n |
Number of live elements. |
subroutine soa_hash_begin_64(hasher, schema, n) !! Reset a 64-bit hash accumulator and fold in a container's identity. !! !! Byte for byte the same stream as `soa_hash_begin_32`: the schema !! string, then the element count as an explicit `int64`. Only the FNV !! parameters folded over it differ. type(array_hash64_t), intent(inout) :: hasher !! Accumulator to restart. character(len=*), intent(in) :: schema !! The container's schema string. integer(default_int), intent(in) :: n !! Number of live elements. call hasher%reset() call hasher%update(schema) call hasher%update(int(n, int64)) end subroutine soa_hash_begin_64