package obatcher

  1. Overview
  2. Docs
A Framework for building Batched Concurrent Data Structures

Install

Dune Dependency

Authors

Maintainers

Sources

obatcher-1.0.tbz
sha256=bad8af8223b14bd6d582e34eba90048d632f2ac611183e120d0faaeaefb7549e
sha512=cc8ede53c694abbb4aabb6f898e57057c6f2726411eb9f64b056652a0de7adf85432d55df5833d4555ccf03e681869ac0af218119c94f8577008ebd9e0601779

doc/obatcher.ds/Ds/Utils/Finite_vector/index.html

Module Utils.Finite_vectorSource

Sourcetype 'a data =
  1. | Empty of int
  2. | Buf of 'a array
Sourceval capacity : 'a data -> int
Sourcetype 'a t = {
  1. mutable size : int;
  2. mutable buf : 'a data;
}
Sourceval length : 'a t -> int
Sourceval pp : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
Sourceval init : ?capacity:int -> unit -> 'a t
Sourceval init_with : ?capacity:int -> int -> (int -> 'a) -> 'a t
Sourceval singleton : ?capacity:int -> 'a -> 'a t
Sourceval to_array : 'a t -> 'a array
Sourceval get : 'a t -> int -> 'a
Sourceval set : 'a t -> int -> 'a -> unit
Sourceval fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
Sourceval iter : ('a -> 'b) -> 'a t -> unit
Sourceval split_from : 'a t -> int -> 'a t
Sourceval drop_last : 'a t -> unit
Sourceval insert : 'a t -> int -> 'a -> unit
Sourceval clip : 'a t -> int -> unit
OCaml

Innovation. Community. Security.