hexsha
stringlengths
40
40
size
int64
3
1.05M
ext
stringclasses
163 values
lang
stringclasses
53 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
112
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
113
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
116k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
113
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
3
1.05M
avg_line_length
float64
1
966k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
f382f7d60a04933a1ba4796efd421d0d04f0ab6e
21,177
ml
OCaml
infer/src/pulse/PulseOperations.ml
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "MIT" ]
1
2020-08-28T14:00:56.000Z
2020-08-28T14:00:56.000Z
infer/src/pulse/PulseOperations.ml
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "MIT" ]
null
null
null
infer/src/pulse/PulseOperations.ml
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module L = Logging open IResult.Let_syntax open PulseBasicInterface open PulseDomainInterface type t = AbductiveDomain.t...
39.216667
117
0.673608
f33c788b5f671b38609abe193e5d730ddd5ae5d1
3,293
ml
OCaml
draw.ml
nwtnni/pew-pew
3f72085806eba0910d88b44c0db8cd844c5ee7d7
[ "MIT" ]
null
null
null
draw.ml
nwtnni/pew-pew
3f72085806eba0910d88b44c0db8cd844c5ee7d7
[ "MIT" ]
null
null
null
draw.ml
nwtnni/pew-pew
3f72085806eba0910d88b44c0db8cd844c5ee7d7
[ "MIT" ]
null
null
null
open Graphics open Settings open Ctype let get_bl_x px py = let half_screen = client_width / 2 in if px < half_screen then 0 else if px > int_of_float map_width - half_screen then int_of_float map_width - client_width else px - (client_width / 2) let get_bl_y px py = let half_screen = client_height / 2 in ...
25.527132
97
0.662618
f37c1b5d90b588849513d11078e678ab020b1951
205
mli
OCaml
src/lib/ledger_proof/ledger_proof.mli
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/lib/ledger_proof/ledger_proof.mli
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/lib/ledger_proof/ledger_proof.mli
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
module type S = Ledger_proof_intf.S module Prod : S with type t = Transaction_snark.t include S with type t = Prod.t module For_tests : sig val mk_dummy_proof : Transaction_snark.Statement.t -> t end
20.5
57
0.756098
f384966ee3699efe1bd8ce85f32b6406dbd2b04c
6,838
ml
OCaml
data/derived/comb/progs/unify/prog3001.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/unify/prog3001.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3001.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX *) (* XXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) let rec sumList xs = match xs with | [] -> 0 | (h::t) -> h + sumList t ;; (*XXXXXXXXXXXXX*) let _ = sumList [1; 2; 3; 4] let _ = sumList [1; -2; 3; 5] let _ = sumList [1; 3; 5; 7; 9; 11] (*XXXXXXXXXX*) let _ = sumList [] let _ = ...
24.162544
94
0.630594
f35d294aa158063f7f3cc859add8ec5fafddeab4
491
mli
OCaml
src/dune_rules/cinaps.mli
hyphenrf/dune
0ecdf454ea4db89453b26a6b73cf96506697b4ac
[ "MIT" ]
null
null
null
src/dune_rules/cinaps.mli
hyphenrf/dune
0ecdf454ea4db89453b26a6b73cf96506697b4ac
[ "MIT" ]
null
null
null
src/dune_rules/cinaps.mli
hyphenrf/dune
0ecdf454ea4db89453b26a6b73cf96506697b4ac
[ "MIT" ]
null
null
null
(** Cinaps integration *) open! Dune_engine (** Cinaps is a small tool that allows to auto-generate part of ml or other source files and keep them in sync: https://github.com/janestreet/cinaps This module implements the [cinaps] stanza that integrate cinaps nicely with dune. *) open Stdune type t ...
23.380952
80
0.702648
f3493d067bd3d1606b1483dcc7a639ab82311c5d
5,615
ml
OCaml
src/evaluator.ml
utgwkk/poly-record-ml
6e1b1c81da16cea3d82f3f68c22dfdba6f70a275
[ "MIT" ]
null
null
null
src/evaluator.ml
utgwkk/poly-record-ml
6e1b1c81da16cea3d82f3f68c22dfdba6f70a275
[ "MIT" ]
null
null
null
src/evaluator.ml
utgwkk/poly-record-ml
6e1b1c81da16cea3d82f3f68c22dfdba6f70a275
[ "MIT" ]
null
null
null
open Implementation open Syntax exception RuntimeError of string let runtime_error s = raise (RuntimeError s) let rec subst_idx (idx, idxr) = function | EBinOp (op, e1, e2) -> let e1' = subst_idx (idx, idxr) e1 in let e2' = subst_idx (idx, idxr) e2 in EBinOp (op, e1', e2') | EIfThenElse (e1, e2...
30.851648
83
0.530899
f39f889dc677a35aed0c4bd91da1b88ecbe83d34
30,543
ml
OCaml
source/interprocedural_analyses/taint/modelQuery/test/modelQueryTest.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/modelQuery/test/modelQueryTest.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/modelQuery/test/modelQueryTest.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
1
2021-05-13T13:30:24.000Z
2021-05-13T13:30:24.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open OUnit2 open Core open Test open Taint open Model.ModelQuery type query_rule_element = Taint.Model.annotation_kind * Taint.Mod...
28.176199
102
0.54127
f3a1a0e101e7ee2b6a40ebf983206a576997b94b
9,065
mli
OCaml
src/uwt_process.mli
djs55/uwt
c43349bf3689181756feb341e3896d4a0a695523
[ "MIT" ]
61
2015-02-21T20:02:34.000Z
2022-01-29T09:06:32.000Z
src/uwt_process.mli
djs55/uwt
c43349bf3689181756feb341e3896d4a0a695523
[ "MIT" ]
5
2015-07-06T20:05:20.000Z
2021-04-19T17:09:47.000Z
src/uwt_process.mli
djs55/uwt
c43349bf3689181756feb341e3896d4a0a695523
[ "MIT" ]
7
2016-03-09T16:02:09.000Z
2019-07-26T22:54:34.000Z
(* This file is part of uwt, released under the MIT license. See LICENSE.md for details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *) (** Process management *) (** This module allows you to spawn processes and communicate with them. *) type command = string * string array (** A command. T...
23.545455
79
0.612466
d2fec931337d65202f53573d96f8e94c79e739cf
3,719
mli
OCaml
interprocedural_analyses/taint/modelParser.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/modelParser.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/modelParser.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Pyre module ClassDefinitionsCache : sig val invalidate : unit -> unit end module T : sig type breadcrumbs = Features.Sim...
26.375887
85
0.666577
f3b753d1699ba4780194acab0c84a80d5fc66dbd
50
ml
OCaml
src/telegram/Telegram.ml
Bannerets/camlproto
0b31083b8c0103079ec2881176f63f8cb12abb73
[ "MIT" ]
8
2018-11-25T04:34:20.000Z
2021-03-22T09:38:06.000Z
src/telegram/Telegram.ml
Bannerets/camlproto
0b31083b8c0103079ec2881176f63f8cb12abb73
[ "MIT" ]
null
null
null
src/telegram/Telegram.ml
Bannerets/camlproto
0b31083b8c0103079ec2881176f63f8cb12abb73
[ "MIT" ]
1
2019-04-20T11:09:10.000Z
2019-04-20T11:09:10.000Z
module Settings = Settings module Client = Client
16.666667
26
0.8
f3b74aaed24be45805ac052415510a8d47759951
1,809
ml
OCaml
test/src/test_map.ml
Octachron/core_kernel
0e0a953b9543c10b88b9420991a1f730262b2bf3
[ "MIT" ]
null
null
null
test/src/test_map.ml
Octachron/core_kernel
0e0a953b9543c10b88b9420991a1f730262b2bf3
[ "MIT" ]
null
null
null
test/src/test_map.ml
Octachron/core_kernel
0e0a953b9543c10b88b9420991a1f730262b2bf3
[ "MIT" ]
null
null
null
open! Import open! Core_kernel open! Map let%expect_test "Symmetric_diff_element.map_data" = let print x = print_s [%sexp (x : (string, int) Symmetric_diff_element.t)] in let f x = x + 1 in print (Symmetric_diff_element.map_data ("foo", `Left 1) ~f); [%expect {| (foo (Left 2)) |}]; print (Symmetric_diff_elem...
28.265625
83
0.55058
d2e1fa93288d661807c0859613acbc5251ea61fd
1,498
mli
OCaml
src/infer.mli
Barry-Jay/bondi
cda8ff3cf4fab226ffbd776ee00d99bae52ea115
[ "MIT" ]
38
2017-10-25T04:49:15.000Z
2021-12-28T22:43:51.000Z
src/infer.mli
Barry-Jay/bondi
cda8ff3cf4fab226ffbd776ee00d99bae52ea115
[ "MIT" ]
8
2017-10-26T01:26:43.000Z
2019-02-04T06:06:18.000Z
src/infer.mli
Barry-Jay/bondi
cda8ff3cf4fab226ffbd776ee00d99bae52ea115
[ "MIT" ]
6
2017-10-25T22:39:19.000Z
2021-02-28T01:42:49.000Z
val clos_ty_with_refVars : Environments.sub -> Environments.scheme_env -> Environments.i_type -> Environments.i_type * P_data.tyVar list (* quantify all type variables neither free in the scheme_env nor in refVars *) val clos_ty : Environments.sub -> Environments.scheme_env -> Environments.i_type -> Envir...
41.611111
113
0.686248
f392464c505947eaea2584dc05ebb6291fd1f6e2
233
ml
OCaml
test/test_duniverse_lib.ml
djs55/duniverse
ef098fccdd0bcc73b851f1abdf9f9d5111c49e16
[ "ISC" ]
null
null
null
test/test_duniverse_lib.ml
djs55/duniverse
ef098fccdd0bcc73b851f1abdf9f9d5111c49e16
[ "ISC" ]
null
null
null
test/test_duniverse_lib.ml
djs55/duniverse
ef098fccdd0bcc73b851f1abdf9f9d5111c49e16
[ "ISC" ]
null
null
null
let () = Alcotest.run "Duniverse" [ Test_uri_utils.suite; Test_opam.suite; Test_duniverse.suite; Test_dune_file.suite; Test_git.suite; Test_parallel.suite; Test_opam_value.suite; ]
19.416667
28
0.622318
d2d9c2a80c5187c9c903aaf486604367eeb02257
7,771
ml
OCaml
taint/test/modelTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
1
2019-05-07T15:03:58.000Z
2019-05-07T15:03:58.000Z
taint/test/modelTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
null
null
null
taint/test/modelTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
null
null
null
(** Copyright (c) 2018-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Taint open Model open TestHelper let assert_model ~model_source ~expect = let resolution = Test.resolut...
26.342373
97
0.5738
f39ba867fd179daabae147c25432388bef54f90e
258
mli
OCaml
otherlibs/stdune/or_exn.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
245
2016-12-02T14:13:32.000Z
2018-01-14T20:00:40.000Z
otherlibs/stdune/or_exn.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
380
2017-01-28T18:46:52.000Z
2018-01-17T13:34:51.000Z
otherlibs/stdune/or_exn.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
59
2016-12-02T13:58:19.000Z
2018-01-06T18:23:02.000Z
(** Either a value or an exception *) type 'a t = ('a, exn) Result.t val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool val hash : ('a -> int) -> 'a t -> int val to_dyn : ('a -> Dyn.t) -> 'a t Dyn.builder include Monad_intf.S with type 'a t := 'a t
21.5
54
0.527132
f368b0a0d2dca6539fbac1df4090069a3293df0d
444
ml
OCaml
benchmarks/C/uniq/sol40.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/uniq/sol40.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/uniq/sol40.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let uniq : 'a list -> 'a list = fun lst -> (* TODO *) let rec check_dup lst target = match lst with | [] -> false | hd::tl -> if hd=target then true else check_dup tl target in let rec uniq2 lst result = match lst with | [] -> result | hd::tl -> if (chec...
22.2
53
0.52027
d2f0898d78c132b3964f699a62e0620dc4a57e12
8,902
mli
OCaml
lib/read.mli
NathanReb/yojson
8129876b3ffe611a9519f1655c2627a24732d58f
[ "BSD-3-Clause" ]
null
null
null
lib/read.mli
NathanReb/yojson
8129876b3ffe611a9519f1655c2627a24732d58f
[ "BSD-3-Clause" ]
null
null
null
lib/read.mli
NathanReb/yojson
8129876b3ffe611a9519f1655c2627a24732d58f
[ "BSD-3-Clause" ]
null
null
null
val prettify : ?std:bool -> string -> string (** Combined parser and pretty-printer. See [to_string] for the role of the optional [std] argument. *) val compact : ?std:bool -> string -> string (** Combined parser and printer. See [to_string] for the role of the optional [std] argument. *) (** {2 JSON ...
33.216418
93
0.687149
f351bbaaa7f671caeb57ee696a3d6c7cb8e99228
2,778
ml
OCaml
src/lib/pickles/make_sponge.ml
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
2
2021-07-11T21:51:34.000Z
2021-07-29T14:33:45.000Z
src/lib/pickles/make_sponge.ml
yusuftrl/mina
42bbe89e0e84366fd1673672750eb6041462e449
[ "Apache-2.0" ]
1
2021-03-06T14:52:32.000Z
2021-03-06T14:52:32.000Z
src/lib/pickles/make_sponge.ml
obazl/mina
0612b142738c68155e9a9bba16cd3787bba4feed
[ "Apache-2.0" ]
3
2021-03-14T18:19:04.000Z
2021-03-25T16:37:07.000Z
module D = Composition_types.Digest open Core_kernel module Rounds = struct let rounds_full = 63 let rounds_partial = 0 end let high_entropy_bits = 128 module Make (Field : Zexe_backend.Field.S) = struct module Inputs = struct include Rounds module Field = Field let to_the_alpha x = let ope...
28.060606
79
0.575234
f31d19f4219e6292d5df64916e4292beeb445d59
760
ml
OCaml
benchmarks/C/formula/sol385.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/formula/sol385.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/formula/sol385.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type formula = | True | False | Not of formula | AndAlso of formula * formula | OrElse of formula * formula | Imply of formula * formula | Equal of exp * exp and exp = | Num of int | Plus of exp * exp | Minus of exp * exp let rec eval : formula -> bool = fun f -> match f with | True -> true | Fal...
27.142857
97
0.581579
f374f1c56ef623aea2b4c63a31e1d3e0ca51a37f
1,411
ml
OCaml
test/testable.ml
NathanReb/ppx_protocol_conv
9ee0e174205acaa7c69e47b9e5debb51d227e1b4
[ "BSD-3-Clause" ]
null
null
null
test/testable.ml
NathanReb/ppx_protocol_conv
9ee0e174205acaa7c69e47b9e5debb51d227e1b4
[ "BSD-3-Clause" ]
null
null
null
test/testable.ml
NathanReb/ppx_protocol_conv
9ee0e174205acaa7c69e47b9e5debb51d227e1b4
[ "BSD-3-Clause" ]
null
null
null
module type Driver = sig include Protocol_conv.Runtime.Driver val of_driver_exn: t -> t val of_driver: t -> (t, error) Protocol_conv.Runtime.result val to_driver: t -> t val sexp_of_t: t -> Sexplib.Sexp.t end module type Test = functor(Driver: Driver) -> sig val unittest : printer:(Driver.t -> string) -> u...
32.813953
102
0.61304
f3792185243e36094ab6195af3b73431c871ce8c
605
ml
OCaml
src/semaphore.ml
glennsl/luv
97497dec2fc205f13fef392423a9333e9ae5c3e1
[ "MIT" ]
253
2018-07-12T20:32:22.000Z
2022-02-16T03:43:40.000Z
src/semaphore.ml
glennsl/luv
97497dec2fc205f13fef392423a9333e9ae5c3e1
[ "MIT" ]
124
2018-11-21T03:06:42.000Z
2022-03-11T01:48:36.000Z
src/semaphore.ml
glennsl/luv
97497dec2fc205f13fef392423a9333e9ae5c3e1
[ "MIT" ]
23
2019-02-09T15:59:04.000Z
2021-12-13T12:53:41.000Z
(* This file is part of Luv, released under the MIT license. See LICENSE.md for details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) type t = C.Types.Semaphore.t Ctypes.ptr let init count = let semaphore = Ctypes.addr (Ctypes.make C.Types.Semaphore.t) in C.Functions.Semaphore.init sema...
24.2
79
0.743802
f33f35667b707c5cd558e630195c1f3ea14b2274
3,843
mli
OCaml
src/lib/transaction_snark/transaction_snark.mli
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_snark/transaction_snark.mli
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_snark/transaction_snark.mli
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
open Core open Coda_base open Snark_params module Proof_type : sig type t = [`Merge | `Base] [@@deriving bin_io, sexp] end module Transition : sig type t = Super_transaction.t = | Transaction of Transaction.With_valid_signature.t | Fee_transfer of Fee_transfer.t | Coinbase of Coinbase.t [@@deriving ...
22.739645
74
0.67031
f33bb3da1f30d870dbc04ec205da42a4e7bc1a3b
3,896
ml
OCaml
data/sp14/0361.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0361.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0361.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = if (List.length l1) < (List.length l2) then (((clone 0 ((List.length l2) - (List.length l1))) @ l1), l2) else (l1, ((clone 0 ((List.length l1) - (List.length l2))) @ l2));; let rec removeZero l = match l with | [] -> [] |...
18.12093
77
0.482803
f3bcfce3255ec520b470ce3549d7d2e62407c72d
4,602
ml
OCaml
src/logs_syslog_unix.ml
hannesm/logs-syslog
d67d478078a4c5bbf285d9386ece8d3340583dff
[ "0BSD" ]
9
2016-10-15T17:41:56.000Z
2021-12-19T16:47:57.000Z
src/logs_syslog_unix.ml
hannesm/logs-syslog
d67d478078a4c5bbf285d9386ece8d3340583dff
[ "0BSD" ]
11
2016-11-12T18:26:43.000Z
2019-08-02T07:32:23.000Z
src/logs_syslog_unix.ml
hannesm/logs-syslog
d67d478078a4c5bbf285d9386ece8d3340583dff
[ "0BSD" ]
2
2016-12-14T22:27:31.000Z
2017-08-03T15:04:56.000Z
open Logs_syslog let syslog_report facility host len send (encode : ?len:int -> Syslog_message.t -> string) = let report src level ~over k msgf = let source = Logs.Src.name src in let timestamp = Ptime_clock.now () in let k tags ?header _ = let facility = match Logs.Tag.find Log...
31.520548
80
0.6093
f3968a5882c2198a147f6e272f8216ecfbd2c71a
613
ml
OCaml
result/func/nat/sub35/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/func/nat/sub35/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/func/nat/sub35/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type nat = ZERO | SUCC of nat let rec natadd (n1 : nat) (n2 : nat) : nat = match n1 with ZERO -> n2 | SUCC x -> SUCC (natadd x n2) let natmul (n1 : nat) (n2 : nat) : nat = let rec natadd (n1 : nat) (n2 : nat) : nat = match n1 with ZERO -> n2 | SUCC x -> SUCC (natadd x n2) in let rec mul (x : nat) (y : n...
24.52
76
0.570962
f35c7311d156ed79f324c846430bf650d3f9c441
139
ml
OCaml
src/lib/logproc_lib/logproc_lib.ml
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/lib/logproc_lib/logproc_lib.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/lib/logproc_lib/logproc_lib.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
(* logproc_lib.ml -- export Filter and Interpolator modules *) module Filter = Filter module Interpolator = Interpolator_lib.Interpolator
27.8
62
0.798561
d2f5d1c973078f219dfd15de856711b397ff4678
5,875
ml
OCaml
herd/test_herd.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
null
null
null
herd/test_herd.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
4
2021-06-29T09:31:26.000Z
2021-07-02T15:26:56.000Z
herd/test_herd.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
31.929348
78
0.533277
f3617c75ba5988f57630db1dd027cc6c72c8cb78
7,423
ml
OCaml
data/derived/comb/progs/unify/prog4017.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/unify/prog4017.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4017.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX *) (*XXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) let rec sumList xs = match xs with | [] -> 0 | x :: xs' -> x + sumList xs';; (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) let _ = sumList [1; 2; 3; 4] ...
23.640127
94
0.623468
f3c902282b2f9f8ce6fe6f5255f7755c08f5bed4
7,163
ml
OCaml
infer/src/checkers/printfArgs.ml
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
1
2017-09-14T09:03:44.000Z
2017-09-14T09:03:44.000Z
infer/src/checkers/printfArgs.ml
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
null
null
null
infer/src/checkers/printfArgs.ml
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2013 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) open! IStd...
37.307292
112
0.643166
f35d4c474f8d9e764bb734c6486c1c9dcb826440
29,641
ml
OCaml
bin/describe.ml
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
null
null
null
bin/describe.ml
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
1
2019-09-17T12:49:47.000Z
2019-09-17T12:49:47.000Z
bin/describe.ml
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
null
null
null
open Stdune open Import (* This command is not yet versioned, but some people are using it in non-released tools. If you change the format of the output, please contact: - rotor people for "describe workspace" - duniverse people for "describe opam-files" *) let doc = "Describe the workspace." let man = ...
36.103532
83
0.619648
f334857d74b36cff37307032ac49a29d5acbf6d2
4,867
ml
OCaml
data/fa15/repaired/rite/0077.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/repaired/rite/0077.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15/repaired/rite/0077.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr * expr | Times of expr * expr | Thresh of expr * expr * expr * expr | Uncreative of expr * expr * expr | Creative of expr let rec exprToString = fun e -> match e with | VarX -> "x" | VarY -> "y" | Sine e -> "sin(pi*" ^ (expr...
29.49697
149
0.480584
f309e3144ffe54a7df4c9b7ad2de9d1244904358
1,161
ml
OCaml
src/api.ml
ujamjar/hardcaml
1a834d25523417a768ebfa45cca4071a48481479
[ "0BSD" ]
123
2015-01-01T21:34:09.000Z
2021-11-23T10:14:56.000Z
src/api.ml
ujamjar/hardcaml
1a834d25523417a768ebfa45cca4071a48481479
[ "0BSD" ]
26
2015-03-31T13:38:18.000Z
2017-10-18T00:10:51.000Z
src/api.ml
ujamjar/hardcaml
1a834d25523417a768ebfa45cca4071a48481479
[ "0BSD" ]
10
2015-11-08T22:07:40.000Z
2018-08-07T14:25:22.000Z
(* * hardcaml - hardware design in OCaml * * (c) 2014 MicroJamJar Ltd * * Author(s): andy.ray@ujamjar.com * Description: * *) (* Pre-build functors *) module type S = sig module B : Comb.S module Cyclesim : module type of Cyclesim.Make(B) module Cosim : module type of Cosim.Make(B) module Gtkwave ...
21.5
60
0.689061
d2e0627ecac198ffbb144f3f9ccc021141940355
1,576
mli
OCaml
infer/src/backend/callbacks.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
infer/src/backend/callbacks.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
infer/src/backend/callbacks.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2013 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) open! Util...
32.833333
84
0.714467
f397390e01169cdb61b1fc9027b6d3d4dd626747
602
ml
OCaml
data/derived/comb/progs/unify/prog8374.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog3585.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3585.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = let len1 = List.length l1 in let len2 = List.length l2 in if len1 > len2 then (l1, ((clone 0 (len1 - len2)) @ l2)) else (((clone 0 (len2 - len1)) @ l1), l2);; let rec removeZero l = match l with | [] -> [] | h::t when...
28.666667
79
0.551495
f3ae8eacab2db6ac0c288217c0c0c3951df58dd3
2,514
mli
OCaml
lib/preface_specs/foldable.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
lib/preface_specs/foldable.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
lib/preface_specs/foldable.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
(** A [Foldable] is a data structure wich can be fold. In other word, reduced to a summary value one element at a time *) (** {1 Minimal definition} *) (** Minimal definition using [fold_map']. [fold_map' neutral combine f x] use explicit monoidal combinators passing in order to deal with polymorphsim. *...
27.933333
82
0.60541
d2d7fe452f2f54de6b7fea94a8ae005096dcc2d0
131,955
ml
OCaml
src/common/errors/errors.ml
none23/flow
827e4f80ab8778b46490eb3096b409fd43d36393
[ "MIT" ]
null
null
null
src/common/errors/errors.ml
none23/flow
827e4f80ab8778b46490eb3096b409fd43d36393
[ "MIT" ]
null
null
null
src/common/errors/errors.ml
none23/flow
827e4f80ab8778b46490eb3096b409fd43d36393
[ "MIT" ]
null
null
null
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Severity type infer_warning_kind = | ExportKind | OtherKind type error_kind = | ParseError (* An error produced by th...
39.877607
135
0.562139
f399a65a0dc9700d8e3e6159b4a9fa080e3ca6e7
3,373
ml
OCaml
data/fa15/2439.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2439.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2439.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = if n > 0 then x :: (clone x (n - 1)) else [];; let padZero l1 l2 = let x = List.length l1 in let y = List.length l2 in if x = y then (l1, l2) else if x < y then (((clone 0 (y - x)) @ l1), l2) else (l1, ((clone 0 (x - y)) @ l2));; let rec removeZero l = match l with | [] ->...
17.567708
74
0.499259
f327451fe7bd9b3c5cbe40e01da4f3d88fd83b67
3,458
mli
OCaml
src/proto_alpha/lib_protocol/script_interpreter.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_alpha/lib_protocol/script_interpreter.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_alpha/lib_protocol/script_interpreter.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
38.422222
79
0.579526
d2d3686f0544e8ca5c110c3981578c541b434f7b
156
ml
OCaml
benchmarks/C/sigma/sol574.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/sigma/sol574.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/sigma/sol574.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
let rec sigma : (int -> int) -> int -> int -> int =fun f a b -> if a>b then raise (Failure "error") else if a=b then f a else f a + sigma f (a+1) b
22.285714
50
0.551282
f38e50ebb67c90dd3081ead8a19c2bc001be45d9
3,367
ml
OCaml
tools/mtopos.ml
fshaked/herdtools7
0935581355bf1b4ab0a53478947d0ec288d4c94f
[ "CECILL-B" ]
null
null
null
tools/mtopos.ml
fshaked/herdtools7
0935581355bf1b4ab0a53478947d0ec288d4c94f
[ "CECILL-B" ]
null
null
null
tools/mtopos.ml
fshaked/herdtools7
0935581355bf1b4ab0a53478947d0ec288d4c94f
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
28.058333
78
0.545887
f3602ea711fbf56e6c16bcfe53d2a702461f7cea
1,217
mli
OCaml
server/httpdLib/request.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
5
2015-01-30T06:16:32.000Z
2020-04-14T09:08:49.000Z
server/httpdLib/request.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
server/httpdLib/request.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
(* © 2013 RunOrg *) open Std (** An error that can occur while parsing a request. *) type error = | HeaderTooLong | BodyTooLong | SyntaxError of string | NotImplemented of string | Timeout (** All the information required to send back a compatible CORS response: - the extracted 'Origin:' header - ...
28.97619
87
0.648316
f35c1dd126d56442100117c472a38c1be9805ab4
3,016
mli
OCaml
src/ocaml_aux/clflags.mli
haselwarter/merlin
9d05bd20ff4d4ca3070e3c7a48f0755edc63f65f
[ "MIT" ]
null
null
null
src/ocaml_aux/clflags.mli
haselwarter/merlin
9d05bd20ff4d4ca3070e3c7a48f0755edc63f65f
[ "MIT" ]
null
null
null
src/ocaml_aux/clflags.mli
haselwarter/merlin
9d05bd20ff4d4ca3070e3c7a48f0755edc63f65f
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
38.666667
78
0.498011
f38749e7ed27a5c15e5e1d424240d21068e41363
5,377
ml
OCaml
node-test/bindings/expected/number.ml
joelburget/gen_js_api
14b38f63cb1844b690093fad6bc1ee61ded6bcb6
[ "MIT" ]
151
2015-10-23T17:35:57.000Z
2022-03-19T05:30:20.000Z
node-test/bindings/expected/number.ml
joelburget/gen_js_api
14b38f63cb1844b690093fad6bc1ee61ded6bcb6
[ "MIT" ]
106
2016-04-08T21:08:28.000Z
2022-02-11T11:08:43.000Z
node-test/bindings/expected/number.ml
joelburget/gen_js_api
14b38f63cb1844b690093fad6bc1ee61ded6bcb6
[ "MIT" ]
29
2016-07-01T15:42:23.000Z
2022-02-04T03:12:37.000Z
[@@@js.dummy "!! This code has been generated by gen_js_api !!"] [@@@ocaml.warning "-7-32-39"] type t = Ojs.t let rec t_of_js : Ojs.t -> t = fun (x2 : Ojs.t) -> x2 and t_to_js : t -> Ojs.t = fun (x1 : Ojs.t) -> x1 let (toString : t -> ?radix:int -> unit -> float) = fun (x6 : t) -> fun ?radix:(x3 : int option) -> ...
38.963768
77
0.494886
f3a9b473d924aebd92e66e52dcb07fc00f24c578
13,875
ml
OCaml
src/lib_crypto/base58.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/lib_crypto/base58.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/lib_crypto/base58.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
33.035714
84
0.597333
f341e170e6ab50c20ec730c78b2dd365f45ac372
18,489
ml
OCaml
hphp/hack/src/hh_single_type_check.ml
wjywbs/hhvm
9d44d30ec32618e30a82274923b5842b62a9c0f9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_single_type_check.ml
wjywbs/hhvm
9d44d30ec32618e30a82274923b5842b62a9c0f9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_single_type_check.ml
wjywbs/hhvm
9d44d30ec32618e30a82274923b5842b62a9c0f9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Core ope...
39.088795
107
0.638488
f385109924471e53264272824dfb693414344d18
42,701
mli
OCaml
src/core/QCheck.mli
XVilka/qcheck
417524eec70f2722be8105db16dc0cbae123a70a
[ "BSD-2-Clause" ]
null
null
null
src/core/QCheck.mli
XVilka/qcheck
417524eec70f2722be8105db16dc0cbae123a70a
[ "BSD-2-Clause" ]
null
null
null
src/core/QCheck.mli
XVilka/qcheck
417524eec70f2722be8105db16dc0cbae123a70a
[ "BSD-2-Clause" ]
null
null
null
(* QCheck: Random testing for OCaml copyright (c) 2013-2017, Guillaume Bury, Simon Cruanes, Vincent Hugot, Jan Midtgaard all rights reserved. *) (** {1 Quickcheck inspired property-based testing} *) (** The library takes inspiration from Haskell's QuickCheck library. The rough idea is that the programmer describes in...
34.631792
108
0.633147
f30c8b8a95e0fbc18af7abb7d8a621c48ca1bc4f
3,914
ml
OCaml
test/passing/attributes.ml
trefis/ocamlformat
42ce8535faa81507991e9d1ca599aafb5d75d9ea
[ "MIT" ]
null
null
null
test/passing/attributes.ml
trefis/ocamlformat
42ce8535faa81507991e9d1ca599aafb5d75d9ea
[ "MIT" ]
null
null
null
test/passing/attributes.ml
trefis/ocamlformat
42ce8535faa81507991e9d1ca599aafb5d75d9ea
[ "MIT" ]
null
null
null
let _ = (function[@warning "-4"] None -> true | _ -> false) None let f (x[@warning ""]) = () let v = (fun [@inline] x -> x) 1 external f : (float[@unboxed]) -> int = "blah" [@@noalloc] val x : ?x:unit (** not dropped *) -> unit type t = { a: int ; b: int [@default 1] [@drop_if] ; c: int [@default 1] [@drop_i...
22.112994
75
0.554931
f3649f1ed5ee7deac34a5b8ffceb1c237eb231f3
17,879
ml
OCaml
upstream/ocaml_403/typing/typedtree.ml
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
upstream/ocaml_403/typing/typedtree.ml
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
upstream/ocaml_403/typing/typedtree.ml
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
29.552066
80
0.678673
d2f4a76d230d49e7bc3e4c6afc864134cbbe8bee
271
ml
OCaml
Camomile/camomileDefaultConfig.ml
jpdeplaix/Camomile
06c2367d88bfafe095a17aa3ddb26117a0913e4f
[ "ICU" ]
null
null
null
Camomile/camomileDefaultConfig.ml
jpdeplaix/Camomile
06c2367d88bfafe095a17aa3ddb26117a0913e4f
[ "ICU" ]
null
null
null
Camomile/camomileDefaultConfig.ml
jpdeplaix/Camomile
06c2367d88bfafe095a17aa3ddb26117a0913e4f
[ "ICU" ]
null
null
null
let datadir = Filename.concat InstallConfig.share_dir "database" let localedir = Filename.concat InstallConfig.share_dir "locales" let charmapdir = Filename.concat InstallConfig.share_dir "charmaps" let unimapdir = Filename.concat InstallConfig.share_dir "mappings"
54.2
67
0.819188
f3160da53d1d3ab9e565ad10135b67fe2dfc6853
2,420
mli
OCaml
src/proto_alpha/lib_protocol/ticket_balance_key.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/ticket_balance_key.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/ticket_balance_key.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021 Trili Tech, <contact@trili.tech> *) ...
60.5
86
0.516116
f39992eb98cc63846426aef8d2fcc8655cd357cf
14,018
ml
OCaml
src/proto_alpha/lib_protocol/storage_sigs.ml
zshipko/tezos
c097112b0c0f19d93a8de4cc379cf33de9e07355
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/storage_sigs.ml
zshipko/tezos
c097112b0c0f19d93a8de4cc379cf33de9e07355
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/storage_sigs.ml
zshipko/tezos
c097112b0c0f19d93a8de4cc379cf33de9e07355
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
38.300546
82
0.648809
f33f7323fc76383f5caeb88629be937e79a26ad5
122,687
ml
OCaml
hphp/hack/src/parsing/parser_hack.ml
lavagetto/hhvm
f9ed7ff466944c533733f3d49dcf6405c22ce57d
[ "PHP-3.01", "Zend-2.0" ]
3
2015-07-05T07:32:31.000Z
2015-07-13T02:31:10.000Z
hphp/hack/src/parsing/parser_hack.ml
h4ck3rm1k3/hhvm
79e045f3ad1cbe079ff15c163131eb184db025f9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parsing/parser_hack.ml
h4ck3rm1k3/hhvm
79e045f3ad1cbe079ff15c163131eb184db025f9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Ast open ...
30.72552
82
0.545453
f3a6e005e4491dfcf4bf35b3a60b542ba952e699
85
ml
OCaml
a3/test.ml
mihika123/Search_OCaml
e102b0539cae5476dd440273e2a589b248fc78a5
[ "MIT" ]
null
null
null
a3/test.ml
mihika123/Search_OCaml
e102b0539cae5476dd440273e2a589b248fc78a5
[ "MIT" ]
null
null
null
a3/test.ml
mihika123/Search_OCaml
e102b0539cae5476dd440273e2a589b248fc78a5
[ "MIT" ]
null
null
null
open OUnit2 let suite = "search test suite" >::: [] let _ = run_test_tt_main suite
14.166667
39
0.682353
f34e7207f4d28436610a233e801f732329883d56
874
ml
OCaml
src/message.ml
gtrak/sentry-ocaml
3bd66c490ae91ada771968204f8ccdcdc531571c
[ "Unlicense" ]
null
null
null
src/message.ml
gtrak/sentry-ocaml
3bd66c490ae91ada771968204f8ccdcdc531571c
[ "Unlicense" ]
null
null
null
src/message.ml
gtrak/sentry-ocaml
3bd66c490ae91ada771968204f8ccdcdc531571c
[ "Unlicense" ]
null
null
null
open Core_kernel open Util type t = { message : string ; params : string list ; formatted : string option } [@@deriving sexp_of] let make ~message ?(params=[]) ?formatted () = { message ; params ; formatted } let to_payload { message ; params ; formatted } = { Payloads_t.message ; params = empty_list_optio...
30.137931
114
0.680778
f3cd4eeea6c257d1d37dc47494dba5c09ed3781f
202
ml
OCaml
src/reason_config.ml
fredyr/reason-fork
d195f52841dc1d0f28a49445df944f7f435ebb06
[ "BSD-3-Clause" ]
1
2017-08-07T00:55:15.000Z
2017-08-07T00:55:15.000Z
src/reason_config.ml
fredyr/reason-fork
d195f52841dc1d0f28a49445df944f7f435ebb06
[ "BSD-3-Clause" ]
null
null
null
src/reason_config.ml
fredyr/reason-fork
d195f52841dc1d0f28a49445df944f7f435ebb06
[ "BSD-3-Clause" ]
1
2017-08-07T00:55:16.000Z
2017-08-07T00:55:16.000Z
(** * Copyright (c) 2015-present, Facebook, Inc. All rights reserved. *) let recoverable = ref false let add_printers = ref false let configure ~r ~ap = ( recoverable := r; add_printers := ap )
16.833333
66
0.668317
f37acb991e3832b81d365ee0f8290a6c75a44687
6,524
ml
OCaml
hphp/hack/src/server/hhServerMonitor.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-17T02:24:38.000Z
2020-01-17T02:24:38.000Z
hphp/hack/src/server/hhServerMonitor.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/hhServerMonitor.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (** * Hack for HipHop: type checker's server monitor code. * * This runs hh server in 1 of 3 ways: 1) Runs hh ...
38.833333
80
0.733752
f3444fe3569130a0f99a520e9f798ae0c058e7a7
3,502
ml
OCaml
src/ast_utils.ml
ossanha/smtpp
57eb74bccbb0f30293ee058ded4b01baa1067756
[ "0BSD" ]
7
2015-07-18T23:27:38.000Z
2016-05-02T00:42:40.000Z
src/ast_utils.ml
ossanha/smtpp
57eb74bccbb0f30293ee058ded4b01baa1067756
[ "0BSD" ]
4
2015-06-05T23:43:04.000Z
2015-07-29T12:38:10.000Z
src/ast_utils.ml
ossanha/smtpp
57eb74bccbb0f30293ee058ded4b01baa1067756
[ "0BSD" ]
null
null
null
(*********************************************************************************) (* Copyright (c) 2015, INRIA, Universite de Nancy 2 and Universidade Federal *) (* do Rio Grande do Norte. *) (* ...
33.037736
83
0.589092
f3733f5b94fc395f91fb4eaddacab0f4cbf0f21b
423
mli
OCaml
src/core/SyntaxPrecedence.mli
clayrat/cooltt
b3e6246169e2118aade43d582f0c5ecb1ea9625d
[ "Apache-2.0" ]
143
2020-05-11T19:40:53.000Z
2022-03-31T14:55:17.000Z
src/core/SyntaxPrecedence.mli
clayrat/cooltt
b3e6246169e2118aade43d582f0c5ecb1ea9625d
[ "Apache-2.0" ]
200
2020-05-09T14:32:57.000Z
2022-03-30T20:03:18.000Z
src/core/SyntaxPrecedence.mli
jonsterling/fun-tt
46a0bd0b5b270aa341c9f7d3af7937fabf6c8562
[ "Apache-2.0" ]
11
2020-05-12T12:27:57.000Z
2022-03-17T07:50:52.000Z
type t val nonassoc : int -> t val left : int -> t val right : int -> t val prefix : int -> t val postfix : int -> t val dual : t -> t -> t type env val left_of : t -> env val right_of : t -> env val surrounded_by : t -> env val isolated : env val isolate_right : env -> env val isolate_left : env -> env val parens :...
19.227273
44
0.628842
f384c1ef92b3be339b03e6af86a4409a35e9d5f0
6,619
ml
OCaml
src/ast/analyzing/langs/common/unparsing_base.ml
mstmhsmt/cca
0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a
[ "Apache-2.0" ]
null
null
null
src/ast/analyzing/langs/common/unparsing_base.ml
mstmhsmt/cca
0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a
[ "Apache-2.0" ]
null
null
null
src/ast/analyzing/langs/common/unparsing_base.ml
mstmhsmt/cca
0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a
[ "Apache-2.0" ]
null
null
null
(* Copyright 2012-2020 Codinuum Software Lab <https://codinuum.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required...
31.669856
115
0.624566
d2e04919d6cd145b638bc1c7db076b98570777df
35,401
ml
OCaml
hphp/hack/src/annotated_ast/aast.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/annotated_ast/aast.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/annotated_ast/aast.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
1
2022-01-06T04:58:57.000Z
2022-01-06T04:58:57.000Z
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) include Aast_defs (* Ensure that doc comments are always on a separate line by requiring a lot of padding for in...
28.922386
90
0.581029
f398fc8b8e1ca838f6f28fde2bf249062b8f326d
779
ml
OCaml
src/parser_utils/json_of_estree.ml
vkurchatkin/ff
ed75401e7557bb9821da29160c008d665ca3241e
[ "BSD-3-Clause" ]
null
null
null
src/parser_utils/json_of_estree.ml
vkurchatkin/ff
ed75401e7557bb9821da29160c008d665ca3241e
[ "BSD-3-Clause" ]
2
2021-05-11T23:33:41.000Z
2022-03-28T18:43:26.000Z
src/parser_utils/json_of_estree.ml
ahutchings/flow
b815b351f7625fab4a174d53628f53a6a481460a
[ "BSD-3-Clause" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) modul...
27.821429
80
0.739409
f32f3355cacf34e53062f51d65a8fa5fe4acab73
7,637
ml
OCaml
src/owl/config/configure.ml
jzstark/owl
eead31f1920e63b876421e6a30e61c947f29827f
[ "MIT" ]
null
null
null
src/owl/config/configure.ml
jzstark/owl
eead31f1920e63b876421e6a30e61c947f29827f
[ "MIT" ]
null
null
null
src/owl/config/configure.ml
jzstark/owl
eead31f1920e63b876421e6a30e61c947f29827f
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific Computing * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz> *) module C = Configurator.V1 let bgetenv v = let v' = try Sys.getenv v |> int_of_string with | Not_found -> 0 in if v' < 0 || v' > 1 then raise @@ Invalid_argument (Printf.sprintf "Invalid value fo...
28.496269
99
0.612151
f3a6ee14402565dc3583803e225ce4a066fb1440
1,699
mli
OCaml
duniverse/octavius/src/errors.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
src/errors.mli
hhugo/octavius
303193540ea074d75d629c61930c730eb88d28a4
[ "ISC" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
src/errors.mli
hhugo/octavius
303193540ea074d75d629c61930c730eb88d28a4
[ "ISC" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
(* * Copyright (c) 2015 Leo White <leo@lpw25.net> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT...
26.138462
75
0.729253
f33b630f6f20ecbb570738fb6a4623454d004538
2,846
ml
OCaml
benchmarks/differentiate/diff1/submissions/sub86.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
10
2018-11-06T00:08:12.000Z
2019-12-05T11:05:16.000Z
benchmarks/differentiate/diff1/submissions/sub86.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
null
null
null
benchmarks/differentiate/diff1/submissions/sub86.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
2
2020-02-06T14:59:50.000Z
2022-03-16T19:25:43.000Z
type aexp = | Const of int | Var of string | Power of string * int | Times of aexp list | Sum of aexp list let rec chuchul lst x= match lst with []-> [] |hd::tl-> if hd = x then chuchul tl x else hd::chuchul tl x let rec diff2 = fun (e,x) count sumcount ls-> match e with Times lst -> (match lst w...
36.487179
206
0.546732
f35c610d82e8d779a69e2be0b963ef3c5c2d28a8
11,042
ml
OCaml
api/sharing.ml
xguerin/ocaml-dropbox
13f243b9f405c2935e1222684723144e5f95dad4
[ "0BSD" ]
4
2020-11-18T19:07:57.000Z
2021-02-04T14:58:24.000Z
api/sharing.ml
xguerin/ocaml-dropbox
13f243b9f405c2935e1222684723144e5f95dad4
[ "0BSD" ]
null
null
null
api/sharing.ml
xguerin/ocaml-dropbox
13f243b9f405c2935e1222684723144e5f95dad4
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2020 Xavier R. Guérin <copyright@applepine.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED...
26.290476
79
0.714363
f3c7ff01ec15d6c0ad8bef302c413a97e9b10377
13,599
ml
OCaml
src/lib/integration_test_lib/malleable_error.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/integration_test_lib/malleable_error.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/integration_test_lib/malleable_error.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
open Core_kernel open Async_kernel (** The is a monad which is conceptually similar to `Deferred.Or_error.t`, * except that there are 2 types of errors which can be returned at each bind * point in a computation: soft errors, and hard errors. Soft errors do not * effect the control flow of the monad, and are ins...
32.225118
127
0.607839
d2f2947c94a819954d9e190ba02be6307fd08aab
931
mli
OCaml
coq/plugins/ltac/tactic_option.mli
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/plugins/ltac/tactic_option.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/plugins/ltac/tactic_option.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* <O___,, * (see CREDITS file for the list of authors) *) (* \VV/ *********...
51.722222
75
0.437164
f3ccc83e46dc65088396e61224ce467ad42391e2
4,005
mli
OCaml
lib/model.mli
idkjs/builder-web
fb26e1d8ee8e6aad9d1654a5f5752a44dea81a29
[ "ISC" ]
null
null
null
lib/model.mli
idkjs/builder-web
fb26e1d8ee8e6aad9d1654a5f5752a44dea81a29
[ "ISC" ]
null
null
null
lib/model.mli
idkjs/builder-web
fb26e1d8ee8e6aad9d1654a5f5752a44dea81a29
[ "ISC" ]
null
null
null
type error = [ Caqti_error.call_or_retrieve | `Not_found | `File_error of Fpath.t | `Msg of string ] val pp_error : Format.formatter -> error -> unit val not_found : 'a option -> ('a, [> error ]) result Lwt.t val staging : Fpath.t -> Fpath.t val cleanup_staging : Fpath.t -> Caqti_lwt.connection -> (unit, [> `Msg ...
44.5
147
0.722347
f395dd0bc3fc9c191635d0437a70ccef172a5dc3
105,941
ml
OCaml
typeload.ml
qifun/haxe
532225894f38bdd51e31e58ddb69ed09ebf0d983
[ "MIT" ]
1
2020-08-12T11:56:39.000Z
2020-08-12T11:56:39.000Z
typeload.ml
qifun/haxe
532225894f38bdd51e31e58ddb69ed09ebf0d983
[ "MIT" ]
null
null
null
typeload.ml
qifun/haxe
532225894f38bdd51e31e58ddb69ed09ebf0d983
[ "MIT" ]
null
null
null
(* * Copyright (C)2005-2013 Haxe Foundation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge,...
37.290039
224
0.626613
f3b5a278ed517d05e3db132c33ab73499312b8e8
126
mli
OCaml
client/line_count_table.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
client/line_count_table.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
client/line_count_table.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
open! Core open! Import val create : show_completed_review:bool -> (User_name.t * Line_count.t) list -> Ascii_table.t
15.75
38
0.706349
d2db4124fd4751d1642e98419401df56478566ce
551
ml
OCaml
src/ops/owl_symbolic_ops_generic.ml
jzstark/owl_onnx
db3d8a7bf3676d7b28c38d04b41a0ae6ffc4493a
[ "MIT" ]
null
null
null
src/ops/owl_symbolic_ops_generic.ml
jzstark/owl_onnx
db3d8a7bf3676d7b28c38d04b41a0ae6ffc4493a
[ "MIT" ]
null
null
null
src/ops/owl_symbolic_ops_generic.ml
jzstark/owl_onnx
db3d8a7bf3676d7b28c38d04b41a0ae6ffc4493a
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2019 Liang Wang <liang.wang@cl.cam.ac.uk> *) module type Sig = sig type t = { mutable name : string ; mutable input : string list ; mutable output : string list } val op_type : string val type_constraints : string list...
20.407407
63
0.631579
f357132ca1f4bbc0cdfd296bc7dff479f4d305c8
1,263
mli
OCaml
src/state/heaps/context/context_heaps.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
1
2019-07-15T20:48:46.000Z
2019-07-15T20:48:46.000Z
src/state/heaps/context/context_heaps.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
8
2020-04-06T11:23:08.000Z
2022-03-24T12:41:12.000Z
src/state/heaps/context/context_heaps.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module type READER = sig type reader val find_sig: reader:reader -> File_key.t -> Context.sig_t val find_leader: reader:re...
30.804878
88
0.754553
f3599d7a5e0cc852eafaba1119a22a9f47072fac
32,032
mli
OCaml
hphp/hack/src/errors/errors.mli
modyharshit23/hhvm
dc14931d80a49c60fac2365b92f3648e12d9b0f4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/errors/errors.mli
modyharshit23/hhvm
dc14931d80a49c60fac2365b92f3648e12d9b0f4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/errors/errors.mli
modyharshit23/hhvm
dc14931d80a49c60fac2365b92f3648e12d9b0f4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) type 'a error_ type error = Pos.t error_ type applied_fixme = Pos.t * int module type Error_category = sig type...
26.127243
81
0.703827
f3034fa34f58da4c416b853572ccd74d62aa15ef
1,962
ml
OCaml
lib/ndarray.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
lib/ndarray.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
lib/ndarray.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
Wrap_utils.init () let numpy = Py.import "numpy" module M = struct type t = Py.Object.t let show x = Py.Object.to_string x let pp fmt x = Format.fprintf fmt "%s" (Py.Object.to_string x) let of_pyobject x = x let to_pyobject x = x let of_bigarray ba = Numpy.of_bigarray ba end include M module List = PyLis...
30.184615
109
0.744139
f3d5ba0c7f183ee9b95d7b9bb86a576d89b7145d
315,133
ml
OCaml
src/ocaml-output/FStar_TypeChecker_Normalize.ml
kkohbrok/FStar
3ea1e45712702830d824fd1efe91e1e99d45804b
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_TypeChecker_Normalize.ml
kkohbrok/FStar
3ea1e45712702830d824fd1efe91e1e99d45804b
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_TypeChecker_Normalize.ml
kkohbrok/FStar
3ea1e45712702830d824fd1efe91e1e99d45804b
[ "Apache-2.0" ]
null
null
null
open Prims type step = | Beta | Iota | Zeta | Exclude of step | Weak | HNF | Primops | Eager_unfolding | Inlining | NoDeltaSteps | UnfoldUntil of FStar_Syntax_Syntax.delta_depth | UnfoldOnly of FStar_Ident.lid Prims.list | UnfoldTac | PureSubtermsWithinComputations | Simplify | EraseUniv...
51.332953
137
0.452641
f30bddd06bcfcab63ecc5d5f5d0a7f85ff1dc895
1,421
mli
OCaml
infer/src/istd/IContainer.mli
JamesBrace/infer
bd3e061ae16ea5e79eedd8ddaa2e365e1d760e15
[ "MIT" ]
null
null
null
infer/src/istd/IContainer.mli
JamesBrace/infer
bd3e061ae16ea5e79eedd8ddaa2e365e1d760e15
[ "MIT" ]
null
null
null
infer/src/istd/IContainer.mli
JamesBrace/infer
bd3e061ae16ea5e79eedd8ddaa2e365e1d760e15
[ "MIT" ]
1
2019-10-24T14:47:52.000Z
2019-10-24T14:47:52.000Z
(* * Copyright (c) 2018-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format type 'a singleton_or_more = Empty | Singleton of 'a | More val singleton_or_more : fold:('t, 'a, 'a sing...
30.234043
97
0.608726
f3ccfe84e22d78d0f2a39b1a935e3729f0eed375
2,847
ml
OCaml
src/lib_crypto/test/roundtrips.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
1
2021-11-03T08:21:08.000Z
2021-11-03T08:21:08.000Z
src/lib_crypto/test/roundtrips.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/lib_crypto/test/roundtrips.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
4
2021-04-27T15:00:34.000Z
2021-09-26T21:50:01.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
48.254237
79
0.528275
f387922e2d4d19838d5befb2f7e73b073a1f93af
4,509
ml
OCaml
lib/serverSignalling.ml
avsm/signpostd
b7f43919531626a19f472b180ad4e8dc52955eea
[ "0BSD" ]
1
2017-09-28T10:59:18.000Z
2017-09-28T10:59:18.000Z
lib/serverSignalling.ml
avsm/signpostd
b7f43919531626a19f472b180ad4e8dc52955eea
[ "0BSD" ]
null
null
null
lib/serverSignalling.ml
avsm/signpostd
b7f43919531626a19f472b180ad4e8dc52955eea
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2012 Sebastian Probst Eide <sebastian.probst.eide@gmail.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE I...
36.072
79
0.676425
f3b70ec55ea1d29f110d56ec174dbed1077d2306
22,243
ml
OCaml
src/bin_sandbox/command_daemons_protocol_change.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
src/bin_sandbox/command_daemons_protocol_change.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
src/bin_sandbox/command_daemons_protocol_change.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
open Flextesa open Internal_pervasives open Console let failf fmt = ksprintf (fun s -> fail (`Scenario_error s)) fmt let wait_for_voting_period ?level_within_period state ~client ~attempts period = let period_name = Tezos_protocol.Voting_period.to_string period in let message = sprintf "Waiting for ...
33.001484
81
0.544891
f3bddcdfd8781d9a29b1567b96f2c00f662c9760
534
mli
OCaml
src/owl/dense/owl_dense_ndarray_c.mli
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
src/owl/dense/owl_dense_ndarray_c.mli
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
src/owl/dense/owl_dense_ndarray_c.mli
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz> *) open Bigarray type elt = Complex.t type arr = (Complex.t, complex32_elt, c_layout) Genarray.t type cast_arr = (float, float32_elt, c_layout) Genarray.t include Owl_dense_ndarray_intf.Common with type ...
23.217391
78
0.73221
f32bf164de0da3a21e5af96eb35e33d9db98148d
2,539
ml
OCaml
src/utils.ml
mariojppereira/gospel
da93ff37b69fb0b0759c4a096b691e583fea0144
[ "MIT" ]
null
null
null
src/utils.ml
mariojppereira/gospel
da93ff37b69fb0b0759c4a096b691e583fea0144
[ "MIT" ]
17
2021-10-14T12:07:31.000Z
2022-03-28T22:14:31.000Z
src/utils.ml
mariojppereira/gospel
da93ff37b69fb0b0759c4a096b691e583fea0144
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* GOSPEL -- A Specification Language for OCaml *) (* *) (* Copyrigh...
33.853333
76
0.475778
f3435785b3c649748c4920ed50f05aa7d14e71cf
383
mli
OCaml
vendor/dune/src/cached_digest.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/cached_digest.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/cached_digest.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
(** Digest files with caching *) open Stdune (** Digest the contents of the following file *) val file : Path.t -> Digest.t (** Clear the following digest from the cache *) val remove : Path.t -> unit (** Same as {!file} but forces the digest to be recomputed *) val refresh : Path.t -> Digest.t (** Invalidate cache...
25.533333
61
0.697128
f38d32e924bdb4b7e115d559633937798dab8b5e
45
ml
OCaml
gle-examples/.capitalize.ml
rahenri/glMLite
38f6be99584b2d498eba98eee55ea762f53191d1
[ "MIT" ]
12
2015-02-05T18:13:49.000Z
2021-04-23T22:04:12.000Z
gle-examples/.capitalize.ml
rahenri/glMLite
38f6be99584b2d498eba98eee55ea762f53191d1
[ "MIT" ]
2
2015-02-05T18:13:43.000Z
2019-05-02T06:59:50.000Z
gle-examples/.capitalize.ml
rahenri/glMLite
38f6be99584b2d498eba98eee55ea762f53191d1
[ "MIT" ]
2
2016-08-16T13:21:59.000Z
2020-12-30T06:01:19.000Z
print_string(String.capitalize Sys.argv.(1))
22.5
44
0.8
f39688e24a8c716aee89e3a0d160b658f67cc47a
17,649
ml
OCaml
hphp/hack/src/typing/typing_unify.ml
yaslama/hhvm
22887df5fd5e3f58652027800b5f4212e0af7c6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_unify.ml
yaslama/hhvm
22887df5fd5e3f58652027800b5f4212e0af7c6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_unify.ml
yaslama/hhvm
22887df5fd5e3f58652027800b5f4212e0af7c6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Core open...
42.323741
81
0.601507
f35eaf1c2e5b8def60f7daa4168054643eac5a7e
9,802
ml
OCaml
matcher/reconcile.ml
EduardoRFS/ppx_expect
fed6b7576e0bca9581bf79ed30b5416ff2542ed0
[ "MIT" ]
null
null
null
matcher/reconcile.ml
EduardoRFS/ppx_expect
fed6b7576e0bca9581bf79ed30b5416ff2542ed0
[ "MIT" ]
null
null
null
matcher/reconcile.ml
EduardoRFS/ppx_expect
fed6b7576e0bca9581bf79ed30b5416ff2542ed0
[ "MIT" ]
null
null
null
open Expect_test_common.Std open Ppx_compare_lib.Builtin open Ppx_sexp_conv_lib.Conv module Result = struct (* Either match with an explicit success, or (lazily) produce a correction. *) type 'a t = | Match | Correction of 'a [@@deriving sexp_of, compare] let map t ~f = match t with | Match ->...
30.16
89
0.612324
f3c991de3b78252227c3cbd3bb91c3736fc7ead2
2,897
ml
OCaml
src/seplog/tpreds.ml
eytans/cyclist
93e9c2e1bff5caea33582167d0017c6414dbf44a
[ "BSD-3-Clause" ]
21
2015-07-30T10:28:00.000Z
2022-03-16T00:21:23.000Z
src/seplog/tpreds.ml
eytans/cyclist
93e9c2e1bff5caea33582167d0017c6414dbf44a
[ "BSD-3-Clause" ]
7
2015-09-25T16:10:52.000Z
2021-08-10T05:26:23.000Z
src/seplog/tpreds.ml
eytans/cyclist
93e9c2e1bff5caea33582167d0017c6414dbf44a
[ "BSD-3-Clause" ]
5
2015-10-18T16:20:47.000Z
2021-04-04T16:11:03.000Z
open Lib open Symbols open Generic open MParser include Multiset.Make (Tpred) let subst theta elts = map (Tpred.subst theta) elts let terms inds = Term.Set.union_of_list (Blist.map Tpred.terms (elements inds)) let vars inds = Term.filter_vars (terms inds) let idents inds = map_to Predsym.MSet.add Predsym.M...
28.97
79
0.665171
f37a5ac39078d2e4c673961b254c957ee4d60ca3
703
ml
OCaml
GillianCore/engine/SymbolicSemantics/SVal.ml
raduml97/Gillian
10b9d80b0edecdd9d52f7711993dc208084f13e1
[ "MIT" ]
1
2020-05-30T11:39:31.000Z
2020-05-30T11:39:31.000Z
GillianCore/engine/SymbolicSemantics/SVal.ml
alexismarinoiu/Gillian
cf14a9b992d75194db38b90ef41222e6c7253c89
[ "MIT" ]
null
null
null
GillianCore/engine/SymbolicSemantics/SVal.ml
alexismarinoiu/Gillian
cf14a9b992d75194db38b90ef41222e6c7253c89
[ "MIT" ]
null
null
null
(*********************) (* *) (* Symbolic values *) (* *) (*********************) module L = Logging module rec M : (Val.S with type t = Expr.t and type st = SSubst.t) = struct type t = Expr.t type st = SSubst.t let pp = Expr.pp let full_pp = Expr.full_pp let to_lit...
18.025641
75
0.549075
f38ea365980f482d0c6aa9e1a8d147301943ee3a
888
mli
OCaml
src/dune_env.mli
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
src/dune_env.mli
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
src/dune_env.mli
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
open! Stdune type stanza = Stanza.t = .. module Stanza : sig module Inline_tests: sig type t = | Enabled | Disabled | Ignored val decode: t Dune_lang.Decoder.t val to_string: t -> string end type config = { flags : Ocaml_flags.Spec.t ; c_flags : Ordered_se...
19.304348
82
0.61036
d2e6f2a03aec34bc2a92143fec68819277b41da9
3,839
ml
OCaml
src/core/Tactic.ml
clayrat/cooltt
b3e6246169e2118aade43d582f0c5ecb1ea9625d
[ "Apache-2.0" ]
null
null
null
src/core/Tactic.ml
clayrat/cooltt
b3e6246169e2118aade43d582f0c5ecb1ea9625d
[ "Apache-2.0" ]
null
null
null
src/core/Tactic.ml
clayrat/cooltt
b3e6246169e2118aade43d582f0c5ecb1ea9625d
[ "Apache-2.0" ]
null
null
null
open Basis open Cubical open CodeUnit module S = Syntax module D = Domain module RM = RefineMonad module Sem = Semantics module Qu = Quote open Monad.Notation (RM) module type Tactic = sig type tac val update_span : LexingUtil.span option -> tac -> tac val whnf : style:Semantics.whnf_style -> tac -> tac end m...
21.327778
80
0.55926
f3c02f596c3b4737a4a8407ad1881987e721ee0a
497
mli
OCaml
src/common/utils/line.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
1
2020-07-11T17:49:59.000Z
2020-07-11T17:49:59.000Z
src/common/utils/line.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
8
2020-04-06T11:23:08.000Z
2022-03-24T12:41:12.000Z
src/common/utils/line.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
null
null
null
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (* line split/transform utils *) (* split string at nth line. if it exists, returns pre, line, post *) val split_nth : string -> ...
33.133333
69
0.694165
d2dcff517e4614d4bcf6e9b0577ccddd940a118b
44
ml
OCaml
Benchmarks_with_Functional_Bugs/OCaml/Problem3/src/testcases/tc11.ml
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
null
null
null
Benchmarks_with_Functional_Bugs/OCaml/Problem3/src/testcases/tc11.ml
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
null
null
null
Benchmarks_with_Functional_Bugs/OCaml/Problem3/src/testcases/tc11.ml
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
2
2020-11-26T13:27:14.000Z
2022-03-20T02:12:55.000Z
assert ((test (OrElse (True, True))) = true)
44
44
0.636364
d2e71708b1bb69b0cc21879c21c92fa0a61f4ef7
17,729
ml
OCaml
src/lib_shell/distributed_db.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/lib_shell/distributed_db.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/lib_shell/distributed_db.ml
Ngoguey42/tezos
68f0f84ed58f3c72b1bf3e732d8ee385461a2d14
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
34.028791
80
0.654126
d2dcb465c66533ac10fcdeb7d69f781fe77d30bb
51,849
ml
OCaml
infer/src/clang/cTL.ml
Gusymochis/infer
70ed9b146f41ad0875116582df23a0815f90deb4
[ "MIT" ]
1
2018-11-10T08:04:26.000Z
2018-11-10T08:04:26.000Z
infer/src/clang/cTL.ml
jhonpj/infer
01a83e694b2c55e240753cf1dfa5237faf4472f8
[ "MIT" ]
null
null
null
infer/src/clang/cTL.ml
jhonpj/infer
01a83e694b2c55e240753cf1dfa5237faf4472f8
[ "MIT" ]
null
null
null
(* * Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd open Ctl_parser_types module L = Logging (* This module defines a language to define checkers. These checkers are intepret...
37.901316
102
0.647669
d2f8625d404b327984bc81fc6c4ed92f74564fad
3,629
ml
OCaml
src/typing/constraint.ml
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
1
2020-11-02T02:15:55.000Z
2020-11-02T02:15:55.000Z
src/typing/constraint.ml
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
null
null
null
src/typing/constraint.ml
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Type type ident = int (** Type variables are unknowns, and we are ultimately interested in constraints on their solution...
36.656566
88
0.725269
f37047eab97a70ec1915b5f3df8d41de105ca5ae
1,982
mli
OCaml
src/lra/Linexp.mli
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
26
2017-09-01T10:17:25.000Z
2021-12-09T05:12:28.000Z
src/lra/Linexp.mli
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
5
2018-01-01T17:56:42.000Z
2020-02-10T21:06:00.000Z
src/lra/Linexp.mli
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
1
2017-11-24T15:43:53.000Z
2017-11-24T15:43:53.000Z
(** {1 Linear Expressions} *) open Mc2_core type t (** Linear expression with rational coefficients and rational-typed terms *) type num = Q.t val equal : t -> t -> bool val hash : t -> int val pp : t Fmt.printer val pp_no_paren : t Fmt.printer val empty : t (** Empty linear expression *) val zero : t (** alias f...
23.317647
85
0.605954
f3d46b04963f5be6b0ea49d6b7787a59993a4857
69,194
ml
OCaml
eval/ocaml/typing/typemod.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/ocaml/typing/typemod.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/ocaml/typing/typemod.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
37.831602
82
0.59959
f3c29afac6dd47ce02ceedad3daef073d525e64f
5,137
ml
OCaml
discover/discover.ml
diskuv/jst-config
a8b49fb12cb8f736ebba39bcecf1d40cbe8f6ea4
[ "MIT" ]
null
null
null
discover/discover.ml
diskuv/jst-config
a8b49fb12cb8f736ebba39bcecf1d40cbe8f6ea4
[ "MIT" ]
null
null
null
discover/discover.ml
diskuv/jst-config
a8b49fb12cb8f736ebba39bcecf1d40cbe8f6ea4
[ "MIT" ]
null
null
null
open Base module C = Configurator.V1 let mingw_code = {| #include <stdio.h> int main() { const char* info = __mingw_get_crt_info (); return 0; } |} let eventfd_code = {| #include <sys/eventfd.h> int main() { int fd = eventfd(0, 0); return 0; } |} let posix_timers_code = {| #include <time.h> int main() { ...
19.833977
93
0.589838
f3888813d390d34237f2973a5e778a2ab921fe3e
2,404
mli
OCaml
examples/misc/js_str.mli
hhugo/gen_js_api
b0ac205727d9bfe319ef86dbc674728c02e4a43f
[ "MIT" ]
null
null
null
examples/misc/js_str.mli
hhugo/gen_js_api
b0ac205727d9bfe319ef86dbc674728c02e4a43f
[ "MIT" ]
null
null
null
examples/misc/js_str.mli
hhugo/gen_js_api
b0ac205727d9bfe319ef86dbc674728c02e4a43f
[ "MIT" ]
null
null
null
(* The gen_js_api is released under the terms of an MIT-like license. *) (* See the attached LICENSE file. *) (* Copyright 2015 by LexiFi. *) (** JS string and regexp objects *) (** {2 Type definitions} *) type t = private Ojs.t...
23.80198
77
0.576539
f32e5dd461b0c026a7d016fafbb14dbb03f508f5
3,324
mli
OCaml
vendor/incr_dom_keyboard/src/variable_keyboard_event_handler.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/incr_dom_keyboard/src/variable_keyboard_event_handler.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/incr_dom_keyboard/src/variable_keyboard_event_handler.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open Keyboard_event_handler (** A [Variable_keyboard_event_handler.t] provides a way of representing a keyboard event handler that contains both a (possibly empty) constant set of actions and a variable set of actions that depends on some ['env] variable. In order to handle keyboard events or produce help ...
42.075949
90
0.72864
d2d886fac73cdf2adffedc4b973d35a8d390ec21
1,034
ml
OCaml
Compiler/test/v8_natives.ml
adrian-rt/fuzzilli
be1b5f88c4c46cca045e824960e08f117af82d10
[ "Apache-2.0" ]
null
null
null
Compiler/test/v8_natives.ml
adrian-rt/fuzzilli
be1b5f88c4c46cca045e824960e08f117af82d10
[ "Apache-2.0" ]
null
null
null
Compiler/test/v8_natives.ml
adrian-rt/fuzzilli
be1b5f88c4c46cca045e824960e08f117af82d10
[ "Apache-2.0" ]
null
null
null
open Program_types let input = "const v0 = function () { const v1 = 12; return v1;} %PrepareFunctionForOptimization(v0);" let correct = [ { inouts = [0l]; operation = Begin_plain_function_definition { signature = Some { input_types = []; output_type = S...
24.046512
82
0.559961