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
aaf9d9cae784085391a1b5658e6a8a942c7de22d
15,538
ml
OCaml
src/flow_dot_js.ml
Sam9799/flow
3255fc9ed24e0913923459cad3392339757b6472
[ "MIT" ]
null
null
null
src/flow_dot_js.ml
Sam9799/flow
3255fc9ed24e0913923459cad3392339757b6472
[ "MIT" ]
null
null
null
src/flow_dot_js.ml
Sam9799/flow
3255fc9ed24e0913923459cad3392339757b6472
[ "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 Js = Js_of_ocaml.Js module Sys_js = Js_of_ocaml.Sys_js (* We do not expect to encounter a keyed location in flow_dot_js *) ...
34.452328
103
0.676664
170f085f76b69a3e8c142dc9a9d7aefa12671284
1,105
ml
OCaml
libraries/sts/lib_test/aws_sts_test.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/sts/lib_test/aws_sts_test.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/sts/lib_test/aws_sts_test.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open OUnit open Aws_sts module TestSuite(Runtime : sig type 'a m val run_request : region:string -> (module Aws.Call with type input = 'input and type output = 'output and type error = 'error) -> 'input -> [`Ok of 'output | `Error of...
25.113636
76
0.542986
aaf6e85e5bf31690c0820dc2363ea5670d583035
198
ml
OCaml
result/func/iter/sub35/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/func/iter/sub35/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/func/iter/sub35/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec iter ((n : int), (f : int -> int)) : int -> int = if n = 0 then fun (__s6 : int) -> __s6 else fun (x : int) -> iter (n - 1, f) (f x) let (_ : int) = iter (2, fun (x : int) -> 2 + x) 0
28.285714
57
0.459596
aa7e16b509a390e6e410d205bb869f0ff8c5e504
19,237
ml
OCaml
sledge/src/control.ml
kupl/Infer_NPE_checker
c7d69bbe5615b0fa892541c4464346ed90bc50cb
[ "MIT" ]
null
null
null
sledge/src/control.ml
kupl/Infer_NPE_checker
c7d69bbe5615b0fa892541c4464346ed90bc50cb
[ "MIT" ]
null
null
null
sledge/src/control.ml
kupl/Infer_NPE_checker
c7d69bbe5615b0fa892541c4464346ed90bc50cb
[ "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. *) (** Iterative Breadth-First Bounded Exploration The analysis' semantics of control flow. *) module Make (Opts : Domain_intf.O...
34.047788
79
0.56828
aaf7e8811aa29574e4b54b808637ebc549ba7bae
37,407
ml
OCaml
src/ocaml-output/FStar_Tactics_CtrlRewrite.ml
W95Psp/FStar
6a6a43d623d9ec13984f2d8dc2fe1b117a6fffa5
[ "Apache-2.0" ]
2,231
2015-01-05T02:19:24.000Z
2022-03-30T05:54:05.000Z
src/ocaml-output/FStar_Tactics_CtrlRewrite.ml
W95Psp/FStar
6a6a43d623d9ec13984f2d8dc2fe1b117a6fffa5
[ "Apache-2.0" ]
2,151
2015-01-06T05:01:08.000Z
2022-03-31T23:16:08.000Z
src/ocaml-output/FStar_Tactics_CtrlRewrite.ml
W95Psp/FStar
6a6a43d623d9ec13984f2d8dc2fe1b117a6fffa5
[ "Apache-2.0" ]
281
2015-02-13T00:14:17.000Z
2022-03-13T12:51:04.000Z
open Prims let (rangeof : FStar_Tactics_Types.goal -> FStar_Compiler_Range.range) = fun g -> (g.FStar_Tactics_Types.goal_ctx_uvar).FStar_Syntax_Syntax.ctx_uvar_range type controller_ty = FStar_Syntax_Syntax.term -> (Prims.bool * FStar_Tactics_Types.ctrl_flag) FStar_Tactics_Monad.tac type rewriter_ty = unit ...
51.312757
102
0.422033
8a149e25c97776a546cf1c4a1e0ee0487217913c
4,438
ml
OCaml
labmap.ml
RBornat/Arsenic
e8fc9bca7ed666ab1c61c4c8ed0ca3a71d0b8a20
[ "MIT" ]
null
null
null
labmap.ml
RBornat/Arsenic
e8fc9bca7ed666ab1c61c4c8ed0ca3a71d0b8a20
[ "MIT" ]
null
null
null
labmap.ml
RBornat/Arsenic
e8fc9bca7ed666ab1c61c4c8ed0ca3a71d0b8a20
[ "MIT" ]
null
null
null
open Tuple open Sourcepos open Option open Listutils open Name open Formula open Com open Knot (* This file is part of Arsenic, a proofchecker for New Lace logic. Copyright (c) 2015 Richard Bornat. Licensed under the MIT license (sic): see LICENCE.txt or https://opensource.org/licenses/MIT *) type scloc =...
31.034965
85
0.607256
bc345c347b18601dd75dcc181a14083675e8156a
1,262
mli
OCaml
presentations/coq-workshop-2014-coq/printing/ppannotation.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
presentations/coq-workshop-2014-coq/printing/ppannotation.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
presentations/coq-workshop-2014-coq/printing/ppannotation.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2015 *) (* \VV/ **************************************************************) (* // * Th...
37.117647
74
0.544374
aaf42fb0de30993f07d7b623553fb347266374f8
17,265
ml
OCaml
src/hack_forked/utils/sys/timeout.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/hack_forked/utils/sys/timeout.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/hack_forked/utils/sys/timeout.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
2,338
2015-01-05T03:28:26.000Z
2022-03-26T20:40:56.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. *) exception Timeout of int (* The IDs are used to tell the difference between timeout A timing out and timeout B timing out. * So t...
31.108108
102
0.634463
170268961c04b423991b6c3ba9ef9f1a2b9f68f7
1,736
ml
OCaml
hphp/hack/src/typing/tast_check/abstract_class_check.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/abstract_class_check.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/abstract_class_check.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2018, 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 Aast open Core_kernel module Env = Tast_env module Cls = Decl_provider.Class module SN = Naming_special_names ...
26.707692
76
0.682604
17100038ac48df54f530842d47410092b2369035
3,414
ml
OCaml
test/passing/extensions.ml
CraigFe/ocamlformat
ce9e53933cf80fe164bc12dac31913d33b0f6e3d
[ "MIT" ]
null
null
null
test/passing/extensions.ml
CraigFe/ocamlformat
ce9e53933cf80fe164bc12dac31913d33b0f6e3d
[ "MIT" ]
null
null
null
test/passing/extensions.ml
CraigFe/ocamlformat
ce9e53933cf80fe164bc12dac31913d33b0f6e3d
[ "MIT" ]
null
null
null
let () = [%ext expr] ; () let _ = (match%ext x with () -> ()) [@attr y] let _ = match%ext x with () -> let y = [%test let x = y] in let%test x = d in d val f : compare:[%compare : 'a] -> sexp_of:[%sexp_of : 'a] -> t let invariant t = Invariant.invariant [%here] t [%sexp_of : t] (fun () -> asse...
17.874346
72
0.594025
170707905ec6d54388ef4febd348e64981626a7e
32,245
ml
OCaml
hphp/hack/src/typing/typing_extends.ml
Raulkumar/hhvm
dfc1a50aff4d3a1df508c685fee401262e530879
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_extends.ml
Raulkumar/hhvm
dfc1a50aff4d3a1df508c685fee401262e530879
[ "PHP-3.01", "Zend-2.0" ]
2
2020-10-11T22:54:12.000Z
2021-07-20T22:12:10.000Z
hphp/hack/src/typing/typing_extends.ml
Jankyboy/hhvm
afae3b129fe51c74d9c169254d1755eec4cb0940
[ "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. * *) (*****************************************************************************) (* Checks that a class implements an...
35.087051
85
0.655823
17202c92d2f358937d70bbe80fa452fb973610d8
15,907
mll
OCaml
parser/lexer.mll
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
1
2019-12-31T01:08:13.000Z
2019-12-31T01:08:13.000Z
parser/lexer.mll
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
null
null
null
parser/lexer.mll
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "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. *) (* The lexer is heavily based on https://github.com/jeremybuisson/ocaml-pythonlib/tree/master/src. "Ported" to menhir and made more co...
33.208768
97
0.615138
aa841fb54ca24487ef88312c197e7c24b67412f2
80,394
ml
OCaml
duniverse/uucp/src/uucp_case_fold_data.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
duniverse/uucp/src/uucp_case_fold_data.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
duniverse/uucp/src/uucp_case_fold_data.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2020 The uucp programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) (* WARNING do not edit. ...
64.991108
79
0.583315
aaf20b3b44dceff426bfa08c8b21ebcac009f2f4
2,683
ml
OCaml
src/lib_base/lwt_exit.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_base/lwt_exit.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_base/lwt_exit.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
1
2021-06-04T09:31:48.000Z
2021-06-04T09:31:48.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
53.66
79
0.487514
aaee7beeef6b615291f1a44b5c4d2ec66832731d
235
mli
OCaml
infer/src/quandary/JavaTaintAnalysis.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
4
2021-11-19T02:07:46.000Z
2022-03-24T06:03:50.000Z
infer/src/quandary/JavaTaintAnalysis.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2021-04-05T15:19:58.000Z
2021-12-16T04:22:26.000Z
infer/src/quandary/JavaTaintAnalysis.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2019-04-26T02:27:43.000Z
2019-04-26T02:27:43.000Z
(* * Copyright (c) 2017-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 val checker : Callbacks.proc_callback_t
21.363636
66
0.72766
aac0a6e92443f605821e875a98de448ba9f856dd
11,832
ml
OCaml
hphp/hack/src/facts/symbols/indexBuilder.ml
efiks/hhvm
bf7b5ffc1d87b90e5a1cdf84ff9e936b4634a822
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/facts/symbols/indexBuilder.ml
efiks/hhvm
bf7b5ffc1d87b90e5a1cdf84ff9e936b4634a822
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/facts/symbols/indexBuilder.ml
efiks/hhvm
bf7b5ffc1d87b90e5a1cdf84ff9e936b4634a822
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * 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. * *) open Core_kern...
31.72118
89
0.637086
aadb32dc8e8f69a2fbe03f5e3d4bca2fba66189c
7,978
ml
OCaml
hphp/hack/src/typing/tast_env.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_env.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_env.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2018, 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 Aast (** {!Tast_env.env} is just an alias to {!Typing_env.env}, and the functions we provi...
28.492857
80
0.769491
aaf4c980d446e9025364cb9f8ef7cff25c8be952
14,035
mli
OCaml
lib/oS.mli
winux138/mirage-xen
3f19ae991eae5a285c3f4761a214c7ca6eac3659
[ "0BSD" ]
18
2018-03-12T19:26:13.000Z
2022-03-27T14:24:34.000Z
lib/oS.mli
winux138/mirage-xen
3f19ae991eae5a285c3f4761a214c7ca6eac3659
[ "0BSD" ]
26
2018-03-12T19:24:14.000Z
2022-03-30T09:27:18.000Z
lib/oS.mli
winux138/mirage-xen
3f19ae991eae5a285c3f4761a214c7ca6eac3659
[ "0BSD" ]
18
2018-03-16T20:12:04.000Z
2022-03-27T14:07:33.000Z
(* * Copyright (c) 2010 Anil Madhavapeddy <anil@recoil.org> * Copyright (C) 2012-2014 Citrix Inc * * 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. ...
38.242507
98
0.665693
bc46421369d829e35692719b67ba5444f50ac351
535
ml
OCaml
text.ml
icefoxen/games-spitting-camel
648405756d364b591e1645c10f2efb4bd175f3a9
[ "MIT" ]
null
null
null
text.ml
icefoxen/games-spitting-camel
648405756d364b591e1645c10f2efb4bd175f3a9
[ "MIT" ]
null
null
null
text.ml
icefoxen/games-spitting-camel
648405756d364b591e1645c10f2efb4bd175f3a9
[ "MIT" ]
null
null
null
(* text.ml *) open Sdlvideo;; (* Text.ure Oh, I kill me. XXX: This uses SDL colors, where the rest of the universe uses opengl colors Also, it doesn't return a texture with dimensions equal to powers of two, which makes life more interesting. *) let ure txt font col = let i = Sdlttf.render_text_solid ...
25.47619
79
0.699065
170d737e823e6e284fc879bf28cc523fe9ea1963
1,975
ml
OCaml
src/c.ml
zshipko/ocaml-hiredis
a971d0093effed20869a8e701fd3e5e56bc938b1
[ "0BSD" ]
8
2017-07-18T14:36:51.000Z
2021-07-08T19:33:54.000Z
src/c.ml
zshipko/ocaml-hiredis
a971d0093effed20869a8e701fd3e5e56bc938b1
[ "0BSD" ]
1
2018-04-24T05:02:49.000Z
2018-04-24T14:25:02.000Z
src/c.ml
zshipko/ocaml-hiredis
a971d0093effed20869a8e701fd3e5e56bc938b1
[ "0BSD" ]
1
2021-07-08T20:32:33.000Z
2021-07-08T20:32:33.000Z
type t = Hiredis_value.t type status = | OK | ERR of string option type context external redis_context_errstr : context -> string option = "redis_context_errstr" external redis_context_to_fd : context -> Unix.file_descr = "redis_context_to_fd" external redis_context_of_fd : Unix.file_descr -> context = "redis...
58.088235
106
0.803038
44de8b5bec44b3774249bca1ae004dbd48674010
460
mli
OCaml
src/dune_rules/coq_mode.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
src/dune_rules/coq_mode.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
src/dune_rules/coq_mode.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
(* This file is licensed under The MIT License *) (* (c) MINES ParisTech 2018-2019 *) (* (c) INRIA 2020 *) (* Written by: Emilio Jesús Gallego Arias *) (* Legacy is used to signal that we are in a mode prior to Coq syntax 0.3 , where mode was not supported, this allows us ...
30.666667
75
0.619565
aaea4dbfd7d65ee6f1a1c798ae064a465bc1f75f
3,771
ml
OCaml
vendor/ocaml-lsp-1.4.0/lsp/src/server_request.ml
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
vendor/ocaml-lsp-1.4.0/lsp/src/server_request.ml
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
vendor/ocaml-lsp-1.4.0/lsp/src/server_request.ml
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
open Import open Types type _ t = | WorkspaceApplyEdit : ApplyWorkspaceEditParams.t -> ApplyWorkspaceEditResponse.t t | WorkspaceFolders : WorkspaceFolder.t list t | WorkspaceConfiguration : ConfigurationParams.t -> Json.t list t | ClientRegisterCapability : RegistrationParams.t -> unit t | Clien...
41.43956
79
0.736675
aa628954d46b3747665926a9d5a8c12b674a51d0
2,515
ml
OCaml
src/algolib/mathmat/maths.ml
ref-humbold/AlgoLib_OCaml
1c400d77f8c4f7cb8c57ef195992cb9c542c4929
[ "Apache-2.0" ]
null
null
null
src/algolib/mathmat/maths.ml
ref-humbold/AlgoLib_OCaml
1c400d77f8c4f7cb8c57ef195992cb9c542c4929
[ "Apache-2.0" ]
null
null
null
src/algolib/mathmat/maths.ml
ref-humbold/AlgoLib_OCaml
1c400d77f8c4f7cb8c57ef195992cb9c542c4929
[ "Apache-2.0" ]
null
null
null
(* Algorithms for basic mathematical computations *) let gcd number1 number2 = let rec gcd' n1 n2 = if n1 < n2 then gcd' n2 n1 else if n2 = 0 then n1 else gcd' n2 (n1 mod n2) in gcd' (abs number1) (abs number2) let ( **/ ) = gcd let lcm number1 number2 = let lcm' n1 n2 = max n1 n2 / (n1 **/ n2) * min n1 n2 in ...
30.301205
100
0.619085
bce699848d607735435f5a75ffbc3f6578d51e51
1,778
ml
OCaml
src/app/cli/src/tests/coda_long_fork.ml
Kida007/mina
dbe93a1078a29a1b821c1e9f7e4412fcc6c820b8
[ "Apache-2.0" ]
1
2021-01-13T20:18:30.000Z
2021-01-13T20:18:30.000Z
src/app/cli/src/tests/coda_long_fork.ml
yusuftrl/mina
42bbe89e0e84366fd1673672750eb6041462e449
[ "Apache-2.0" ]
null
null
null
src/app/cli/src/tests/coda_long_fork.ml
yusuftrl/mina
42bbe89e0e84366fd1673672750eb6041462e449
[ "Apache-2.0" ]
null
null
null
open Core open Async let name = "coda-long-fork" let main n waiting_time () = let precomputed_values = (* TODO: Load for this specific test. *) Lazy.force Precomputed_values.compiled in let consensus_constants = precomputed_values.consensus_constants in let logger = Logger.create () in let public_ke...
34.862745
78
0.73622
aa9032d6b7824c19e71c61ecf2b6cc76efdf38e1
435
mli
OCaml
infer/src/npex/SpecCheckerSummary.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/npex/SpecCheckerSummary.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/npex/SpecCheckerSummary.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
open! IStd module Domain = SpecCheckerDomain type t type get_summary = Procname.t -> t option val pp : Format.formatter -> t -> unit val empty : t val resolve_summary : Domain.t -> actual_values:Domain.Val.t list -> callee_pdesc:Procdesc.t -> t -> Domain.t list val to_summary : Procdesc.t -> Domain.t list -> t v...
20.714286
114
0.710345
aaede11a84dd11d1fb76b30ade6664c91d88ccaf
254
mli
OCaml
libraries/elasticache/lib/authorizeCacheSecurityGroupIngress.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/elasticache/lib/authorizeCacheSecurityGroupIngress.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/elasticache/lib/authorizeCacheSecurityGroupIngress.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = AuthorizeCacheSecurityGroupIngressMessage.t type output = AuthorizeCacheSecurityGroupIngressResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
23.090909
85
0.80315
4458bfd9202f8c613f0f379965b46ffdf1c08e05
6,445
mli
OCaml
hphp/hack/src/providers/naming_provider.mli
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/naming_provider.mli
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "PHP-3.01", "Zend-2.0" ]
2
2020-10-11T22:54:12.000Z
2021-07-20T22:12:10.000Z
hphp/hack/src/providers/naming_provider.mli
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "PHP-3.01", "Zend-2.0" ]
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 "hack" directory of this source tree. * *) (** Determine whether a global constant with the given name is declared in the reverse naming table. *) val const_exists : Pro...
41.050955
80
0.757797
aacea70fc223e2d681f92dcf5255d0d3d3500f91
16,090
ml
OCaml
hphp/hack/src/server/serverHover.ml
jsoref/hhvm
2bd80a8909496b70cac45bb6b28b5d662176477f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverHover.ml
jsoref/hhvm
2bd80a8909496b70cac45bb6b28b5d662176477f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverHover.ml
jsoref/hhvm
2bd80a8909496b70cac45bb6b28b5d662176477f
[ "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. * *) open Hh_prelude open HoverService module SN = Naming_special_names (** When we get a Class occurrence and a Method ...
38.677885
184
0.644127
171bd68c7fd46608e2d8a6ea433b9b45483db1e2
995
ml
OCaml
examples/benchmarks/kalman/ds_bounded/run.ml
eric93/probzelus
cbbb17fcdcb1cccd4140f32ff4dde8400c16e501
[ "Apache-2.0" ]
36
2019-12-17T15:31:06.000Z
2022-03-30T18:29:47.000Z
examples/benchmarks/kalman/ds_bounded/run.ml
eric93/probzelus
cbbb17fcdcb1cccd4140f32ff4dde8400c16e501
[ "Apache-2.0" ]
2
2021-01-16T08:45:07.000Z
2021-02-04T20:33:42.000Z
examples/benchmarks/kalman/ds_bounded/run.ml
eric93/probzelus
cbbb17fcdcb1cccd4140f32ff4dde8400c16e501
[ "Apache-2.0" ]
6
2019-12-29T18:23:15.000Z
2021-05-26T09:24:25.000Z
(* * Copyright 2018-2020 IBM Corporation * * 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 by applicable law or agree...
30.151515
84
0.717588
bcee3c9b7f178a2e64a14b2c50be9fe0e21590fe
907
ml
OCaml
data/seminal/20060305-22:14:52-12016d8b3cdc445959e85885bbc00c77.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/seminal/20060305-22:14:52-12016d8b3cdc445959e85885bbc00c77.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/seminal/20060305-22:14:52-12016d8b3cdc445959e85885bbc00c77.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
3
2016-10-11T21:36:24.000Z
2021-12-08T21:52:40.000Z
let rec reverseHelp place str = let revStr = Char.escaped str.[place] in let currPlace = place - 1 in if place > 0 then revStr ^ reverseHelp currPlace str else revStr let reverse str = let strLen = String.length str in let place = strLen - 1 in reverseHelp place str let rec...
20.155556
52
0.603087
bca74bb0eefde1a06ce2f47ffa371e2143dcf7e7
5,384
ml
OCaml
src/OCaml/cryptokit-1.9/test/speedtest.ml
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/OCaml/cryptokit-1.9/test/speedtest.ml
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/OCaml/cryptokit-1.9/test/speedtest.ml
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
(***********************************************************************) (* *) (* The Cryptokit library *) (* *) (* Xavier Ler...
46.017094
178
0.653046
1719e64db8ee6185503b7cdb0e3b75a264a504c8
10,905
ml
OCaml
src/dune/install.ml
progman1/dune
e937feef4fb03d83bd551489420a557a5a6fc1c0
[ "MIT" ]
4
2020-02-04T15:33:29.000Z
2020-02-04T21:37:09.000Z
src/dune/install.ml
samoht/dune-mirage
bb2300c1859c452a4140fa33e3afb3c6b755350c
[ "MIT" ]
null
null
null
src/dune/install.ml
samoht/dune-mirage
bb2300c1859c452a4140fa33e3afb3c6b755350c
[ "MIT" ]
null
null
null
open! Stdune open Import module Section0 = struct type t = | Lib | Lib_root | Libexec | Libexec_root | Bin | Sbin | Toplevel | Share | Share_root | Etc | Doc | Stublibs | Man | Misc let compare : t -> t -> Ordering.t = Poly.compare let to_dyn _ = Dyn.opaq...
26.34058
80
0.569188
bcc25b297ca6f219342f1a64e41fe49f151dc95e
2,600
mli
OCaml
src_ocaml/ptree.mli
dsksh/hysia
5c3dd4d1b0e3946ad7a7a81e0b7c83154e69a71c
[ "MIT" ]
null
null
null
src_ocaml/ptree.mli
dsksh/hysia
5c3dd4d1b0e3946ad7a7a81e0b7c83154e69a71c
[ "MIT" ]
null
null
null
src_ocaml/ptree.mli
dsksh/hysia
5c3dd4d1b0e3946ad7a7a81e0b7c83154e69a71c
[ "MIT" ]
1
2019-07-31T10:21:01.000Z
2019-07-31T10:21:01.000Z
type loc = Lexing.position * Lexing.position type pval = PVint of Interval.t | PVrandom of float type param = loc * (string * pval) type id = loc * Model_common.ident type lid = loc * Model_common.ident type expr = loc * expr_node and expr_node = Pvar of Model_common.ident | Pint of int | Pval of Interval.t |...
40.625
68
0.64
172ceb5b9e84709c80440dad638e8f8f7f8c76c7
2,597
ml
OCaml
src/mirage-tls/logs_syslog_mirage_tls.ml
hannesm/logs-syslog
d67d478078a4c5bbf285d9386ece8d3340583dff
[ "0BSD" ]
9
2016-10-15T17:41:56.000Z
2021-12-19T16:47:57.000Z
src/mirage-tls/logs_syslog_mirage_tls.ml
hannesm/logs-syslog
d67d478078a4c5bbf285d9386ece8d3340583dff
[ "0BSD" ]
11
2016-11-12T18:26:43.000Z
2019-08-02T07:32:23.000Z
src/mirage-tls/logs_syslog_mirage_tls.ml
hannesm/logs-syslog
d67d478078a4c5bbf285d9386ece8d3340583dff
[ "0BSD" ]
2
2016-12-14T22:27:31.000Z
2017-08-03T15:04:56.000Z
module Tls (C : Mirage_console.S) (CLOCK : Mirage_clock.PCLOCK) (STACK : Tcpip.Stack.V4V6) (KV : Mirage_kv.RO) = struct open Lwt.Infix open Logs_syslog module TCP = STACK.TCP module TLS = Tls_mirage.Make(TCP) module X509 = Tls_mirage.X509(KV)(CLOCK) let create c stack kv ?keyname ~hostname dst ?(port = 65...
36.069444
119
0.58144
1707a0ec7f555b8566b0512d87833527edabf9e7
1,949
mli
OCaml
CodeHawk/CHJ/jchpre/jCHMethodInfo.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHJ/jchpre/jCHMethodInfo.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHJ/jchpre/jCHMethodInfo.mli
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Java Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2020 Kestrel Technology LLC Permission is hereby grante...
42.369565
87
0.685993
aabea9511302ea3e70c0c9ee235aa6f65a7cdeeb
1,298
ml
OCaml
src/star_syntax.ml
arkinjo/PDBjTk3
483730cb9d0784aeaa6922938abb316698dcf601
[ "MIT" ]
null
null
null
src/star_syntax.ml
arkinjo/PDBjTk3
483730cb9d0784aeaa6922938abb316698dcf601
[ "MIT" ]
null
null
null
src/star_syntax.ml
arkinjo/PDBjTk3
483730cb9d0784aeaa6922938abb316698dcf601
[ "MIT" ]
null
null
null
(* data name is preceded by '_' *) type data_name = Underscore of string type data_value = Non_quoted_text_string of string | Single_quoted_text_string of string | Double_quoted_text_string of string | Semi_colon_bounded_text_string of string | Frame_code of string (* loop_ *) type data_loop_item = ...
27.041667
66
0.760401
aa80169ef411b8abe9073d1fa4c071a75ab7a1ec
5,276
mli
OCaml
src/html/html_generator.mli
bryphe/odoc
3e1aa0450a53585a93a3336fb5d53e03f845c736
[ "ISC" ]
null
null
null
src/html/html_generator.mli
bryphe/odoc
3e1aa0450a53585a93a3336fb5d53e03f845c736
[ "ISC" ]
null
null
null
src/html/html_generator.mli
bryphe/odoc
3e1aa0450a53585a93a3336fb5d53e03f845c736
[ "ISC" ]
null
null
null
module Location = Model.Location_ module Paths = Model.Paths module Comment = Model.Comment module Lang = Model.Lang module Html = Tyxml.Html open Utils (** Utility types and functions *) type rendered_item = Html_types.div_content Html.elt list (* [rendered_item] should really be [dt_content], but that is bugge...
23.981818
89
0.653146
aaf677457a459a8239eea3959323b8ca7a9f62f1
397
ml
OCaml
tests/reproducibility/list_rev_snoc.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
null
null
null
tests/reproducibility/list_rev_snoc.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
null
null
null
tests/reproducibility/list_rev_snoc.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
2
2019-12-01T20:38:39.000Z
2020-12-15T11:43:21.000Z
type nat = | O | S of nat type list = | Nil | Cons of nat * list let snoc : list -> nat -> list = let rec f (l:list) : nat -> list = fun (n:nat) -> match l with | Nil -> Cons (n, Nil) | Cons (x, xs) -> Cons (x, f xs n) in f ;; let list_rev_snoc : list -> list |> { [] => [] |...
15.269231
40
0.403023
aa2a73c630559978ee61716170642d5871960efc
8,094
ml
OCaml
ocaml-sources/middle_end/flambda/ref_to_variables.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/middle_end/flambda/ref_to_variables.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/middle_end/flambda/ref_to_variables.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
40.47
80
0.553744
aadfaf192b74139f70e3f33bbc3c56a6c4567c0a
135
ml
OCaml
data/derived/comb/progs/unify/prog2498.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/prog2498.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2498.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec digitsOfInt n = let ns = [] in match n with | 0 -> ns | n -> if n < 0 then [] else [n mod 10; digitsOfInt (n / 10)];;
19.285714
65
0.525926
aa0b06a157c196a363ca43613777f6314a92bfe7
1,222
mli
OCaml
hphp/hack/src/monitor/serverMonitor.mli
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "PHP-3.01", "Zend-2.0" ]
1
2021-05-15T22:07:47.000Z
2021-05-15T22:07:47.000Z
hphp/hack/src/monitor/serverMonitor.mli
seanwallawalla-forks/hhvm
4685a57b633609727c9755efe6d647aebf91ea77
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/monitor/serverMonitor.mli
seanwallawalla-forks/hhvm
4685a57b633609727c9755efe6d647aebf91ea77
[ "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 Make_monitor (SC : ServerMonitorUtils.Server_config) (Informant : Informant_sig.S) : sig type t ...
28.418605
76
0.706219
bce9c3dfcb4293cc83de6b82e8c4568c6e572a2d
13,493
mly
OCaml
src/parsing/parser.mly
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
null
null
null
src/parsing/parser.mly
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
null
null
null
src/parsing/parser.mly
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
1
2020-11-06T07:37:00.000Z
2020-11-06T07:37:00.000Z
%{ open SugaredSyntax open CoreUtils type handler_clause = | EffectClause of effect * abstraction2 | ReturnClause of abstraction | FinallyClause of abstraction let collect_handler_clauses clauses = let (eff_cs, val_cs, fin_cs) = List.fold_left (fun (eff_cs, val_cs, fin_cs) clause...
25.652091
99
0.609205
aa462c81ed83a5b34f7d1f30b5272d4f8f8f72a1
4,683
ml
OCaml
eval/sherrloc/easyocaml++/asmcomp/arm/selection.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/asmcomp/arm/selection.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/asmcomp/arm/selection.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
35.210526
76
0.550075
aae05aee020b92053dc3b0db24a2b1b02d718725
3,355
ml
OCaml
raft/election.ml
heidihoward/coracle
3c8fafd4e9b3d92269a5669390de54fc38c210f2
[ "MIT" ]
null
null
null
raft/election.ml
heidihoward/coracle
3c8fafd4e9b3d92269a5669390de54fc38c210f2
[ "MIT" ]
null
null
null
raft/election.ml
heidihoward/coracle
3c8fafd4e9b3d92269a5669390de54fc38c210f2
[ "MIT" ]
1
2020-11-21T13:25:50.000Z
2020-11-21T13:25:50.000Z
open Common open Rpcs open Io open State open Util let reply term yes = let open RequestVoteRes in RVR { term=term; votegranted=yes; } (* process incoming RequestVotes RPC *) let receive_vote_request id (pkt:RequestVoteArg.t) (state:State.t) (global:Global.t) = let global = Global.update (`RV `ARG...
33.217822
91
0.682265
aa34022b9c040db57b00df1fa733d859f5dd172f
249
mli
OCaml
sudoku_solver_inez/src/sudoku_entry.mli
jgaltidor/sudoku_solver_service_inez
b38b0cc8d1cf7311eea184c18e9bd63fe9bf0c11
[ "Apache-2.0" ]
null
null
null
sudoku_solver_inez/src/sudoku_entry.mli
jgaltidor/sudoku_solver_service_inez
b38b0cc8d1cf7311eea184c18e9bd63fe9bf0c11
[ "Apache-2.0" ]
null
null
null
sudoku_solver_inez/src/sudoku_entry.mli
jgaltidor/sudoku_solver_service_inez
b38b0cc8d1cf7311eea184c18e9bd63fe9bf0c11
[ "Apache-2.0" ]
null
null
null
open Core.Std (** Type representing board entry **) type t = Blank | Num of int val entry_of_num : int -> t val string_of_entry : t -> string val equals : t -> t -> bool val is_blank : t -> bool val is_num : t -> bool val to_num : t -> int
13.105263
37
0.630522
aa29341732bbbdb070ccafa96911210041b88539
222
ml
OCaml
src/c/generate_types.ml
funatsufumiya/okeyfum
216d6114ce90142c283401218dce7820223a932b
[ "MIT" ]
7
2016-10-17T04:35:08.000Z
2021-07-29T23:55:11.000Z
src/c/generate_types.ml
funatsufumiya/okeyfum
216d6114ce90142c283401218dce7820223a932b
[ "MIT" ]
3
2016-10-20T01:54:53.000Z
2016-10-21T06:31:04.000Z
src/c/generate_types.ml
funatsufumiya/okeyfum
216d6114ce90142c283401218dce7820223a932b
[ "MIT" ]
4
2018-02-17T10:43:13.000Z
2021-07-30T02:06:15.000Z
let () = print_endline "#include <linux/input.h>"; print_endline "#include <fcntl.h>"; print_endline "#include <linux/uinput.h>"; Cstubs.Types.write_c Format.std_formatter (module Okeyfum_c_type_description.Types)
37
85
0.747748
aaf21ed2dee727a404de5a977ca81cb8e15f5880
85,319
ml
OCaml
hlvm.ml
Tipoca/hlvm
5b6fe8d1ce95d5cfc130dd0e56f0f36bae9b2e0d
[ "BSD-2-Clause" ]
33
2015-03-01T10:07:39.000Z
2021-08-21T14:31:38.000Z
hlvm.ml
jdh30/hlvm
26c9476cb766f83b46afb6428080c469cab7486c
[ "BSD-2-Clause" ]
null
null
null
hlvm.ml
jdh30/hlvm
26c9476cb766f83b46afb6428080c469cab7486c
[ "BSD-2-Clause" ]
4
2017-05-22T16:19:38.000Z
2020-09-10T20:49:41.000Z
(** High-Level Virtual Machine (HLVM). The design and implementation of this high-performance garbage collected virtual machine is described in detail in the OCaml Journal articles "Building a Virtual Machine with LLVM" from January to March 2009. *) open Printf open Llvm open Llvm_executionengine open Ll...
33.550531
88
0.613462
aad7687e884e07cee1411aef2ea4138a7a9ce7c9
1,733
mli
OCaml
CodeHawk/CHB/bchcil/bCHBCWriteXml.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
2
2019-12-05T18:50:53.000Z
2019-12-07T18:47:44.000Z
CodeHawk/CHB/bchcil/bCHBCWriteXml.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
1
2020-03-04T05:04:37.000Z
2020-03-04T05:04:37.000Z
CodeHawk/CHB/bchcil/bCHBCWriteXml.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
1
2019-12-05T18:51:24.000Z
2019-12-05T18:51:24.000Z
(* ============================================================================= CodeHawk Binary Analyzer C Parser using CIL Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2021-2022 Aarno Labs LLC Permission is ...
44.435897
83
0.658396
bcf2704dd163bb7db6887833f3d3f0bd1e77ad8e
897
ml
OCaml
src/85_parser/mixed_voINS.ml
Burlyaev/bit-marker
2c0aadcb18f6f6e2dfe62f69dd61a78d8d14c1f1
[ "MIT" ]
null
null
null
src/85_parser/mixed_voINS.ml
Burlyaev/bit-marker
2c0aadcb18f6f6e2dfe62f69dd61a78d8d14c1f1
[ "MIT" ]
null
null
null
src/85_parser/mixed_voINS.ml
Burlyaev/bit-marker
2c0aadcb18f6f6e2dfe62f69dd61a78d8d14c1f1
[ "MIT" ]
null
null
null
(*Mixed voter-insertion algorithm*) let k_hops=1;; (* let find_MIXed filename k_hops= *) let graphSstruct= build_graph_MEM filename ;; let graph= fst graphSstruct ;; (* 1) find cycles *) let min_V_struct= minVS curDir filename;; let min_vo_lst= fst min_V_struct;; (* 2) introduce voters to the output of 1) *) let vo...
28.935484
136
0.721293
aa57630d856c5987b7e8727dac633032cb16e408
12,486
mli
OCaml
upstream/ocaml_404/typing/env.mli
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
upstream/ocaml_404/typing/env.mli
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
upstream/ocaml_404/typing/env.mli
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
38.656347
80
0.659619
bc18725d584b6c9219794cabeaa371577d7ba9c0
6,592
ml
OCaml
src/common/flowExitStatus.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
src/common/flowExitStatus.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
src/common/flowExitStatus.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
1
2018-01-18T10:09:27.000Z
2018-01-18T10:09:27.000Z
type t = (* Signaled *) | Interrupted (* The generic 0 exit code *) | No_error (* Killed by Windows task manage *) | Windows_killed_by_task_manager (* There are flow errors *) | Type_error (* A command with a timeout timed out *) | Out_of_time (* Failed to kill a server *) | Kill_error (* The ...
30.238532
84
0.688562
aa9df4f8e2be2a74c10b81dee8e38c7676ea8102
297
ml
OCaml
data/derived/comb/progs/unify/prog6482.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/prog1642.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1642.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let removeDuplicates l = let rec helper (seen,rest) = match rest with | [] -> seen | h::t -> let x = List.mem h seen in if x then helper (seen, t) else (let seen' = seen @ h in let rest' = t in helper (seen', rest')) in List.rev (helper ([], l));;
24.75
80
0.515152
aada1d04474d3804a907747f72ac65b39d5d7d53
36,100
ml
OCaml
lib/bap_main/bap_main.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
lib/bap_main/bap_main.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
lib/bap_main/bap_main.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
(* Base kills exn, so we have to do it before opening *) type error = exn = .. open Base open Stdio open Bap_future.Std open Bap_plugins.Std open Bap_bundle.Std module Format = Stdlib.Format module Digest = Stdlib.Digest module Filename = Stdlib.Filename module Sys = Stdlib.Sys let fail fmt = Printf.ksprintf invalid...
30.515638
81
0.597341
17116d59a937625315ab44a643850007dadb4ded
5,005
ml
OCaml
src/lib_signer_backends/test/test_encrypted.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/lib_signer_backends/test/test_encrypted.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/lib_signer_backends/test/test_encrypted.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* Copyright (c) 2014 - 2018. *) (* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) (* ...
37.631579
96
0.674725
bccc995298749021852b8635b4fb0ec7ab379a6b
1,882
mli
OCaml
infer/src/bufferoverrun/bufferOverrunProofObligations.mli
jhonpj/infer
01a83e694b2c55e240753cf1dfa5237faf4472f8
[ "MIT" ]
1
2018-11-10T08:04:26.000Z
2018-11-10T08:04:26.000Z
infer/src/bufferoverrun/bufferOverrunProofObligations.mli
jhonpj/infer
01a83e694b2c55e240753cf1dfa5237faf4472f8
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunProofObligations.mli
jhonpj/infer
01a83e694b2c55e240753cf1dfa5237faf4472f8
[ "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! IStd open! AbstractDomain.Types module ItvPure = Itv.ItvPure module Relation = BufferOverrunDomainRelation module ValTraceSet = Buf...
22.95122
130
0.666312
aa739fe189f1c0e1f390688107b340e45d318393
7,720
ml
OCaml
src/qd/rfc_ocaml_compiler.ml
project-everest/everparse
a08385d5d7cc29377f7a0641cc6175d65d4b56b5
[ "Apache-2.0" ]
148
2019-04-24T00:58:37.000Z
2022-03-23T22:43:57.000Z
src/qd/rfc_ocaml_compiler.ml
project-everest/everparse
a08385d5d7cc29377f7a0641cc6175d65d4b56b5
[ "Apache-2.0" ]
43
2019-08-03T01:02:55.000Z
2022-02-08T21:01:34.000Z
src/qd/rfc_ocaml_compiler.ml
project-everest/quackyducky
e7227152dfade6cb4f0adf7dc03816273c0ef4e0
[ "Apache-2.0" ]
3
2019-12-13T20:45:19.000Z
2021-05-14T02:04:23.000Z
open Printf open Rfc_ast let fst_module_name = ref "" let fst_libs = ref (sprintf "%s\n%s\n%s\n%s\n%s\n%s" "open FStar.Heap" "open FStar.HyperHeap" "open FStar.Seq" "open FStar.UInt8" "open FStar.ImmBuffer" "open FStar.Format" ) let qd_anon_prefix = "QD_ANONYMOUS_" let qd_anon_counter = ref 0 let qd_bad_names ...
35.740741
88
0.585233
1710a73818497fb8ea265409bd658a231051846b
120
ml
OCaml
benchmarks/iter/iter1/submissions/sub3.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
10
2018-11-06T00:08:12.000Z
2019-12-05T11:05:16.000Z
benchmarks/iter/iter1/submissions/sub3.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
null
null
null
benchmarks/iter/iter1/submissions/sub3.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
2
2020-02-06T14:59:50.000Z
2022-03-16T19:25:43.000Z
let rec iter : int * (int -> int) -> (int -> int) = fun (n,f) -> if n = 1 then f else fun x -> (f (iter((n-1), f) x));;
40
69
0.466667
17096973b9e8987704aaf9a5ace18967afe4ce8f
2,244
mli
OCaml
src/lib_info.mli
sinancepel/dune
4c659dce13f982736a24952bd29172b4c21440c4
[ "MIT" ]
null
null
null
src/lib_info.mli
sinancepel/dune
4c659dce13f982736a24952bd29172b4c21440c4
[ "MIT" ]
null
null
null
src/lib_info.mli
sinancepel/dune
4c659dce13f982736a24952bd29172b4c21440c4
[ "MIT" ]
null
null
null
(** {1 Raw library descriptions} *) open Stdune module Status : sig type t = | Installed | Public of Package.t | Private of Dune_project.Name.t val pp : t Fmt.t val is_private : t -> bool end module Deps : sig type t = | Simple of (Loc.t * Lib_name.t) list | Complex of Dune_file.Lib_d...
27.365854
80
0.617647
172f21a15ca8d57761ec9e538381f91df169a0dc
1,581
ml
OCaml
test/re/test_re.ml
regex-generate/regenerate
a616d6c2faf4a55f794ac9b6fbf03acca91fbeb9
[ "0BSD" ]
12
2018-06-20T17:39:25.000Z
2022-01-01T18:48:59.000Z
test/re/test_re.ml
regex-generate/regenerate
a616d6c2faf4a55f794ac9b6fbf03acca91fbeb9
[ "0BSD" ]
2
2018-12-10T12:21:20.000Z
2021-10-09T14:29:52.000Z
test/re/test_re.ml
regex-generate/regenerate
a616d6c2faf4a55f794ac9b6fbf03acca91fbeb9
[ "0BSD" ]
1
2020-02-28T11:18:54.000Z
2020-02-28T11:18:54.000Z
let () = Printexc.record_backtrace true (* Turn a regular expression from Regenerate into an Re one. *) let rec to_re = let open Regenerate.Regex in function | One -> Re.epsilon | Set (true, l) -> Re.set @@ CCString.of_list l | Set (false, l) -> Re.compl [Re.set @@ CCString.of_list l] | Seq (re, re') -> Re.seq...
35.931818
77
0.637571
170f306d82539a62e503a1f095f2c0e4b4ccec82
1,708
mli
OCaml
test_native/_opam/lib/ocaml/compiler-libs/branch_relaxation.mli
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2020-09-24T05:03:32.000Z
2020-09-24T05:03:32.000Z
test_native/_opam/lib/ocaml/compiler-libs/branch_relaxation.mli
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/lib/ocaml/compiler-libs/branch_relaxation.mli
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
56.933333
77
0.407494
aaeca783036878d400c91d196fd43a0d2706db44
1,391
ml
OCaml
analysis/test/integration/importTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
1
2019-05-07T15:03:58.000Z
2019-05-07T15:03:58.000Z
analysis/test/integration/importTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
null
null
null
analysis/test/integration/importTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "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_imports _ = assert_type_errors {| import durp |} ["Undefined import [2...
22.803279
87
0.620417
aaf64a32e0ca75d6faf9c643ecf71e03b31b6c0a
122
ml
OCaml
common/next_action.ml
smithjessk/todd
f722831c5a9baf75e57bf9b35699174b9f3f8c65
[ "BSD-3-Clause" ]
null
null
null
common/next_action.ml
smithjessk/todd
f722831c5a9baf75e57bf9b35699174b9f3f8c65
[ "BSD-3-Clause" ]
null
null
null
common/next_action.ml
smithjessk/todd
f722831c5a9baf75e57bf9b35699174b9f3f8c65
[ "BSD-3-Clause" ]
null
null
null
open Core type t = {text: string; project: string option} [@@deriving sexp] let create ~text ~project = {text; project}
20.333333
65
0.696721
aac1ec78634bd9a5a46a98c851a056ed9df6eecf
1,078
mli
OCaml
libraries/rds/lib/modifyDBClusterEndpoint.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/rds/lib/modifyDBClusterEndpoint.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/modifyDBClusterEndpoint.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Modifies the properties of an endpoint in an Amazon Aurora DB cluster.</p> <note> <p>This action only applies to Aurora DB clusters.</p> </note>" *) open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] module ModifyDBClusterEndpointMessage : sig type t = { d_b_cluster_endpoint_i...
37.172414
156
0.705009
44fe0a32a7e692f665d5b3b4179cb24ce64a5253
54,436
ml
OCaml
compile/compile_annotate.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
3
2016-05-03T23:32:16.000Z
2019-07-04T10:29:09.000Z
compile/compile_annotate.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
1
2016-05-10T09:10:16.000Z
2016-05-10T09:10:16.000Z
compile/compile_annotate.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
2
2019-05-08T16:29:48.000Z
2020-02-20T21:44:11.000Z
(***********************************************************************) (* *) (* GALAX *) (* XQuery Engine *) (* ...
36.681941
171
0.586248
1708e4034c2e8c7c1344288e85429f98387a6c5b
741
ml
OCaml
src/options.ml
XVilka/Holide
6a5c62b4238932411097a0901d55e08b50aff8a7
[ "CECILL-B" ]
2
2019-10-21T22:37:04.000Z
2020-04-26T18:28:38.000Z
src/options.ml
XVilka/Holide
6a5c62b4238932411097a0901d55e08b50aff8a7
[ "CECILL-B" ]
9
2019-10-21T11:21:51.000Z
2020-11-13T09:46:31.000Z
src/options.ml
XVilka/Holide
6a5c62b4238932411097a0901d55e08b50aff8a7
[ "CECILL-B" ]
2
2018-02-09T11:20:58.000Z
2019-10-21T10:24:15.000Z
(** Output file and printing functions. *) let output_file = ref "" let output_channel = ref stdout (* Output language option *) type language = No | Dk | Coq | Twelf let language = ref Dk (** Quiet mode option. *) let quiet = ref false (** Untyped definitions option. *) let untyped_def = ref false (** Set the ou...
23.15625
65
0.616734
aaba5d1d0e7e8405f47099ecbf906e8e0177a5de
1,295
ml
OCaml
test/test_chinese_remainder_theorem.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
10
2018-10-15T02:11:39.000Z
2022-01-26T08:57:12.000Z
test/test_chinese_remainder_theorem.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
null
null
null
test/test_chinese_remainder_theorem.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
1
2020-04-18T13:03:50.000Z
2020-04-18T13:03:50.000Z
open! Core open! Import let are_pairwise_coprime xs = let rec loop xs = match xs with | [] -> true | hd :: tl -> List.for_all tl ~f:(fun x -> Bigint.(one = Number_theory.Bigint.gcd x hd)) && loop tl in loop xs ;; let%test_unit "Chinese remainder theorem" = let gen = let open Quickc...
30.116279
90
0.619305
aa910405565967b50a7c62f903e726b3ff9ccad7
1,273
mli
OCaml
src/common/utils/nel.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/common/utils/nel.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/common/utils/nel.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
2,338
2015-01-05T03:28:26.000Z
2022-03-26T20:40:56.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. *) type 'a t = 'a * 'a list [@@deriving show] val to_list : 'a t -> 'a list val of_list : 'a list -> 'a t option val of_list_exn : ...
20.206349
66
0.483111
aa00b54901ffc7b603fb643680318d1a9521d176
743
ml
OCaml
data/fa15_min/1586.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/1586.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/1586.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = a ^ (sep ^ x) in let base = h in let l = t in List.fold_left f base l;; let stringOfList f l = sepConcat (List.map f l);; (* fix let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = a ^ (sep...
16.886364
69
0.489906
170186bcaaba9134f672b3c54d3a929fc99fa461
1,922
ml
OCaml
lib/dream_accept.ml
tmattio/dream-accept
2d62c28b5ae5aedd81cd64ce56ee91e35fcd3b2a
[ "0BSD" ]
2
2021-07-26T18:48:05.000Z
2021-07-27T07:01:48.000Z
lib/dream_accept.ml
tmattio/dream-accept
2d62c28b5ae5aedd81cd64ce56ee91e35fcd3b2a
[ "0BSD" ]
null
null
null
lib/dream_accept.ml
tmattio/dream-accept
2d62c28b5ae5aedd81cd64ce56ee91e35fcd3b2a
[ "0BSD" ]
null
null
null
type media_type = Accept.media_type = | Media_type of string * string | Any_media_subtype of string | Any type charset = Accept.charset = | Charset of string | Any type encoding = Accept.encoding = | Encoding of string | Gzip | Compress | Deflate | Identity | Any type language = Accept.language...
26.328767
57
0.736212
aa44d1222567e584a2afbdf6f89ff811b0446d77
7,987
ml
OCaml
Optician-Integrated/lib/btag.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
1
2020-02-22T12:30:30.000Z
2020-02-22T12:30:30.000Z
Optician-Integrated/lib/btag.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
null
null
null
Optician-Integrated/lib/btag.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
null
null
null
(******************************************************************************) (* The Harmony Project *) (* harmony@lists.seas.upenn.edu *) (****************************************************************************...
28.62724
124
0.530111
aac68e5187f673b627d13b8ab476517d9d5b908d
2,189
mli
OCaml
src/internals/oBus_name.mli
NathanReb/obus
8aaf3d4e5538e42a62ae206dcfc01d2b898e54dc
[ "BSD-3-Clause" ]
14
2019-07-05T01:44:28.000Z
2021-06-02T11:32:46.000Z
src/internals/oBus_name.mli
NathanReb/obus
8aaf3d4e5538e42a62ae206dcfc01d2b898e54dc
[ "BSD-3-Clause" ]
10
2019-07-11T08:43:53.000Z
2021-07-17T09:54:49.000Z
src/internals/oBus_name.mli
NathanReb/obus
8aaf3d4e5538e42a62ae206dcfc01d2b898e54dc
[ "BSD-3-Clause" ]
7
2017-10-15T13:14:48.000Z
2018-12-12T05:17:28.000Z
(* * oBus_name.mli * ------------- * Copyright : (c) 2008, Jeremie Dimino <jeremie@dimino.org> * Licence : BSD3 * * This file is a part of obus, an ocaml implementation of D-Bus. *) (** D-Bus names *) (** For specific restrictions on D-Bus names, see @see <http://dbus.freedesktop.org/doc/dbus-specificati...
27.708861
107
0.68159
aab6c4bd405f7d8b55cb685df0b87b73874f28bd
4,512
ml
OCaml
original/lib/fftw-2.1.3/gensrc/complex.ml
albertsgrc/ftdock-opt
3361d1f18bf529958b78231fdcf139b1c1c1f232
[ "MIT" ]
null
null
null
original/lib/fftw-2.1.3/gensrc/complex.ml
albertsgrc/ftdock-opt
3361d1f18bf529958b78231fdcf139b1c1c1f232
[ "MIT" ]
null
null
null
original/lib/fftw-2.1.3/gensrc/complex.ml
albertsgrc/ftdock-opt
3361d1f18bf529958b78231fdcf139b1c1c1f232
[ "MIT" ]
null
null
null
(* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versio...
30.08
76
0.614362
aac9e532d36b14bfe2a5339541a41c39fc39498f
3,281
ml
OCaml
test/tri.ml
dbuenzli/lit
4058b8a133cd51d3bf756c66b9ab620e39e1d2c4
[ "0BSD" ]
15
2015-03-09T08:58:11.000Z
2020-12-24T20:04:07.000Z
test/tri.ml
dbuenzli/lit
4058b8a133cd51d3bf756c66b9ab620e39e1d2c4
[ "0BSD" ]
1
2020-08-30T01:04:50.000Z
2020-08-30T01:34:20.000Z
test/tri.ml
dbuenzli/lit
4058b8a133cd51d3bf756c66b9ab620e39e1d2c4
[ "0BSD" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2014 Daniel C. Bünzli. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (* D...
31.548077
79
0.599208
aa59ae37bb493a4ac8b938a403fe22794f2ed49f
2,359
mli
OCaml
src/frontend/Contextual.mli
ivoysey/redtt
8ca9e4d0bb001d63262ca4e03147a7c26cef4937
[ "Apache-2.0" ]
203
2018-07-03T07:06:49.000Z
2022-03-31T14:55:07.000Z
src/frontend/Contextual.mli
ivoysey/redtt
8ca9e4d0bb001d63262ca4e03147a7c26cef4937
[ "Apache-2.0" ]
274
2018-07-03T06:13:47.000Z
2021-11-27T18:29:10.000Z
src/frontend/Contextual.mli
ivoysey/redtt
8ca9e4d0bb001d63262ca4e03147a7c26cef4937
[ "Apache-2.0" ]
21
2018-08-20T15:43:34.000Z
2021-11-27T17:07:11.000Z
open RedTT_Core open RedBasis open Dev include Monad.S val ask : params m val local : (params -> params) -> 'a m -> 'a m val fix : ('a m -> 'a m) -> 'a m val assert_top_level : unit m val modify_mlenv : (ML.mlenv -> ML.mlenv) -> unit m val mlenv : ML.mlenv m val mlconf : ML.mlconf m val resolver : ResEnv.t m val m...
28.768293
100
0.660873
17347a9072b0bfb35120850fd7cc7be63b9f749b
1,681
ml
OCaml
test/test_data_kind.ml
lebotlan/ocaml-cryptodbm
4460b926844145c890f7838a0d262df9baecbed2
[ "MIT" ]
4
2017-08-29T06:25:46.000Z
2017-12-31T05:24:17.000Z
test/test_data_kind.ml
lebotlan/ocaml-cryptodbm
4460b926844145c890f7838a0d262df9baecbed2
[ "MIT" ]
1
2017-11-15T10:36:38.000Z
2017-11-24T10:35:23.000Z
test/test_data_kind.ml
lebotlan/ocaml-cryptodbm
4460b926844145c890f7838a0d262df9baecbed2
[ "MIT" ]
null
null
null
open Cryptodbm_internals open Kinds open Helper (* cd .. && ocamlbuild -use-ocamlfind test/test_data_kind.native *) let iterations = 14000 let password1 = Cipher.mk_passwd ~iterations "This is my password" let password2 = Cipher.mk_passwd ~iterations "_" let password3 = Cipher.mk_passwd ~iterations " o\000%*+" let ...
24.362319
107
0.653778
bc1f24516c0dd3f251187bff0e4338d6d85a109d
1,925
ml
OCaml
data/sp14_min/3125.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/3125.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/3125.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let l1 = [0; 0; 9; 9];; let l2 = [1; 0; 0; 2];; let x = (3, 3) :: (List.rev (List.combine l1 l2));; let clone x n = let rec helper x n acc = if n <= 0 then acc else helper x (n - 1) (x :: acc) in helper x n [];; let padZero l1 l2 = if (List.length l1) < (List.length l2) then ((List.append (clone 0 ((Li...
23.765432
79
0.541818
aab8ba0da045f31e31ac9ccdb28a910f0ae70a92
5,421
mli
OCaml
src/lustre/lustreInput.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
62
2015-02-04T17:49:51.000Z
2022-03-19T21:52:06.000Z
src/lustre/lustreInput.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
110
2015-01-20T14:26:17.000Z
2022-03-22T02:25:49.000Z
src/lustre/lustreInput.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
25
2017-02-20T21:13:55.000Z
2021-07-20T19:46:09.000Z
(* This file is part of the Kind 2 model checker. Copyright (c) 2015 by the Board of Trustees of the University of Iowa 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.a...
40.759398
74
0.723667
aad2e2cd6ba08ab42babd0b19da1301b1a3a8c9d
353
mli
OCaml
server/shortcuts/storage/storage.mli
TheMetaphysicalCrook/shcuts.app
44a8093e7dce6607b15bc88c03605f32f56c6231
[ "MIT" ]
16
2018-12-16T13:50:40.000Z
2022-03-31T08:48:40.000Z
server/shortcuts/storage/storage.mli
pNre/shcuts.app
44a8093e7dce6607b15bc88c03605f32f56c6231
[ "MIT" ]
null
null
null
server/shortcuts/storage/storage.mli
pNre/shcuts.app
44a8093e7dce6607b15bc88c03605f32f56c6231
[ "MIT" ]
1
2020-01-31T22:03:19.000Z
2020-01-31T22:03:19.000Z
module type MainStorage = sig include Interface.S with type error := Storage_error.t and type 'a t := ('a, Storage_error.t) result Async.Deferred.t val clear_cache : unit -> unit val update_shortcut : Model.Shortcut_j.t -> (Model.Shortcut_j.t -> bool) -> (Model.Shortcut_j.t, Storage_error.t) result Async.Deferred...
44.125
139
0.74221
44fa95773e41042929058f6c832bf59881168520
48,857
ml
OCaml
src/parser/statement_parser.ml
angeloocana/flow
6632dcaebe460c691e60cdc33253a5940068ff1e
[ "BSD-3-Clause" ]
1
2017-03-25T19:40:07.000Z
2017-03-25T19:40:07.000Z
src/parser/statement_parser.ml
angeloocana/flow
6632dcaebe460c691e60cdc33253a5940068ff1e
[ "BSD-3-Clause" ]
null
null
null
src/parser/statement_parser.ml
angeloocana/flow
6632dcaebe460c691e60cdc33253a5940068ff1e
[ "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. * *) open T...
35.275812
95
0.596864
aab66584c54131186c31aa4594fe76c471073c1c
10,536
ml
OCaml
src/phl/ecPhlCond.ml
oskgo/easycrypt
38c4947433b1a42896540edfa534f76502fc8f92
[ "MIT" ]
null
null
null
src/phl/ecPhlCond.ml
oskgo/easycrypt
38c4947433b1a42896540edfa534f76502fc8f92
[ "MIT" ]
null
null
null
src/phl/ecPhlCond.ml
oskgo/easycrypt
38c4947433b1a42896540edfa534f76502fc8f92
[ "MIT" ]
null
null
null
(* -------------------------------------------------------------------- *) open EcUtils open EcIdent open EcTypes open EcModules open EcFol open EcEnv open EcCoreGoal open EcLowGoal open EcLowPhlGoal module Sid = EcIdent.Sid (* -------------------------------------------------------------------- *) module LowInterna...
33.341772
82
0.568432
1711212a80e43012576f340376ae6964f6ae75e5
18,539
ml
OCaml
data/derived/comb/progs/unify/prog5927.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/unify/prog1060.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1060.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.105357
208
0.670856
170c8d0751116f9011b669368a79ed9bc636d07f
1,470
mli
OCaml
server/field.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
5
2015-01-30T06:16:32.000Z
2020-04-14T09:08:49.000Z
server/field.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
server/field.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
(* © 2014 RunOrg *) open Std (** Fields are usually found in forms. They represent an atomic level of data. *) (** A field identifier. Supports custom identifiers. *) module I : sig include Id.PHANTOM val of_custom : CustomId.t -> t end (** The maximum number of choices in a field. *) val max_choices : int (**...
27.735849
95
0.655782
aae7bc66635085c559f40553cf30a7041a6ad47c
657
ml
OCaml
lib/elf/B2J_ElfDynamic.ml
m4b/bin2json
9aeeef017a4446cfc134e593aca76e8ac573b7f7
[ "BSD-3-Clause" ]
20
2015-11-06T05:20:35.000Z
2022-03-22T12:34:09.000Z
lib/elf/B2J_ElfDynamic.ml
m4b/bin2json
9aeeef017a4446cfc134e593aca76e8ac573b7f7
[ "BSD-3-Clause" ]
null
null
null
lib/elf/B2J_ElfDynamic.ml
m4b/bin2json
9aeeef017a4446cfc134e593aca76e8ac573b7f7
[ "BSD-3-Clause" ]
3
2016-06-01T11:54:14.000Z
2017-07-19T07:03:26.000Z
open Elf.Dynamic open B2J_ElfSymbolTable open B2J_Json let dyn2json dyn = `O [ "d_tag" , (to_hex @@ from_tag dyn.d_tag); "d_un", (to_hex dyn.d_un); "name", `String (tag_to_string dyn.d_tag); ] let dynamic_symbols2json syms = let json = List.map sym2json syms in let meta = [ "bytes", t...
18.25
49
0.557078
bcb86c92beeb05ca8b040e24c7ac99ccd6cf7832
1,119
ml
OCaml
infer/src/unit/clang/CFrontend_errorsTests.ml
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
1
2017-09-14T09:03:44.000Z
2017-09-14T09:03:44.000Z
infer/src/unit/clang/CFrontend_errorsTests.ml
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
null
null
null
infer/src/unit/clang/CFrontend_errorsTests.ml
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2017 - 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...
38.586207
79
0.730116
bce78ab09ec6904c787f549e9f9482ee2e196771
1,114
mli
OCaml
src/magic_mime.mli
CraigFe/ocaml-magic-mime
eb211956d9c0b6788b1603b7ccf5196cde3ae03b
[ "ISC" ]
22
2015-02-08T17:03:21.000Z
2022-01-10T11:27:08.000Z
src/magic_mime.mli
CraigFe/ocaml-magic-mime
eb211956d9c0b6788b1603b7ccf5196cde3ae03b
[ "ISC" ]
13
2015-02-08T17:40:05.000Z
2021-12-08T17:23:37.000Z
src/magic_mime.mli
CraigFe/ocaml-magic-mime
eb211956d9c0b6788b1603b7ccf5196cde3ae03b
[ "ISC" ]
11
2015-02-12T13:44:31.000Z
2021-03-13T17:25:32.000Z
(* * Copyright (c) 2009-2015 Anil Madhavapeddy <anil@recoil.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 "AS ...
46.416667
75
0.754039
aacef8ddb5b8e5c86107fbe7b61db72e28d49042
651
ml
OCaml
exercises/practice/zipper/zipper.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
67
2017-07-06T12:10:14.000Z
2022-03-27T02:25:06.000Z
exercises/practice/zipper/zipper.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
106
2017-06-19T06:21:53.000Z
2022-03-15T10:32:20.000Z
exercises/practice/zipper/zipper.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
36
2017-07-12T18:11:37.000Z
2021-11-30T16:05:17.000Z
type 'a t let equal _ _ _ = failwith "'equal' is missing" let t_of_sexp _ _ = failwith "'t_of_sexp' is missing" let sexp_of_t _ _ = failwith "'sexp_of_t' is missing" let of_tree _ = failwith "'of_tree' is missing" let to_tree _ = failwith "'to_tree' is missing" let value _ = failwith "'va...
17.131579
37
0.64977
aa29e289dae69d7a83ef41f37492d36b8ef003b8
80
ml
OCaml
lib/creds.ml
issuu/aws
12ddc4bfff35b861c98fa7d936c222f206425d71
[ "BSD-3-Clause" ]
null
null
null
lib/creds.ml
issuu/aws
12ddc4bfff35b861c98fa7d936c222f206425d71
[ "BSD-3-Clause" ]
null
null
null
lib/creds.ml
issuu/aws
12ddc4bfff35b861c98fa7d936c222f206425d71
[ "BSD-3-Clause" ]
null
null
null
type t = { aws_access_key_id : string ; aws_secret_access_key : string ; }
13.333333
34
0.6875
4433e7e0a598afc9bdba335ec1ee28f4d5a8b51b
950
ml
OCaml
result/cafe/formula/sub17/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/cafe/formula/sub17/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/cafe/formula/sub17/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
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 calc ex = match ex with | Num f -> f | Plus (a, b) -> calc a + calc b ...
26.388889
93
0.575789
bc75ae3bc130412926b6c3b421e469fbd3e063b9
1,919
mli
OCaml
src/solvers/Response.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
7
2016-08-31T19:50:12.000Z
2019-01-21T04:51:07.000Z
src/solvers/Response.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
src/solvers/Response.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
(***********************************************************************) (* *) (* LEAP *) (* *) (* Alejan...
58.151515
73
0.33507
1706d2d3be3846770968480c60da01ea42562c52
251
mli
OCaml
libraries/ec2/lib/enableVpcClassicLinkDnsSupport.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/enableVpcClassicLinkDnsSupport.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/enableVpcClassicLinkDnsSupport.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = EnableVpcClassicLinkDnsSupportRequest.t type output = EnableVpcClassicLinkDnsSupportResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
35.857143
74
0.780876
bcb7f7d8e8ef4d12372b1c57e17d0c7df6b53f31
1,812
ml
OCaml
test/pp/test.ml
tmcgilchrist/okra
f0f027a1459a49ae40fe192100f54cb6ec5efdcb
[ "MIT" ]
null
null
null
test/pp/test.ml
tmcgilchrist/okra
f0f027a1459a49ae40fe192100f54cb6ec5efdcb
[ "MIT" ]
null
null
null
test/pp/test.ml
tmcgilchrist/okra
f0f027a1459a49ae40fe192100f54cb6ec5efdcb
[ "MIT" ]
null
null
null
(* * Copyright (c) 2021 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 PROVIDED "AS...
32.945455
77
0.730132
17372961c60ff61997a905067a65b5e222f33332
829
ml
OCaml
microc-llvm/microc.ml
suhanisinghal/SB
2fb37e8c6894e56644a42d2bc2cc51a5377a46dc
[ "MIT" ]
null
null
null
microc-llvm/microc.ml
suhanisinghal/SB
2fb37e8c6894e56644a42d2bc2cc51a5377a46dc
[ "MIT" ]
null
null
null
microc-llvm/microc.ml
suhanisinghal/SB
2fb37e8c6894e56644a42d2bc2cc51a5377a46dc
[ "MIT" ]
null
null
null
(* Top-level of the MicroC compiler: scan & parse the input, check the resulting AST, generate LLVM IR, and dump the module *) type action = Ast | LLVM_IR | Compile let _ = let action = if Array.length Sys.argv > 1 then List.assoc Sys.argv.(1) [ ("-a", Ast); (* Print the AST only *) ("-l", LLVM_IR);...
39.47619
77
0.680338
aa98730f1a0126ce09528090cbbdd9c5d9b54dd9
354,451
ml
OCaml
src/generators/gencpp.ml
HaxeFoundation/haxe
b168bece120b87d1540b4cb2d030e41b24cd3b9f
[ "MIT" ]
4,753
2015-01-03T00:45:27.000Z
2022-03-31T07:41:28.000Z
src/generators/gencpp.ml
haxiomic/haxe
f92ce299dcdbd25334595ffe233106718de01395
[ "MIT" ]
6,784
2015-01-01T01:06:28.000Z
2022-03-31T22:12:14.000Z
src/generators/gencpp.ml
haxiomic/haxe
f92ce299dcdbd25334595ffe233106718de01395
[ "MIT" ]
641
2015-01-02T23:54:43.000Z
2022-03-30T07:44:13.000Z
(* The Haxe Compiler Copyright (C) 2005-2019 Haxe Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version....
41.272823
203
0.594082
1731670b6716a93884ba9a98ab27ab0c4091ca8c
10,689
ml
OCaml
src/proto_012_Psithaca/lib_client/protocol_client_context.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_012_Psithaca/lib_client/protocol_client_context.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_012_Psithaca/lib_client/protocol_client_context.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
39.442804
82
0.627467
aadb7bfbec9abbc1e4eb82350631c9748a4796c5
4,308
ml
OCaml
puzzle.ml
naluconcepcion/chess
27ee03b1ac9768d901f0932ce0038303f530b5e3
[ "MIT" ]
1
2021-05-27T04:06:48.000Z
2021-05-27T04:06:48.000Z
puzzle.ml
naluconcepcion/chess
27ee03b1ac9768d901f0932ce0038303f530b5e3
[ "MIT" ]
null
null
null
puzzle.ml
naluconcepcion/chess
27ee03b1ac9768d901f0932ce0038303f530b5e3
[ "MIT" ]
2
2021-05-27T04:06:14.000Z
2022-03-21T00:01:56.000Z
open Board open Engine open Random open Yojson.Basic.Util type fen = string let string_of_string_list lst = let rev_lst = List.rev lst in let rec build_str str lst' = match lst' with | [] -> str ^ "]" | h :: t -> build_str (str ^ h ^ ", ") t in build_str "[" rev_lst type progress = | InProgress...
27.615385
71
0.672006
bc17cb80ae32f57c34163fb1f90ddeb9f82287de
1,741
ml
OCaml
lib/patricia_tree.ml
kienle371999/patricia-tree
8e468446ccc2b5d4a28e5915cab36d6fa26c8b19
[ "MIT" ]
null
null
null
lib/patricia_tree.ml
kienle371999/patricia-tree
8e468446ccc2b5d4a28e5915cab36d6fa26c8b19
[ "MIT" ]
null
null
null
lib/patricia_tree.ml
kienle371999/patricia-tree
8e468446ccc2b5d4a28e5915cab36d6fa26c8b19
[ "MIT" ]
null
null
null
(* Implement patricia tree which is based on Fast Mergeable Integer Maps Paper. This impementation is applied on unsigened integer *) type node = | Empty | Leaf of int | Branch of int * int * node * node let lowest_bit x = x land (-x) let zero_bit k m = (k land m) == 0 let branching_bit p0 p1 = lowest_...
23.527027
80
0.561172
aaac8de10cc829e1361d0d757e3f9b6236fded4f
5,541
ml
OCaml
hphp/hack/src/utils/disk/testDisk.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-15T20:48:46.000Z
2019-07-15T20:48:46.000Z
hphp/hack/src/utils/disk/testDisk.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/disk/testDisk.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
include Disk_sig.Types module Hashtbl_base = Hashtbl module Hashtbl = struct include Hashtbl_base let find_opt t x = (try Some (find t x) with Not_found -> None) let empty t = length t = 0 end type file = | Actual_file_with_contents of string | Directory of (string, file) Hashtbl.t module Helpers = struc...
31.305085
79
0.695903
aa95f67b2b48c6dbaa396eae9d18ecd50fb8517c
1,316
mli
OCaml
src/typing/type_visitor.mli
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
null
null
null
src/typing/type_visitor.mli
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-04-16T12:04:57.000Z
2021-04-16T12:04:57.000Z
src/typing/type_visitor.mli
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-05-12T18:13:36.000Z
2021-05-12T18:13:36.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. *) class ['a, 'phase] t : object (* Only exposing a few methods for now. *) method type_ : 'phase Context.t_ -> Polarity.t -...
35.567568
92
0.608663
aad360385a0ba5a7589d1ad89171a96902cf84eb
29,933
ml
OCaml
src/ocaml-output/FStar_Tests_Pars.ml
CrystalMei/FStar
90d39f704809445a634c2fe1acbcb814ff2ef9fe
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Tests_Pars.ml
CrystalMei/FStar
90d39f704809445a634c2fe1acbcb814ff2ef9fe
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Tests_Pars.ml
CrystalMei/FStar
90d39f704809445a634c2fe1acbcb814ff2ef9fe
[ "Apache-2.0" ]
null
null
null
open Prims let (test_lid : FStar_Ident.lident) = FStar_Ident.lid_of_path ["Test"] FStar_Range.dummyRange let (tcenv_ref : FStar_TypeChecker_Env.env FStar_Pervasives_Native.option FStar_ST.ref) = FStar_Util.mk_ref FStar_Pervasives_Native.None let (test_mod_ref : FStar_Syntax_Syntax.modul FStar_Pervasives_Native....
49.231908
81
0.642936
44b953ca3f44aece688955bd2c8ff9c5610404ba
20,910
ml
OCaml
myocamlbuild.ml
struktured/or_errors_containers
15c1d070cd87d3eb0c15ec34a41c1a24daafe280
[ "MIT" ]
1
2015-10-25T19:00:27.000Z
2015-10-25T19:00:27.000Z
myocamlbuild.ml
struktured/or_errors_containers
15c1d070cd87d3eb0c15ec34a41c1a24daafe280
[ "MIT" ]
null
null
null
myocamlbuild.ml
struktured/or_errors_containers
15c1d070cd87d3eb0c15ec34a41c1a24daafe280
[ "MIT" ]
null
null
null
(* OASIS_START *) (* DO NOT EDIT (digest: 829ea4c2e0eb0b599b2ef2bd6ca89b10) *) module OASISGettext = struct (* # 22 "src/oasis/OASISGettext.ml" *) let ns_ str = str let s_ str = str let f_ (str: ('a, 'b, 'c, 'd) format4) = str let fn_ fmt1 fmt2 n = if n = 1 then fmt1^^"" else ...
26.670918
92
0.501052