datastructs_hash_mod Module


Uses

  • module~~datastructs_hash_mod~~UsesGraph module~datastructs_hash_mod datastructs_hash_mod module~datastructs_kinds_mod datastructs_kinds_mod module~datastructs_hash_mod->module~datastructs_kinds_mod iso_fortran_env iso_fortran_env module~datastructs_kinds_mod->iso_fortran_env

Used by

  • module~~datastructs_hash_mod~~UsedByGraph module~datastructs_hash_mod datastructs_hash_mod module~datastructs_mod datastructs_mod module~datastructs_mod->module~datastructs_hash_mod

Functions

public function djb2(list) result(r)

DJB2 hash function Inspired by: - http://www.cse.yorku.ca/~oz/hash.html - https://github.com/pdebuyl/fortran_hash_table/blob/master/src/dictionary_m.f90

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(in) :: list(:)

List of integers to hash

Return Value integer(kind=i8)

Computed hash value