Skip to content

Instantly share code, notes, and snippets.

@avsm
Created February 25, 2019 15:55
Show Gist options
  • Save avsm/4d8edbcf47138253509505166a57e68d to your computer and use it in GitHub Desktop.
Save avsm/4d8edbcf47138253509505166a57e68d to your computer and use it in GitHub Desktop.
batteries.2.9.0/src/batBigarray.mliv: val map_file:
batteries.2.9.0/src/batBigarray.mliv: [Genarray.map_file fd kind layout shared dims]
batteries.2.9.0/src/batBigarray.mliv: [Genarray.map_file] is much more efficient than reading
batteries.2.9.0/src/batBigarray.mliv: [-1]. [Genarray.map_file] then determines the major dimension
batteries.2.9.0/src/batBigarray.mliv: val map_file: Unix.file_descr -> ?pos:int64 -> ('a, 'b) kind -> 'c layout ->
batteries.2.9.0/src/batBigarray.mliv: See {!Bigarray.Genarray.map_file} for more details. *)
batteries.2.9.0/src/batBigarray.mliv: val map_file: Unix.file_descr -> ?pos:int64 -> ('a, 'b) kind -> 'c layout ->
batteries.2.9.0/src/batBigarray.mliv: See {!Bigarray.Genarray.map_file} for more details. *)
batteries.2.9.0/src/batBigarray.mliv: val map_file: Unix.file_descr -> ?pos:int64 -> ('a, 'b) kind -> 'c layout ->
batteries.2.9.0/src/batBigarray.mliv: See {!Bigarray.Genarray.map_file} for more details. *)
bigstring.0.2/src/bigstring_unix.ml: Bigarray.Array1.map_file fd ?pos Bigarray.char Bigarray.c_layout shared len
bigstring.0.2/src/bigstring_unix.mli: see {!Bigarray.Array1.map_file} for more details *)
bigstring.0.2/src/bigstring_unix.mli: see {!Bigarray.Array1.map_file} for more details *)
bigstring-unix.0.2/src/bigstring_unix.ml: Bigarray.Array1.map_file fd ?pos Bigarray.char Bigarray.c_layout shared len
bigstring-unix.0.2/src/bigstring_unix.mli: see {!Bigarray.Array1.map_file} for more details *)
bigstring-unix.0.2/src/bigstring_unix.mli: see {!Bigarray.Array1.map_file} for more details *)
coinst.1.9.1/task.ml: Bigarray.Array1.map_file
cstruct.3.4.0/unix/unix_cstruct.ml: let buffer = Bigarray.(Array1.map_file fd char c_layout false (-1)) in
cstruct-async.3.4.0/unix/unix_cstruct.ml: let buffer = Bigarray.(Array1.map_file fd char c_layout false (-1)) in
cstruct-lwt.3.4.0/unix/unix_cstruct.ml: let buffer = Bigarray.(Array1.map_file fd char c_layout false (-1)) in
cstruct-unix.3.4.0/unix/unix_cstruct.ml: let buffer = Bigarray.(Array1.map_file fd char c_layout false (-1)) in
decompress.0.8.1/test/test_on_files.ml: (Bigarray.Array1.map_file [@warning "-3"]) i Bigarray.Char
dns.1.1.1/lib_test/ounit/test_packet.ml: let buf = Bigarray.(Array1.map_file fd Bigarray.char c_layout false (-1)) in
dns-async.1.1.1/lib_test/ounit/test_packet.ml: let buf = Bigarray.(Array1.map_file fd Bigarray.char c_layout false (-1)) in
dns-lwt.1.1.1/lib_test/ounit/test_packet.ml: let buf = Bigarray.(Array1.map_file fd Bigarray.char c_layout false (-1)) in
dns-lwt-unix.1.1.1/lib_test/ounit/test_packet.ml: let buf = Bigarray.(Array1.map_file fd Bigarray.char c_layout false (-1)) in
duppy.0.8.0/examples/http.ml: Bigarray.Array1.map_file
ffmpeg.0.2.1/examples/decode_audio/decode_audio.ml: (* Unix.map_file in_fd Bigarray.Int8_unsigned Bigarray.c_layout false [|-1|] *)
ffmpeg.0.2.1/examples/decode_audio/decode_audio.ml: Bigarray.Genarray.map_file in_fd Bigarray.Int8_unsigned Bigarray.c_layout false [|-1|]
forkwork.0.3.2/tests.ml: let shm = Bigarray.Array1.map_file fd ~pos:0L Bigarray.nativeint Bigarray.c_layout true (-1) in
hardcaml.1.2.0/src/cyclesim.ml: let ba = Bigarray.Array1.map_file
hydro.0.7.1/src/hydromon/hydromon_query.ml: Bigarray.Array1.map_file
hydro.0.7.1/src/hydromon/hydromon_netplex.ml: Bigarray.Array1.map_file
lablgtk.2.18.7/examples/image.ml: Bigarray.Array1.map_file fd Bigarray.int8_unsigned Bigarray.c_layout
lablgtk3.3.0.beta4/examples/image.ml: Bigarray.Array1.map_file fd Bigarray.int8_unsigned Bigarray.c_layout
lablgtk3-sourceview3.3.0.beta4/examples/image.ml: Bigarray.Array1.map_file fd Bigarray.int8_unsigned Bigarray.c_layout
mirage-dns.3.1.0/lib_test/ounit/test_packet.ml: let buf = Bigarray.(Array1.map_file fd Bigarray.char c_layout false (-1)) in
mirage-www.1.1.0/tmpl/wiki/xen-synthesize-virtual-disk.md:[OCaml manual Bigarray.map_file](http://caml.inria.fr/pub/docs/manual-ocaml/libref/Bigarray.Genarray.html)
mirage-www.1.1.0/tmpl/blog/xen-block-devices-with-mirage.md:[OCaml manual Bigarray.map_file](http://caml.inria.fr/pub/docs/manual-ocaml/libref/Bigarray.Genarray.html)
mirage-www.1.1.0/tmpl/blog/xen-block-devices-with-mirage.md:`Bigarray.Array1.map_file` function.
mrt-format.0.3.0/bin/updates.ml: let ba = Bigarray.(Array1.map_file fd Bigarray.char c_layout false (-1)) in
mrt-format.0.3.0/bin/omrt.ml: let ba = Bigarray.(Array1.map_file fd Bigarray.char c_layout false (-1)) in
ocamlnet.4.1.6/src/netshm/netshm.ml: Bigarray.Array2.map_file
ocamlnet.4.1.6/src/netshm/netshm.ml: Unix.map_file fd Bigarray.int32 Bigarray.c_layout true [|rows;cols|] in
ocamlnet.4.1.6/src/netshm/netshm.ml: Bigarray.Array2.map_file
ocamlnet.4.1.6/src/netplex/netplex_sharedvar.ml: (Unix.map_file fd Bigarray.int64 Bigarray.c_layout true [|shm_size|])
ocamlnet.4.1.6/src/netplex/netplex_sharedvar.ml: Bigarray.Array1.map_file
ocamlnet.4.1.6/src/netsys/netsys_mem.mli: [Bigarray.Array1.map_file]. [pos] and [shared] have the same
ocamlnet.4.1.6/src/netsys/netsys_mem.mli: with [memory_map_file] or with [Bigarray.Array1.map_file].
ocamlnet.4.1.6/src/netsys/netsys_posix.mli: * use one of the [map_file] functions in the [Bigarray]
opam-client.2.0.3/src/core/opamCompat.mli: val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) Bigarray.kind ->
opam-client.2.0.3/src/core/opamCompat.ml: let map_file = Bigarray.Genarray.map_file
opam-core.2.0.3/src/core/opamCompat.mli: val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) Bigarray.kind ->
opam-core.2.0.3/src/core/opamCompat.ml: let map_file = Bigarray.Genarray.map_file
opam-devel.2.0.3/src/core/opamCompat.mli: val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) Bigarray.kind ->
opam-devel.2.0.3/src/core/opamCompat.ml: let map_file = Bigarray.Genarray.map_file
opam-format.2.0.3/src/core/opamCompat.mli: val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) Bigarray.kind ->
opam-format.2.0.3/src/core/opamCompat.ml: let map_file = Bigarray.Genarray.map_file
opam-installer.2.0.3/src/core/opamCompat.mli: val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) Bigarray.kind ->
opam-installer.2.0.3/src/core/opamCompat.ml: let map_file = Bigarray.Genarray.map_file
opam-repository.2.0.3/src/core/opamCompat.mli: val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) Bigarray.kind ->
opam-repository.2.0.3/src/core/opamCompat.ml: let map_file = Bigarray.Genarray.map_file
opam-solver.2.0.3/src/core/opamCompat.mli: val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) Bigarray.kind ->
opam-solver.2.0.3/src/core/opamCompat.ml: let map_file = Bigarray.Genarray.map_file
opam-state.2.0.3/src/core/opamCompat.mli: val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) Bigarray.kind ->
opam-state.2.0.3/src/core/opamCompat.ml: let map_file = Bigarray.Genarray.map_file
oplay.1.0.0/oplay.ml: let m = Bigarray.Array2.map_file f ~pos:0L Bigarray.int8_unsigned
ott.0.28/examples/ocaml_light/library.ott:% See Bigarray.Genarray.map_file[29.1] for more details.
ott.0.28/examples/ocaml_light/library.ott:% See Bigarray.Genarray.map_file[29.1] for more details.
ott.0.28/examples/ocaml_light/library.ott:% See Bigarray.Genarray.map_file[29.1] for more details.
owee.0.2/examples/decodedline.ml: let map = Bigarray.Array1.map_file fd
owee.0.2/examples/functions.ml: let map = Bigarray.Array1.map_file fd
owee.0.2/src/owee_location.ml: let map = Bigarray.Array1.map_file fd
parmap.1.0-rc10/bytearray.ml: let ba = Bigarray.Array1.map_file fd Bigarray.char Bigarray.c_layout true l in
parmap.1.0-rc10/parmap.ml: Bigarray.Array1.map_file fd Bigarray.char Bigarray.c_layout true (-1) in
parmap.1.0-rc10/parmap.ml: let ba = Bigarray.Array1.map_file
parmap.1.0-rc10/parmap.ml: Bigarray.Array1.map_file fd Bigarray.float64 Bigarray.c_layout true size in
pcap-format.0.5.1/lib_test/test.ml: let ba = Bigarray.(Array1.map_file fd Bigarray.char c_layout false (-1)) in
pcf-format.0.0.1/lib/pcf_unix.ml: let ba = Bigarray.Array1.map_file fd Bigarray.char Bigarray.c_layout false length in
pfff.0.29/external/stdlib/bigarray.mli: See {!Bigarray.Genarray.map_file} for more details. *)
pfff.0.29/external/stdlib/bigarray.mli: See {!Bigarray.Genarray.map_file} for more details. *)
pfff.0.29/external/stdlib/bigarray.mli: See {!Bigarray.Genarray.map_file} for more details. *)
pfff.0.29/external/ocamlgtk/examples/image.ml: Bigarray.Array1.map_file fd Bigarray.int8_unsigned Bigarray.c_layout
plasma.0.6.2/src/plasmasupport/plasma_util.ml: Bigarray.Array1.map_file
plasma.0.6.2/src/plasmasupport/plasma_util.ml: Bigarray.Array1.map_file
ppx_cstruct.3.4.0/unix/unix_cstruct.ml: let buffer = Bigarray.(Array1.map_file fd char c_layout false (-1)) in
rfc1951.0.8.1/test/test_on_files.ml: (Bigarray.Array1.map_file [@warning "-3"]) i Bigarray.Char
scid.1.0/test/test_decoder.ml: let mapped_file = Bigarray.(Array1.map_file fd Char C_layout false iclen) in
sequence.1.1/src/bigarray/SequenceBigarray.ml: let b = Bigarray.Array1.map_file fd Bigarray.char Bigarray.c_layout false len in
shared-memory-ring.3.1.0/examples/shmem.ml: let buf = Bigarray.Array1.map_file fd Bigarray.char Bigarray.c_layout true length in
shared-memory-ring-lwt.3.1.0/examples/shmem.ml: let buf = Bigarray.Array1.map_file fd Bigarray.char Bigarray.c_layout true length in
spacetime_lib.0.2.0/src/elf_locations.ml: Bigarray.Array1.map_file fd
stb_truetype.0.6/test/test_font.ml: let arr = Bigarray.Array1.map_file fd Bigarray.int8_unsigned
stb_truetype.0.6/test/test_font.ml: let arr' = Bigarray.Array1.map_file fd Bigarray.int8_unsigned
tensorflow.0.0.11/src/graph/text_helper.ml: let content = Unix.map_file file_descr Int8_unsigned C_layout false [|-1|] |> Bigarray.array1_of_genarray in
torch.0.3/src/torch/dataset_helper.ml: Unix.map_file fd Bigarray.char Bigarray.c_layout false [| len |]
wall.0.3/slideshow/pres_state.ml: Unix.map_file fd Bigarray.int8_unsigned Bigarray.c_layout false [|dim|]
wall.0.3/example/example.ml: let buffer = Bigarray.Array1.map_file fd Bigarray.int8_unsigned Bigarray.c_layout false dim in
wall.0.3/example/minimal.ml: let buffer = Bigarray.Array1.map_file fd Bigarray.int8_unsigned Bigarray.c_layout false dim in
wall.0.3/example/blemish.ml: let buffer = Bigarray.Array1.map_file fd Bigarray.int8_unsigned Bigarray.c_layout false dim in
xapi-rrd-transport.1.2.0/lib/rrd_writer.ml: let mapping = Bigarray.(Array1.map_file fd char c_layout true size) in
xapi-rrd-transport.1.2.0/lib/rrd_reader.ml: let mapping = Bigarray.(Array1.map_file fd char c_layout false (-1)) in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment