package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type memory = Netsys_types.memory
val blit_memory_to_bytes : memory -> int -> Stdlib.Bytes.t -> int -> int -> unit
val blit_memory_to_string : memory -> int -> Stdlib.Bytes.t -> int -> int -> unit
  • deprecated Use blit_memory_to_bytes instead.
val blit_memory_to_bytes_unsafe : memory -> int -> Stdlib.Bytes.t -> int -> int -> unit
val blit_memory_to_string_unsafe : memory -> int -> Stdlib.Bytes.t -> int -> int -> unit
  • deprecated Use blit_memory_to_bytes_unsafe instead.
val blit_bytes_to_memory : Stdlib.Bytes.t -> int -> memory -> int -> int -> unit
val blit_bytes_to_memory_unsafe : Stdlib.Bytes.t -> int -> memory -> int -> int -> unit
val blit_string_to_memory : string -> int -> memory -> int -> int -> unit
val blit_string_to_memory_unsafe : string -> int -> memory -> int -> int -> unit
val memory_of_bytes : Stdlib.Bytes.t -> memory
val memory_of_string : string -> memory
val bytes_of_memory : memory -> Stdlib.Bytes.t
val string_of_memory : memory -> string
val memory_address : memory -> nativeint
val memory_of_bigarray : ('a, 'b, 'c) Stdlib.Bigarray.Genarray.t -> memory
val memory_of_bigarray_1 : ('a, 'b, 'c) Stdlib.Bigarray.Array1.t -> memory
val memory_of_bigarray_2 : ('a, 'b, 'c) Stdlib.Bigarray.Array2.t -> memory
val memory_of_bigarray_3 : ('a, 'b, 'c) Stdlib.Bigarray.Array3.t -> memory
val getpagesize : unit -> int
val pagesize : int
val alloc_memory_pages : ?addr:nativeint -> ?exec:bool -> int -> memory
val alloc_aligned_memory : int -> int -> memory
val memory_map_file : Unix.file_descr -> ?pos:int64 -> ?addr:nativeint -> bool -> int -> memory
val memory_unmap_file : memory -> unit
val zero_pages : memory -> int -> int -> unit
val grab : nativeint -> int -> memory
val as_value : memory -> int -> 'a
val as_obj : memory -> int -> Stdlib.Obj.t
val value_area : memory -> unit
val obj_address : Stdlib.Obj.t -> nativeint
val hdr_address : Stdlib.Obj.t -> nativeint
val cmp_bytes : Stdlib.Bytes.t -> Stdlib.Bytes.t -> int
val cmp_string : string -> string -> int
exception Out_of_space
val init_header : memory -> int -> int -> int -> unit
val init_string : memory -> int -> int -> int * int
val init_string_bytelen : int -> int
val init_array : memory -> int -> int -> int * int
val init_float_array : memory -> int -> int -> int * int
val init_array_bytelen : int -> int
val init_float_array_bytelen : int -> int
type custom_ops = nativeint
type init_value_flag =
  1. | Copy_bigarray
  2. | Copy_custom_int
  3. | Copy_atom
  4. | Copy_simulate
  5. | Copy_conditionally
  6. | Keep_atom
val init_value : ?targetaddr:nativeint -> ?target_custom_ops:(string * custom_ops) list -> ?cc:(nativeint * nativeint) list -> memory -> int -> 'a -> init_value_flag list -> int * int
val get_custom_ops : 'a -> string * custom_ops
val copy_value : init_value_flag list -> 'a -> 'a
type color =
  1. | White
  2. | Gray
  3. | Blue
  4. | Black
val color : Stdlib.Obj.t -> color
val set_color : Stdlib.Obj.t -> color -> unit
val is_bigarray : Stdlib.Obj.t -> bool
val mem_read : Unix.file_descr -> memory -> int -> int -> int
val mem_write : Unix.file_descr -> memory -> int -> int -> int
val mem_recv : Unix.file_descr -> memory -> int -> int -> Unix.msg_flag list -> int
val mem_send : Unix.file_descr -> memory -> int -> int -> Unix.msg_flag list -> int
type memory_pool
val create_pool : int -> memory_pool
val pool_alloc_memory : memory_pool -> memory
val pool_alloc_memory2 : memory_pool -> memory * (unit -> unit)
val pool_reclaim : memory_pool -> unit
val pool_block_size : memory_pool -> int
val default_block_size : int
val default_pool : memory_pool
val small_block_size : int
val small_pool : memory_pool
val pool_report : memory_pool -> string
OCaml

Innovation. Community. Security.