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
8a862b363d1f8ef66dc5f0a98717822f906dd77e
2,237
ml
OCaml
asg4.ml
Huzo/Logic-Programming-in-Prolog-and-Functional-Programming-in-ML
ede76b7acb832ded109e1e2d6f646f6082e895c2
[ "Xnet", "X11" ]
null
null
null
asg4.ml
Huzo/Logic-Programming-in-Prolog-and-Functional-Programming-in-ML
ede76b7acb832ded109e1e2d6f646f6082e895c2
[ "Xnet", "X11" ]
null
null
null
asg4.ml
Huzo/Logic-Programming-in-Prolog-and-Functional-Programming-in-ML
ede76b7acb832ded109e1e2d6f646f6082e895c2
[ "Xnet", "X11" ]
null
null
null
(*/∗ ∗CSCI3180 Principles of Programming Languages∗ ∗--- Declaration ---∗ ∗I declare that the assignment here submitted is original except for source ∗material explicitly acknowledged. I also acknowledge that I am aware of ∗University policy and regulations on honesty in academic work, and of the ∗disciplinary guideli...
37.283333
108
0.614662
af44999b9925f880a8d3f4fae4dba53438a306f8
4,450
ml
OCaml
lib/limited_process.ml
jfeser/timeout
93795c2c9b7ad148ead5537b02cc5cf722fb5182
[ "Apache-2.0" ]
null
null
null
lib/limited_process.ml
jfeser/timeout
93795c2c9b7ad148ead5537b02cc5cf722fb5182
[ "Apache-2.0" ]
null
null
null
lib/limited_process.ml
jfeser/timeout
93795c2c9b7ad148ead5537b02cc5cf722fb5182
[ "Apache-2.0" ]
null
null
null
open Core type span = Time_ns.Span.t let yojson_of_span s = `Float (Time_ns.Span.to_sec s) type int64 = Int64.t let yojson_of_int64 x = `Intlit (Int64.to_string x) type opt_file = string option let yojson_of_opt_file = function | None -> `String "" | Some fn -> `String (In_channel.with_file fn ~f:In_channel.i...
30.272109
79
0.636854
af81ae8840602bbd3b65902a9e8434acba357a70
17,846
ml
OCaml
src/proto_alpha/lib_protocol/test/test_round_repr.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_alpha/lib_protocol/test/test_round_repr.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_alpha/lib_protocol/test/test_round_repr.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs <contact@nomadic-labs.com> *) ...
32.926199
88
0.603104
8a0819755e00e54be257462d227a0c0f620ca6de
25,621
ml
OCaml
src/hashtbl_intf.ml
sebvera/base
29aaaa285d2dadbde99a1051d13b8223e2f85e8b
[ "MIT" ]
4
2021-02-14T20:13:50.000Z
2021-03-13T03:24:44.000Z
src/hashtbl_intf.ml
sebvera/base
29aaaa285d2dadbde99a1051d13b8223e2f85e8b
[ "MIT" ]
null
null
null
src/hashtbl_intf.ml
sebvera/base
29aaaa285d2dadbde99a1051d13b8223e2f85e8b
[ "MIT" ]
null
null
null
open! Import (** @canonical Base.Hashtbl.Key *) module Key = struct module type S = sig type t [@@deriving_inline compare, sexp_of] val compare : t -> t -> int val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t [@@@end] (** Two [t]s that [compare] equal must have equal hashes for the hashtable ...
31.669963
104
0.544046
afff065ea2a8bb80918534364c34ef362e64508c
526
ml
OCaml
src/obarray.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
src/obarray.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
src/obarray.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
open! Core_kernel open! Import include Value.Make_subtype (struct let name = "obarray" let here = [%here] let is_in_subtype = Value.is_vector end) let standard = Current_buffer.value_exn Var.Wrap.("obarray" <: t) let mapatoms = Funcall.Wrap.("mapatoms" <: Function.t @-> t @-> return nil) let iter t ~f ...
21.916667
75
0.631179
8a6703db837e7c4b198de24aafc14c282453cb45
1,032
ml
OCaml
roxe.cdt/roxe_llvm/examples/OCaml-Kaleidoscope/Chapter5/ast.ml
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
4,812
2015-01-02T19:38:10.000Z
2022-03-27T12:42:24.000Z
roxe.cdt/roxe_llvm/examples/OCaml-Kaleidoscope/Chapter5/ast.ml
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
11,789
2015-01-05T04:50:15.000Z
2022-03-31T23:39:19.000Z
roxe.cdt/roxe_llvm/examples/OCaml-Kaleidoscope/Chapter5/ast.ml
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
2,543
2015-01-01T11:18:36.000Z
2022-03-22T21:32:36.000Z
(*===----------------------------------------------------------------------=== * Abstract Syntax Tree (aka Parse Tree) *===----------------------------------------------------------------------===*) (* expr - Base type for all expression nodes. *) type expr = (* variant for numeric literals like "1.0". *) | Numb...
32.25
80
0.567829
8ac0c4e05df5d3fdc1d14f1d9ea556e85ae7d803
13,453
mll
OCaml
grammar/dlg.mll
iLambda/language-dlg
bb5e5ec7cb0782315f6d518bc9cb8e5a1765ae02
[ "MIT" ]
3
2018-10-20T18:31:33.000Z
2020-08-01T21:22:58.000Z
grammar/dlg.mll
iLambda/language-dlg
bb5e5ec7cb0782315f6d518bc9cb8e5a1765ae02
[ "MIT" ]
null
null
null
grammar/dlg.mll
iLambda/language-dlg
bb5e5ec7cb0782315f6d518bc9cb8e5a1765ae02
[ "MIT" ]
null
null
null
{ open Lexing open Parser open Utils.Error open Utils.Position let next_line_and f lexbuf = Lexing.new_line lexbuf; f lexbuf let error lexbuf = error "during lexing" (lex_join lexbuf.lex_start_p lexbuf.lex_curr_p) (* * COUNTERS *) (* count the amount of whitespace in each line*) ...
31.579812
117
0.537055
8a67b36d81acde5c13a1bec7f32e8952f173e613
10,941
ml
OCaml
test/unit/Ast_to_Mir_tests.ml
bstatcomp/stanc3
9031e932016b8c2a5ee9f861f420f8698eeee216
[ "BSD-3-Clause" ]
null
null
null
test/unit/Ast_to_Mir_tests.ml
bstatcomp/stanc3
9031e932016b8c2a5ee9f861f420f8698eeee216
[ "BSD-3-Clause" ]
1
2020-02-07T06:51:17.000Z
2020-02-07T06:51:17.000Z
test/unit/Ast_to_Mir_tests.ml
bstatcomp/stanc3
9031e932016b8c2a5ee9f861f420f8698eeee216
[ "BSD-3-Clause" ]
null
null
null
open Frontend open Middle open Core_kernel open Ast_to_Mir let%expect_test "Operator-assign example" = Frontend_utils.typed_ast_of_string_exn {| model { real r; vector[2] x[4]; x[1] ./= r; } |} |> trans_prog "" |> (fun Program.({log_prob; _}) -> log_prob) ...
39.075
84
0.391829
f3f0d7f1d391b4db81283eb533e5049292658075
79
ml
OCaml
data/derived/comb/progs/unify/prog2571.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/prog2571.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2571.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x = x x in let base x = x in List.fold_left f base fs;;
26.333333
77
0.632911
8acd5010e52cb4f740a25d8beb5820302146ef74
1,635
mli
OCaml
lib/sigs.mli
dinosaure/carton
8cb8b3685fab477594b2d83c70b2fc965d1d59b9
[ "MIT" ]
17
2018-01-24T07:46:02.000Z
2020-07-09T23:24:30.000Z
lib/sigs.mli
dinosaure/carton
8cb8b3685fab477594b2d83c70b2fc965d1d59b9
[ "MIT" ]
null
null
null
lib/sigs.mli
dinosaure/carton
8cb8b3685fab477594b2d83c70b2fc965d1d59b9
[ "MIT" ]
1
2019-02-10T11:01:42.000Z
2019-02-10T11:01:42.000Z
module type FUNCTOR = sig type +'a t end type (+'a, 's) io type 's scheduler = { bind : 'a 'b. ('a, 's) io -> ('a -> ('b, 's) io) -> ('b, 's) io ; return : 'a. 'a -> ('a, 's) io } module type SCHEDULER = sig type +'a s type t external inj : 'a s -> ('a, t) io = "%identity" external prj : ('a, t) io -> '...
20.696203
81
0.568196
f33e0f844dedb093a6a554644b9048b4b08b2c75
87,185
ml
OCaml
hphp/hack/src/naming/naming.ml
maxbyz/hhvm
cb5da8660e90398cab2f0371558dce741b0541ff
[ "PHP-3.01", "Zend-2.0" ]
1
2021-12-02T18:52:19.000Z
2021-12-02T18:52:19.000Z
hphp/hack/src/naming/naming.ml
maxbyz/hhvm
cb5da8660e90398cab2f0371558dce741b0541ff
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/naming/naming.ml
maxbyz/hhvm
cb5da8660e90398cab2f0371558dce741b0541ff
[ "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. * *) (** Module "naming" a program. * * The naming phase consists in several things * 1- get all the global names * 2...
32.653558
99
0.606056
8a6578878f81c02e4f18cf522025619073009954
665
ml
OCaml
src/protocol/wallet.ml
fraidev/deku
51d981a6e035b184ef13662afe4ac514c6a2eaaa
[ "MIT" ]
30
2021-10-05T02:08:06.000Z
2022-03-30T10:48:01.000Z
src/protocol/wallet.ml
fraidev/deku
51d981a6e035b184ef13662afe4ac514c6a2eaaa
[ "MIT" ]
191
2021-09-21T05:54:54.000Z
2022-03-31T13:31:45.000Z
src/protocol/wallet.ml
fraidev/deku
51d981a6e035b184ef13662afe4ac514c6a2eaaa
[ "MIT" ]
12
2021-09-30T22:01:30.000Z
2022-03-26T02:21:53.000Z
open Crypto type t = Key.t let compare = Key.compare let to_string = Key.to_string let of_string = Key.of_string let to_yojson = Key.to_yojson let of_yojson = Key.of_yojson let of_key secret = match secret with | Secret.Ed25519 secret -> Key.Ed25519 (Ed25519.Key.of_secret secret) | Secret.Secp256k1 secret -> Key....
35
77
0.769925
f3101a4b81c48c9d85c8c981cfe47fb5c4c413af
19,313
ml
OCaml
data/derived/comb/progs/cnstr/prog3464.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/cnstr/prog3464.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/cnstr/prog3464.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.529514
208
0.653498
8a7c8efe0f1f401c83ffa3060065c6cd65e1eaaf
3,409
ml
OCaml
src/proto_alpha/lib_protocol/test/integration/operations/test_failing_noop.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/integration/operations/test_failing_noop.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/integration/operations/test_failing_noop.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Metastate AG <hello@metastate.dev> *) ...
52.446154
85
0.546788
8aa0d89ede81dc759e9afce89ecc4c980afd391f
18,672
ml
OCaml
data/derived/fa15/progs/cnstr/prog0839.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/fa15/progs/cnstr/prog0839.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/cnstr/prog0839.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.473043
208
0.676467
afd207a5137bb0361a8c4674d59e06962062550b
468
ml
OCaml
result/cafe2/uniq/sub32/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/prog/uniq/sub32/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/prog/uniq/sub32/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec removeElement ele (l : 'b list) : 'a list = match l with | [] -> [] | h :: t -> if h = ele then removeElement ele t else h :: removeElement ele t let rec app (l1 : 'c list) (l2 : 'c list) : 'a list = match l1 with [] -> l2 | h :: t -> app t (h :: removeElement h l2) let uniq (lst : 'd list) : 'a lis...
26
79
0.523504
8ab6cec8bcdb6523eaea3c09390f574e1b8592bb
95,217
ml
OCaml
ocaml_typing/402/matching.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
684
2018-05-24T14:14:06.000Z
2022-03-14T21:13:22.000Z
ocaml_typing/402/matching.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
439
2018-05-25T21:16:18.000Z
2021-12-03T11:28:10.000Z
ocaml_typing/402/matching.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
107
2018-05-30T23:53:50.000Z
2022-01-10T10:50:53.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
30.189283
80
0.600544
8ac9998f6af0b52d36fb3c340cd5f712d7824b4a
3,300
ml
OCaml
src-ocaml/brzo_b0_opam.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
5
2019-10-02T20:04:19.000Z
2021-11-04T10:04:53.000Z
src-ocaml/brzo_b0_opam.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
src-ocaml/brzo_b0_opam.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2018 The brzo programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) open B00_std open B00_st...
39.759036
81
0.616667
f36ab0f338890a771c7879990373d8b6817960ae
8,833
ml
OCaml
infer/src/base/Checker.ml
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
infer/src/base/Checker.ml
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
infer/src/base/Checker.ml
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "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 type t = | AnnotationReachability | Biabduction | BufferOverrun | ClassLoads | Cost | Eradicate | Fragmen...
35.051587
100
0.667723
8ace302d113c468627996084ad1bca46444f76f6
9,726
ml
OCaml
infer/src/biabduction/Propgraph.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
1
2019-09-11T13:16:25.000Z
2019-09-11T13:16:25.000Z
infer/src/biabduction/Propgraph.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
null
null
null
infer/src/biabduction/Propgraph.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
null
null
null
(* * Copyright (c) 2009-2013, Monoidics ltd. * 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 (** Propositions seen as graphs *) module F = Format module L = Logging ty...
36.426966
126
0.634485
8a38e97298d58a0a89e028064793fca197d6141a
387
mli
OCaml
plugin/classDecorator.mli
tholiao/pyre-check
f5705fb5dae6a78623a058e5972461e89e283634
[ "MIT" ]
null
null
null
plugin/classDecorator.mli
tholiao/pyre-check
f5705fb5dae6a78623a058e5972461e89e283634
[ "MIT" ]
null
null
null
plugin/classDecorator.mli
tholiao/pyre-check
f5705fb5dae6a78623a058e5972461e89e283634
[ "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 Ast open Analysis open Environment val transform_dataclass : (module Handler) -> GlobalResolution.t -> Source.t -> unit val transform_...
29.769231
84
0.736434
8aa0cfb01f23b6fae1d0a22d0c899ab29d29f078
1,827
mli
OCaml
client/dns_client.mli
cfcs/udns
4493b1ca50c749d3dbeb013f0a2d2bf6fb9b2fbc
[ "BSD-2-Clause" ]
1
2019-05-07T15:04:31.000Z
2019-05-07T15:04:31.000Z
client/dns_client.mli
DavidAlphaFox/ocaml-dns
818c85702787c1f292e89229c65447edcf932dfe
[ "ISC" ]
null
null
null
client/dns_client.mli
DavidAlphaFox/ocaml-dns
818c85702787c1f292e89229c65447edcf932dfe
[ "ISC" ]
null
null
null
(** The pure interface to the client part of uDns. Various helper modules to do with side effects are available from {!Dns_client_lwt}, {!Dns_client_unix} and so forth. To learn more about the high-level API, I suggest reading the docstrings of {!Dns_client_flow}. *) type 'key query_state constraint ...
44.560976
83
0.732895
aff5693f037b6ecba370fcf57a7672c33b5bc0ed
3,166
ml
OCaml
src/commands/getDefCommand.ml
gaearon/flow
1ffb5bb13b8207c0de6d5b90627f7d2e0a8f52e7
[ "BSD-3-Clause" ]
10
2016-07-28T20:02:37.000Z
2021-01-28T05:48:11.000Z
src/commands/getDefCommand.ml
jeffmo/flow
315903b8a276aad1eb954c0aa5f175a286ce0324
[ "BSD-3-Clause" ]
null
null
null
src/commands/getDefCommand.ml
jeffmo/flow
315903b8a276aad1eb954c0aa5f175a286ce0324
[ "BSD-3-Clause" ]
5
2017-02-06T11:42:23.000Z
2021-01-11T12:10:08.000Z
(** * 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. * *) (****...
34.413043
80
0.657296
8a375a6ad659716e01ade4a18f70c947a9481e50
2,965
ml
OCaml
src/gen/common.ml
npm-opam/ppx_core
72f2e0d9a5a6ea276be2b1da40a89ad069a02811
[ "Apache-2.0" ]
null
null
null
src/gen/common.ml
npm-opam/ppx_core
72f2e0d9a5a6ea276be2b1da40a89ad069a02811
[ "Apache-2.0" ]
null
null
null
src/gen/common.ml
npm-opam/ppx_core
72f2e0d9a5a6ea276be2b1da40a89ad069a02811
[ "Apache-2.0" ]
null
null
null
open StdLabels let map_keyword = function | "open" | "private" | "downto" | "to" | "mutable" | "rec" | "nonrec" | "virtual" | "type" | "mod" | "begin" | "end" as s -> s ^ "_" | s -> s ;; let lowercase_name_of_path path = let rec flatten_path (path : Path.t) acc = match path with | ...
28.509615
85
0.637774
d2fccdaecc691b1a570ce9b378ca3abe197c0850
28,907
ml
OCaml
quickChickTool/quickChickTool.ml
ppedrot/QuickChick
fae47245b75f049c462601d88e4df2e063841a3b
[ "MIT" ]
null
null
null
quickChickTool/quickChickTool.ml
ppedrot/QuickChick
fae47245b75f049c462601d88e4df2e063841a3b
[ "MIT" ]
null
null
null
quickChickTool/quickChickTool.ml
ppedrot/QuickChick
fae47245b75f049c462601d88e4df2e063841a3b
[ "MIT" ]
null
null
null
open QuickChickToolLexer open QuickChickToolParser open QuickChickToolTypes (* ----------------------------------------------------------------- *) (* Command-line *) let compile_command = ref "make" let top = ref "" (* Leo: or "Top"? *) let ocamlbuild_args = ref "" let sec_name = ref None let verbose = ref false le...
37.155527
164
0.603141
f361e69d015b60e38dd8cc48cbf658d6519868a2
667
ml
OCaml
data/fa15/2457.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2457.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2457.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let pipe fs = let f a x mb x = a x in let base x = x in List.fold_left f base fs;; (* fix let pipe fs = let f a x = x in let base x = x in List.fold_left f base fs;; *) (* changed spans (3,12)-(3,22) (3,15)-(3,22) (3,19)-(3,20) (3,19)-(3,22) *) (* type error slice (3,2)-(3,68) (3,8)-(3,22) (3,10)-(3,22) (3,12)...
13.078431
75
0.47976
af8b21941bb3cf2b97e5bae3bdd4b391053482cf
415
ml
OCaml
lib/port.ml
yubrot/ocalisp
d30bfe275e58d1a47c7a51f507e4cb0fb5bf0547
[ "BSD-3-Clause" ]
null
null
null
lib/port.ml
yubrot/ocalisp
d30bfe275e58d1a47c7a51f507e4cb0fb5bf0547
[ "BSD-3-Clause" ]
3
2019-01-31T05:20:34.000Z
2019-03-28T01:59:35.000Z
lib/port.ml
yubrot/ocalisp
d30bfe275e58d1a47c7a51f507e4cb0fb5bf0547
[ "BSD-3-Clause" ]
null
null
null
type port = | Read of in_channel | Write of out_channel | Closed type t = port ref let of_in ch = ref (Read ch) let of_out ch = ref (Write ch) let close p = match !p with | Read ch -> close_in ch; p := Closed | Write ch -> close_out ch; p := Closed | _ -> () let to_in p = match !p with | Read ch ...
15.37037
41
0.583133
afb1e669e358bca295e6ac52ff6dc14d90666d20
1,097
ml
OCaml
src/jsonafable.ml
janestreet/jsonaf
703143fb8c9c4a3c13360d26a2172f0ca9303926
[ "MIT", "BSD-3-Clause" ]
10
2021-05-29T02:46:27.000Z
2022-03-30T18:00:49.000Z
src/jsonafable.ml
janestreet/jsonaf
703143fb8c9c4a3c13360d26a2172f0ca9303926
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/jsonafable.ml
janestreet/jsonaf
703143fb8c9c4a3c13360d26a2172f0ca9303926
[ "MIT", "BSD-3-Clause" ]
2
2021-11-22T20:53:00.000Z
2021-12-17T02:46:49.000Z
open! Base include Jsonaf_kernel.Jsonafable module Stable = struct module Of_jsonafable = struct module V1 (Jsonafable : S) (M : sig type t val of_jsonafable : Jsonafable.t -> t val to_jsonafable : t -> Jsonafable.t ...
30.472222
78
0.601641
8a8aa10ab0b1e525baa06f64f85b7e21bfd027f1
6,203
ml
OCaml
src/docs/namespace.ml
olaszakos/motoko
01867bdb76d6ceb7e986297464a41146f3d34839
[ "Apache-2.0" ]
248
2021-06-10T07:25:28.000Z
2022-03-29T10:34:45.000Z
src/docs/namespace.ml
olaszakos/motoko
01867bdb76d6ceb7e986297464a41146f3d34839
[ "Apache-2.0" ]
612
2021-06-10T07:04:33.000Z
2022-03-31T16:28:29.000Z
src/docs/namespace.ml
olaszakos/motoko
01867bdb76d6ceb7e986297464a41146f3d34839
[ "Apache-2.0" ]
36
2021-06-10T06:46:55.000Z
2022-03-07T20:22:04.000Z
open Source open Mo_def module StringMap = Map.Make (String) type t = { types : Xref.t StringMap.t; values : (Xref.t * t option) StringMap.t; } let rec idents_in_pattern : Syntax.pat -> string list = fun pat -> match pat.it with | Syntax.VarP id -> [ id.it ] | Syntax.TupP ps -> List.concat_map idents_in_pa...
29.679426
81
0.505723
f38b2ad77ca3958ff3624d17125056db68d3beac
7,585
ml
OCaml
src/proto_012_Psithaca/lib_protocol/test/integration/test_storage.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_012_Psithaca/lib_protocol/test/integration/test_storage.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_012_Psithaca/lib_protocol/test/integration/test_storage.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Metastate AG <contact@metastate.ch> *) ...
33.414097
81
0.621753
f39b575cd5a1b9445ac3672bcd84af289b9f477a
23,881
ml
OCaml
src/ocaml-output/FStar_TypeChecker_Err.ml
mateuszbujalski/FStar
ac6a1962c4c109f9d4b50b171b7b31b09adff7bb
[ "Apache-2.0" ]
1
2021-09-22T02:54:05.000Z
2021-09-22T02:54:05.000Z
src/ocaml-output/FStar_TypeChecker_Err.ml
mateuszbujalski/FStar
ac6a1962c4c109f9d4b50b171b7b31b09adff7bb
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_TypeChecker_Err.ml
mateuszbujalski/FStar
ac6a1962c4c109f9d4b50b171b7b31b09adff7bb
[ "Apache-2.0" ]
null
null
null
open Prims let (info_at_pos : FStar_TypeChecker_Env.env -> Prims.string -> Prims.int -> Prims.int -> ((Prims.string, FStar_Ident.lid) FStar_Pervasives.either * FStar_Syntax_Syntax.typ * FStar_Range.range) FStar_Pervasives_Native.option) = fun env -> fun file...
40.339527
138
0.571207
8ab062b13b147a7c9dc3ac9085bd747eb04b6dab
432
ml
OCaml
Ocaml/Gruppo8/Es2b/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
1
2020-09-06T16:03:15.000Z
2020-09-06T16:03:15.000Z
Ocaml/Gruppo8/Es2b/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
null
null
null
Ocaml/Gruppo8/Es2b/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
null
null
null
(* fulltree : int -> int tree *) (* fulltree k riporta un albero binario completo di altezza k con radice 1 e figli 2x e 2x+1 *) (* aux : int -> int -> int tree *) (* aux x k riporta un albero binario completo di altezza k con radice x e figli 2x e 2x+1*) let fulltree k = if k <0 then failwith "numero negativo" else ...
43.2
95
0.62037
8abcd64ab9aac0f8fc340c61b1dc1e82b28b5232
3,385
ml
OCaml
plugins/thumb/thumb_mov.ml
CryHavoc21/bap
800f7a2202f7048d3bbc76b758169188b335aba9
[ "MIT" ]
1
2022-03-17T23:08:46.000Z
2022-03-17T23:08:46.000Z
plugins/thumb/thumb_mov.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
null
null
null
plugins/thumb/thumb_mov.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
null
null
null
open Bap_core_theory open Base open KB.Syntax open Thumb_core module Make(CT : Theory.Core) = struct module T = Thumb_core.Make(CT) open T open T.Syntax let carry_from_add ~r ~rn = bit (r < rn) let overflow_from_add ~r ~rn ~rm = msb @@ (rn lxor (lnot rm)) land (rn lxor r) let overflow_from_sub ~r ~rn...
23.027211
61
0.488922
8a558fa485ccc7d36ff0a6591b2dbf09923f6a61
2,010
ml
OCaml
tests/typing_test.ml
ymyzk/lambda-gsr
feba494e6f567197611b5d2995a11732a729d5e8
[ "MIT" ]
null
null
null
tests/typing_test.ml
ymyzk/lambda-gsr
feba494e6f567197611b5d2995a11732a729d5e8
[ "MIT" ]
null
null
null
tests/typing_test.ml
ymyzk/lambda-gsr
feba494e6f567197611b5d2995a11732a729d5e8
[ "MIT" ]
null
null
null
open OUnit2 open Syntax open Typing let test_is_static_type = List.map (fun (l, t, e) -> l >:: fun _ -> assert_equal (is_static_type t) e) [ "bool", TyBase TyBool, true; "int", TyBase TyInt, true; "int/unit -> bool/int", TyFun (TyBase TyInt, TyBase TyUnit, TyBase TyBool, TyBase TyInt), tru...
31.904762
146
0.585572
8ad20388210eaab2645d529935c1229d924782bc
4,049
mli
OCaml
src/ocaml_401/typing/typeclass.mli
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
1
2021-03-12T10:45:56.000Z
2021-03-12T10:45:56.000Z
src/ocaml_401/typing/typeclass.mli
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
null
null
null
src/ocaml_401/typing/typeclass.mli
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* OCaml *) (* *) (* Jerome Vouill...
36.477477
73
0.627809
8ad104ed2e2a8cb69a528a9930fb5c9e5a62252c
2,056
ml
OCaml
common/repo_root.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
common/repo_root.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
common/repo_root.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
open Core open! Import type t = { path : Abspath.t ; human_readable : string option } [@@deriving compare, fields] let sexp_of_t t = t.path |> [%sexp_of: Abspath.t] module Hash_by_path = struct module T = struct type nonrec t = t [@@deriving sexp_of] let compare = Comparable.lift [%compare...
26.358974
90
0.685311
8aac7acae0771d2896f81d8587caaf2cdbdf132b
4,519
ml
OCaml
test/test_file.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
245
2016-08-29T14:21:13.000Z
2022-03-12T04:08:52.000Z
test/test_file.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
13
2016-08-29T14:55:35.000Z
2021-07-30T04:25:32.000Z
test/test_file.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
13
2016-08-30T00:53:52.000Z
2021-12-17T02:51:25.000Z
open! Core open! Async_kernel open! Import open! File let show_exists t = print_s [%message "" ~_:(exists t : bool)] let show t = print_s [%message "" ~exists:(exists t : bool) ~is_directory:(Or_error.try_with (fun () -> is_directory t) : bool Or_error.t) ~is_executable:(Or_error.t...
29.535948
88
0.584643
8aa38d555d2a8ffa7a814e814d913e3b3fc0cdb3
39,373
ml
OCaml
src/ocaml-output/FStar_Parser_DesugarEnv.ml
aa755/FStar
9991ab0e22443e0415fa0454b845c41d0a70b555
[ "Apache-2.0" ]
1
2021-06-24T15:18:29.000Z
2021-06-24T15:18:29.000Z
src/ocaml-output/FStar_Parser_DesugarEnv.ml
msprotz/FStar
286397f9f4e98f3d53df500b2d63e7ab5cef25e0
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Parser_DesugarEnv.ml
msprotz/FStar
286397f9f4e98f3d53df500b2d63e7ab5cef25e0
[ "Apache-2.0" ]
null
null
null
type binding = | Binding_typ_var of FStar_Absyn_Syntax.ident | Binding_var of FStar_Absyn_Syntax.ident | Binding_let of FStar_Absyn_Syntax.lident | Binding_tycon of FStar_Absyn_Syntax.lident let is_Binding_typ_var = (fun _discr_ -> (match (_discr_) with | Binding_typ_var (_) -> begin true end | _ -> begin false end))...
35.154464
630
0.733904
afdc40a661b79aa9add53daddf17ef022cae8833
9,045
ml
OCaml
bin/commands.ml
fuwn/disml
b2f081fff12093a7d3434859ebd621608dde6c7d
[ "MIT" ]
30
2019-01-04T11:02:34.000Z
2022-03-01T11:45:20.000Z
bin/commands.ml
rosalogia/disml
244f46f0b06f881a1f30ae3c5f281619dab46e51
[ "MIT" ]
1
2021-08-10T03:34:36.000Z
2021-08-10T18:41:26.000Z
bin/commands.ml
rosalogia/disml
244f46f0b06f881a1f30ae3c5f281619dab46e51
[ "MIT" ]
6
2020-04-27T17:36:35.000Z
2021-08-09T22:19:32.000Z
open Async open Core open Disml open Models (* Client object will be stored here after creation. *) let client = Ivar.create () (* Example ping command with REST round trip time edited into the response. *) let ping message _args = Message.reply message "Pong!" >>> function | Ok message -> let diff = ...
41.875
145
0.624433
8a9a46027621499d67af4360d6a16eb6eb19a8f0
378
ml
OCaml
src/lib/zexe_backend/bn382/pairing_based_proving_key.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
2
2020-11-14T20:16:02.000Z
2021-08-19T12:44:52.000Z
src/lib/zexe_backend/bn382/pairing_based_proving_key.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
11
2021-09-02T10:10:36.000Z
2022-02-27T08:56:41.000Z
src/lib/zexe_backend/bn382/pairing_based_proving_key.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
open Core open Snarky_bn382 type t = Fp_index.t include Binable.Of_binable (Unit) (struct type t = Fp_index.t let to_binable _ = () let of_binable () = failwith "TODO" end) let is_initialized _ = `Yes let set_constraint_system _ _ = () let to_stri...
16.434783
47
0.595238
8a0f61b612d5d9f6a2de670838809fe46dc7e4cd
173
ml
OCaml
data/derived/comb/progs/unify/prog3791.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/prog3791.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3791.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec digitsOfInt n = match n > 0 with | false -> [] | true -> (match n > 9 with | false -> n :: (digitsOfInt (n / 10)) | true -> 1 :: 1);;
19.222222
46
0.433526
afbe79f9eb02d87336465abd5ccd5a9cedb3fc60
872
ml
OCaml
src/InputVerifier.ml
amiltner/Burst
e574005f1ad35847dd9c995d048fdc534872769e
[ "MIT" ]
null
null
null
src/InputVerifier.ml
amiltner/Burst
e574005f1ad35847dd9c995d048fdc534872769e
[ "MIT" ]
null
null
null
src/InputVerifier.ml
amiltner/Burst
e574005f1ad35847dd9c995d048fdc534872769e
[ "MIT" ]
null
null
null
open CoreAndMore open Lang module type IS = (Singleton with type t = Value.t list) module T(IS : IS) = struct let satisfies_post ~(context:Context.t) ~tin:(_:Type.t) ~tout:(_:Type.t) ~(cand:Expr.t) ~(checker:Value.t -> Value.t -> bool) : Value.t option = let sized = List....
22.947368
110
0.497706
8a2afbc5b41bb5bec941ef085fb1b861adc3ec9c
208
mli
OCaml
libraries/autoscaling/lib/enterStandby.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/autoscaling/lib/enterStandby.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/autoscaling/lib/enterStandby.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = EnterStandbyQuery.t type output = EnterStandbyAnswer.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
18.909091
85
0.759615
8a1e66e2a9f92d0162e2986f3f0e2245e3f771ba
181,404
ml
OCaml
src/terms.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
3
2016-12-13T07:50:48.000Z
2018-06-04T06:26:57.000Z
src/terms.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
null
null
null
src/terms.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
2
2018-09-18T12:59:11.000Z
2021-11-29T06:07:38.000Z
(************************************************************* * * * Cryptographic protocol verifier * * * * Bruno Blanchet and David Cadé * * ...
37.387469
193
0.664368
8a6b9467791ef7d94ec31f0c6bb1bbdb88c73db9
1,392
mli
OCaml
src/lp/objective.mli
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
29
2020-05-12T23:47:14.000Z
2022-02-03T02:11:20.000Z
src/lp/objective.mli
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
4
2021-11-01T21:08:25.000Z
2021-11-25T15:22:20.000Z
src/lp/objective.mli
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
null
null
null
(** Module for the objective. *) (** Type for a maximize or minimize objective. *) type t val maximize : ?eps:float -> Poly.t -> t (** Build an objective to maximize a polynomial. The polynomial is simplified ({!val:Poly.simplify}) on build. [eps] specifies the threshold of near-zero, defaulting to 10. *. eps...
33.95122
99
0.677443
8a8776f696d9bba3ece2a93df0c82fea670ee7c0
7,522
ml
OCaml
hphp/hack/src/decl/decl_hint.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
1
2022-03-11T02:25:14.000Z
2022-03-11T02:25:14.000Z
hphp/hack/src/decl/decl_hint.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
3
2022-02-17T04:00:03.000Z
2022-03-24T03:45:33.000Z
hphp/hack/src/decl/decl_hint.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "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. * *) (*****************************************************************************) (* Converts a type hint into a type ...
30.088
102
0.591066
8ab947eebfa6874a76a15255e60dde8d82fed391
3,563
ml
OCaml
src/ast/analyzing/langs/astml/change.ml
mstmhsmt/cca
0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a
[ "Apache-2.0" ]
null
null
null
src/ast/analyzing/langs/astml/change.ml
mstmhsmt/cca
0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a
[ "Apache-2.0" ]
null
null
null
src/ast/analyzing/langs/astml/change.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...
32.390909
90
0.681168
afcec64c5e2a3a9f93db1f87e68c8b5db545f83c
5,695
ml
OCaml
lib_test/find_ih.ml
nojb/ocaml-dht
e09f57a6865c7a5bb887f38e5efbcadc32783b00
[ "MIT" ]
17
2015-01-01T14:08:21.000Z
2021-08-16T07:02:56.000Z
lib_test/find_ih.ml
nojb/ocaml-dht
e09f57a6865c7a5bb887f38e5efbcadc32783b00
[ "MIT" ]
1
2016-08-12T13:55:15.000Z
2016-08-12T13:55:15.000Z
lib_test/find_ih.ml
nojb/ocaml-dht
e09f57a6865c7a5bb887f38e5efbcadc32783b00
[ "MIT" ]
5
2016-05-17T08:08:39.000Z
2018-10-17T08:37:59.000Z
(* The MIT License (MIT) Copyright (c) 2015-2017 Nicolas Ojeda Bar <n.oje.bar@gmail.com> 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 limitat...
27.119048
83
0.654434
f37448f041fe93235d59378cbf825861db7fb729
797
ml
OCaml
bootstrap/test/basis/string/test_suffix.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/test/basis/string/test_suffix.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/test/basis/string/test_suffix.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open! Basis.Rudiments open! Basis open String let test () = let test_suffix s ~suffix = begin File.Fmt.stdout |> Basis.Fmt.fmt "is_suffix " |> pp s |> Basis.Fmt.fmt " ~suffix:" |> pp suffix |> Basis.Fmt.fmt " -> " |> Bool.pp (is_suffix s ~suffix) |> Basis.Fmt.fmt "\nchop_suffix " ...
22.771429
51
0.587202
afa90b0869b6f85e98ca543ae61c8d91392d5f6a
1,905
ml
OCaml
data/fa15_min/0914.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/0914.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/0914.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.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 else (clone 0 ((List.length l1) - (List.length l2))) @ l2;; let rec removeZero l = let f a x = if (List.length a) = 0 th...
24.423077
79
0.531234
8aa2801ed0ce3cc68bfeeff2ff2d634fcd3e1c2b
38,094
ml
OCaml
hphp/runtime/vm/verifier/fuzzer/fuzzer.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/verifier/fuzzer/fuzzer.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/verifier/fuzzer/fuzzer.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
47.856784
82
0.608626
af7e7655c5fe901966b940227c54dff6c472735c
1,146
ml
OCaml
tests/frontend/expect/data_race_checker/bad_concurrent_regions.ml
paulocoghi/bolt
a81627f95af6577cd465df09290a51c9d469c667
[ "MIT" ]
305
2020-05-08T11:09:53.000Z
2022-03-19T18:43:58.000Z
tests/frontend/expect/data_race_checker/bad_concurrent_regions.ml
lqwu/bolt
1faf19d698852fdb6af2ee005a5f036ee1c76503
[ "MIT" ]
53
2019-11-10T13:46:46.000Z
2022-02-04T17:20:15.000Z
tests/frontend/expect/data_race_checker/bad_concurrent_regions.ml
lqwu/bolt
1faf19d698852fdb6af2ee005a5f036ee1c76503
[ "MIT" ]
33
2020-05-09T00:35:53.000Z
2022-03-14T21:10:25.000Z
open Core open Print_data_race_checker_ast let%expect_test "Access linear capability in multiple locals" = print_data_race_checker_ast " class Foo { capability linear Bar; var int f : Bar; int id (int x): Bar { x} } void main(){ let x = new Foo(); finish{ async{ ...
23.387755
111
0.595113
8ab8c62b0861512f49d009fcd050fba3e7164026
697
ml
OCaml
data/derived/comb/progs/unify/prog7956.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/prog3162.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3162.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let rec exprToString e = match e with | VarX -> "x" | VarY -> "y" | Sine e' -> ("sin(pi*" + (exprToString e')) + ")" | Cosine e' -> ("cos(pi*" + (exprT...
26.807692
74
0.470588
f390182e18abd143316b69b11c4dd4835c7d061a
1,070
ml
OCaml
lib/app/comby.ml
mseri/comby
bb8a9de5a5812ef799f8a3787b8b44c6da6fc8d1
[ "Apache-2.0" ]
1
2021-03-28T22:59:18.000Z
2021-03-28T22:59:18.000Z
lib/comby.ml
deepanprabhu/comby
df1491cb9609a0a921a0d1f72745c176f6462c06
[ "Apache-2.0" ]
null
null
null
lib/comby.ml
deepanprabhu/comby
df1491cb9609a0a921a0d1f72745c176f6462c06
[ "Apache-2.0" ]
null
null
null
module Match = Match type match' = Match.t module Matchers = struct module Matcher = Matchers.Matcher module Configuration = Matchers.Configuration type configuration = Configuration.t module Syntax = Matchers.Syntax type syntax = Matchers.Syntax.t module Hole = Matchers.Hole module Metasyntax = Match...
21.836735
52
0.771028
f3ce415c55f518dc21d7ba7c5a87fd8312ea70b1
113
mli
OCaml
sources/bars.mli
rxse/camusical
414af3761a7def731118f03025a5a85fa2417b6f
[ "MIT" ]
4
2016-02-04T05:29:54.000Z
2016-02-12T23:35:55.000Z
sources/bars.mli
rxse/camusical
414af3761a7def731118f03025a5a85fa2417b6f
[ "MIT" ]
null
null
null
sources/bars.mli
rxse/camusical
414af3761a7def731118f03025a5a85fa2417b6f
[ "MIT" ]
null
null
null
val graph : int -> int -> unit val draw : Unix.file_descr -> int -> unit val visualize : Unix.file_descr -> unit
28.25
41
0.672566
8ab038c789b7748920c61e28c820fc2ae00ce7d1
508
mli
OCaml
hphp/hack/src/server/serverIdle.mli
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverIdle.mli
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverIdle.mli
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2014, 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. * *) (* Called whe...
25.4
80
0.69685
8a53e4b333c8b1efa8f3dc29325bb8bfe29d7ec0
358
mli
OCaml
src/variable.mli
CornellDataScience/cypria-query-language
7cd1b9241aa78fcb0853df3b779cd6e5f228b4ca
[ "MIT" ]
2
2020-02-02T21:11:03.000Z
2020-02-04T14:39:09.000Z
src/variable.mli
CornellDataScience/cypria-query-language
7cd1b9241aa78fcb0853df3b779cd6e5f228b4ca
[ "MIT" ]
null
null
null
src/variable.mli
CornellDataScience/cypria-query-language
7cd1b9241aa78fcb0853df3b779cd6e5f228b4ca
[ "MIT" ]
null
null
null
type t = string type env val empty_env : env (** [fresh_variable lst] is a fresh variable to be used internally within the compiled SQL. The fresh variable does not occur in lst *) val fresh_variable : env -> t val add_variable : t -> t list -> t list val update_env : t -> string -> env -> env val find...
21.058824
67
0.673184
8aa446daaaf50229afebefbf615c76f658828732
2,539
ml
OCaml
src/sim/vr/state/clientState.ml
Gordonbuck/vr-sim-diss
a03bed19c2ed6f8d015e1ea0b172e951cf502c5d
[ "MIT" ]
null
null
null
src/sim/vr/state/clientState.ml
Gordonbuck/vr-sim-diss
a03bed19c2ed6f8d015e1ea0b172e951cf502c5d
[ "MIT" ]
null
null
null
src/sim/vr/state/clientState.ml
Gordonbuck/vr-sim-diss
a03bed19c2ed6f8d015e1ea0b172e951cf502c5d
[ "MIT" ]
null
null
null
module ClientState (StateMachine : StateMachine.StateMachine_type) = struct type client_state = { (* protocol state *) configuration : int list; view_no : int; client_id : int; request_no : int; (* index of next operation to be sent in request*) next_op_index : int; (* list of opera...
27.010638
83
0.632926
8a77fad69ffa6f85dad661c97f40b7ec3c1062b0
921
ml
OCaml
benchmarks/diff/diff1/submissions/sub44.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/diff/diff1/submissions/sub44.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/diff/diff1/submissions/sub44.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
exception Error of string type ae = CONST of int | VAR of string | POWER of string * int | TIMES of ae list | SUM of ae list let rec diff (ae_exp, str_diff) = ( match ae_exp with | CONST (i) -> CONST 0 | VAR (str) -> if str=str_diff then CONST 1 else CONST 0 | POWER (str, i) -> if str=s...
20.021739
89
0.562432
8a54cd0f8c5e5d0f76243b8ccc15294ac557d931
9,166
ml
OCaml
src/domain/octDom.ml
KihongHeo/sparrow
adce52e39925cf5554100ada41fac84d098dea88
[ "BSD-3-Clause" ]
1
2020-01-31T17:43:58.000Z
2020-01-31T17:43:58.000Z
src/domain/octDom.ml
KihongHeo/sparrow
adce52e39925cf5554100ada41fac84d098dea88
[ "BSD-3-Clause" ]
null
null
null
src/domain/octDom.ml
KihongHeo/sparrow
adce52e39925cf5554100ada41fac84d098dea88
[ "BSD-3-Clause" ]
1
2020-02-16T07:56:34.000Z
2020-02-16T07:56:34.000Z
(***********************************************************************) (* *) (* Copyright (c) 2007-present. *) (* Programming Research Laboratory (ROPAS), Seoul National University. *) (* All rights reserved. ...
29.954248
81
0.532948
8a63eb05e5946e699578e993ada6dcebf7749c96
225
mli
OCaml
libraries/ec2/lib/describeInstances.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeInstances.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/describeInstances.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DescribeInstancesRequest.t type output = DescribeInstancesResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
32.142857
74
0.755556
8a52e039d2f06b88dbd6d5aa2149fd9ae9c22e35
3,188
mli
OCaml
src/signal_graph.mli
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
372
2018-05-25T10:51:24.000Z
2022-03-25T14:38:34.000Z
src/signal_graph.mli
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
9
2018-07-15T02:52:39.000Z
2022-01-05T15:11:16.000Z
src/signal_graph.mli
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
18
2018-08-12T06:08:50.000Z
2022-02-22T11:42:17.000Z
(** A [Signal_graph.t] is a created from a list of signals, and defined by tracing back to inputs (unassigned wires or constants). Functions are provided for traversing the graph. *) open Base type t [@@deriving sexp_of] (** Create a [Signal_graph.t] from a list of signals (commonly, circuit outputs). *) va...
40.871795
90
0.684755
8a98ef2d0b671fd4c608bcadc2b22fad55d6feeb
196
ml
OCaml
vendor/cohttp_async_websocket/src/import.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
9
2020-09-16T01:37:57.000Z
2021-12-17T02:52:40.000Z
vendor/cohttp_async_websocket/src/import.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/cohttp_async_websocket/src/import.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
include struct open Cohttp_async module Body = Body module Request = Request module Response = Response module Server = Server end include struct open Cohttp module Code = Code end
15.076923
28
0.744898
aff7a0c072b6d6005120f946bd725aa0aa35301d
701
ml
OCaml
data/derived/comb/progs/unify/prog7645.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/prog2845.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2845.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let buildAverage (e1,e2) = Average (e1, e2);; let buildCosine e = Cosine e;; let buildThresh (a,b,a_less,b_less) = Thresh (a, b, a_less, b_less);; let buildTime...
23.366667
69
0.583452
8abaf698e97431858d63426c7ae3d288ea064c95
147,907
ml
OCaml
atdgen/test/testj.expected.ml
rdavison/atd
5ec7aec46fafd7cf478630588d8b263578ce7726
[ "BSD-3-Clause" ]
null
null
null
atdgen/test/testj.expected.ml
rdavison/atd
5ec7aec46fafd7cf478630588d8b263578ce7726
[ "BSD-3-Clause" ]
null
null
null
atdgen/test/testj.expected.ml
rdavison/atd
5ec7aec46fafd7cf478630588d8b263578ce7726
[ "BSD-3-Clause" ]
null
null
null
(* Auto-generated from "test.atd" *) [@@@ocaml.warning "-27-32-35-39"] (** This is just a test. *) type test_variant = Test.test_variant type ('x, 'y) poly = ('x, 'y) Test.poly = { fst: 'x list; snd: ('x, 'y) poly option } type 'a p' = 'a Test.p' = A | Bb of 'a p' | Ccccc of 'a type p = Test.p and r = Test....
29.340805
396
0.478672
8aba439ee71008e55f94d52103413f887babf303
5,761
mli
OCaml
otherlibs/configurator/src/v1.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
otherlibs/configurator/src/v1.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
otherlibs/configurator/src/v1.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
type t val create : ?dest_dir:string -> ?ocamlc:string -> ?log:(string -> unit) -> string (** name, such as library name *) -> t (** Return the value associated to a variable in the output of [ocamlc -config] *) val ocaml_config_var : t -> string -> string option val ocaml_config_var_exn : t -> string -...
33.888235
82
0.650234
8a74db1b2ad10c3812a1cb259e2988de2a41914d
2,087
ml
OCaml
first_class_polymorphism/core.ml
tomprimozic/type-systems
4403586a897ee94cb8f0de039aeee8ef1ecef968
[ "Unlicense" ]
1,101
2015-01-01T04:44:42.000Z
2022-03-07T16:25:50.000Z
first_class_polymorphism/core.ml
fxfactorial/type-systems
4403586a897ee94cb8f0de039aeee8ef1ecef968
[ "Unlicense" ]
10
2016-09-11T09:23:19.000Z
2021-06-06T23:00:02.000Z
first_class_polymorphism/core.ml
fxfactorial/type-systems
4403586a897ee94cb8f0de039aeee8ef1ecef968
[ "Unlicense" ]
82
2015-01-12T13:21:12.000Z
2022-03-22T07:30:46.000Z
open Expr open Infer let core = let declaration_list = [ "head : forall[a] list[a] -> a" ; "tail : forall[a] list[a] -> list[a]" ; "nil : forall[a] list[a]" ; "single : forall[a] a -> list[a]" ; "cons : forall[a] (a, list[a]) -> list[a]" ; "cons_curry : forall[a] a -> list[a] -> list[a]" ; "map ...
34.213115
81
0.49449
af7037663af7c1e3960a4712f4809153bbcc5783
36,202
ml
OCaml
src/irmin/store.ml
ani003/irmin
2a54f2c871e0a413b32371818c453be6d67733bf
[ "ISC" ]
null
null
null
src/irmin/store.ml
ani003/irmin
2a54f2c871e0a413b32371818c453be6d67733bf
[ "ISC" ]
null
null
null
src/irmin/store.ml
ani003/irmin
2a54f2c871e0a413b32371818c453be6d67733bf
[ "ISC" ]
null
null
null
(* * Copyright (c) 2013-2017 Thomas Gazagnaire <thomas@gazagnaire.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 PROVIDE...
31.896035
82
0.573145
8a1884a6584cd086bf637927aced9fca915970ad
460
ml
OCaml
lib/common/pos.ml
havr/lefunq
afd61807281964e1d0f51fc49516e14041a85c76
[ "Apache-2.0" ]
2
2021-07-16T12:54:55.000Z
2021-07-17T17:32:44.000Z
lib/common/pos.ml
havr/lefunq
afd61807281964e1d0f51fc49516e14041a85c76
[ "Apache-2.0" ]
null
null
null
lib/common/pos.ml
havr/lefunq
afd61807281964e1d0f51fc49516e14041a85c76
[ "Apache-2.0" ]
null
null
null
type t = {row: int; col: int; idx: int} let to_str pos = (Int.to_string pos.row) ^ ":" ^ (Int.to_string pos.col) let empty = {row = 0; col = 0; idx = 0} let equals a b = (a.row = b.row) && (a.col = b.col) && (a.idx = b.idx) let next char pos = if (char = '\n') then {row = pos.row + 1; col = 1; idx = pos.idx + 1} ...
38.333333
72
0.563043
8ad6500886398e1d8c27ce4baa9697efdcfc6664
10,862
mli
OCaml
opentransplant/OpenTransplant/lib/constraints.mli
MauriceReeves-usds/OpenTransplant
c0196ff8bc5b914ce07502a4b7a760c508854804
[ "Apache-2.0" ]
32
2021-05-15T15:03:39.000Z
2022-03-30T01:19:43.000Z
opentransplant/OpenTransplant/lib/constraints.mli
MauriceReeves-usds/OpenTransplant
c0196ff8bc5b914ce07502a4b7a760c508854804
[ "Apache-2.0" ]
3
2021-05-28T18:54:48.000Z
2021-07-15T01:06:26.000Z
opentransplant/OpenTransplant/lib/constraints.mli
MauriceReeves-usds/OpenTransplant
c0196ff8bc5b914ce07502a4b7a760c508854804
[ "Apache-2.0" ]
1
2021-06-25T20:40:30.000Z
2021-06-25T20:40:30.000Z
open CalendarLib open Uuidm module Algorithm : sig val version : string val running_instance : Uuidm.t end module Policy : sig val version : string (* TODO: Research required on actual living donor requirements... Are there more requirements? *) type living_donor_re...
24.084257
92
0.617566
af5e8b1f4e478493b6da0266778640569a5cac0a
332
ml
OCaml
examples/obj/obj_inher.ml
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
75
2015-10-23T10:31:57.000Z
2021-09-08T11:08:33.000Z
examples/obj/obj_inher.ml
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
10
2017-10-18T11:04:30.000Z
2019-10-03T12:42:28.000Z
examples/obj/obj_inher.ml
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
9
2015-11-09T16:10:05.000Z
2019-10-01T08:38:09.000Z
class c = object method f = () method g = () method h = () end let o : c = object inherit c method g = () end let o4 = object inherit c method g = () end let o2 = new c let o3 = object inherit c method k = () end let f () = object inherit c method g = () end let () = (f o4#g)#g; o3#f; ...
9.764706
18
0.53012
8abcc16917047a69bef22391abb5116d31e0f896
1,571
ml
OCaml
test/expect/pure/formats/query/query.ml
tatchi/dream
3098d0a194369d00fe373474a7d9996988998309
[ "MIT" ]
null
null
null
test/expect/pure/formats/query/query.ml
tatchi/dream
3098d0a194369d00fe373474a7d9996988998309
[ "MIT" ]
1
2022-03-28T07:56:40.000Z
2022-03-28T07:56:40.000Z
test/expect/pure/formats/query/query.ml
tatchi/dream
3098d0a194369d00fe373474a7d9996988998309
[ "MIT" ]
null
null
null
(* This file is part of Dream, released under the MIT license. See LICENSE.md for details, or visit https://github.com/aantron/dream. Copyright 2021 Anton Bachin *) let query name string = Dream.query (Dream.request ~target:("/?" ^ string) "") name |> function | Some value -> Printf.printf "%S\n" valu...
18.482353
77
0.504137
af643eaad2752d3635ca0803d6e6d4db6d87ef42
237,217
ml
OCaml
x86/proofs/bignum_modinv.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
x86/proofs/bignum_modinv.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
x86/proofs/bignum_modinv.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
(* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "LICENSE" file ...
49.647761
85
0.585013
8ac34f52d159ec296765bfadab2014c3d9608e92
1,147
mli
OCaml
src/lib/coda_base/transaction_validator.mli
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
src/lib/coda_base/transaction_validator.mli
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
src/lib/coda_base/transaction_validator.mli
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
open Core_kernel module Hashless_ledger : Transaction_logic.Ledger_intf val create : Ledger.t -> Hashless_ledger.t val apply_user_command : constraint_constants:Genesis_constants.Constraint_constants.t -> txn_global_slot:Coda_numbers.Global_slot.t -> Hashless_ledger.t -> Signed_command.With_valid_signatur...
26.674419
68
0.757629
f32dadec9b2366a01455187ad598d17be1018fa5
19,790
ml
OCaml
src/pulp/logic/spec_Fun_Specs.ml
j3fsantos/IFlowJaVerT
c9ecdda52dd284c14a8e314ff806f8ce3d96c5a8
[ "BSD-3-Clause" ]
null
null
null
src/pulp/logic/spec_Fun_Specs.ml
j3fsantos/IFlowJaVerT
c9ecdda52dd284c14a8e314ff806f8ce3d96c5a8
[ "BSD-3-Clause" ]
null
null
null
src/pulp/logic/spec_Fun_Specs.ml
j3fsantos/IFlowJaVerT
c9ecdda52dd284c14a8e314ff806f8ce3d96c5a8
[ "BSD-3-Clause" ]
null
null
null
(* ./src/pulp/logic/spec_Fun_Specs.ml * * Copyright (C) 2016 Imperial College London * All rights reserved. * * This software is distributed under the BSD license. * See the LICENSE file for details. *) open Pulp_Logic open Pulp_Logic_Utils open Pulp_Procedure open Pulp_Syntax_Print open Pulp_Syntax open Pulp_T...
39.899194
152
0.735371
8ab997928c7c6fac52b3d0dc2ff4e404a5d5d4d5
450
mli
OCaml
node-test/bindings/global.mli
kit-ty-kate/gen_js_api
a2654de40f2ee2cf5609df7b4e75eb48f841dce1
[ "MIT" ]
151
2015-10-23T17:35:57.000Z
2022-03-19T05:30:20.000Z
node-test/bindings/global.mli
kit-ty-kate/gen_js_api
a2654de40f2ee2cf5609df7b4e75eb48f841dce1
[ "MIT" ]
106
2016-04-08T21:08:28.000Z
2022-02-11T11:08:43.000Z
node-test/bindings/global.mli
kit-ty-kate/gen_js_api
a2654de40f2ee2cf5609df7b4e75eb48f841dce1
[ "MIT" ]
29
2016-07-01T15:42:23.000Z
2022-02-04T03:12:37.000Z
type timeout_id val timeout_id_to_js: timeout_id -> Ojs.t val timeout_id_of_js: Ojs.t -> timeout_id type interval_id val interval_id_to_js: interval_id -> Ojs.t val interval_id_of_js: Ojs.t -> interval_id val set_interval: (unit -> unit) -> int -> interval_id [@@js.global] val set_timeout: (unit -> unit) -> int -> t...
32.142857
68
0.735556
8a7ef3b4e04378c34065d80d5a0e64bbb097b1e9
2,290
ml
OCaml
analysis/test/integration/assignTest.ml
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
analysis/test/integration/assignTest.ml
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
analysis/test/integration/assignTest.ml
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "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 OUnit2 open IntegrationTest let test_check_assign _ = assert_type_errors {| def foo() -> None: x = 1 x = ...
22.45098
94
0.524891
afaf62950d425eb519cc6d1b2b48810c2d221fb3
3,470
ml
OCaml
code/unify/unify.ml
mgttlinger/ocaml-book
09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75
[ "BSD-3-Clause" ]
142
2015-01-12T16:45:40.000Z
2022-01-15T00:47:37.000Z
code/unify/unify.ml
mgttlinger/ocaml-book
09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75
[ "BSD-3-Clause" ]
1
2018-10-09T13:53:43.000Z
2018-12-03T04:15:48.000Z
code/unify/unify.ml
mgttlinger/ocaml-book
09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75
[ "BSD-3-Clause" ]
17
2015-02-10T18:12:15.000Z
2021-06-21T06:57:32.000Z
(* Author: bobzhang1988@vpl342.wlan.library.upenn.edu *) (* Version: $Id: unify.ml,v 0.0 2012/02/16 01:19:23 bobzhang1988 Exp $ *) open Printf open Util open Sexplib.Std (** constant is also viewed as term with varity 0 *) type ('a,'b) term = | Term of 'a * ('a,'b) term list | Var of 'b with sexp let p...
24.43662
76
0.540058
8ad709ebb3f376a75c45f64ecbc5a495086a0929
7,059
ml
OCaml
src/types.ml
jserot/hocl
3fbe0521d6d6b6aeb1ffa277fbd74abf7e5ebe43
[ "MIT" ]
19
2019-09-26T03:18:05.000Z
2020-09-15T21:37:03.000Z
src/types.ml
jserot/hocl
3fbe0521d6d6b6aeb1ffa277fbd74abf7e5ebe43
[ "MIT" ]
9
2019-10-04T08:18:24.000Z
2021-08-13T14:12:15.000Z
src/types.ml
jserot/hocl
3fbe0521d6d6b6aeb1ffa277fbd74abf7e5ebe43
[ "MIT" ]
null
null
null
(**********************************************************************) (* *) (* This file is part of the HOCL package *) (* *) (* Copyright (c) 2019-prese...
33.454976
96
0.569486
8a6bf00f7843477afd62052bedc5d35889aadd0c
7,798
mli
OCaml
src/applicative.mli
besport/monadlib
076858f1a9ce700b89f6e0a9651b9dd32c71fc29
[ "MIT" ]
1
2021-12-16T18:32:38.000Z
2021-12-16T18:32:38.000Z
src/applicative.mli
besport/monadlib
076858f1a9ce700b89f6e0a9651b9dd32c71fc29
[ "MIT" ]
1
2022-02-22T10:16:43.000Z
2022-02-22T11:17:48.000Z
src/applicative.mli
besport/monadlib
076858f1a9ce700b89f6e0a9651b9dd32c71fc29
[ "MIT" ]
1
2022-02-15T13:23:30.000Z
2022-02-15T13:23:30.000Z
(** {{:https://en.wikipedia.org/wiki/Applicative_functor}Applicative functors} are data structures over one can map a function. From a specification {!T} which defines {return} (how to package a value into your functor) and {<*>} (how to apply a function in your functor) {!Make} generates a module of type {!S} whi...
32.764706
232
0.394717
8a7db7b12dbcfe7698e9fc334b59700ddc5dd4be
727
ml
OCaml
sledge/nonstdlib/monad_intf.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
sledge/nonstdlib/monad_intf.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
sledge/nonstdlib/monad_intf.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
2,225
2015-06-11T16:36:10.000Z
2022-03-31T05:16:59.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. *) module type S = sig type 'a t val return : 'a -> 'a t val bind : 'a t -> f:('a -> 'b t) -> 'b t val map : 'a t -> f:('a ->...
27.961538
66
0.427785
8a424e5e605d45dcef9c5f79324bc01aee406eaf
26,649
ml
OCaml
hack/utils/lsp.ml
langpavel/flow
cd8fdcdd8719ca0138fb71d30a786d70e98f136c
[ "MIT" ]
2
2018-02-28T06:36:27.000Z
2018-02-28T06:36:30.000Z
hack/utils/lsp.ml
langpavel/flow
cd8fdcdd8719ca0138fb71d30a786d70e98f136c
[ "MIT" ]
null
null
null
hack/utils/lsp.ml
langpavel/flow
cd8fdcdd8719ca0138fb71d30a786d70e98f136c
[ "MIT" ]
1
2018-02-28T06:36:11.000Z
2018-02-28T06:36:11.000Z
(** * Copyright (c) 2016, 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. * *) (** * This fi...
31.953237
88
0.708394
8a38e48ed534c7892fd7155f05607da630e7a3b3
2,138
ml
OCaml
data/fa15_min/2571.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15_min/2571.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/2571.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 | Square of expr | Mix of expr* expr* expr;; let rec exprToString e = match e with | VarX -> "x" | VarY -> "y" | Sine ex -> "sin(pi*" ^ ((exprToString ...
25.452381
81
0.491113
af03fc49c9eeac42032e9cabfe0f706846b11e1a
1,581
ml
OCaml
src/boardPieces.ml
jfkonecn/settlersOfOcaml
6a1fc7ffefb85ef26c220b46fbc8e18595af66d3
[ "MIT" ]
null
null
null
src/boardPieces.ml
jfkonecn/settlersOfOcaml
6a1fc7ffefb85ef26c220b46fbc8e18595af66d3
[ "MIT" ]
null
null
null
src/boardPieces.ml
jfkonecn/settlersOfOcaml
6a1fc7ffefb85ef26c220b46fbc8e18595af66d3
[ "MIT" ]
null
null
null
(* https://catan.fandom.com/wiki/Catan *) open Types let seaFrames = List.init 3 (fun _ -> SingleHarbor) @ List.init 3 (fun _ -> TwoHarbor) let harborTokens = ([ Lumber; Wool; Grain; Brick; Ore ] |> List.map (fun x -> { giveAmount = 2; resourceToGive = Some x })) @ List.init 4 (fun _ -> { giveAmount = 3; reso...
34.369565
72
0.543327
8aaccd62d04c841d431f0fe3a0876a952d748e7b
7,440
ml
OCaml
src/SimplifyWasm.ml
camille-si/kremlin
4075e9f39ba8a6d4fb08953a4f1e53c9571e8099
[ "Apache-2.0" ]
340
2016-07-21T23:24:48.000Z
2022-02-16T22:23:01.000Z
src/SimplifyWasm.ml
camille-si/kremlin
4075e9f39ba8a6d4fb08953a4f1e53c9571e8099
[ "Apache-2.0" ]
208
2016-09-06T20:07:49.000Z
2022-03-03T20:22:22.000Z
src/SimplifyWasm.ml
camille-si/kremlin
4075e9f39ba8a6d4fb08953a4f1e53c9571e8099
[ "Apache-2.0" ]
53
2016-08-18T14:08:36.000Z
2022-02-25T21:55:50.000Z
(* Copyright (c) INRIA and Microsoft Corporation. All rights reserved. *) (* Licensed under the Apache 2.0 License. *) (* Wasm-specific transformations that we perform now **************************) open Ast open Helpers open DeBruijn let check_buffer_size = with_type (TArrow (TInt K.UInt32, TUnit)) (EQualified (...
38.350515
118
0.610618
af9aa835e1b839738245d4431a747f7f6e886ee7
1,394
ml
OCaml
async/examples/test_server.ml
torinnd/ocaml-tls
1b15ef5083d9b89785bdc929a2eecdc5b45b887d
[ "BSD-2-Clause" ]
214
2015-01-06T12:04:34.000Z
2022-01-19T05:37:38.000Z
async/examples/test_server.ml
torinnd/ocaml-tls
1b15ef5083d9b89785bdc929a2eecdc5b45b887d
[ "BSD-2-Clause" ]
137
2015-01-05T10:17:44.000Z
2022-03-29T19:59:52.000Z
async/examples/test_server.ml
torinnd/ocaml-tls
1b15ef5083d9b89785bdc929a2eecdc5b45b887d
[ "BSD-2-Clause" ]
55
2015-01-05T21:04:25.000Z
2022-03-29T18:49:31.000Z
open! Core open! Async let server_cert = "./certificates/server.pem" let server_key = "./certificates/server.key" let serve_tls port handler = let%bind certificate = Tls_async.X509_async.Certificate.of_pem_file server_cert |> Deferred.Or_error.ok_exn in let%bind priv_key = Tls_async.X509_async.Private_k...
26.301887
88
0.675036
8a110f604974a344cec87140ace1fe3f0b66eb33
3,370
ml
OCaml
src/irmin-pack/s.ml
kluvin/irmin
39cf6dcadebe6994b2972cf1f7cf8be31d396eac
[ "0BSD" ]
null
null
null
src/irmin-pack/s.ml
kluvin/irmin
39cf6dcadebe6994b2972cf1f7cf8be31d396eac
[ "0BSD" ]
null
null
null
src/irmin-pack/s.ml
kluvin/irmin
39cf6dcadebe6994b2972cf1f7cf8be31d396eac
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2018-2021 Tarides <contact@tarides.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 IS PROVIDED "AS IS" AN...
32.718447
80
0.68457
8a542ad18439124eee2f2383a82a84abc273aebd
2,226
mli
OCaml
CodeHawk/CH/chutil/cHSumTypeSerializer.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CH/chutil/cHSumTypeSerializer.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CH/chutil/cHSumTypeSerializer.mli
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Analyzer Infrastructure Utilities Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2019 Kestrel Technology LLC Permiss...
37.1
83
0.634771
8adc88ab1deea00f780d37824d549ba44b4ffee4
510
mli
OCaml
hphp/hack/src/hh_fanout/debug_fanout.mli
Mu-L/hhvm
972dcfd068c41f18ba5eadd1b833750917817225
[ "PHP-3.01", "Zend-2.0" ]
7
2021-09-20T18:47:18.000Z
2021-09-20T23:02:22.000Z
hphp/hack/src/hh_fanout/debug_fanout.mli
seanwallawalla-forks/hhvm
4685a57b633609727c9755efe6d647aebf91ea77
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-21T07:48:37.000Z
2021-08-21T07:48:37.000Z
hphp/hack/src/hh_fanout/debug_fanout.mli
seanwallawalla-forks/hhvm
4685a57b633609727c9755efe6d647aebf91ea77
[ "PHP-3.01", "Zend-2.0" ]
1
2021-01-29T08:44:22.000Z
2021-01-29T08:44:22.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) type result val go : ctx:Provider_context.t -> workers:MultiWorker.worker list -> old_naming_table:Naming_table.t -> ...
24.285714
75
0.733333
8ace1c2ca031d7976c19d7e755882f2b1383e966
4,088
ml
OCaml
core/test/src/test_validated.ml
osener/core_kernel
18b2a732657ecac73e075e81e1edd0ef797fcc7d
[ "MIT" ]
187
2015-01-02T03:14:37.000Z
2021-12-17T02:52:27.000Z
core/test/src/test_validated.ml
osener/core_kernel
18b2a732657ecac73e075e81e1edd0ef797fcc7d
[ "MIT" ]
84
2015-01-07T10:21:02.000Z
2021-11-10T05:55:37.000Z
core/test/src/test_validated.ml
osener/core_kernel
18b2a732657ecac73e075e81e1edd0ef797fcc7d
[ "MIT" ]
65
2015-02-01T11:01:32.000Z
2021-12-17T02:53:15.000Z
open! Core open Poly open! Import open Validated module Raw = struct type t = int [@@deriving bin_io, compare, hash, sexp, typerep] let here = [%here] let validate _ = Validate.pass let validate_binio_deserialization = true let all = [ Int.min_value; -100; -1; 0; 1; 100; Int.max_value ] end module V = Make...
24.926829
88
0.600783
afd4aa138a68750bd117e96c50f00fefc85a269d
8,744
ml
OCaml
hphp/hack/src/typing/tast_typecheck.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_typecheck.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_typecheck.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2017, 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. * *) open Hh_prelude open Delta open Typing_defs open Typing_env_types open Aast module ETast = Tast module Nast = Aast m...
31.566787
84
0.663884
8a26558bcddb5b7fdcee813d12d67db857e426d5
5,554
ml
OCaml
vendor/async_rpc_kernel/src/implementation_types.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/async_rpc_kernel/src/implementation_types.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/async_rpc_kernel/src/implementation_types.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open Core_kernel open Async_kernel open Protocol (** The types of the [Implementation] and [Implementations] modules, which have a dependency cyle: [Implementation] -> [Direct_stream_writer] -> [Implementations] -> [Implementation]. *) module Direct_stream_writer_id = Unique_id.Int63 () module rec Implementa...
29.542553
90
0.593626
8ac97dc0098b5f21d44d61e3a558af3dcb4a022a
163
mli
OCaml
src/edge.mli
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
372
2018-05-25T10:51:24.000Z
2022-03-25T14:38:34.000Z
src/edge.mli
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
9
2018-07-15T02:52:39.000Z
2022-01-05T15:11:16.000Z
src/edge.mli
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
18
2018-08-12T06:08:50.000Z
2022-02-22T11:42:17.000Z
(** Specification of rising or falling edge of a signal (normally a clock). *) type t = | Rising | Falling [@@deriving sexp_of, equal] val to_int : t -> int
18.111111
78
0.662577
8aaa8855fb7afb28118a8ba00cad021d1d57ab04
3,037
ml
OCaml
src/services/inference/__tests__/pure_dep_graph_operations_test.ml
thecotne/flow
21f42d4baf26e637b82a8d266ad9fea85be740f8
[ "MIT" ]
null
null
null
src/services/inference/__tests__/pure_dep_graph_operations_test.ml
thecotne/flow
21f42d4baf26e637b82a8d266ad9fea85be740f8
[ "MIT" ]
null
null
null
src/services/inference/__tests__/pure_dep_graph_operations_test.ml
thecotne/flow
21f42d4baf26e637b82a8d266ad9fea85be740f8
[ "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 OUnit2 open Utils_js open Dep_graph_test_utils let assert_sets_equal ~ctxt expected actual = assert_equal ~ctxt ~c...
40.493333
96
0.558117
f3c5c428db186841eed75a41945c0a99bd76c033
5,369
ml
OCaml
CodeHawk/CHC/cchlib/cCHUtilities.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cchlib/cCHUtilities.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cchlib/cCHUtilities.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk C Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2019 Kestrel Technology LLC Copyright (c) 2020 Henny ...
31.769231
84
0.621159
8a66ac99ff5348c267649bb5bc3ca27e17230c83
1,033
ml
OCaml
result/fixml/diff/sub141/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/diff/sub141/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/diff/sub141/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type aexp = | Const of int | Var of string | Power of (string * int) | Times of aexp list | Sum of aexp list let rec diff : aexp * string -> aexp = fun (e, x) -> match e with | Const n -> Const 0 | Var a -> if a = x then Const 1 else Const 0 | Power (a, n) -> if a = x && n = 2 then Times [ Con...
30.382353
81
0.470474
8ac0cc180941cf8ad5688b7adaab371c5ee2e0c9
5,341
ml
OCaml
source/analysis/annotatedDefine.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/analysis/annotatedDefine.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/analysis/annotatedDefine.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 Ast open Pyre open Statement module Callable = AnnotatedCallable module Class = AnnotatedClass type t = Define.t ...
36.582192
98
0.535855
f3a233a11e9cb54117d3631e98ab7218559f919e
431
ml
OCaml
src/lib/cli_lib/stdout_log.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
1
2020-05-05T07:31:26.000Z
2020-05-05T07:31:26.000Z
src/lib/cli_lib/stdout_log.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
src/lib/cli_lib/stdout_log.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
let setup log_json log_level = let stdout_log_processor = if log_json then Logger.Processor.raw () else Logger.Processor.pretty ~log_level ~config: { Logproc_lib.Interpolator.mode= Inline ; max_interpolation_length= 50 ; pretty_print= true } in Logger.Consumer_r...
30.785714
49
0.686775
8aad5c90cdac5f1b9c9d62afd0e752a3d727fbd8
5,053
mli
OCaml
src/lib/transaction_snark_scan_state/transaction_snark_scan_state.mli
acoglio/coda
f6a4bda2f3ce93ebfe426891411e06539c44a5f2
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_snark_scan_state/transaction_snark_scan_state.mli
acoglio/coda
f6a4bda2f3ce93ebfe426891411e06539c44a5f2
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_snark_scan_state/transaction_snark_scan_state.mli
acoglio/coda
f6a4bda2f3ce93ebfe426891411e06539c44a5f2
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Coda_base [%%versioned: module Stable : sig module V1 : sig type t [@@deriving sexp] val hash : t -> Staged_ledger_hash.Aux_hash.t end end] type t = Stable.Latest.t [@@deriving sexp] module Transaction_with_witness : sig (* TODO: The statement is redundant here - it can be comput...
29.899408
144
0.73204
8a9ccc3b4d3297a9b14d00d748ba99a0d3229ea8
84
ml
OCaml
benchmarks/C/sigma/sol536.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/sigma/sol536.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/sigma/sol536.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
let rec sigma f a b = if a>b then 0 else if a=b then f b else f b + sigma f a (b-1)
16.8
26
0.619048