package ocaml-protoc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A Protobuf Compiler for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.1.2.1.tar.gz
sha256=f1f8ef65fdd1b96e87f54b22742dcd97c8497d85414838d807631f4a46abaed5
md5=f944b45ebc78a663770e6ff765c5f07c
doc/ocaml-protoc/Pbrt/Repeated_field/index.html
Module Pbrt.Repeated_field
t is a container optimized for fast repeated inserts.
It is made of a list of growing size array l as well as a current array a in which inserts are performed until a is full and appended to l.
The main growing logic is implemented in the add functions.
val make : 'a -> 'a tval of_array_no_copy : 'a array -> 'a tval add : 'a -> 'a t -> unitval to_array : 'a t -> 'a arraylist_rev_iter f l iterate over the list in reverse order
val iter : ('a -> 'b) -> 'a t -> unitval iteri : (int -> 'a -> 'b) -> 'a t -> unitval fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'aval length : 'a t -> intval map_to_array : ('a -> 'b) -> 'a t -> 'b arrayval map_to_list : ('a -> 'b) -> 'a t -> 'b listval to_list : 'a t -> 'a list sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>