package ocaml-unikraft-arm64

  1. Overview
  2. Docs
OCaml cross compiler to the freestanding Unikraft arm64 backends

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.2.0.tar.gz
sha256=ca18a45ef86791d5ffa18436945fbec850b6f3dd68a6a62753b4cb1b6999b19a

doc/stdlib/Stdlib/Obj/Ephemeron/index.html

Module Obj.EphemeronSource

Ephemeron with arbitrary arity and untyped

Sourcetype obj_t = t

alias for Obj.t

Sourcetype t

an ephemeron cf Ephemeron

Sourceval create : int -> t

create n returns an ephemeron with n keys. All the keys and the data are initially empty. The argument n must be between zero and max_ephe_length (limits included).

Sourceval length : t -> int

return the number of keys

Sourceval get_key : t -> int -> obj_t option
Sourceval get_key_copy : t -> int -> obj_t option
Sourceval set_key : t -> int -> obj_t -> unit
Sourceval unset_key : t -> int -> unit
Sourceval check_key : t -> int -> bool
Sourceval blit_key : t -> int -> t -> int -> int -> unit
Sourceval get_data : t -> obj_t option
Sourceval get_data_copy : t -> obj_t option
Sourceval set_data : t -> obj_t -> unit
Sourceval unset_data : t -> unit
Sourceval check_data : t -> bool
Sourceval blit_data : t -> t -> unit
Sourceval max_ephe_length : int

Maximum length of an ephemeron, ie the maximum number of keys an ephemeron could contain