package GuaCaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type (!'a, !'b) t = {
  1. data : ('a * 'b) option array;
  2. seed : int;
  3. mutable hitCnt : int;
  4. mutable addCnt : int;
}
val power_2_above : int -> int -> int
val create : ?random:bool -> int -> ('a, 'b) t
val clear : ('a, 'b) t -> unit
val reset : ('a, 'b) t -> unit
val copy : ('a, 'b) t -> ('a, 'b) t
val length : ('a, 'b) t -> int
val key_index : ('a, 'b) t -> 'c -> int
val add : ('a, 'b) t -> 'a -> 'b -> unit
val find : ('a, 'b) t -> 'a -> 'b option
val memoize : ('a, 'b) t -> 'a -> (unit -> 'b) -> 'b
val apply : ('a, 'b) t -> ('a -> 'b) -> 'a -> 'b
val mem : ('a, 'b) t -> 'a -> bool
val iter : (('a * 'b) -> unit) -> ('a, 'b) t -> unit
val to_stree : ('a * 'b) STools.ToSTree.t -> ('a, 'b) t -> Tree.stree
val of_stree : ('a * 'b) STools.OfSTree.t -> Tree.stree -> ('a, 'b) t
val dump_stats : ('a, 'b) t -> string Tree.tree
val default_size : int
val make : int -> ('a, 'b) t * (('a -> 'b) -> 'a -> 'b)
OCaml

Innovation. Community. Security.