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
d2fafa6562df14286bcf5aab98234af9280e8d7c
1,187
ml
OCaml
data/fa15/0429.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/0429.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/0429.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec wwhile (f,b) = let res = f b in match res with | (x,y) when y = true -> wwhile (f, x) | (x,y) -> x;; let fixpoint (f,b) = let funt x = let xx = f f (f (f b)) in (xx, ((f b) = b)) in wwhile (funt, (f b));; (* fix let rec wwhile (f,b) = let res = f b in match res with | (x,y) when y = true -> wwh...
15.025316
70
0.452401
d2e6a2df3537285f8b256582dee48f90245c2677
223
mli
OCaml
libraries/ec2/lib/describeImageAttribute.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeImageAttribute.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeImageAttribute.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DescribeImageAttributeRequest.t type output = ImageAttribute.t type error = Errors_internal.t include (Aws.Call with type input := input and type output := output and type error := error)
31.857143
75
0.744395
f392064c1c55855521cb8667bc399243a6b165cb
8,473
ml
OCaml
lib/es2020/es2020_sharedmemory.ml
tmattio/js-bindings
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
18
2021-04-14T02:52:09.000Z
2021-11-14T17:08:09.000Z
lib/es2020/es2020_sharedmemory.ml
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
4
2021-04-14T16:23:13.000Z
2021-05-22T00:00:55.000Z
lib/es2020/es2020_sharedmemory.ml
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
1
2021-04-14T15:29:24.000Z
2021-04-14T15:29:24.000Z
[@@@js.dummy "!! This code has been generated by gen_js_api !!"] [@@@ocaml.warning "-7-32-39"] [@@@ocaml.warning "-7-11-32-33-39"] open Es2019 open Es2020_bigint module Atomics = struct include struct include Atomics end let (add : t -> typed_array:(BigInt64Array.t, BigUint64Array.t) union2 -> ...
40.347619
78
0.441874
f360b6e6201ea2ac2054ac68c93732c6d0bce9c7
2,447
mli
OCaml
src/proto_005_PsBabyM1/lib_client/client_proto_args.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_005_PsBabyM1/lib_client/client_proto_args.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_005_PsBabyM1/lib_client/client_proto_args.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
54.377778
79
0.524315
f3075b564cff2b4897a517a14d60a3370ae00a90
37
mli
OCaml
lib/v1model.mli
TobiasKappe/petr4
4cf970e1a413420d63c7acac108bb7d688063f8d
[ "Apache-2.0" ]
49
2019-03-26T21:46:05.000Z
2021-06-02T16:45:36.000Z
lib/v1model.mli
TobiasKappe/petr4
4cf970e1a413420d63c7acac108bb7d688063f8d
[ "Apache-2.0" ]
223
2019-05-12T03:12:30.000Z
2021-08-11T14:20:35.000Z
lib/v1model.mli
TobiasKappe/petr4
4cf970e1a413420d63c7acac108bb7d688063f8d
[ "Apache-2.0" ]
16
2019-06-17T20:09:09.000Z
2021-06-07T17:23:02.000Z
open Target module V1Switch : Target
12.333333
24
0.810811
f3b173277707a2b2b66f74e167930461721b841e
1,795
mli
OCaml
CodeHawk/CHB/bchlibpower32/bCHPowerAssemblyInstructions.mli
kestreltechnology/codehawk
e38199ded2b249e6b9d6d98ae7064ed1c887cc0a
[ "MIT" ]
2
2019-12-05T18:50:53.000Z
2019-12-07T18:47:44.000Z
CodeHawk/CHB/bchlibpower32/bCHPowerAssemblyInstructions.mli
kestreltechnology/codehawk
e38199ded2b249e6b9d6d98ae7064ed1c887cc0a
[ "MIT" ]
1
2020-03-04T05:04:37.000Z
2020-03-04T05:04:37.000Z
CodeHawk/CHB/bchlibpower32/bCHPowerAssemblyInstructions.mli
kestreltechnology/codehawk
e38199ded2b249e6b9d6d98ae7064ed1c887cc0a
[ "MIT" ]
1
2019-12-05T18:51:24.000Z
2019-12-05T18:51:24.000Z
(* ============================================================================= CodeHawk Binary Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2022 Aarno Labs LLC Permission is hereby granted, free of...
41.744186
83
0.659053
f341623cfeea6070815959e037778ca40173b02c
11,974
ml
OCaml
src/server/server.ml
ayshiff/flow
887103710b5e5ca5c2acc6af8adbf6d79d9cbc7b
[ "MIT" ]
null
null
null
src/server/server.ml
ayshiff/flow
887103710b5e5ca5c2acc6af8adbf6d79d9cbc7b
[ "MIT" ]
17
2020-10-12T16:16:07.000Z
2021-08-07T04:38:39.000Z
src/server/server.ml
Jankyboy/flow
f9839688acace8af5dbda39d808924347286862d
[ "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. *) let sample_init_memory profiling = SharedMem_js.( let hash_stats = hash_stats () in let heap_size = heap_size () in l...
39.003257
97
0.701938
f36ef67f6b5ff75a4e0461a4d2a45c0be15bcb9f
28,002
ml
OCaml
hphp/hack/src/parser/full_fidelity_type_parser.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_type_parser.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_type_parser.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "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. * *) module WithSy...
36.460938
80
0.726662
f38fdd5636bdceecd9b882b2db44c26653ab3426
3,659
ml
OCaml
src/pry_agent.ml
whitequark/pry.ml
ff8d8e9861ddd67f68994c468f199643416c5f42
[ "MIT" ]
2
2015-11-05T16:46:37.000Z
2016-01-24T20:17:32.000Z
src/pry_agent.ml
whitequark/pry.ml
ff8d8e9861ddd67f68994c468f199643416c5f42
[ "MIT" ]
null
null
null
src/pry_agent.ml
whitequark/pry.ml
ff8d8e9861ddd67f68994c468f199643416c5f42
[ "MIT" ]
null
null
null
open Instruct type agent_event = | Event_count | Breakpoint | Program_start (* never observed *) | Program_exit | Trap_barrier | Uncaught_exc type frame = Obj.t * debug_event external stack_low : unit -> Obj.t = "pry_stack_low" external stack_high : unit -> Obj.t = "pry_stack_high" external extern_sp : unit ...
32.669643
82
0.696365
f393693c6210014b489632dc877e14946b54303e
25,191
ml
OCaml
src/dsexp/dsexp.ml
zploskey/dune
8bc5e202b7f192b965f59a975307f069d11133a4
[ "MIT" ]
null
null
null
src/dsexp/dsexp.ml
zploskey/dune
8bc5e202b7f192b965f59a975307f069d11133a4
[ "MIT" ]
null
null
null
src/dsexp/dsexp.ml
zploskey/dune
8bc5e202b7f192b965f59a975307f069d11133a4
[ "MIT" ]
null
null
null
open! Stdune module Atom = Atom module Template = Template type syntax = Atom.syntax = Jbuild | Dune type t = | Atom of Atom.t | Quoted_string of string | List of t list | Template of Template.t let atom_or_quoted_string s = if Atom.is_valid_dune s then Atom (Atom.of_string s) else Quoted_string...
28.955172
86
0.559605
f3668911e262349efec59f6da7a923ec05691f92
8,595
ml
OCaml
hphp/hack/src/typing/typing_taccess.ml
edwinsmith/hhvm-armjit
486a041a0dfe25c5d6a9a06bab657ab2cb5aa8ea
[ "PHP-3.01", "Zend-2.0" ]
2
2015-07-28T23:53:32.000Z
2015-07-31T15:17:21.000Z
hphp/hack/src/typing/typing_taccess.ml
edwinsmith/hhvm-armjit
486a041a0dfe25c5d6a9a06bab657ab2cb5aa8ea
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_taccess.ml
edwinsmith/hhvm-armjit
486a041a0dfe25c5d6a9a06bab657ab2cb5aa8ea
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Core ope...
39.246575
83
0.627574
d2db3c2e6f739f82e56152e925702eb1a42c6872
377
mli
OCaml
day22/lib/day22.mli
hongchangwu/advent-of-code-2021
1fd6a6604be1cdca53c241b28d4d893ac18e4c0f
[ "MIT" ]
null
null
null
day22/lib/day22.mli
hongchangwu/advent-of-code-2021
1fd6a6604be1cdca53c241b28d4d893ac18e4c0f
[ "MIT" ]
null
null
null
day22/lib/day22.mli
hongchangwu/advent-of-code-2021
1fd6a6604be1cdca53c241b28d4d893ac18e4c0f
[ "MIT" ]
null
null
null
module Cuboid : sig type t = {x1 : int; x2 : int; y1 : int; y2 : int; z1 : int; z2 : int} val make : x1:int -> x2:int -> y1:int -> y2:int -> z1:int -> z2:int -> t end type action = On | Off type instruction = {action : action; cuboid : Cuboid.t} module Part1 : sig val solve : instruction list -> int end modu...
20.944444
74
0.615385
f33b9e739a19b83b966cc515c73ab28e5c7d5251
3,449
ml
OCaml
lib/bio/macs2.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
44
2016-01-21T20:34:10.000Z
2021-04-30T00:21:34.000Z
lib/bio/macs2.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
37
2016-01-31T12:00:13.000Z
2021-11-13T21:58:41.000Z
lib/bio/macs2.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
11
2016-07-07T14:43:17.000Z
2022-03-29T00:30:31.000Z
open Core_kernel open Bistro open Bistro.Shell_dsl open Formats let img = [ docker_image ~account:"pveber" ~name:"macs2" ~tag:"2.1.1" () ] let macs2 subcmd opts = cmd "macs2" (string subcmd :: opts) let pileup ?extsize ?both_direction bam = Workflow.shell ~descr:"macs2.pileup" ~img [ macs2 "pileup" [ o...
25.932331
84
0.641635
f328679cae4fec5c95ec3b92721f7aa45f5a6da5
1,493
mli
OCaml
CodeHawk/CHC/cchanalyze/cCHGenerateLocalInvariants.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cchanalyze/cCHGenerateLocalInvariants.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cchanalyze/cCHGenerateLocalInvariants.mli
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 Permission is hereby granted,...
51.482759
83
0.638312
f3b8f45dc83f4fe3e7bfeefd47470d64b346d099
243
mli
OCaml
infer/src/istd/ICompare.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/src/istd/ICompare.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/src/istd/ICompare.mli
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. *) open! IStd val ( <*> ) : int -> (unit -> int) -> int
22.090909
66
0.650206
f3283fd379d74f0d8ab192425c62a8863a33b724
749
mli
OCaml
src/dune/lib_name.mli
thierry-martinez/dune
e80c901f767a4f904dbbba18d2b5934f33b18e32
[ "MIT" ]
null
null
null
src/dune/lib_name.mli
thierry-martinez/dune
e80c901f767a4f904dbbba18d2b5934f33b18e32
[ "MIT" ]
null
null
null
src/dune/lib_name.mli
thierry-martinez/dune
e80c901f767a4f904dbbba18d2b5934f33b18e32
[ "MIT" ]
null
null
null
open Stdune type t val hash : t -> int include Stringlike_intf.S with type t := t module Local : sig include Stringlike_intf.S (** Description of valid library names *) val valid_format_doc : User_message.Style.t Pp.t val pp_quoted : t Fmt.t val pp : t Fmt.t end val compare : t -> t -> Ordering.t val...
15.93617
50
0.660881
f3207ed268217e11ccba4cfbdb41dd1fcb662361
1,846
ml
OCaml
libraries/ec2/lib/deleteLaunchTemplate.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/deleteLaunchTemplate.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/deleteLaunchTemplate.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DeleteLaunchTemplateRequest.t type output = DeleteLaunchTemplateResult.t type error = Errors_internal.t let service = "ec2" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (End...
31.288136
100
0.580715
f32dd4ae4b14132443b59e3502c5a067b62c7efa
4,297
ml
OCaml
bindings/ocaml/xcore_const.ml
akihikodaki/libcapstone
c6ec4d99411e12b7a47ed84a0380c7c8ec811ae6
[ "BSD-3-Clause" ]
5,220
2015-01-02T13:28:45.000Z
2021-11-08T13:43:25.000Z
bindings/ocaml/xcore_const.ml
macmade/capstone
d63216984796af0b4ef8a36dd90172c81bdca9b9
[ "BSD-3-Clause" ]
1,511
2015-01-02T03:34:23.000Z
2021-11-08T15:39:57.000Z
bindings/ocaml/xcore_const.ml
macmade/capstone
d63216984796af0b4ef8a36dd90172c81bdca9b9
[ "BSD-3-Clause" ]
1,408
2015-01-06T00:22:03.000Z
2021-11-08T11:28:46.000Z
(* For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [xcore_const.ml] *) let _XCORE_OP_INVALID = 0;; let _XCORE_OP_REG = 1;; let _XCORE_OP_IMM = 2;; let _XCORE_OP_MEM = 3;; let _XCORE_REG_INVALID = 0;; let _XCORE_REG_CP = 1;; let _XCORE_REG_DP = 2;; let _XCORE_REG_LR = 3;; let _XCORE_REG_SP = 4;; let _XCORE_REG_R...
26.524691
76
0.740051
f3683751df70008f39149ebf2f380c78924bd685
422
ml
OCaml
ocaml-sources/testsuite/tests/backtrace/backtrace.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/testsuite/tests/backtrace/backtrace.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/testsuite/tests/backtrace/backtrace.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(* TEST flags = "-g" ocamlrunparam += ",b=1" *) (* A test for stack backtraces *) exception Error of string let rec f msg n = if n = 0 then raise(Error msg) else 1 + f msg (n-1) let g msg = try f msg 5 with Error "a" -> print_string "a"; print_newline(); 0 | Error "b" as exn -> print_string "b"...
19.181818
71
0.582938
f369ada121c196cc95e161cffd2921564841e844
1,194
mli
OCaml
infer/src/base/DBWriter.mli
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "MIT" ]
1
2020-08-28T14:00:56.000Z
2020-08-28T14:00:56.000Z
infer/src/base/DBWriter.mli
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "MIT" ]
null
null
null
infer/src/base/DBWriter.mli
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "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 val use_daemon : bool (** indicates that there should be a daemon running *)...
22.528302
66
0.710218
f348e46035ca2618dbef02cc24fb41ae8157de6c
573
ml
OCaml
ocaml-sources/testsuite/tests/ppx-contexts/test.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/testsuite/tests/ppx-contexts/test.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/testsuite/tests/ppx-contexts/test.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(* TEST files = "myppx.ml" include ocamlcommon * setup-ocamlc.byte-build-env ** ocamlc.byte program = "${test_build_directory}/myppx.exe" all_modules = "myppx.ml" *** ocamlc.byte module = "test.ml" flags = "-thread \ -I ${test_build_directory} \ -open List \ -rectypes \ -principal \ ...
20.464286
45
0.556719
f35715a08b60509ec1614b6ed14539f42d02546f
5,732
mli
OCaml
src/rfc7748.mli
burgerdev/ocaml-ed
ed034213ff02cd55870ae1387e91deebc9838eb4
[ "BSD-2-Clause" ]
11
2018-12-05T23:39:32.000Z
2022-03-13T16:30:58.000Z
src/rfc7748.mli
burgerdev/ocaml-rfc7748
ed034213ff02cd55870ae1387e91deebc9838eb4
[ "BSD-2-Clause" ]
16
2018-11-22T08:22:04.000Z
2020-10-15T19:23:54.000Z
src/rfc7748.mli
burgerdev/ocaml-ed
ed034213ff02cd55870ae1387e91deebc9838eb4
[ "BSD-2-Clause" ]
1
2020-06-24T07:55:03.000Z
2020-06-24T07:55:03.000Z
(** This library provides the two Diffie-Hellman-like functions defined in the eponymous RFC, [x25519] and [x448]. *) (** {2 Summary} *) (** X25519 and X448 are instances of a special subset of elliptic curves, the so-called {e Edwards curves}, for which point addition has a closed form. This eliminates a...
42.459259
83
0.718074
f3832d04ac9d04b38b1735f75dd25de5a6b6ecda
2,291
ml
OCaml
ag_pathanalysis/batteries/src/batMultiMap.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2019-12-05T19:47:42.000Z
2021-05-05T13:41:16.000Z
ag_pathanalysis/batteries/src/batMultiMap.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
null
null
null
ag_pathanalysis/batteries/src/batMultiMap.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2021-04-20T07:44:02.000Z
2021-04-20T08:38:41.000Z
(* * MultiMap - Polymorphic maps with multiple associations * Copyright (C) 1996-2003 Xavier Leroy, Nicolas Cannasse, Markus Mottl * Copyright (C) 2008 David Teller, LIFO, Universite d'Orleans * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gene...
33.202899
120
0.698821
f3a4a9042d031760435499ef91dd3174d7b26a1d
3,863
ml
OCaml
ppx-test/expected/issues.ml
cannorin/gen_js_api
c5c4de90f76c21040a4c6e591c57ec6ae820ff05
[ "MIT" ]
null
null
null
ppx-test/expected/issues.ml
cannorin/gen_js_api
c5c4de90f76c21040a4c6e591c57ec6ae820ff05
[ "MIT" ]
null
null
null
ppx-test/expected/issues.ml
cannorin/gen_js_api
c5c4de90f76c21040a4c6e591c57ec6ae820ff05
[ "MIT" ]
null
null
null
module Issue116 : sig type t end = ((struct [@@@js.dummy "!! This code has been generated by gen_js_api !!"] [@@@ocaml.warning "-7-32-39"] type t = Ojs.t let rec (t_of_js : Ojs.t -> t) = fun x2 -> x2 and (t_to_js : t -> Ojs.t) = fun x1 -> x1 end)[@merlin.hide ]) module Issue117 : ...
34.491071
77
0.485633
f318152786e89ec4fdc4f366fb298264bfce19d5
1,736
ml
OCaml
day14/part1.ml
fsouza/aoc-2020
9067f07e62b2fb0857fbdba4a440d8742e3399c3
[ "0BSD" ]
4
2020-12-03T04:40:54.000Z
2020-12-09T12:42:19.000Z
day14/part1.ml
fsouza/aoc-2020
9067f07e62b2fb0857fbdba4a440d8742e3399c3
[ "0BSD" ]
2
2020-12-15T04:12:03.000Z
2021-01-13T04:04:18.000Z
day14/part1.ml
fsouza/aoc-2020
9067f07e62b2fb0857fbdba4a440d8742e3399c3
[ "0BSD" ]
null
null
null
open StdLabels open MoreLabels let parse_instruction line = match String.split_on_char ~sep:'=' line with | [ lhs; rhs ] -> Some (String.trim lhs, String.trim rhs) | _ -> None let read_input () = let rec read_input n acc = try let line = read_line () in read_input (n + 1) (line :: acc) wit...
30.45614
78
0.620968
f3ae5a4307b355c5f63e7a43eeeaefd93f137d25
1,775
mli
OCaml
duniverse/ppx_expect/collector/expect_test_collector.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ppx_expect/collector/expect_test_collector.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ppx_expect/collector/expect_test_collector.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
open Expect_test_common.Std module Test_outcome : sig type t = { file_digest : File.Digest.t ; location : File.Location.t ; expectations : Expectation.Raw.t list ; uncaught_exn_expectation : Expectation.Raw.t option ; saved_output : (File.Locat...
36.979167
86
0.633803
f33ab062a521a64a7d87ae6806d275ffcfa675a3
1,850
ml
OCaml
src/lambda_vm/lambda_vm.ml
renatoalencar/deku
6e0de4e194f90090a3f825e1d1f6ef7dfc5c5934
[ "MIT" ]
null
null
null
src/lambda_vm/lambda_vm.ml
renatoalencar/deku
6e0de4e194f90090a3f825e1d1f6ef7dfc5c5934
[ "MIT" ]
null
null
null
src/lambda_vm/lambda_vm.ml
renatoalencar/deku
6e0de4e194f90090a3f825e1d1f6ef7dfc5c5934
[ "MIT" ]
null
null
null
module Ast = Ast module Gas = Gas module Runtime_limits_error = struct type t = | Out_of_gas | Out_of_stack [@@deriving show] end let wrap compute = match compute () with | Ok data -> `Ok data | Error error -> `Error error | exception Checks.Out_of_stack -> `Limits Runtime_limits_error.Out_of_stac...
24.342105
78
0.694595
d2fc147255fd08d02784ff273b627f1cbf464db6
4,990
ml
OCaml
hphp/hack/src/typing/typing_inheritance.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-21T09:08:35.000Z
2019-07-21T09:08:35.000Z
hphp/hack/src/typing/typing_inheritance.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_inheritance.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-30T11:52:42.000Z
2019-07-30T11:52:42.000Z
(** * Copyright (c) 2019, 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 which checks class members against the full set of members it inherited, including those which were ...
33.945578
82
0.72004
f3427722a96806553d69bc6e3ae5fd602f557623
843
ml
OCaml
test-runners/slowMatcher.ml
ifazk/wu-manber-fuzzy-search
5c0eced3dee49446cf55ff079965768e586934bd
[ "CC0-1.0" ]
2
2022-01-18T22:46:49.000Z
2022-01-25T13:28:55.000Z
test-runners/slowMatcher.ml
ifazk/wu-manber-fuzzy-search
5c0eced3dee49446cf55ff079965768e586934bd
[ "CC0-1.0" ]
null
null
null
test-runners/slowMatcher.ml
ifazk/wu-manber-fuzzy-search
5c0eced3dee49446cf55ff079965768e586934bd
[ "CC0-1.0" ]
1
2022-01-25T13:28:58.000Z
2022-01-25T13:28:58.000Z
(** Interal Module used for debugging *) open Wu_Manber open WuManber module Make (P : Patterns.PatternWithFoldLeft) = struct module Match = Matcher.SimpleMismatch (P) module WM = WuManber let slow ~k ~pattern ~text = P.fold_left (fun bv c -> WM.next_bvs ~mismatch:(Match.mismatch_bv ~pattern c) bv) ...
24.794118
95
0.639383
d2d6b170c88c8d15ea9121d3afeec69401fa68f6
5,512
ml
OCaml
arm/proofs/bignum_neg_p256.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
33
2021-03-11T16:12:01.000Z
2022-03-06T17:01:18.000Z
arm/proofs/bignum_neg_p256.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
8
2021-09-06T12:58:47.000Z
2022-01-03T16:43:09.000Z
arm/proofs/bignum_neg_p256.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
4
2021-03-11T19:28:16.000Z
2021-12-12T23:40:44.000Z
(* * 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 ...
46.319328
117
0.614296
f36ceb394643c8202cd4521f681b251f994882bd
10,260
ml
OCaml
src/fibHeap_test.ml
dbueno/fiblib
a4b673e90ac031fe200bc3f8c83315280a23a2bd
[ "BSD-3-Clause" ]
null
null
null
src/fibHeap_test.ml
dbueno/fiblib
a4b673e90ac031fe200bc3f8c83315280a23a2bd
[ "BSD-3-Clause" ]
null
null
null
src/fibHeap_test.ml
dbueno/fiblib
a4b673e90ac031fe200bc3f8c83315280a23a2bd
[ "BSD-3-Clause" ]
null
null
null
(* Fibonacci heap unit tests. *) open OUnit;; (* FibHeap_full gives us access to all the functions in fibHeap, so we can unit test them. *) (** IntMinHeap is a min-heap using ints as keys and data. *) module IntMinHeap = FibHeap_full.Make (struct type t = int let compare = Pervasives.compare end);; open IntM...
27
82
0.625146
f37f9d7259c66449cd2cb2160baa5871fe6dcc8c
91,166
ml
OCaml
lib/knowledge/bap_knowledge.ml
0poss/bap
1acafffff72e516e9c7ec933c2be7c1a6d5d6470
[ "MIT" ]
5
2019-03-08T19:09:15.000Z
2019-08-15T17:28:11.000Z
lib/knowledge/bap_knowledge.ml
0poss/bap
1acafffff72e516e9c7ec933c2be7c1a6d5d6470
[ "MIT" ]
7
2015-01-30T16:39:08.000Z
2019-02-20T19:46:24.000Z
lib/knowledge/bap_knowledge.ml
0poss/bap
1acafffff72e516e9c7ec933c2be7c1a6d5d6470
[ "MIT" ]
3
2019-02-18T17:47:21.000Z
2022-02-02T12:16:50.000Z
open Core_kernel open Monads.Std module Unix = Caml_unix type ('a,'b) eq = ('a,'b) Type_equal.t = T : ('a,'a) eq module Order = struct type partial = LT | EQ | GT | NC [@@deriving sexp, equal] module type S = sig type t val order : t -> t -> partial end end type conflict = exn = .. module Conflict = ...
29.238614
89
0.553364
d2ecab3852032cea461c3f65111c8e420659f67a
214
mli
OCaml
libraries/rds/lib/stopDBInstance.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/rds/lib/stopDBInstance.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/rds/lib/stopDBInstance.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 = StopDBInstanceMessage.t type output = StopDBInstanceResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
19.454545
85
0.766355
f3686631f1f347fbdc919b7462aefc7f6fdfea80
1,925
mli
OCaml
src/timeline.mli
adrieng/veezuh
ca64d38eff7e992d0de13f2a800aa68ad15517a8
[ "0BSD" ]
null
null
null
src/timeline.mli
adrieng/veezuh
ca64d38eff7e992d0de13f2a800aa68ad15517a8
[ "0BSD" ]
null
null
null
src/timeline.mli
adrieng/veezuh
ca64d38eff7e992d0de13f2a800aa68ad15517a8
[ "0BSD" ]
null
null
null
(* Keys *) type signal_samples_callback = between:Range.span -> granularity:float -> (float * float) list type activity_callback = between:Range.span -> min_duration:Range.time -> Range.span list type event_callback = granularity:Range.time -> between:Range.span -> Range.time list type key_kind = ...
16.313559
56
0.654026
f31f1317e2e11e86b273d328a8327b5c378f3750
570
ml
OCaml
src/odoc/support_files.ml
odis-labs/odoc
f0551b17f48bcbded11f6b89b989464a82fc9a56
[ "0BSD" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
src/odoc/support_files.ml
odis-labs/odoc
f0551b17f48bcbded11f6b89b989464a82fc9a56
[ "0BSD" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
src/odoc/support_files.ml
odis-labs/odoc
f0551b17f48bcbded11f6b89b989464a82fc9a56
[ "0BSD" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
let iter_files f ?(without_theme = false) output_directory = let file name content = let name = Fs.File.create ~directory:output_directory ~name |> Fs.File.to_string in f name content in if not without_theme then begin file "odoc.css" Css_file.content end; file "highlight.pack.js"...
23.75
60
0.712281
d2d910f39923944630990c100a72f7b1c89e3703
5,900
ml
OCaml
src/unionfind.ml
CTSRD-CHERI/ccured
8e6824ae70cfe109390866748ae58d4fb1c87511
[ "BSD-3-Clause" ]
5
2015-11-26T19:53:41.000Z
2021-06-15T06:46:09.000Z
src/unionfind.ml
CTSRD-CHERI/ccured
8e6824ae70cfe109390866748ae58d4fb1c87511
[ "BSD-3-Clause" ]
null
null
null
src/unionfind.ml
CTSRD-CHERI/ccured
8e6824ae70cfe109390866748ae58d4fb1c87511
[ "BSD-3-Clause" ]
3
2015-03-19T12:44:34.000Z
2020-12-13T02:53:57.000Z
(* * * Copyright (c) 2001-2002, * George C. Necula <necula@cs.berkeley.edu> * Scott McPeak <smcpeak@cs.berkeley.edu> * Wes Weimer <weimer@cs.berkeley.edu> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
34.911243
79
0.598983
f378eeb71a15c231a51ba0a507c4b65adbbb65a5
476
ml
OCaml
dist/gcc-compatible/lib_gen/EverCrypt_AutoConfig2_gen.ml
BlackHorseSolutions/hacl-star
e7d8effb0c14f049cf016c09882c18681849c2a3
[ "Apache-2.0" ]
1,332
2018-06-25T18:44:25.000Z
2022-03-24T11:54:21.000Z
dist/gcc-compatible/lib_gen/EverCrypt_AutoConfig2_gen.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
311
2018-06-23T20:30:19.000Z
2022-03-31T16:52:05.000Z
dist/gcc-compatible/lib_gen/EverCrypt_AutoConfig2_gen.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
143
2018-08-23T11:43:58.000Z
2022-03-09T11:07:13.000Z
let _ = (((Format.set_formatter_out_channel (open_out_bin "lib/EverCrypt_AutoConfig2_stubs.ml"); Cstubs.write_ml Format.std_formatter ~prefix:"" (module EverCrypt_AutoConfig2_bindings.Bindings)); Format.set_formatter_out_channel (open_out_bin "lib/EverCrypt_AutoConfig2_c_stubs.c")); Fo...
47.6
60
0.760504
f37efe54358ba20d2b2392372ea7d5cc198f9142
2,160
ml
OCaml
src/tests.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
2
2019-01-15T21:43:30.000Z
2020-11-25T00:26:31.000Z
src/tests.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
null
null
null
src/tests.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
null
null
null
open OUnit2 (* the main entry point for tests *) let run test = test |> OUnit2.run_test_tt_main |> ignore let parse_test file ctxt = CoralModule.run @@ CoralModule.parse_file file (* Forks and asserts that the child process writes a known string to stdout *) let output_test expected_output file ctxt = (* thi...
34.285714
82
0.65463
d2d97fc50833cde3e61cfb3e97df871f87e27c55
981
mli
OCaml
parser/prim.mli
Amaoto17/camlsh
eb47499fea81c109715a58cb5507d498a9b1b074
[ "MIT" ]
null
null
null
parser/prim.mli
Amaoto17/camlsh
eb47499fea81c109715a58cb5507d498a9b1b074
[ "MIT" ]
null
null
null
parser/prim.mli
Amaoto17/camlsh
eb47499fea81c109715a58cb5507d498a9b1b074
[ "MIT" ]
null
null
null
module type S = sig module Str : Stream.S module Error : Error.S type error = Error.t type 'a t = Str.t -> ('a * Str.t, error) result val succeed : 'a -> 'a t val and_then : ('a -> 'b t) -> 'a t -> 'b t val map : ('a -> 'b) -> 'a t -> 'b t val (|=) : ('a -> 'b) t -> 'a t -> 'b t val (|.) : 'a t -> 'b...
30.65625
54
0.5158
f3bdf283f26d556765b5e8abc7c9fb856eeb1a66
16,671
ml
OCaml
hphp/hack/src/hackfmt.ml
alisha/hhvm
523dc33b444bd5b59695eff2b64056629b0ed523
[ "PHP-3.01", "Zend-2.0" ]
1
2021-02-04T22:07:59.000Z
2021-02-04T22:07:59.000Z
hphp/hack/src/hackfmt.ml
alisha/hhvm
523dc33b444bd5b59695eff2b64056629b0ed523
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hackfmt.ml
alisha/hhvm
523dc33b444bd5b59695eff2b64056629b0ed523
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2016, 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 SyntaxTree = Full_fidelity_syntax_tree module SourceText = Full_fidelity_source_text module Logger = Hackfmt...
34.022449
94
0.65275
f3b0d714e92bd0ca649ad279fdf6e922dd7c8018
3,489
ml
OCaml
hphp/hack/src/server/serverEagerInit.ml
devasia2112/hiphop-php
f4ff5fb87e666fd165543f75b12dd0a2881fa3b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverEagerInit.ml
devasia2112/hiphop-php
f4ff5fb87e666fd165543f75b12dd0a2881fa3b9
[ "PHP-3.01", "Zend-2.0" ]
1
2021-04-19T09:53:42.000Z
2021-04-19T09:53:42.000Z
hphp/hack/src/server/serverEagerInit.ml
isabella232/hhvm
6345684c993c575db92cbe18cd739147bfa0296f
[ "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. * *) (* Eager Initialization: hh_server can initialize either by typechecking the entire project (aka starting fro...
28.834711
80
0.694182
f363351e7d68b1dd110cadedb3f576bbd1734750
1,288
mli
OCaml
sledge/nonstdlib/int.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
sledge/nonstdlib/int.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
sledge/nonstdlib/int.mli
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. *) open! NS0 include module type of Containers.Int include module type of Stdlib.Int type t = int [@@deriving compare, equal, sexp] ...
28.622222
66
0.563665
f320d3b7cf82f2adb90d7de6f3558d07a9e57c66
5,800
mli
OCaml
src/dune_engine/scheduler.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
null
null
null
src/dune_engine/scheduler.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
1
2019-09-17T12:49:47.000Z
2019-09-17T12:49:47.000Z
src/dune_engine/scheduler.mli
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
null
null
null
(** Scheduling *) open! Import module Config : sig module Display : sig type verbosity = | Quiet (** Only display errors *) | Short (** One line per command *) | Verbose (** Display all commands fully *) type t = { status_line : bool ; verbosity : verbosity } val...
32.58427
80
0.686379
f36f5e5219b02c29d4d512b5f59cf6dadad46698
1,029
ml
OCaml
src/day_14a.ml
ghostrider77/adventOfCode-2018
12585cd473330184f248a51a764c635d4932e9bd
[ "MIT" ]
null
null
null
src/day_14a.ml
ghostrider77/adventOfCode-2018
12585cd473330184f248a51a764c635d4932e9bd
[ "MIT" ]
null
null
null
src/day_14a.ml
ghostrider77/adventOfCode-2018
12585cd473330184f248a51a764c635d4932e9bd
[ "MIT" ]
null
null
null
open Batteries let calc_recipe_scores (nr_recipes: int): string = let rec loop (recipes: int Vect.t) (p1: int) (p2: int): string = if Vect.length recipes >= nr_recipes + 10 then let ixs = List.init 10 (fun ix -> ix + nr_recipes) in let scores = List.map (Vect.get recipes) ixs in ...
36.75
77
0.564626
f369e87572da040d5e4e78b82ecb3d8ea7804734
1,124
mli
OCaml
src/lustre/lustreAbstractInterpretation.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
null
null
null
src/lustre/lustreAbstractInterpretation.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
null
null
null
src/lustre/lustreAbstractInterpretation.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
1
2021-08-24T11:58:27.000Z
2021-08-24T11:58:27.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...
30.378378
91
0.734875
d2e4e489b588e91430d7984ca527a86f9698d2c0
3,660
ml
OCaml
hphp/hack/src/server/serverInit.ml
SweepWidget/hhvm
b3b676ebf526894baff4502b16177e6da56c9c93
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverInit.ml
SweepWidget/hhvm
b3b676ebf526894baff4502b16177e6da56c9c93
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverInit.ml
SweepWidget/hhvm
b3b676ebf526894baff4502b16177e6da56c9c93
[ "PHP-3.01", "Zend-2.0" ]
1
2020-12-30T13:22:47.000Z
2020-12-30T13:22:47.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 Core_kernel open Result.Export open SearchServiceRunner open ServerEnv module SLC = ServerLocalConfig includ...
33.888889
99
0.727869
d2d3c344e5ec2f4761bea533bc69b0ff47a2ebc8
116
ml
OCaml
arithmetic/p32.ml
gs0510/99problems
82c4ce8b4a37be0b38c0adfcfc6ca55558ef3d62
[ "MIT" ]
null
null
null
arithmetic/p32.ml
gs0510/99problems
82c4ce8b4a37be0b38c0adfcfc6ca55558ef3d62
[ "MIT" ]
null
null
null
arithmetic/p32.ml
gs0510/99problems
82c4ce8b4a37be0b38c0adfcfc6ca55558ef3d62
[ "MIT" ]
null
null
null
let rec gcd c d = if d = 0 then c else gcd d (c mod d) ;; assert (gcd 13 27 = 1);; assert (gcd 20536 7826 = 2);;
16.571429
38
0.568966
d2e1639bb6b1db606d5cd944f539fdf9ca9e17db
7,953
ml
OCaml
lib_test/x86/test_pcmp.ml
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
lib_test/x86/test_pcmp.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
lib_test/x86/test_pcmp.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
(** # rappel (don't forget -x option) ## pcmpeqb, pcmpgtb, pcmpeqw, pcmpgtw ... instructions move to xmm0 register a 128-bit value "0f 0e 0d 0c 0b 0a 09 08 07 06 05 04 03 02 01 00" move to xmm1 register a 128-bit value "0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" mov rax, 0x0706050403020100 ...
36.481651
90
0.63913
f3a48424437a91bc9273e144aa05c3eaef669eed
4,708
mli
OCaml
src/dune_rules/context.mli
SkySkimmer/dune
756ba9bb36302c2ff44db4106bacb21de510f9c5
[ "MIT" ]
null
null
null
src/dune_rules/context.mli
SkySkimmer/dune
756ba9bb36302c2ff44db4106bacb21de510f9c5
[ "MIT" ]
null
null
null
src/dune_rules/context.mli
SkySkimmer/dune
756ba9bb36302c2ff44db4106bacb21de510f9c5
[ "MIT" ]
null
null
null
(** Compilation contexts *) open! Dune_engine (** Dune supports two different kind of contexts: - the default context, which correspond to the environment Dune is run, i.e. it takes [ocamlc] and other tools from the [PATH] and the ocamlfind configuration where it can find it - opam switch context...
32.246575
83
0.668862
d2e3dd0caafb74d863f707f89ab553c3930bd2d4
1,443
ml
OCaml
data/fa15/1264.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/1264.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/1264.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec digitsOfInt n = if n <= 0 then [] else (digitsOfInt (n / 10)) @ [n mod 10];; let rec sumList xs = match xs with | [] -> 0 | head::tail -> head + (sumList tail);; let rec additivePersistence n = let x = digitsOfInt n in match x with | head -> 0 | head::tail -> 1 + (additivePersistence sumList n);;...
16.213483
65
0.520444
d2de062cad7baef7f8f041f0232bd810f17fee12
1,902
ml
OCaml
libraries/cloudformation/lib/describeStackResource.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudformation/lib/describeStackResource.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudformation/lib/describeStackResource.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeStackResourceInput.t type output = DescribeStackResourceOutput.t type error = Errors_internal.t let service = "cloudformation" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service re...
31.7
101
0.58307
f3b7be18928c67c1e0409d3f6d34a26289de4fea
1,501
mli
OCaml
src/syntax.mli
ilyasergey/AdaptiveFuzz
8c834a21de2e8c04b07f0e9e5d209a015675247c
[ "BSD-3-Clause" ]
5
2017-08-24T06:03:24.000Z
2018-10-04T18:48:59.000Z
src/syntax.mli
ilyasergey/AdaptiveFuzz
8c834a21de2e8c04b07f0e9e5d209a015675247c
[ "BSD-3-Clause" ]
null
null
null
src/syntax.mli
ilyasergey/AdaptiveFuzz
8c834a21de2e8c04b07f0e9e5d209a015675247c
[ "BSD-3-Clause" ]
3
2017-09-25T02:14:35.000Z
2021-07-22T07:05:40.000Z
(* Copyright (c) 2013, The Trustees of the University of Pennsylvania All rights reserved. LICENSE: 3-clause BSD style. See the LICENSE file for details on licensing. *) open Support.FileInfo open Types (* A helper function to modify the index of a variable. var_shift : int -- all variables with inde...
32.630435
103
0.598934
f34d18dcf7b3a3c485c7fd1fc2592e5fa16f88f5
1,063
ml
OCaml
test/integration/run_bin_on_args.ml
adamhaber/stanc3
a4650e45ec7ff1be8bc27ab06b27ddf272914ea9
[ "BSD-3-Clause" ]
null
null
null
test/integration/run_bin_on_args.ml
adamhaber/stanc3
a4650e45ec7ff1be8bc27ab06b27ddf272914ea9
[ "BSD-3-Clause" ]
1
2020-09-27T15:32:51.000Z
2020-09-29T23:31:06.000Z
test/integration/run_bin_on_args.ml
rybern/stanc3
feedf21c01281b62deca40858f9e82c32d3d6df4
[ "BSD-3-Clause" ]
null
null
null
open Core_kernel let maybe_convert_cmd_to_windows cmd = let pattern = "/install/default/bin/" in let to_windows str = String.substr_replace_first ~pattern ~with_:"/default.windows/" str ^ ".exe" in let path = String.prefix cmd (String.substr_index_exn ~pattern cmd + String.length pattern) i...
33.21875
71
0.696143
f33500f6ec46ebc23db5ec3d8a1c5af4b9362723
23,784
ml
OCaml
src/while/while_program.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
src/while/while_program.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
src/while/while_program.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
open Lib open Symbols open MParser module SH = Sl_heap let termination = ref false module Field = struct type t = string let _map = ref Strng.Map.empty let _pam = ref Int.Map.empty let add f = let next_idx = Strng.Map.cardinal !_map in _map := Strng.Map.add f next_idx !_map ; _...
37.692552
106
0.573453
f30379cf54c4b93dedaf358a6ee487578d5722a4
1,259
mli
OCaml
experiments/ownership-inference/infer/infer/src/base/Serialization.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
30
2019-06-28T15:20:25.000Z
2021-08-25T11:37:30.000Z
experiments/ownership-inference/infer/infer/src/base/Serialization.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
39
2019-06-28T15:08:12.000Z
2020-07-17T01:44:33.000Z
experiments/ownership-inference/infer/infer/src/base/Serialization.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
17
2019-06-28T14:40:41.000Z
2021-03-11T19:26:13.000Z
(* * 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 (** Serialization of data stuctures *) module Key : sig (** Serialization...
27.977778
102
0.689436
f39483bd60ee5690da211c9aaed67f2d5859ebc0
14,366
ml
OCaml
src/frontend/data_race_checker/data_race_checker_env.ml
paulocoghi/bolt
a81627f95af6577cd465df09290a51c9d469c667
[ "MIT" ]
305
2020-05-08T11:09:53.000Z
2022-03-19T18:43:58.000Z
src/frontend/data_race_checker/data_race_checker_env.ml
lqwu/bolt
1faf19d698852fdb6af2ee005a5f036ee1c76503
[ "MIT" ]
53
2019-11-10T13:46:46.000Z
2022-02-04T17:20:15.000Z
src/frontend/data_race_checker/data_race_checker_env.ml
lqwu/bolt
1faf19d698852fdb6af2ee005a5f036ee1c76503
[ "MIT" ]
33
2020-05-09T00:35:53.000Z
2022-03-14T21:10:25.000Z
open Ast.Ast_types open Core open Desugaring.Desugared_ast let rec elem_in_list x = function [] -> false | y :: ys -> x = y || elem_in_list x ys let intersect_lists list1 list2 = List.filter ~f:(fun x -> elem_in_list x list2) list1 let is_subset_of xs ys = List.for_all ~f:(fun x -> elem_in_list x ys) xs let var_lists...
42.252941
90
0.697271
f355b197feb8ea30badbde7b329edc199cbd3836
13,725
ml
OCaml
src/core/Solver_types.ml
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
26
2017-09-01T10:17:25.000Z
2021-12-09T05:12:28.000Z
src/core/Solver_types.ml
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
5
2018-01-01T17:56:42.000Z
2020-02-10T21:06:00.000Z
src/core/Solver_types.ml
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
1
2017-11-24T15:43:53.000Z
2017-11-24T15:43:53.000Z
(** Internal types (implementation) This modules actually implements the internal types used by the solver. Since mutation is heavily used in the solver, it is really, really, *really* discouraged to direclty use the functions in this module if you don't know the inner working of mSAT perfectly as eve...
35.556995
88
0.67439
f34a786d8ecabcbf66bd09b6051850162e8d6993
261
mli
OCaml
src/unix/lwt_job_notification.mli
SumitPadhiyar/confuzz
7d6b2af51d7135025f9ed1e013a9ae0940f3663e
[ "MIT" ]
24
2021-03-13T22:22:18.000Z
2021-12-16T21:51:26.000Z
src/unix/lwt_job_notification.mli
SumitPadhiyar/confuzz
7d6b2af51d7135025f9ed1e013a9ae0940f3663e
[ "MIT" ]
null
null
null
src/unix/lwt_job_notification.mli
SumitPadhiyar/confuzz
7d6b2af51d7135025f9ed1e013a9ae0940f3663e
[ "MIT" ]
null
null
null
val get_next_job_notification_id : unit -> int (** Returns notification id for next job *) val reset_notificatons : unit -> unit (** Resets job notification mechanism *) val init_job_notification : int -> Unix.file_descr val send_notification : int -> unit
29
50
0.750958
f37f69aacdaa0fddcb585933018403cf05dab09e
195
ml
OCaml
data/fa15/clusters/0066.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/clusters/0066.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15/clusters/0066.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
IteG (AppG [EmptyG,EmptyG]) VarG (AppG [EmptyG,EmptyG]) if List.mem h seen then seen else h :: seen EMPTY if List.mem h seen then seen else seen @ [h] if List.mem h seen then h :: seen else seen
16.25
55
0.707692
f3a9f721ce32bd49159c72d2ed1b05ac10e52c78
815
ml
OCaml
records/polymorphic.ml
bramford/ocaml-learning
9ad8d04a3caf88289dea0fc140c9a6655f70c1fe
[ "MIT" ]
1
2018-04-23T23:04:19.000Z
2018-04-23T23:04:19.000Z
records/polymorphic.ml
bramford/ocaml-learning
9ad8d04a3caf88289dea0fc140c9a6655f70c1fe
[ "MIT" ]
null
null
null
records/polymorphic.ml
bramford/ocaml-learning
9ad8d04a3caf88289dea0fc140c9a6655f70c1fe
[ "MIT" ]
null
null
null
open Core;; #require "core_extended";; open Core_extended.Std;; (* Polymorphic record *) type 'a timestamped = { item : 'a; time : Time.t; };; (* Returns the record with the earliest timestamp (from a list of timetamp records)*) let first_timestamped list = List.reduce list ~f:(fun a b -> if a.time < b.tim...
29.107143
105
0.658896
d2e6add378583bf586c0ac54dd47fe63b4038dae
249
ml
OCaml
src/fun/examples/array-avg.ml
mcaos/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
4
2019-02-14T21:09:35.000Z
2020-10-07T12:19:30.000Z
src/fun/examples/array-avg.ml
mcaos/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
null
null
null
src/fun/examples/array-avg.ml
mcaos/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
1
2020-10-13T14:20:45.000Z
2020-10-13T14:20:45.000Z
let rec avg (v : [float]) (sz : int) : float = let rec sum (v : [float]) (sz : int) : float = (if sz = 1 then v.(sz) else v.(sz) +. (sum v (sz-1))) in (sum v sz) /. float_of_int(sz) in (avg (Array.make 5 2.56) 5)
41.5
50
0.46988
d2d84eea548c647d076e8348a735d9dc2b5b6c2b
433
ml
OCaml
lib/day_22/day_22.ml
p1xelHer0/advent-of-code-2021-ocaml
769e3f8f7b201085963108a4536cd33b32683b90
[ "MIT" ]
2
2021-12-01T11:00:41.000Z
2021-12-03T17:24:17.000Z
lib/day_22/day_22.ml
p1xelHer0/advent-of-code-2021-ocaml
769e3f8f7b201085963108a4536cd33b32683b90
[ "MIT" ]
null
null
null
lib/day_22/day_22.ml
p1xelHer0/advent-of-code-2021-ocaml
769e3f8f7b201085963108a4536cd33b32683b90
[ "MIT" ]
null
null
null
open ContainersLabels module A = struct let solve _l = 1 let%test _ = solve [] = 1 end module B = struct let solve _l = 1 let%test _ = solve [] = 1 end let run () = let input = "./lib/day_22/input" in let parsed_input = input |> Util.read_file in let _puzzle_a = parsed_input |> A.solve |> Printf.pr...
17.32
79
0.625866
f36fd2c076c00beec03b43eb9ea9d071d74523fb
6,021
ml
OCaml
test/infrastructure/filer_step_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
null
null
null
test/infrastructure/filer_step_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
11
2020-03-14T01:09:36.000Z
2022-03-02T02:09:30.000Z
test/infrastructure/filer_step_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
null
null
null
open Sxfiler_core module D = Sxfiler_domain module I = Sxfiler_infrastructure module F = Sxfiler_workflow let get_instance () = let module S = I.Statable.Make (struct type t = D.Filer.t option let empty () = None end) in (module I.Filer_step.Instance (S) : F.Common_step.Filer.Instance) let copy_item_te...
42.401408
116
0.566185
f3a95ff51994b1b34e1d53931b89971ec3d4708b
13,081
ml
OCaml
src/middle/Stmt.ml
metrumresearchgroup/stanc3
c3f71d11b64746fc99d615e62dc287b44a2ceb3c
[ "BSD-3-Clause" ]
null
null
null
src/middle/Stmt.ml
metrumresearchgroup/stanc3
c3f71d11b64746fc99d615e62dc287b44a2ceb3c
[ "BSD-3-Clause" ]
null
null
null
src/middle/Stmt.ml
metrumresearchgroup/stanc3
c3f71d11b64746fc99d615e62dc287b44a2ceb3c
[ "BSD-3-Clause" ]
null
null
null
open Core_kernel open Common open Helpers (** Fixed-point of statements *) module Fixed = struct module First = Expr.Fixed module Pattern = struct type ('a, 'b) t = | Assignment of 'a lvalue * 'a | TargetPE of 'a | NRFunApp of Fun_kind.t * string * 'a list | Break | Continue ...
35.354054
81
0.614555
d2db05f9211df25de3e4193839bf18a84bf05bf4
3,371
ml
OCaml
src/proto_alpha/lib_protocol/bond_id_repr.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/bond_id_repr.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/bond_id_repr.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2022 Nomadic Labs <contact@nomadic-labs.com> *) ...
37.876404
79
0.537526
f32c5232c64871bdd1b6f7c8425bca6c375fa56c
8,636
ml
OCaml
hphp/hack/src/server/serverInit.ml
ScriptBox99/hhvm
a65da0fa07025cb9b19b8746361aba81ea69f26a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverInit.ml
ScriptBox99/hhvm
a65da0fa07025cb9b19b8746361aba81ea69f26a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverInit.ml
ScriptBox99/hhvm
a65da0fa07025cb9b19b8746361aba81ea69f26a
[ "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. * *) open Hh_prelude open Result.Export open SearchServiceRunner open ServerEnv module SLC = ServerLocalConfig include Se...
35.834025
90
0.713641
f31a6454dd22d90fd8ddf3218f10849686b3e3cf
896
ml
OCaml
vendor/sexplib/test/test_eof.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
121
2015-02-09T16:17:49.000Z
2022-03-20T05:17:49.000Z
vendor/sexplib/test/test_eof.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
32
2015-01-06T10:45:06.000Z
2020-11-19T13:10:48.000Z
vendor/sexplib/test/test_eof.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
24
2015-04-14T15:01:37.000Z
2022-02-18T01:32:11.000Z
open Sexplib.Std let with_temp_file sexp_of_t ~contents ~f = let fname, oc = Filename.open_temp_file "test" ".sexp" in let result = match output_string oc contents; close_out oc; f fname with | x -> `Ok x | exception e -> `Error e in Sys.remove fname; Printf.printf !"%{sexp:...
22.4
79
0.601563
f3244bfbd35d6a33a9e4c606208126b8a3e5f924
8,821
ml
OCaml
src/base/optimise/owl_optimise_generic_sig.ml
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
src/base/optimise/owl_optimise_generic_sig.ml
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
src/base/optimise/owl_optimise_generic_sig.ml
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz> *) module type Sig = sig module Algodiff : Owl_algodiff_generic_sig.Sig open Algodiff (** Utils module *) module Utils : sig val sample_num : t -> int (** Return the total number of samples...
27.225309
109
0.575672
f3242bbdf5e3cac1a718ad7ae101813631a7fd5a
2,990
ml
OCaml
data/sp14/0410.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0410.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0410.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.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 | Sigmoid of expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine a -> sin (pi *. (eval (a, x, y))) ...
17.904192
65
0.477258
f30b7ef46c43aa43f3ad41182824f3bdafe903e8
357
ml
OCaml
src/traits.ml
diaozheng999/re-boost
df24cfbe3bad793e4afb3288a6d697b93657c97c
[ "MIT" ]
null
null
null
src/traits.ml
diaozheng999/re-boost
df24cfbe3bad793e4afb3288a6d697b93657c97c
[ "MIT" ]
null
null
null
src/traits.ml
diaozheng999/re-boost
df24cfbe3bad793e4afb3288a6d697b93657c97c
[ "MIT" ]
null
null
null
type ord = | Less [@bs.as -1] | Equal [@bs.as 0] | Greater [@bs.as 1] [@@bs.deriving ({ jsConverter = newType })] type 'a abs_compare = 'a -> 'a -> abs_ord [@bs] type 'a compare = 'a -> 'a -> ord type 'a compare_to = 'a -> abs_ord type 'a abs_eq = 'a -> 'a -> bool [@bs] type 'a predicate = 'a -> bool [@bs] ...
19.833333
47
0.54902
f32d89f3ff46dbe6841fb7582f379885499c469c
963
ml
OCaml
day03/part1.ml
fsouza/aoc-2021
6ed98785e17dcbde48912e78691fa1e5afdfdfe3
[ "0BSD" ]
6
2021-12-01T10:56:59.000Z
2021-12-11T15:16:01.000Z
day03/part1.ml
fsouza/aoc-2021
6ed98785e17dcbde48912e78691fa1e5afdfdfe3
[ "0BSD" ]
null
null
null
day03/part1.ml
fsouza/aoc-2021
6ed98785e17dcbde48912e78691fa1e5afdfdfe3
[ "0BSD" ]
null
null
null
open StdLabels let pow2 x = x |> float_of_int |> ( ** ) 2. |> int_of_float let to_dec = let rec to_dec' acc exp = function | [] -> acc | hd :: tl -> to_dec' (acc + (hd * pow2 exp)) (exp + 1) tl in to_dec' 0 0 let gamma_rate input = let max_col = match input with | [] -> 0 | hd :: _ -> Str...
26.75
80
0.561786
f3bcb460c09093083d55ee76a8f3fe7059d4a9ca
25,584
ml
OCaml
bootstrap/4.04.0/compare.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
2
2018-02-12T20:06:48.000Z
2018-04-09T14:08:38.000Z
bootstrap/4.04.0/compare.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
12
2017-08-30T10:44:32.000Z
2019-08-02T11:33:33.000Z
bootstrap/4.04.2/compare.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
1
2020-04-25T05:58:29.000Z
2020-04-25T05:58:29.000Z
open Asttypes open Parsetree open Longident let eq_option eq o1 o2 = match (o1, o2) with | (None ,None ) -> true | (Some e1,Some e2) -> eq e1 e2 | _ -> false let eq_list eq l1 l2 = try List.for_all2 eq l1 l2 with | Invalid_argument _ -> false let rec eq_longident i1 i2 = match (i1, i2) with | (Lident s1...
95.462687
932
0.687539
f3872d7a9ef282a5b6962792170d4faf62827392
5,871
ml
OCaml
hphp/hack/src/typing/typing_structure.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_structure.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_structure.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "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. * *) (* This module implements the typing for type_structure. *) open Core_kernel open Common open Aast open Typing_defs ...
40.212329
86
0.562766
f3b293e12b5048e91ffa13fae8a1fa67439e3632
10,241
ml
OCaml
hphp/hack/src/hackfmt/solve_state.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hackfmt/solve_state.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hackfmt/solve_state.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "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. * *) module Env = ...
33.25
80
0.70872
f360600e58288cfc8acbf625753dc8cc229344f1
2,898
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/ocamltest/tests.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2020-09-24T05:03:32.000Z
2020-09-24T05:03:32.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/ocamltest/tests.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/ocamltest/tests.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
36.225
76
0.52864
f3920af4751c2d196bc6a40deed8ed236999cd43
3,150
ml
OCaml
src/dune_rules/sub_system_intf.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
1
2021-10-05T16:59:09.000Z
2021-10-05T16:59:09.000Z
src/dune_rules/sub_system_intf.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
null
null
null
src/dune_rules/sub_system_intf.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
null
null
null
open! Dune_engine open! Stdune open! Import module type Info = Sub_system_info.S module type S = sig module Info : Info (** Instantiated representation of the sub-system. I.e. with names resolved using a library database. *) type t (** Create an instance of the sub-system *) val instantiate : ...
27.155172
80
0.662857
f30a6e572da1ddccd5a62eff79bad951c5adce35
5,144
ml
OCaml
src/lib/merkle_ledger_tests/test_stubs.ml
P7-33/mining
aed227c269042efa4066ff0cf944f96897eda44e
[ "Apache-2.0" ]
1
2021-08-22T12:02:53.000Z
2021-08-22T12:02:53.000Z
src/lib/merkle_ledger_tests/test_stubs.ml
P7-33/mining
aed227c269042efa4066ff0cf944f96897eda44e
[ "Apache-2.0" ]
null
null
null
src/lib/merkle_ledger_tests/test_stubs.ml
P7-33/mining
aed227c269042efa4066ff0cf944f96897eda44e
[ "Apache-2.0" ]
null
null
null
open Core module Balance = Currency.Balance module Account = struct (* want bin_io, not available with Account.t *) type t = Mina_base.Account.Stable.Latest.t [@@deriving bin_io_unversioned, sexp, equal, compare, hash, yojson] type key = Mina_base.Account.Key.Stable.Latest.t [@@deriving bin_io_unversioned, ...
25.465347
94
0.700233
f3883ca0c9b8e6f992f1488518643b3670a9bb75
1,734
mli
OCaml
src/lib/cmmcompile/cmm_rts.mli
SimonJF/cmm_of_wasm
10fea570f80f91ee26c23a6cca48b29795c9967b
[ "MIT" ]
80
2018-07-13T14:04:33.000Z
2022-02-23T20:15:32.000Z
src/lib/cmmcompile/cmm_rts.mli
SimonJF/cmm_of_wasm
10fea570f80f91ee26c23a6cca48b29795c9967b
[ "MIT" ]
14
2018-07-16T15:38:54.000Z
2018-08-28T08:17:42.000Z
src/lib/cmmcompile/cmm_rts.mli
SimonJF/cmm_of_wasm
10fea570f80f91ee26c23a6cca48b29795c9967b
[ "MIT" ]
1
2020-10-31T16:49:42.000Z
2020-10-31T16:49:42.000Z
(* A collection of functions for interacting with memory, * written in CMM. Since they're CMM, they can be (and are) inlined. *) type alignment = int type cmm_address = Cmm.expression module Memory : sig (* Checked load: inserts memory check, and loads the required memory * chunk *) val load : root:cmm_a...
26.676923
76
0.679354
f38bb695e342093895ddc1fd6fbb347a07b63318
13,989
ml
OCaml
src/typing/merge_js.ml
angeloocana/flow
6632dcaebe460c691e60cdc33253a5940068ff1e
[ "BSD-3-Clause" ]
1
2017-03-25T19:40:07.000Z
2017-03-25T19:40:07.000Z
src/typing/merge_js.ml
angeloocana/flow
6632dcaebe460c691e60cdc33253a5940068ff1e
[ "BSD-3-Clause" ]
null
null
null
src/typing/merge_js.ml
angeloocana/flow
6632dcaebe460c691e60cdc33253a5940068ff1e
[ "BSD-3-Clause" ]
null
null
null
(** * Copyright (c) 2014-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. *) (* Conne...
41.883234
81
0.71785
f330009bf337bb81323a42a58d546db4374fb32c
287
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/letrec/evaluation_order_3.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/letrec/evaluation_order_3.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/letrec/evaluation_order_3.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(* TEST *) type t = { x : t; y : t } let p = print_endline let test = let rec x = p "x"; { x = (p "x_x"; x); y = (p "x_y"; y) } and y = p "y"; { x = (p "y_x"; x); y = (p "y_y"; y) } in assert (x.x == x); assert (x.y == y); assert (y.x == x); assert (y.y == y); ()
20.5
59
0.397213
f3ae4731ceadf7c92bde4678d170a5125c51517b
5,891
ml
OCaml
src/hack_forked/utils/buffered_line_reader/buffered_line_reader.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
1
2021-09-20T07:39:05.000Z
2021-09-20T07:39:05.000Z
src/hack_forked/utils/buffered_line_reader/buffered_line_reader.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
4
2021-06-23T23:54:47.000Z
2021-09-01T00:40:08.000Z
src/hack_forked/utils/buffered_line_reader/buffered_line_reader.ml
tbergq/flow
8c866379d12dc32c6a0e129739148c8cd9169db8
[ "MIT" ]
1
2019-05-23T07:00:41.000Z
2019-05-23T07:00:41.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Hh_core (* Our Unix systems only allow reading 64KB chunks at a time. * Trying to read more than 64KB results in only 64KB b...
33.095506
100
0.638601
f34b04eaa235eec37df07bd96d5c5226d6a3360a
5,014
ml
OCaml
src/lib_stdlib/compare.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_stdlib/compare.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_stdlib/compare.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> *) ...
36.867647
80
0.500598
f372b7aa602f188f9896e4ac43e92dcc7976af2d
402
ml
OCaml
hphp/hack/src/stubs/experiments_config_file.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/stubs/experiments_config_file.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
3
2022-02-17T04:00:03.000Z
2022-03-24T03:45:33.000Z
hphp/hack/src/stubs/experiments_config_file.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
1
2022-02-19T09:29:50.000Z
2022-02-19T09:29:50.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. * *) let update ~(silent : bool) ~(file : string) ~(source : string option) ~(ttl : float) : (string, string) result = ig...
28.714286
80
0.666667
d2f03539a30cecf8849d102f690e5f6e48b80c21
9,613
ml
OCaml
infer/src/test_determinator/JProcname.ml
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
null
null
null
infer/src/test_determinator/JProcname.ml
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
8
2021-05-12T00:06:23.000Z
2022-02-27T11:21:00.000Z
infer/src/test_determinator/JProcname.ml
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module L = Logging module JNI = struct (* https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/types.html *...
34.703971
100
0.603558
f3a54ae6c899dbb220ff5c436b13b2408bfebddc
2,310
ml
OCaml
source/analysis/analysis.ml
ddainesefb/pyre-check
dedd67493f4334b6b5bf446260ed364b35b4a6aa
[ "MIT" ]
1
2021-05-17T23:13:52.000Z
2021-05-17T23:13:52.000Z
source/analysis/analysis.ml
gracewgao/pyre-check
7dc72e72c478638c121e415b20a4c76992320e13
[ "MIT" ]
1
2021-08-16T12:11:37.000Z
2021-08-16T12:11:37.000Z
source/analysis/analysis.ml
gracewgao/pyre-check
7dc72e72c478638c121e415b20a4c76992320e13
[ "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 AliasEnvironment = AliasEnvironment module AnnotatedGlobalEnvironment = AnnotatedGlobalEnvironment module AttributeResolutio...
37.868852
70
0.861472
f34ab5df08e212a9238ac5370482ff7dbdf1536e
43,442
ml
OCaml
infer/src/backend/errdesc.ml
avery-laird/term-project
00bcd0a3dca5ef7247c6758747d04e5c51d51f64
[ "MIT" ]
1
2019-11-23T14:35:34.000Z
2019-11-23T14:35:34.000Z
infer/src/backend/errdesc.ml
avery-laird/term-project
00bcd0a3dca5ef7247c6758747d04e5c51d51f64
[ "MIT" ]
null
null
null
infer/src/backend/errdesc.ml
avery-laird/term-project
00bcd0a3dca5ef7247c6758747d04e5c51d51f64
[ "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 (** Create descriptions of analysis errors *) module L = Logging module F =...
36.659916
101
0.614152
f3b6af8ac4e910f1cd8221928a8e76294fbe6cee
28,247
ml
OCaml
src/lib_p2p/p2p_socket.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_socket.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/lib_p2p/p2p_socket.ml
Ngoguey42/tezos
68f0f84ed58f3c72b1bf3e732d8ee385461a2d14
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
34.574051
80
0.62796
f33e686d7a636735d9fcb92bbbc007a52c04c42b
8,674
ml
OCaml
source/analysis/classHierarchyEnvironment.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/analysis/classHierarchyEnvironment.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/analysis/classHierarchyEnvironment.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 Expression module PreviousEnvironment = AliasEnvironment let unannotated_global_environment al...
31.656934
100
0.715472
f389b90ec543d543f5824ede01bd3887cb8c2da7
991
mll
OCaml
zoo/miniml/lexer.mll
EarlGray/language-snippets
31e4cd1cd32a444752e47484ff528a50bb6e14f6
[ "BSD-3-Clause" ]
22
2016-02-21T11:13:12.000Z
2022-03-04T00:10:51.000Z
zoo/miniml/lexer.mll
EarlGray/language-incubator
c875b0427daa5744fd0547eba5434ac4aa000a43
[ "BSD-3-Clause" ]
null
null
null
zoo/miniml/lexer.mll
EarlGray/language-incubator
c875b0427daa5744fd0547eba5434ac4aa000a43
[ "BSD-3-Clause" ]
null
null
null
{ open Parser } let var = ['a'-'z' 'A'-'Z']+ rule token = parse | [' ' '\t' '\n' '\r'] { token lexbuf } | ['0'-'9']+ { INT (int_of_string(Lexing.lexeme lexbuf)) } | "int" { TINT } | "bool" { TBOOL } | "true" { TRUE } | "false" { FAL...
28.314286
71
0.24218
f35bbb099a3221d0734bc75c67f3d618c8054a6c
126
ml
OCaml
benchmarks/C/iter/sol68.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/iter/sol68.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/iter/sol68.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
let rec iter (n, f) = if n < 0 then invalid_arg "iter" else if n = 0 then fun x -> x else fun x -> iter (n - 1, f) (f x)
31.5
36
0.547619
f30b8ba503c35b5a8c668c86d0c31c47f264b7b7
1,413
ml
OCaml
hphp/hack/src/server/serverMethodJumpsBatch.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverMethodJumpsBatch.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverMethodJumpsBatch.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "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 fn in the "hack" directory of this source tree. * *) open Core_kernel module TLazyHeap = Decl_provider let get_ancestors_single class_ ~filter = let class_ = MethodJum...
27.173077
67
0.731069
d2db4770940208234e0065f6efaa44c463035678
319
mli
OCaml
ocoi/lib/api/specification.mli
roddyyaga/ocoi
0a07e9457add9890cb507ac8bb4e55044d86a640
[ "MIT" ]
62
2019-12-26T18:28:25.000Z
2022-01-26T18:05:31.000Z
ocoi/lib/api/specification.mli
roddyyaga/ocoi
0a07e9457add9890cb507ac8bb4e55044d86a640
[ "MIT" ]
2
2020-05-05T21:47:49.000Z
2021-07-16T22:17:39.000Z
ocoi/lib/api/specification.mli
roddyyaga/ocoi
0a07e9457add9890cb507ac8bb4e55044d86a640
[ "MIT" ]
2
2020-04-10T07:19:10.000Z
2020-05-26T13:05:00.000Z
type verb = Get | Post | Put | Delete val verb_to_route : verb -> Opium.App.route module type S = sig val verb : verb val path : string module Parameters : sig type t end module Responses : sig type t end end module type Implementation = sig type pt type rt val f : pt -> rt Lwt.t end
12.269231
43
0.642633
d2f3e7d3c9fbd65068932d04c6280e45c9c1d02b
1,323
mli
OCaml
src/ocaml_400/parsing/syntaxerr.mli
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
1
2021-03-12T10:45:56.000Z
2021-03-12T10:45:56.000Z
src/ocaml_400/parsing/syntaxerr.mli
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
null
null
null
src/ocaml_400/parsing/syntaxerr.mli
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
40.090909
73
0.42706
f3b7e6ac3d0b6a6c8b1b6975c213430a586e9fce
3,668
ml
OCaml
2A/S8/VAS/TPs/G14/be/analyzer/src/compile.ml
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
4
2020-05-02T12:32:32.000Z
2022-01-12T20:20:35.000Z
2A/S8/VAS/TPs/G14/be/analyzer/src/_build/compile.ml
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
2
2021-01-14T20:03:26.000Z
2022-01-30T01:10:00.000Z
2A/S8/VAS/TPs/G14/be/analyzer/src/compile.ml
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
13
2020-11-11T21:28:11.000Z
2022-02-19T13:54:22.000Z
(* * TINY (Tiny Is Not Yasa (Yet Another Static Analyzer)): * a simple abstract interpreter for teaching purpose. * Copyright (C) 2012 P. Roux * * 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 Found...
32.175439
88
0.599782
f372b093e464d1ed948cf1615aa1de2fd62990bd
7,672
ml
OCaml
src/lib/ppx_register_event/register_event.ml
mobileink/mina
26ddf39370249a93011b1f1936066c5ed828716a
[ "Apache-2.0" ]
null
null
null
src/lib/ppx_register_event/register_event.ml
mobileink/mina
26ddf39370249a93011b1f1936066c5ed828716a
[ "Apache-2.0" ]
null
null
null
src/lib/ppx_register_event/register_event.ml
mobileink/mina
26ddf39370249a93011b1f1936066c5ed828716a
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Ppxlib let deriver = "register_event" let digest s = Md5.digest_string s |> Md5.to_hex let check_interpolations ~loc msg label_names = match Ast_convenience.get_str msg with | Some s -> ( (* check that every interpolation point $foo in msg has a matching label; OK to have extra l...
35.683721
81
0.53806
f3034401cc39ed94c7329d546096be648d2f82aa
7,833
ml
OCaml
server/test/incrementalCheckTest.ml
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
null
null
null
server/test/incrementalCheckTest.ml
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
null
null
null
server/test/incrementalCheckTest.ml
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
null
null
null
open Core open Test open Ast open Analysis open OUnit2 let assert_incremental_check_errors ~context ~initial_sources ~updated_sources ~expected = let trim (is_external, relative, content) = is_external, (relative, Test.trim_extra_indentation content) in let initial_sources = List.map initial_sources ~f:trim ...
23.664653
100
0.48934
f3676da46062eb7db2415cf41a71e0f724d46399
130
ml
OCaml
src/SFKeyboard.ml
Julow/ocaml-sfml
51a2d70d0ab7bd4fb8c4279ef55c4058e5ddf6fb
[ "Zlib" ]
16
2015-02-05T18:14:29.000Z
2022-03-12T20:42:13.000Z
src/SFKeyboard.ml
Julow/ocaml-sfml
51a2d70d0ab7bd4fb8c4279ef55c4058e5ddf6fb
[ "Zlib" ]
4
2019-12-22T13:20:51.000Z
2020-10-11T12:06:39.000Z
src/SFKeyboard.ml
Julow/ocaml-sfml
51a2d70d0ab7bd4fb8c4279ef55c4058e5ddf6fb
[ "Zlib" ]
5
2016-12-12T05:57:35.000Z
2020-10-08T03:14:20.000Z
external isKeyPressed: key:SFKey.t -> bool = "caml_sfKeyboard_isKeyPressed" external getKeyCount: unit -> int = "caml_sfKeyCount"
43.333333
75
0.784615
f3c247ea9e01a006d4996612a6828503d509a155
152
ml
OCaml
otherlibs/action-plugin/test/one-target/bin/foo.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
otherlibs/action-plugin/test/one-target/bin/foo.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
otherlibs/action-plugin/test/one-target/bin/foo.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
open Dune_action_plugin.V1 let action = write_file ~path:(Path.of_string "some_target") ~data:"Hello from some_target!" let () = run action
16.888889
40
0.703947
f3501720d99966c4a37444100847c77a59cfa00a
3,718
ml
OCaml
examples/acl2/examples/acl2-hol-ltl-paper-example/total-order.ml
dwRchyngqxs/HOL
3b1931c130fcab243da332adb2c1413c42c59cf9
[ "BSD-3-Clause" ]
492
2015-01-07T16:36:19.000Z
2022-03-27T22:18:48.000Z
examples/acl2/examples/acl2-hol-ltl-paper-example/total-order.ml
dwRchyngqxs/HOL
3b1931c130fcab243da332adb2c1413c42c59cf9
[ "BSD-3-Clause" ]
759
2015-01-01T00:40:01.000Z
2022-03-31T17:33:39.000Z
examples/acl2/examples/acl2-hol-ltl-paper-example/total-order.ml
dwRchyngqxs/HOL
3b1931c130fcab243da332adb2c1413c42c59cf9
[ "BSD-3-Clause" ]
126
2015-02-17T03:20:30.000Z
2022-03-26T00:42:55.000Z
val _ = current_package := implode(map chr (cons 65 (cons 67 (cons 76 (cons 50 nil))))); val _ = sexp.acl2_list_ref := [ (mkpair (mksym "COMMON-LISP" "DEFUN") (mkpair (mksym "ACL2" "<<") (mkpair ( mkpair (mksym "ACL2" "X") (mkpair (mksym "ACL2" "Y") (mksym "COMMON-LISP" "NIL"))) (mkpair (mkpair (mksym "COMMON-LISP...
54.676471
84
0.610274
f3355c94206df511fe038ba0b613f904306220ed
1,135
ml
OCaml
src/seplog/pto.ml
eytans/cyclist
93e9c2e1bff5caea33582167d0017c6414dbf44a
[ "BSD-3-Clause" ]
21
2015-07-30T10:28:00.000Z
2022-03-16T00:21:23.000Z
src/seplog/pto.ml
eytans/cyclist
93e9c2e1bff5caea33582167d0017c6414dbf44a
[ "BSD-3-Clause" ]
7
2015-09-25T16:10:52.000Z
2021-08-10T05:26:23.000Z
src/seplog/pto.ml
eytans/cyclist
93e9c2e1bff5caea33582167d0017c6414dbf44a
[ "BSD-3-Clause" ]
5
2015-10-18T16:20:47.000Z
2021-04-04T16:11:03.000Z
open Lib open Symbols open MParser include Pair.Make (Term) (Term.FList) let subst theta (lv, rvs) = (Subst.apply theta lv, Term.FList.subst theta rvs) let unify ?(update_check = Fun._true) (x, xs) (y, ys) cont init_state = Unify.Unidirectional.unify_trm_list ~update_check (x :: xs) (y :: ys) cont init_state ...
25.795455
76
0.643172