package capnp-rpc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Cap'n Proto is a capability-based RPC system with bindings for many languages
Install
dune-project
Dependency
Authors
Maintainers
Sources
capnp-rpc-2.1.2.tbz
sha256=ef3f64b22d90bfe87f96e751bc61d29646c970032803c4135bec8626aecf704d
sha512=41731da19a0ec67ae8d519f70ba95bae143493df64133965e9dfd9eb7ca33c745efa6047f8784689be6230a2fefd77649b61635e9b713366e42fd8e89ee07512
doc/src/capnp-rpc.proto/rO_array.ml.html
Source file rO_array.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48type 'a t = 'a array let init = Array.init let of_list = Array.of_list let get_exn t i = t.(i) let length = Array.length let map = Array.map let mapi = Array.mapi let iter = Array.iter let iteri = Array.iteri let fold_left = Array.fold_left let get ~oob t i = if i < 0 || i >= Array.length t then oob else Array.get t i let find fn t = let rec loop i = if i = Array.length t then None else ( let item = t.(i) in if fn item then Some item else loop (i + 1) ) in loop 0 let empty = [| |] let pp x = Fmt.(brackets (array ~sep:(const string ", ") x)) let equal eq a b = let l = Array.length a in if l <> Array.length b then false else ( let rec loop i = if i = 0 then true else ( let i = i - 1 in eq a.(i) b.(i) && loop i ) in loop l ) let release t v = for i = 0 to Array.length t - 1 do t.(i) <- v; done
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>