package obatcher

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

obatcher-1.1.tbz
sha256=2ee8f97a1e4a55899f8fdc48aa422e553d6a4d256e71b59e4257448beaf27dd3
sha512=61d0645dc5bd6955f3e663f133d27d9c8c61081e24bc8d88e73f86380432e783fa50bc4d980a9b17ccb949f6af9b90ef834f379ec9171b692745f05d9a34c0f9

doc/obatcher.ds/Ds/Batched_btree/Make/Sequential/index.html

Module Make.SequentialSource

Sourcetype 'a node = {
  1. mutable n : int;
  2. mutable keys : V.t Utils.Finite_vector.t;
  3. mutable values : 'a Utils.Finite_vector.t;
  4. leaf : bool;
  5. mutable children : 'a node Utils.Finite_vector.t;
  6. mutable no_elements : int;
  7. mutable capacity : int;
  8. mutable min_child_capacity : int;
}
Sourcetype 'a t = {
  1. mutable root : 'a node;
  2. mutable height : int;
  3. max_children : int;
}
Sourceval size_node : 'a node -> int
Sourceval size : 'a t -> int
Sourceval pp_node_internal : ?pp_child:bool -> ?pp_v:(Format.formatter -> V.t -> unit) -> int -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a node -> unit
Sourceval pp_node : ?pp_v:(Format.formatter -> V.t -> unit) -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a node -> unit
Sourceval show_node : ?pp_v:(Format.formatter -> V.t -> unit) -> (Format.formatter -> 'a -> unit) -> 'a node -> string
Sourceval show_node_no_children : ?pp_v:(Format.formatter -> V.t -> unit) -> (Format.formatter -> 'a -> unit) -> 'a node -> string
Sourceval pp : ?pp_v:(Format.formatter -> V.t -> unit) -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
Sourceval show : ?pp_v:(Format.formatter -> V.t -> unit) -> (Format.formatter -> 'a -> unit) -> 'a t -> string
Sourceval init : ?max_children:int -> unit -> 'a t
Sourceval fold_int_range : start:int -> stop:int -> ('a -> int -> 'a) -> 'a -> 'a
Sourceval find_int_range : start:int -> stop:int -> (int -> 'a option) -> 'a option
Sourceval find_int_range_dec : start:int -> stop:int -> (int -> 'a option) -> 'a option
Sourceval search_node : 'a node -> V.t -> ('a node * int) option
Sourceval min_capacity : 'a node Utils.Finite_vector.t -> int option
Sourceval split_child : 'a node -> int -> unit
Sourceval insert_node : max_children:int -> 'a node -> V.t -> 'a -> int
Sourceval insert : 'a t -> V.t -> 'a -> unit
OCaml

Innovation. Community. Security.