package rfc1951

  1. Overview
  2. Docs

Module T.HeapSource

Sourcetype t = {
  1. heap : int array;
  2. mutable len : int;
  3. mutable max : int;
}
Sourceval make : unit -> t
Sourceval populate : length:int -> freqs:int array -> int array -> depth:int array -> t -> int
Sourceval pkzip : int -> freqs:int array -> depth:int array -> t -> int
Sourceval smaller : int array -> int -> int -> int array -> bool
Sourceval pqdownheap : freqs:int array -> depth:int array -> t -> int -> unit
Sourceval pqremove : freqs:int array -> depth:int array -> t -> int
OCaml

Innovation. Community. Security.