Frama-C:
Plug-ins:
Libraries:

Frama-C API - Hash

This module provides hash functions.

  • since Frama-C+dev
val hash_iter : ?limit:int -> (('a -> unit) -> 'b -> unit) -> ('a -> int) -> 'b -> int

hash_iter iter hash x hashes a collection x given an iter function on this collection and a hash function on its elements.

  • parameter limit

    is the maximum number of elements used for the hash; if collections bigger than this size are given, the remaining elements are ignored. Defaults to 16.