123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149moduletypeS_no_ppx=sigvalfields:Field.tlistvalnfields:intvaltype_size:intvalfield_names:stringarrayvalfield_offset:intarrayvalfield_sizes:intarray(* [t = Ptr.t] is hidden so that the users cannot access low level functions. *)typetvalcreate:unit->tvalpos:t->intvalhas_next:t->boolvalhas_prev:t->boolmoduleArray:sigtypee=ttypetvalmake:int->tvalinit:int->(int->e->unit)->tvallength:t->intvalunsafe_get:t->int->evalget:t->int->evaliter:t->f:(e->unit)->unitvaliteri:t->f:(int->e->unit)->unit(** Creates and writes a table. *)valmake_table:t->?title:string->?chunk_size:int->?compress:bool->H5.t->string->unit(** Adds records to the end of the table. *)valappend_records:t->H5.t->string->unit(** Ovewrites records. *)valwrite_records:t->H5.t->start:int->string->unit(** Reads a table. *)valread_table:H5.t->string->t(** Reads records. *)valread_records:H5.t->start:int->nrecords:int->string->t(** Writes records. *)valwrite:t->?deflate:int->H5.t->string->unit(** Reads records. *)valread:H5.t->?data:t->string->t(** Retrieves the pointer to the data. *)valdata:t->Hdf5_raw.H5tb.Data.tendvalmem:t->Array.tmoduleVector:sigtypee=ttypet(** Create a vector with the given initial capacity and growth factor. *)valcreate:?capacity:int->?growth_factor:float->unit->t(** Returns the current capacity of the given vector. *)valcapacity:t->int(** Ensures that the vector has at least the given capacity. *)valensure_capacity:t->int->unit(** Returns the growth factor of the given vector. *)valgrowth_factor:t->float(** Sets the growth factor to the given value. *)valset_growth_factor:t->float->unit(** Returns the length of the given vector. *)vallength:t->int(** Returns the end of the given vector or raises an exception if the vector is empty
*)valend_:t->e(** Sets the capacity of the vector to the given size. *)valrealloc:t->int->unit(** Appends an element to the end of the vector and returns a pointer to the end. *)valappend:t->e(** Removes all the elements in the vector. *)valclear:t->unit(** Unsafely returns the element with the given index in the vector. *)valunsafe_get:t->int->e(** Returns the element with the given index in the vector. *)valget:t->int->e(** Iterates through all the element of the vector. *)valiter:t->f:(e->unit)->unit(** Iterates through all the element of the vector. *)valiteri:t->f:(int->e->unit)->unit(** Creates a vector of the given array. *)valof_array:?growth_factor:float->Array.t->t(** Creates an array of the given vector. *)valto_array:t->Array.t(** Sets a function to be called then whe vector is reallocated. *)valon_realloc:t->(t->unit)->unitendmoduleQueue:sigtypee=ttypet(** Return a new queue with the given capacity. *)valcreate:?capacity:int->unit->t(** Return [true] if the given queue is empty, [false] otherwise. *)valis_empty:t->bool(** Return the number of elements in a queue. *)vallength:t->int(** Add an element to the end of the queue and returns a pointer to it. *)valadd:t->e(** Removes and returns the first element of the given queue or raises [Queue.Empty]
if empty. *)valtake:t->e(** Returns the first element of the given queue or raises [Queue.Empty] if empty. *)valpeek:t->eendendmoduletypeS=sigincludeS_no_ppxvalunsafe_next:t->unitvalunsafe_prev:t->unitvalunsafe_move:t->int->unitvalnext:t->unitvalprev:t->unitvalmove:t->int->unitend