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
8a1ae2cf03f99c02bc8f337615071689a4089a99
581
ml
OCaml
classwork17.01.17/ax+b>=0.ml
Cow-berry/Ocaml-Programs
b0b1eca894c66cf6e6d4226e17ce86963e893900
[ "MIT" ]
2
2017-01-15T16:03:22.000Z
2017-01-22T09:36:47.000Z
classwork17.01.17/ax+b>=0.ml
Cow-berry/Ocaml-Programs
b0b1eca894c66cf6e6d4226e17ce86963e893900
[ "MIT" ]
null
null
null
classwork17.01.17/ax+b>=0.ml
Cow-berry/Ocaml-Programs
b0b1eca894c66cf6e6d4226e17ce86963e893900
[ "MIT" ]
null
null
null
type solution = None |Onem of float |Onel of float |All;; let solve a b = match (a=0., b=0., b<0., a<0.) with (true, true, false, false) -> All |(true, false, true, false) -> None |(false, _, _, true) -> Onel (-.b/.a) |(_, _, _, _) -> Onem (-b/.a);; let print_solution s = match s with No...
24.208333
49
0.55938
44ff89625c3f5e073b37dd8529b586082cbbab69
318
ml
OCaml
ast/warn.ml
wiltonlazary/ppxlib
f4b766497fa0c20df4e3403783ccb184733790f6
[ "MIT" ]
2
2019-06-28T07:03:50.000Z
2021-12-17T02:58:14.000Z
ast/warn.ml
wiltonlazary/ppxlib
f4b766497fa0c20df4e3403783ccb184733790f6
[ "MIT" ]
null
null
null
ast/warn.ml
wiltonlazary/ppxlib
f4b766497fa0c20df4e3403783ccb184733790f6
[ "MIT" ]
2
2018-08-24T01:30:01.000Z
2021-12-17T02:59:06.000Z
open Import let default_print_warning loc = Location.print_error Format.err_formatter loc; Format.fprintf Format.err_formatter "this [if] branch is not delimited\n%!" let about_ite_branch_ref = ref default_print_warning let care_about_ite_branch = ref false let about_ite_branch loc = !about_ite_branch_ref loc
28.909091
77
0.820755
44e476368b194e86a1c09d252b330368c8a7214f
414
ml
OCaml
src/owl/ext/owl_ext.ml
pvdhove/owl
072a7dba92cd52d7c87ab3dd5ec1e4c11a3cdf31
[ "MIT" ]
null
null
null
src/owl/ext/owl_ext.ml
pvdhove/owl
072a7dba92cd52d7c87ab3dd5ec1e4c11a3cdf31
[ "MIT" ]
null
null
null
src/owl/ext/owl_ext.ml
pvdhove/owl
072a7dba92cd52d7c87ab3dd5ec1e4c11a3cdf31
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2018 Liang Wang <liang.wang@cl.cam.ac.uk> *) (** Extension: interoperation on different number types *) include Owl_ext_types include Owl_ext_uniop include Owl_ext_binop module Dense = struct module Ndarray = struct include Owl_...
15.333333
63
0.746377
44af1ad547f021cec5412b769845c6fb7ba35f08
52
mli
OCaml
lib/mirage/mirage_clean.mli
nandor/mirage
648938ee5a8fd89aa231a01422f80ec3d553d41a
[ "0BSD" ]
null
null
null
lib/mirage/mirage_clean.mli
nandor/mirage
648938ee5a8fd89aa231a01422f80ec3d553d41a
[ "0BSD" ]
2
2019-10-26T12:20:32.000Z
2019-12-18T17:27:43.000Z
lib/mirage/mirage_clean.mli
nandor/mirage
648938ee5a8fd89aa231a01422f80ec3d553d41a
[ "0BSD" ]
1
2021-06-16T23:14:47.000Z
2021-06-16T23:14:47.000Z
open Functoria val clean : Info.t -> unit Action.t
13
35
0.711538
4497390081960068e74639e999ded0cd6a125ada
172
ml
OCaml
hollight/valid/amc12b-2020-p5.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
102
2021-05-04T09:50:13.000Z
2022-03-27T12:00:05.000Z
hollight/valid/amc12b-2020-p5.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
49
2021-05-06T09:36:49.000Z
2022-03-31T18:58:23.000Z
hollight/valid/amc12b-2020-p5.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
17
2021-05-06T09:04:02.000Z
2022-03-29T11:25:46.000Z
let amc12b-2020-p5 = `!a:num b:num. (a > 0 /\ b > 0) /\ (&5 / &8 * &b - &2 / &3 * &a = &7) /\ (&b - &5 / &8 * &b - (&a - &2 / &3 * &a) = &7) ==> a = 42 `;;
21.5
50
0.267442
44df4adee49c0476d1bfada69c1257771c76db9c
7,030
ml
OCaml
infer/src/backend/StatsAggregator.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
infer/src/backend/StatsAggregator.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
infer/src/backend/StatsAggregator.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "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 open PolyVariantEqual module L = Logging let aggregated_stats_filename = "aggregated_stats.json" let aggregated_stats_b...
38
99
0.727738
8aee0b9e8a9a82cdfabd48138525e90c77434008
758
mli
OCaml
src/services/inference/init_js.mli
stefb965/flow
77ce66fdc2aa382db781346e67d468901631fdc2
[ "BSD-3-Clause" ]
1
2020-06-21T06:21:13.000Z
2020-06-21T06:21:13.000Z
src/services/inference/init_js.mli
angeloocana/flow
6632dcaebe460c691e60cdc33253a5940068ff1e
[ "BSD-3-Clause" ]
null
null
null
src/services/inference/init_js.mli
angeloocana/flow
6632dcaebe460c691e60cdc33253a5940068ff1e
[ "BSD-3-Clause" ]
1
2020-06-21T06:21:18.000Z
2020-06-21T06:21:18.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) val g...
32.956522
80
0.733509
af6c5e4bcca60c81e7ce6a26b0d2fce2b8d404d2
945
ml
OCaml
libraries/ec2/lib/revokeSecurityGroupEgress.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/revokeSecurityGroupEgress.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/revokeSecurityGroupEgress.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = RevokeSecurityGroupEgressRequest.t type output = unit type error = Errors_internal.t let service = "ec2" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) (List.append ...
30.483871
83
0.625397
44d1b6bc9afa18ce457c54ad4de06f55cb815293
5,207
ml
OCaml
GillianCore/incrementalAnalysis/resultsDir.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
41
2020-05-21T18:16:26.000Z
2022-03-20T10:23:46.000Z
GillianCore/incrementalAnalysis/resultsDir.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
26
2020-02-29T10:26:27.000Z
2021-10-20T14:04:20.000Z
GillianCore/incrementalAnalysis/resultsDir.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
5
2020-03-20T17:45:28.000Z
2022-02-24T18:18:26.000Z
module Filenames = struct (* Common *) let exec_mode = "exec_mode.txt" (* Used in verification, bi-abduction and individual symbolic testing *) let sources = "sources.json" let call_graph = "call_graph.json" let verif_results = "verif_results.json" let biabduction_results = "specs.json" (* Used i...
32.748428
79
0.747455
4466652d6fdd20e89afb7c98cb0c4a08efbb7911
264
ml
OCaml
benchmarks/C/iter/sol316.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/iter/sol319.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/iter/sol319.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(** f : 'a -> 'a *) (** let rec iter_naive (n, f) = if (n<=0) then (fun x -> x) else (fun x -> f (iter_naive(n-1,f) x)) ;; **) let iter (n,f) = let rec aux (n,f, x, acc) = if (n<=0) then acc else aux(n-1, f, x, f acc) in fun x -> aux (n,f,x,x)
17.6
41
0.454545
8af72d43230e53571f5fec5f017ba482b6acdbd5
1,017
ml
OCaml
src/utils/bin/refuter_only.ml
kupl/MicSE
f23575accb2704cb2bc6f71b91bfed657dd7b9a6
[ "MIT" ]
17
2021-06-16T11:43:15.000Z
2022-03-04T16:47:31.000Z
src/utils/bin/refuter_only.ml
kupl/MicSE
f23575accb2704cb2bc6f71b91bfed657dd7b9a6
[ "MIT" ]
26
2020-09-09T05:23:28.000Z
2021-12-10T10:08:54.000Z
src/utils/bin/refuter_only.ml
kupl/MicSE
f23575accb2704cb2bc6f71b91bfed657dd7b9a6
[ "MIT" ]
null
null
null
(* It only takes refuter functions for the given Michelson code. It can take same options as MicSE, but the options unrelated with (Preprocessing & Refuter) will be ignored. Process returns 0 if normally executed. *) (* Example Usages * If you want to make sure it's working dune exec -- micse.utils.ref...
29.057143
115
0.692232
44d86b3e24a7975d392222fea4bedfe35fa70446
30,898
ml
OCaml
hphp/hack/src/server/autocompleteService.ml
qcmaude/hhvm
4a5d92b8c9b763989579aa733911a260b0df0f5e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/autocompleteService.ml
qcmaude/hhvm
4a5d92b8c9b763989579aa733911a260b0df0f5e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/autocompleteService.ml
qcmaude/hhvm
4a5d92b8c9b763989579aa733911a260b0df0f5e
[ "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 Core_kernel open Reordered_argument_collections open Typing_defs open Utils open String_utils include Autocomp...
37.726496
106
0.648003
44b950840e91396e599be43782a150047b1ab4f3
967
ml
OCaml
lib/passes/4_ast_remove_unused/unused_field.ml
dakk/yallo-lang
4534f99a8553de298853416453b18b63a9549bc6
[ "MIT" ]
12
2020-07-04T15:00:27.000Z
2021-12-21T10:32:47.000Z
lib/passes/4_ast_remove_unused/unused_field.ml
dakk/yallo-lang
4534f99a8553de298853416453b18b63a9549bc6
[ "MIT" ]
11
2020-06-18T10:28:16.000Z
2020-07-14T09:04:11.000Z
lib/passes/4_ast_remove_unused/unused_field.ml
dakk/yallo-lang
4534f99a8553de298853416453b18b63a9549bc6
[ "MIT" ]
null
null
null
open Ast open Ast_expr open Ast_expr_traversal open Helpers (* remove unused fields *) module SymbolSet = Set.Make(String) let rec used_field_in_expr (t, e) = traverse (t, e) (fun (t, e) -> match e with | SAssign (i, _) | SRecAssign (i, _, _) | StorageRef (i) -> SymbolSet.singleton i ) Symbol...
31.193548
146
0.653568
8ab3b6094d3bbbb7edf6ace7fe5b0b506ffcabf6
1,193
ml
OCaml
paks/Batsh/src/winbat_ast.ml
josephgodwinkimani/wrench
00e8d2ce086357a3f37a2f864c524c4384477535
[ "MIT" ]
1
2020-08-01T03:27:14.000Z
2020-08-01T03:27:14.000Z
paks/Batsh/src/winbat_ast.ml
josephgodwinkimani/wrench
00e8d2ce086357a3f37a2f864c524c4384477535
[ "MIT" ]
null
null
null
paks/Batsh/src/winbat_ast.ml
josephgodwinkimani/wrench
00e8d2ce086357a3f37a2f864c524c4384477535
[ "MIT" ]
null
null
null
open Core_kernel.Std type identifier = string and identifiers = identifier list and label = string and varint = [ | `Var of leftvalue | `Int of int ] and leftvalue = [ | `Identifier of identifier | `ListAccess of (leftvalue * varint) ] and arithmetic = [ | `Var of leftvalue | `Int of int | `ArithUna...
19.241935
54
0.680637
44eb99b7275867c8be55c21db235549b6de4e42b
55
ml
OCaml
src/fold.ml
rizo/fold-pratt
84029a7b3d59200ef7fdfb87385752ea4e9eef94
[ "Apache-2.0" ]
1
2017-07-21T13:08:10.000Z
2017-07-21T13:08:10.000Z
src/fold.ml
rizo/fold-pratt
84029a7b3d59200ef7fdfb87385752ea4e9eef94
[ "Apache-2.0" ]
null
null
null
src/fold.ml
rizo/fold-pratt
84029a7b3d59200ef7fdfb87385752ea4e9eef94
[ "Apache-2.0" ]
null
null
null
module Lang = Fold_lang module Eval = Fold_evaluator
11
28
0.781818
444dd56a05c203c262ab98a3739584613ccbfdb3
21,245
ml
OCaml
objs.ml
icefoxen/games-lost2
4a1d04c32e74974c80be2798afc4f093e3bd8b46
[ "MIT" ]
null
null
null
objs.ml
icefoxen/games-lost2
4a1d04c32e74974c80be2798afc4f093e3bd8b46
[ "MIT" ]
null
null
null
objs.ml
icefoxen/games-lost2
4a1d04c32e74974c80be2798afc4f093e3bd8b46
[ "MIT" ]
null
null
null
(* Outstanding issues: Structure vs. union types for each object type Getting stuff working asap vs. making things complete Gun locations Force fields Complex enemies with turrets Load properties from config files? *) open Vector2d open Drawing open Physics exception TerribleError of string (* Bas...
24.818925
78
0.582066
44701225ea8c717e5acd737faf0fb8370dbefad0
39,494
ml
OCaml
Gillian-C/lib/gil_logic_gen.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
Gillian-C/lib/gil_logic_gen.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
Gillian-C/lib/gil_logic_gen.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
(* We do these operations in a separate file so that we do not clutter gilgen *) open Gillian.Gil_syntax open CConstants open CLogic open Compcert open CompileState module Str_set = Gillian.Utils.Containers.SS open Asrt.Infix open Formula.Infix module CoreP = Constr.Core let id_of_string = Camlcoq.intern_string let tr...
32.994152
114
0.61855
444bcaf014843228ec9081e8452f482c1a792084
2,711
ml
OCaml
libraries/sdb/lib_test/aws_sdb_test.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/sdb/lib_test/aws_sdb_test.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/sdb/lib_test/aws_sdb_test.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open OUnit open Aws_sdb module type Runtime = sig type 'a m val run_request : (module Aws.Call with type input = 'input and type output = 'output and type error = 'error) -> 'input -> [ `Ok of 'output | `Error of 'error Aws.Error.t ] m val un_m : 'a m -> 'a end m...
29.467391
87
0.570269
8acccf3c90999d267996d6fe7634fe123ed308c9
4,719
ml
OCaml
src/common/ty/ty.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "MIT" ]
null
null
null
src/common/ty/ty.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "MIT" ]
null
null
null
src/common/ty/ty.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-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. *) type provenance = | Local of Loc.t (* Defined locally *) | Imported of Loc.t (* Defined remotely, imported to file *) | Rem...
23.019512
70
0.644416
44d3c0e9cd0c96b541964550c40c69fc21db43bb
159
ml
OCaml
hollight/test/mathd-algebra-342.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
102
2021-05-04T09:50:13.000Z
2022-03-27T12:00:05.000Z
hollight/test/mathd-algebra-342.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
49
2021-05-06T09:36:49.000Z
2022-03-31T18:58:23.000Z
hollight/test/mathd-algebra-342.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
17
2021-05-06T09:04:02.000Z
2022-03-29T11:25:46.000Z
let mathd-algebra-342 = `!a:real d:real. (sum (0..(5-1)) (\k. a + &k * d) = &70) /\ (sum (0..(10-1)) (\k. a + &k * d) = &210) ==> a = &42 / &5 `;;
22.714286
46
0.36478
446279e032da3972dd04b35e67f8dadb424e9d50
1,371
ml
OCaml
lib/asn_grammars.ml
paurkedal/ocaml-x509
0672b9bdfd49ce54aed38488ad250ebf0a2a3a5f
[ "BSD-2-Clause" ]
null
null
null
lib/asn_grammars.ml
paurkedal/ocaml-x509
0672b9bdfd49ce54aed38488ad250ebf0a2a3a5f
[ "BSD-2-Clause" ]
1
2020-12-16T14:09:59.000Z
2020-12-16T14:09:59.000Z
lib/asn_grammars.ml
paurkedal/ocaml-x509
0672b9bdfd49ce54aed38488ad250ebf0a2a3a5f
[ "BSD-2-Clause" ]
1
2019-03-28T15:42:03.000Z
2019-03-28T15:42:03.000Z
let def x = function None -> x | Some y -> y let def' x = fun y -> if y = x then None else Some y let decode codec cs = let open Rresult.R.Infix in Asn.decode codec cs >>= fun (a, cs) -> if Cstruct.len cs = 0 then Ok a else Error (`Parse "Leftover") let projections_of encoding asn = let c = Asn.codec encodin...
31.159091
79
0.668855
44e076f5005365f40b574a75db6cc75d516017c7
496
ml
OCaml
data/sp14_min/0508.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14_min/0508.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/0508.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let pipe fs = let f a x = x a in let base = fs in List.fold_left f base fs;; (* fix let pipe fs = let f a x q = x (a q) in let base x = x in List.fold_left f base fs;; *) (* changed spans (2,27)-(2,30) fun q -> x (a q) LamG VarPatG (AppG [EmptyG]) (2,45)-(2,47) fun x -> x LamG VarPatG VarG *) (* type error s...
13.405405
76
0.530242
44e5830650fdcccc2484946e61f2694364b92ddb
181
ml
OCaml
6kyu/floating_point_approximation_ii.ml
ghostrider77/OCaml-kata
c5af26115b088a1ae92d50307ebbccde4f74805d
[ "MIT" ]
1
2020-09-23T09:40:02.000Z
2020-09-23T09:40:02.000Z
6kyu/floating_point_approximation_ii.ml
ghostrider77/OCaml-kata
c5af26115b088a1ae92d50307ebbccde4f74805d
[ "MIT" ]
null
null
null
6kyu/floating_point_approximation_ii.ml
ghostrider77/OCaml-kata
c5af26115b088a1ae92d50307ebbccde4f74805d
[ "MIT" ]
null
null
null
let interp f l u n = let d = (u -. l) /. (float_of_int n) in let fl y = floor (y *. 100.0) /. 100.0 in List.init n (fun k -> let p = (float_of_int k) *. d in fl @@ f p)
36.2
72
0.513812
449056007f7708bca0a4629f0f52fd73c0e4c929
11,724
ml
OCaml
src/parser/declaration_parser.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2020-07-11T17:49:59.000Z
2020-07-11T17:49:59.000Z
src/parser/declaration_parser.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
src/parser/declaration_parser.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "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 Ast = Flow_ast open Token open Parser_common open Parser_env open Flow_ast module SSet = Set.Make (String) module type DEC...
37.219048
99
0.610372
bc28f868bf8725438ac0805c0f4330a736ebdd5d
1,588
mli
OCaml
infer/src/harness/androidFramework.mli
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/harness/androidFramework.mli
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/harness/androidFramework.mli
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2013 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) open! IStd...
39.7
100
0.720403
443a3302aa914c5211f7cd87767d6fc2f98b3a89
667
ml
OCaml
src/denu.ml
thangngoc89/denu
4e17eed385d7dc8c9b3b2decf31c20f71f171e89
[ "MIT" ]
16
2021-07-07T22:07:46.000Z
2021-07-26T19:40:56.000Z
src/denu.ml
thangngoc89/denu
4e17eed385d7dc8c9b3b2decf31c20f71f171e89
[ "MIT" ]
2
2021-07-07T22:05:38.000Z
2021-07-09T17:51:19.000Z
src/denu.ml
thangngoc89/denu
4e17eed385d7dc8c9b3b2decf31c20f71f171e89
[ "MIT" ]
null
null
null
let usage_msg = "Compile OCaml code: denu [--verbose] <entry_file>.ml" let speclist = [ ("--verbose", Arg.Set Main.verbose, "Output debug information") ] let input_files = ref [] let anon_fun filename = input_files := filename :: !input_files let error_help_text = "\nRun denu --help for more information" let () ...
27.791667
79
0.667166
446c0b0f84b0d2e4470f6aa899a682c8bb1f7895
6,990
ml
OCaml
data/derived/comb/progs/unify/prog7743.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/prog2945.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2945.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX *) let rec sumListHelper total xs = match xs with | [] -> total | hd :: tail -> sumListHelper (total + hd) tail (*XXXXXXXXXXXXXXXXXXXXXXXXXXX*) let rec sumList xs= sumListHelper 0 xs let _ = sumList [1; 2; 3; 4] let _ = sumList [1; -2; 3; 5] let _ = sumList [1;...
24.440559
94
0.633763
bc1737d035082ee527347ba453ecb40e5ad7c508
33
mli
OCaml
lib/models/id/user_id.mli
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
lib/models/id/user_id.mli
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
lib/models/id/user_id.mli
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
include module type of User_id_t
16.5
32
0.848485
44d783fc6d85d15c917f913d1ad7e9b109bad946
22,427
ml
OCaml
x86/proofs/bignum_lt.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
x86/proofs/bignum_lt.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
x86/proofs/bignum_lt.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
(* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "LICENSE" file ...
48.54329
80
0.584563
44aa41b5b45d9f0f1fda6b3ea82ede14582cc547
1,220
ml
OCaml
solvers/geomLib/Plumbing.ml
Fraser-Greenlee/ec
b0c033647ab3237fb025e9404ca770e49b3ed741
[ "MIT" ]
290
2018-02-09T01:29:07.000Z
2022-03-20T14:49:53.000Z
solvers/geomLib/Plumbing.ml
Fraser-Greenlee/ec
b0c033647ab3237fb025e9404ca770e49b3ed741
[ "MIT" ]
34
2018-03-23T00:33:49.000Z
2022-03-19T21:48:09.000Z
solvers/geomLib/Plumbing.ml
Fraser-Greenlee/ec
b0c033647ab3237fb025e9404ca770e49b3ed741
[ "MIT" ]
98
2018-03-07T19:26:55.000Z
2022-03-28T14:36:38.000Z
open Interpreter open Renderer let bigarrayWith0s size = let data = Bigarray.(Array1.create int8_unsigned c_layout size) in Bigarray.Array1.fill data 0 ; data let canvas_to_tlist size canvas = try begin canvas_to_1Darray canvas size end with Invalid_argument _ -> bigarrayWith0s size let relist da...
27.727273
76
0.62459
bc260f9c86926bfdd7da700fe0647110f135530f
6,337
ml
OCaml
duniverse/hex.1.4.0/lib/hex.ml
tmattio/opam-tools
963247004bc0ce9e20e08b03b5ca75e99758b7a8
[ "0BSD" ]
11
2020-07-14T13:57:02.000Z
2020-09-05T23:50:25.000Z
duniverse/hex.1.4.0/lib/hex.ml
tmattio/opam-tools
963247004bc0ce9e20e08b03b5ca75e99758b7a8
[ "0BSD" ]
1
2020-07-27T17:35:13.000Z
2020-09-21T11:17:06.000Z
duniverse/hex.1.4.0/lib/hex.ml
tmattio/opam-tools
963247004bc0ce9e20e08b03b5ca75e99758b7a8
[ "0BSD" ]
1
2020-11-25T12:01:04.000Z
2020-11-25T12:01:04.000Z
(* * Copyright (c) 2015 Trevor Summers Smith <trevorsummerssmith@gmail.com> * Copyright (c) 2014 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 ...
33.17801
80
0.655989
44eb3ecb83212bcd0c558c65ff0d85e2b0bf2b45
2,107
mli
OCaml
lib/message.mli
npm-opam/jenga
a2356d38bbe3d5be9cbcd4dae4d5a998521f4f44
[ "Apache-2.0" ]
null
null
null
lib/message.mli
npm-opam/jenga
a2356d38bbe3d5be9cbcd4dae4d5a998521f4f44
[ "Apache-2.0" ]
null
null
null
lib/message.mli
npm-opam/jenga
a2356d38bbe3d5be9cbcd4dae4d5a998521f4f44
[ "Apache-2.0" ]
null
null
null
open! Core.Std open! Async.Std val init_logging : Config.t -> log_filename:string -> unit val error : ('a, unit, string, unit) format4 -> 'a val message : ('a, unit, string, unit) format4 -> 'a val verbose : ('a, unit, string, unit) format4 -> 'a val trace : ('a, unit, string, unit) format4 -> 'a (** [unlogged] - n...
31.447761
88
0.681538
44dd045c72e9b746a996892c4872de0bfa9cdd7b
169
mli
OCaml
src/hxtr0/print_parsed.mli
fccm/ocaml-mkstub
3b96b4c254188bfda70c19d25a747026209e2375
[ "MIT" ]
null
null
null
src/hxtr0/print_parsed.mli
fccm/ocaml-mkstub
3b96b4c254188bfda70c19d25a747026209e2375
[ "MIT" ]
null
null
null
src/hxtr0/print_parsed.mli
fccm/ocaml-mkstub
3b96b4c254188bfda70c19d25a747026209e2375
[ "MIT" ]
null
null
null
(** Print parsed elements using templaces *) val print : Cmd_line.a -> (Repr_t.id * string Repr_t.type_kind) list * string Repr_t.func list -> unit
21.125
48
0.633136
bc02caf7bf08939d681b200182a3f72626479b62
6,983
ml
OCaml
infer/src/integration/BuckGenrule.ml
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
1
2020-07-16T19:38:04.000Z
2020-07-16T19:38:04.000Z
infer/src/integration/BuckGenrule.ml
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
8
2021-05-12T00:06:23.000Z
2022-02-27T11:21:00.000Z
infer/src/integration/BuckGenrule.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 F = Format module L = Logging (* example build report json output [ { "success" : true, "results" : { ...
38.15847
103
0.670772
8a8a225cfda5fa77bdcc93e3bc0bdcc8079866fa
10,757
ml
OCaml
vendor/dune/src/module.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/module.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/module.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
open! Stdune open Import module Name = struct module T = struct type t = string let compare = compare end include T let decode = Dune_lang.Decoder.string let encode = Dune_lang.Encoder.string let to_dyn = Dyn.Encoder.string let add_suffix = (^) let of_string = String.capitalize let to_st...
24.900463
83
0.624245
bc1e0258cc35b3124b3e6696b7c966ce04886fb4
6,029
ml
OCaml
ag_pathanalysis/batteries/testsuite/test_enum.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2019-12-05T19:47:42.000Z
2021-05-05T13:41:16.000Z
ag_pathanalysis/batteries/testsuite/test_enum.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
null
null
null
ag_pathanalysis/batteries/testsuite/test_enum.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2021-04-20T07:44:02.000Z
2021-04-20T08:38:41.000Z
open OUnit open BatBigarray open BatPervasives let array = [|'1';'2';'3';'4';'5'|] let array2 = [|[|'1';'2';'3';'4';'5'|]; [|'6';'7';'8';'9';'A'|]; [|'B';'C';'D';'E';'F'|]|] let array3 = [|[|[|'1';'2';'3';'4';'5'|]; [|'6';'7';'8';'9';'A'|]; ...
33.870787
87
0.630619
8a81e4ae138020baa82ef5e352dd9a9a58ac116f
2,544
mli
OCaml
src/logs_fmt.mli
MisterDA/logs
346f2cb5279a0dfee0e57fff109b8994982ce66f
[ "0BSD" ]
75
2015-10-23T01:13:35.000Z
2021-12-26T06:14:44.000Z
src/logs_fmt.mli
MisterDA/logs
346f2cb5279a0dfee0e57fff109b8994982ce66f
[ "0BSD" ]
41
2015-10-23T01:14:27.000Z
2021-11-20T06:45:36.000Z
src/logs_fmt.mli
MisterDA/logs
346f2cb5279a0dfee0e57fff109b8994982ce66f
[ "0BSD" ]
18
2015-12-10T16:20:52.000Z
2021-12-15T13:41:45.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2015 The logs programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) ...
41.704918
79
0.632075
bc03e26d55e4b5dd62ce8bbcb7b828526e75bb91
20,511
ml
OCaml
data/derived/fa15/progs/cnstr/prog3802.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/cnstr/prog3802.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/cnstr/prog3802.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.297078
208
0.641022
bc2b9e94d40806a3dd49f5d5bf8297c0bb2b7f19
31,096
ml
OCaml
infer/src/pulse/PulseDomain.ml
kristinedomingo/infer
6d78026e8ed1903a01da16ee0f307415d4e03ae0
[ "MIT" ]
null
null
null
infer/src/pulse/PulseDomain.ml
kristinedomingo/infer
6d78026e8ed1903a01da16ee0f307415d4e03ae0
[ "MIT" ]
null
null
null
infer/src/pulse/PulseDomain.ml
kristinedomingo/infer
6d78026e8ed1903a01da16ee0f307415d4e03ae0
[ "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 F = Format module L = Logging (* {2 Abstract domain description } *) module CallEvent = struct type t = | ...
34.209021
103
0.665745
8a9ce6f81a3083fef30cb674c8bffabd5289a396
8,490
ml
OCaml
sledge/src/symbheap/equality.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
sledge/src/symbheap/equality.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
sledge/src/symbheap/equality.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2019-04-26T02:27:43.000Z
2019-04-26T02:27:43.000Z
(* * Copyright (c) 2018-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (** Equality over uninterpreted functions and linear rational arithmetic *) type 'a exp_map = 'a Map.M(Exp).t [@@deriving compare, equal...
30.321429
77
0.588693
448c148657ed65b6eb0cd21c0ea10b877a9e79c9
715
ml
OCaml
data/sp14/2743.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/2743.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/2743.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let pipe fs = let f a x = function | g -> g x a in let base = function | x -> x in List.fold_left f base fs;; (* fix let pipe fs = let f a x = function | g -> g in let base = function | x -> x in List.fold_left f base fs;; *) (* changed spans (3,30)-(3,35) (3,32)-(3,33) (3,34)-(3,35) *) (* type error sli...
13.490566
60
0.482517
bc1607e7305003ffced21d596b8f978c00c437c0
4,986
ml
OCaml
examples/echo.ml
c-cube/simplehttpserver
c8d89e24be18240c3eee27737713a5e70a68b7f5
[ "MIT" ]
6
2019-11-14T08:50:35.000Z
2019-11-15T14:21:54.000Z
examples/echo.ml
c-cube/simplehttpserver
c8d89e24be18240c3eee27737713a5e70a68b7f5
[ "MIT" ]
3
2019-11-14T05:56:23.000Z
2019-11-17T18:12:25.000Z
examples/echo.ml
c-cube/simplehttpserver
c8d89e24be18240c3eee27737713a5e70a68b7f5
[ "MIT" ]
null
null
null
module S = Tiny_httpd let now_ = Unix.gettimeofday (* util: a little middleware collecting statistics *) let middleware_stat () : S.Middleware.t * (unit -> string) = let n_req = ref 0 in let total_time_ = ref 0. in let parse_time_ = ref 0. in let build_time_ = ref 0. in let write_time_ = ref 0. in let m...
35.112676
109
0.554152
44d783cce128979f8c6c57bf06f3e9e0a22b9570
7,972
ml
OCaml
src/x86_64.ml
xuedong/mini-rust
ef210a7861e41e91d9d80572a178b38338f69d02
[ "MIT" ]
null
null
null
src/x86_64.ml
xuedong/mini-rust
ef210a7861e41e91d9d80572a178b38338f69d02
[ "MIT" ]
null
null
null
src/x86_64.ml
xuedong/mini-rust
ef210a7861e41e91d9d80572a178b38338f69d02
[ "MIT" ]
null
null
null
(* Bibliothèque pour produire du code X86-64 2008 Jean-Christophe Filliâtre (CNRS) 2013 Kim Nguyen (Université Paris Sud) *) open Format type size = [`B | `W | `L | `Q] type 'size register = string let rax = "%rax" let rbx = "%rbx" let rcx = "%rcx" let rdx = "%rdx" let rsi = "%rsi" let rdi = "%rdi" let rbp ...
25.551282
72
0.532865
afa13d39de4aec71823c49b444e36c67ea9e2553
13,813
ml
OCaml
source/analysis/test/aliasEnvironmentTest.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/analysis/test/aliasEnvironmentTest.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/analysis/test/aliasEnvironmentTest.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 OUnit2 open Ast open Analysis open Pyre open Test let test_simple_registration context = let assert_registers s...
28.247444
100
0.598856
44fc57c8e7afebd3ae5034bbdec33119431494c2
87,477
mli
OCaml
src/idas/idas.mli
Octachron/sundialsml
e941ad5265d6d5b152210c8d5df6b2b871af07dc
[ "BSD-3-Clause" ]
null
null
null
src/idas/idas.mli
Octachron/sundialsml
e941ad5265d6d5b152210c8d5df6b2b871af07dc
[ "BSD-3-Clause" ]
null
null
null
src/idas/idas.mli
Octachron/sundialsml
e941ad5265d6d5b152210c8d5df6b2b871af07dc
[ "BSD-3-Clause" ]
null
null
null
(***********************************************************************) (* *) (* OCaml interface to Sundials *) (* *) (* Timothy B...
42.547179
173
0.649291
448a3481afc995da17b46a4e35235a883f27f775
6,822
mli
OCaml
src/Fmt.mli
andschwa/ocamlformat
c15169f6b4e5f7755b9dc242dd95dbdf5c478fc7
[ "MIT" ]
null
null
null
src/Fmt.mli
andschwa/ocamlformat
c15169f6b4e5f7755b9dc242dd95dbdf5c478fc7
[ "MIT" ]
null
null
null
src/Fmt.mli
andschwa/ocamlformat
c15169f6b4e5f7755b9dc242dd95dbdf5c478fc7
[ "MIT" ]
null
null
null
(********************************************************************** * * * OCamlFormat * * * * Copyright (c) 2017-present, ...
33.772277
78
0.560686
447f0cf21b5686160d3eadce2368746e04263248
1,214
ml
OCaml
xen/mProf_xen.ml
CraigFe/mirage-profile
0553cc1b8bc53ca52ab529be21ca7fbfbe2395fa
[ "BSD-2-Clause" ]
16
2015-03-27T15:49:53.000Z
2021-11-04T23:57:13.000Z
xen/mProf_xen.ml
CraigFe/mirage-profile
0553cc1b8bc53ca52ab529be21ca7fbfbe2395fa
[ "BSD-2-Clause" ]
18
2015-01-26T14:13:18.000Z
2019-07-09T08:16:22.000Z
xen/mProf_xen.ml
CraigFe/mirage-profile
0553cc1b8bc53ca52ab529be21ca7fbfbe2395fa
[ "BSD-2-Clause" ]
9
2015-06-01T14:15:12.000Z
2020-08-16T21:57:38.000Z
(* Copyright (C) 2014, Thomas Leonard *) open Bigarray type log_buffer = (char, int8_unsigned_elt, c_layout) Array1.t external get_monotonic_time : unit -> int64 = "caml_get_monotonic_time" module Export = Os_xen.Xen.Export module Xs = Os_xen.Xs let timestamper buf off = EndianBigstring.LittleEndian.set_int64 buf...
28.904762
92
0.678748
44382a0a96f8cab1e96842f1745ab1ba12b2c9df
1,150
mli
OCaml
hphp/hack/src/typing/typing_fake_members.mli
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
1
2019-11-01T13:46:07.000Z
2019-11-01T13:46:07.000Z
hphp/hack/src/typing/typing_fake_members.mli
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_fake_members.mli
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. * *) (* Validation information for fake members *) type t (* Validation blame: call or lambda *) type blame = | Blame_...
25.555556
69
0.690435
bc09b7ebd812fd0abe79845e0901625a249ffb9d
19,400
ml
OCaml
src/ppx_optcomp.ml
psteckler/ppx_optcomp
fa1ba6d6b1acb944cd920bd5eb3ced3706df1c85
[ "MIT" ]
null
null
null
src/ppx_optcomp.ml
psteckler/ppx_optcomp
fa1ba6d6b1acb944cd920bd5eb3ced3706df1c85
[ "MIT" ]
null
null
null
src/ppx_optcomp.ml
psteckler/ppx_optcomp
fa1ba6d6b1acb944cd920bd5eb3ced3706df1c85
[ "MIT" ]
null
null
null
open Base open Stdio open Ppxlib open Ast_builder.Default module Filename = Caml.Filename module Env = Interpreter.Env module Value = Interpreter.Value module Of_item = struct (* boilerplate code to pull extensions out of different ast nodes *) open Token let directive_or_block_of_ext ~item ({ txt = ext_name;...
35.925926
109
0.600515
448704cea2f313b86037cfd21bb2122d2ebd4431
269
ml
OCaml
data/derived/comb/progs/unify/prog8524.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/prog3738.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3738.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = if n <= 0 then [] else [x] :: (clone x (n - 1));; let padZero l1 l2 = if (List.length l1) > (List.length l2) then (l1, (clone 0 ((List.length l1) - (List.length l2)))) @ l2 else (((clone 9 ((List.length l2) - (List.length l1))) @ l1), l2);;
33.625
69
0.557621
44b2a32f594c9562918360cb9537ad40399cb7e2
461
ml
OCaml
bootstrap/test/basis/ordset/test_filter.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/test/basis/ordset/test_filter.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/test/basis/ordset/test_filter.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open! Basis.Rudiments open! Basis open! OrdsetTest open Ordset let test () = let test arr = begin let ordset = of_array (module Uns) arr in let ordset' = filter ordset ~f:(fun mem -> mem % 2L = 0L) in File.Fmt.stdout |> fmt ordset |> Fmt.fmt " -> " |> fmt ordset' |> Fmt.fmt "\n" |> ig...
20.043478
64
0.553145
444cd7416e103425c814cdd94b0f11693aebb4c7
3,737
ml
OCaml
sdl/lazyfoo/lesson_04/main.ml
PrattFall/ocaml-fun
6a7b8fd18bfd35d2cb6162d935b2e65932f78bc2
[ "MIT" ]
null
null
null
sdl/lazyfoo/lesson_04/main.ml
PrattFall/ocaml-fun
6a7b8fd18bfd35d2cb6162d935b2e65932f78bc2
[ "MIT" ]
null
null
null
sdl/lazyfoo/lesson_04/main.ml
PrattFall/ocaml-fun
6a7b8fd18bfd35d2cb6162d935b2e65932f78bc2
[ "MIT" ]
null
null
null
open Result open Tsdl type sdl_err = | InitError of string | CreateWindowError of string | GetWindowSurfaceError of string | ImageLoadFail of string | CouldNotWait of string exception SDLException of sdl_err let show_error e = let show s e = print_endline (s ^ ": " ^ e) i...
29.425197
75
0.632861
44bdf00dee668fe9a2d15d06bf275a6e9e5fda36
2,761
ml
OCaml
src/frontend/anders.ml
forked-from-1kasper/anders
83fcd459f8c332cfc3be8ee63bb8785cc6a77815
[ "ISC" ]
2
2022-03-21T13:39:06.000Z
2022-03-21T15:36:45.000Z
src/frontend/anders.ml
forked-from-1kasper/anders
83fcd459f8c332cfc3be8ee63bb8785cc6a77815
[ "ISC" ]
null
null
null
src/frontend/anders.ml
forked-from-1kasper/anders
83fcd459f8c332cfc3be8ee63bb8785cc6a77815
[ "ISC" ]
null
null
null
open Error type cmdline = | Check of string | Lex of string | Parse of string | Prim of string * string | Repl | Help | Trace | Receive | Indices | Girard | Silent | Irrelevance let help = "\nhttps://github.com/forked-from-1kasper/anders invocation = anders | anders list list...
38.887324
82
0.525534
44d96dd0be956a1fe70bf757e78cee0aaa5d7782
3,527
mli
OCaml
server/language_server/protocol.mli
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "MIT" ]
null
null
null
server/language_server/protocol.mli
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "MIT" ]
null
null
null
server/language_server/protocol.mli
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "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 Core open Pyre open Analysis module InitializeRequest : module type of Types.InitializeRequest module TextDocumentDefinitionRequest : ...
27.341085
98
0.732067
bc0869dc25dacb881470867e6152397cd41e7539
2,192
ml
OCaml
hphp/hack/test/integration_ml/ide/test_ide_typing_deps.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/ide/test_ide_typing_deps.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/ide/test_ide_typing_deps.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "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 Test = Integration_test_base let take_int_name = "take_int.php" let take_int_contents = "<?hh // strict ...
21.70297
71
0.680201
8ac84de41f38f2a9f347113df9ae14919ec7d2dc
3,939
ml
OCaml
data/fa15/0907.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/0907.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/0907.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = if (List.length l1) < (List.length l2) then (clone 0 ((List.length l2) - (List.length l1))) @ l1 else (clone 0 ((List.length l1) - (List.length l2))) @ l2;; let rec removeZero l = let f a x = if (List.length a) = 0 th...
18.32093
79
0.501904
44e1810dd4ee6ea0a9e0e7bdc393dff5ff0f24ea
49
ml
OCaml
test/testmain.ml
Drup/zarith-ppx
f4b3b6ac818afc4c14f0100d8490beaf3402aee6
[ "0BSD" ]
10
2019-03-17T19:37:11.000Z
2020-08-04T03:42:32.000Z
test/testmain.ml
Drup/zarith-ppx
f4b3b6ac818afc4c14f0100d8490beaf3402aee6
[ "0BSD" ]
null
null
null
test/testmain.ml
Drup/zarith-ppx
f4b3b6ac818afc4c14f0100d8490beaf3402aee6
[ "0BSD" ]
null
null
null
Migrate_parsetree.Driver.run_as_ppx_rewriter ()
16.333333
47
0.857143
bc03d994a8453f0b169ae4fe29532c341990529d
362
ml
OCaml
lib/files.ml
roddyyaga/finch
822e4dacc28353450996ab6ff674f6c51e7acbd3
[ "MIT" ]
53
2020-06-24T22:16:04.000Z
2022-02-09T19:28:38.000Z
lib/files.ml
roddyyaga/finch
822e4dacc28353450996ab6ff674f6c51e7acbd3
[ "MIT" ]
4
2020-07-09T01:19:16.000Z
2021-06-12T19:31:48.000Z
lib/files.ml
roddyyaga/finch
822e4dacc28353450996ab6ff674f6c51e7acbd3
[ "MIT" ]
3
2020-07-11T01:00:30.000Z
2021-06-25T07:40:02.000Z
open Core let to_last xs = List.drop xs (List.length xs - 1) let contained_files root_dir = let ( / ) = Filename.concat in let rec f path = if Sys.is_file_exn (root_dir / path) then [ path ] else List.concat_map (Sys.ls_dir (root_dir / path)) ~f:(fun inner -> f (path / inner)) in ...
24.133333
54
0.627072
443ed4e1d5fa6c3f324d305c10521973945109d0
48
ml
OCaml
hphp/hack/src/typing/tanySentinel.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-17T02:24:38.000Z
2020-01-17T02:24:38.000Z
hphp/hack/src/typing/tanySentinel.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tanySentinel.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
type t = () [@@deriving eq] let value : t = ()
12
27
0.5
bc240cc8d0c93cb51975181880bd08468dccfdcd
2,582
ml
OCaml
common/rpc_protocol.ml
dmhouse/categories-game
f43bfb5ec7257d9d1934c4016f233b9915c29622
[ "MIT" ]
null
null
null
common/rpc_protocol.ml
dmhouse/categories-game
f43bfb5ec7257d9d1934c4016f233b9915c29622
[ "MIT" ]
null
null
null
common/rpc_protocol.ml
dmhouse/categories-game
f43bfb5ec7257d9d1934c4016f233b9915c29622
[ "MIT" ]
null
null
null
open Core_kernel open Types open Async_js module Log_in = struct type query = { game_id : Game_id.t ; player : Player_id.t ; password : string } [@@deriving sexp, bin_io, compare] type response' = { you_are_the_owner : bool } [@@deriving sexp, bin_io, compare] type response = response' Or_erro...
26.618557
87
0.655306
bc1feed2b0b8e7b453c1b7ff36976451cce3134f
1,558
ml
OCaml
src/main.ml
qram9/sisal
d8cb75d6d0e519419b043e2a70cdf86f88e601a8
[ "Unlicense" ]
2
2020-07-12T17:31:49.000Z
2020-07-13T19:23:44.000Z
src/main.ml
qram9/sisal
d8cb75d6d0e519419b043e2a70cdf86f88e601a8
[ "Unlicense" ]
null
null
null
src/main.ml
qram9/sisal
d8cb75d6d0e519419b043e2a70cdf86f88e601a8
[ "Unlicense" ]
null
null
null
open Unix open Lex open Lexing open Parse open Ast open If1 open To_if1 let help = [ "usage: sisal_it -help prints this message" ; " sisal_it -debug prints debug messages" ] let error msg lexbuf = let start = (Lexing.lexeme_start_p lexbuf) in let finish = (Lexing.lexeme_end_p lexbuf) in print_endline ...
27.821429
74
0.640565
8a8b228ccafe8775eda7710293f40dee77c25670
269
mli
OCaml
src/lib/lang/Input.mli
nickgian/ProbNV
60091faf43135a5e3ff431c7b20ea4b8b9f0b965
[ "MIT" ]
null
null
null
src/lib/lang/Input.mli
nickgian/ProbNV
60091faf43135a5e3ff431c7b20ea4b8b9f0b965
[ "MIT" ]
1
2021-05-05T21:33:27.000Z
2021-06-10T00:16:40.000Z
src/lib/lang/Input.mli
nickgian/ProbNV
60091faf43135a5e3ff431c7b20ea4b8b9f0b965
[ "MIT" ]
null
null
null
open Syntax val read : ?filename:string option -> Lexing.lexbuf -> declarations val read_from_in : BatIO.input -> declarations val read_from_str : string -> declarations val read_from_file : string -> declarations val parse : string -> declarations * Console.info
22.416667
67
0.758364
4482773fca9a0776603fb65c14d66ed7f62acc18
308
ml
OCaml
bin/event_recorder.ml
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
4
2015-03-14T10:53:27.000Z
2020-09-12T01:13:00.000Z
bin/event_recorder.ml
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
null
null
null
bin/event_recorder.ml
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
null
null
null
open Oif_lib open Std let init path = let events = ref [] in let observer event = events := event :: !events in let finalizer () = let events = List.map ~f:Oif.Events.to_json !events |> List.rev in let events = `List events in Yojson.Safe.to_file path events in (observer, finalizer)
22
70
0.665584
44d04403a9ae55678c25debc01c8c2c588472661
1,458
ml
OCaml
dist/gcc-compatible/lib/Hacl_HPKE_Curve64_CP256_SHA256_bindings.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/Hacl_HPKE_Curve64_CP256_SHA256_bindings.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/Hacl_HPKE_Curve64_CP256_SHA256_bindings.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
143
2018-08-23T11:43:58.000Z
2022-03-09T11:07:13.000Z
open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F let hacl_HPKE_Curve64_CP256_SHA256_setupBaseI = foreign "Hacl_HPKE_Curve64_CP256_SHA256_setupBaseI" (ocaml_bytes @-> (ocaml_bytes @-> (ocaml_bytes @-> (ocaml_bytes @-> (oca...
38.368421
81
0.520576
44e98d5e06ac10f625273f414540f91156d28b16
2,042
ml
OCaml
2020/01/part2.ml
margusf/adventofcode
c7850e45562bbe6bcdef40e5a8c4fd17b22a4fd8
[ "MIT" ]
null
null
null
2020/01/part2.ml
margusf/adventofcode
c7850e45562bbe6bcdef40e5a8c4fd17b22a4fd8
[ "MIT" ]
null
null
null
2020/01/part2.ml
margusf/adventofcode
c7850e45562bbe6bcdef40e5a8c4fd17b22a4fd8
[ "MIT" ]
null
null
null
(* https://adventofcode.com/2020/day/1 TBH, this is a job for Excel. But let's do it in OCaml as planned. *) (* let expenses = [1721; 979; 366; 299; 675; 1456];; *) let expenses = [1254; 1313; 1456; 1782; 1742; 1391; 1273; 1286; 1373; 1891; 1188; 1994; 1887; 1816; 1984; 961; 1428; 1105; 1123; 1699; 1154; 1953; 19...
45.377778
93
0.602351
8a82de6fcdd60a2c299ad5fbbe92bd73bd7a5842
3,059
ml
OCaml
src/services/get_def/findRefsUtils.ml
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
1
2022-02-06T01:14:40.000Z
2022-02-06T01:14:40.000Z
src/services/get_def/findRefsUtils.ml
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
null
null
null
src/services/get_def/findRefsUtils.ml
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
null
null
null
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Utils_js module Result = Core_result let (>>=) = Result.(>>=) let compute_docblock file content = let open Parsing_servic...
41.90411
99
0.743707
af2e1cffcd3dee75326d35ab6c0f738609df0994
2,541
ml
OCaml
src/proto_001_Pt8PXNHh/lib_protocol/test/main.ml
mineplexio/Plexus-Pool
f52560d84d08dde831c0208111073ece1be6b33d
[ "MIT" ]
1
2021-11-03T08:21:08.000Z
2021-11-03T08:21:08.000Z
src/proto_001_Pt8PXNHh/lib_protocol/test/main.ml
mineplexio/Plexus-Pool
f52560d84d08dde831c0208111073ece1be6b33d
[ "MIT" ]
null
null
null
src/proto_001_Pt8PXNHh/lib_protocol/test/main.ml
mineplexio/Plexus-Pool
f52560d84d08dde831c0208111073ece1be6b33d
[ "MIT" ]
4
2021-04-27T15:00:34.000Z
2021-09-26T21:50:01.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
57.75
79
0.503739
bc0459d87190236055d7547ec88ec0773b52540d
1,716
ml
OCaml
libraries/rds/lib/describeDBClusters.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/rds/lib/describeDBClusters.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/rds/lib/describeDBClusters.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = DescribeDBClustersMessage.t type output = DBClusterMessage.t type error = Errors_internal.t let service = "rds" 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 (Endpoints.url_of s...
26.8125
92
0.624709
4425397d7feb31053e2c7920af49c9c6c5e77fb4
891
ml
OCaml
benchmarks/formula/formula1/submissions/sub429.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/formula/formula1/submissions/sub429.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/formula/formula1/submissions/sub429.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(* Department : Electrical Engineering Student-Id : 2008-11923 Name : HyeonIL Choi (최현일) Date: 2017-9-7 Homework-# : 2-1 Excercise-Name : Formula Evaluator *) type formula = TRUE | FALSE | NOT of formula | ANDALSO of formula * formula | ORELSE of formula * formula | IMPLY of formula * formula |...
17.82
37
0.530864
4441c882d74532ac4dacd5370e603332b619a481
1,981
mli
OCaml
mbox.mli
avsm/spamoracle
0b0a417f79bdf46dcb471345cdc21d78405b3d5d
[ "Naumen", "Condor-1.1", "MS-PL" ]
16
2016-12-28T15:42:35.000Z
2022-01-06T10:58:50.000Z
mbox.mli
avsm/spamoracle
0b0a417f79bdf46dcb471345cdc21d78405b3d5d
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2019-11-09T07:32:24.000Z
2020-12-12T18:39:12.000Z
mbox.mli
avsm/spamoracle
0b0a417f79bdf46dcb471345cdc21d78405b3d5d
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2021-05-23T21:25:04.000Z
2022-01-04T14:07:29.000Z
(***********************************************************************) (* *) (* SpamOracle -- a Bayesian spam filter *) (* *) (* Xavier Ler...
49.525
73
0.519939
4494b6834882527ed3b34b2f74c31b0d9e45ec31
5,603
ml
OCaml
parse_polynomial.ml
liesse-ocaml/automates
8b9d89bb7976f5b564de2b315db1d5b8799283be
[ "MIT" ]
null
null
null
parse_polynomial.ml
liesse-ocaml/automates
8b9d89bb7976f5b564de2b315db1d5b8799283be
[ "MIT" ]
null
null
null
parse_polynomial.ml
liesse-ocaml/automates
8b9d89bb7976f5b564de2b315db1d5b8799283be
[ "MIT" ]
null
null
null
(* the type of tokens the lexer returns *) type token = | Int of int (* integer *) | Float of float (* float *) | Add (* + *) | Minus (* - *) | Var (* x *) | Caret (* ^ *) | EndOfInput (* end of the input *) | LexError of char (* wrong character *) ...
36.383117
128
0.577369
446139f783e7412cd8c3eb7b42f87e4478365295
1,991
ml
OCaml
libraries/ec2/lib/createTransitGatewayVpcAttachment.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/createTransitGatewayVpcAttachment.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/createTransitGatewayVpcAttachment.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = CreateTransitGatewayVpcAttachmentRequest.t type output = CreateTransitGatewayVpcAttachmentResult.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 (A...
31.603175
113
0.590658
446438584ad17c4d66a2b4cb8865bf9d25461458
157
ml
OCaml
exercises/practice/bowling/bowling.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
67
2017-07-06T12:10:14.000Z
2022-03-27T02:25:06.000Z
exercises/practice/bowling/bowling.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
106
2017-06-19T06:21:53.000Z
2022-03-15T10:32:20.000Z
exercises/practice/bowling/bowling.ml
exercism-bot/ocaml
b72a0d29d7f31d90138eab8fc0f87e56b73ba938
[ "MIT" ]
36
2017-07-12T18:11:37.000Z
2021-11-30T16:05:17.000Z
type t let new_game = failwith "'new_game' is missing" let roll _ _ = failwith "'roll' is missing" let score _ = failwith "'score' is missing"
15.7
36
0.649682
4411b695e9133fdd12b0e6c2c6fa79aad5160db0
11,493
ml
OCaml
src/smt/rewrite_arith.ml
tlaplus/v1-tlapm
c8523c675b2b20712a04c243c73a743d93c9e14a
[ "BSD-2-Clause" ]
3
2019-09-02T11:44:20.000Z
2020-01-23T07:46:12.000Z
src/smt/rewrite_arith.ml
lemmy/tlapm
563ac8d0454386c4797ce060253c03b941e6c463
[ "BSD-2-Clause" ]
null
null
null
src/smt/rewrite_arith.ml
lemmy/tlapm
563ac8d0454386c4797ce060253c03b941e6c463
[ "BSD-2-Clause" ]
4
2019-06-28T15:15:43.000Z
2020-02-17T01:14:35.000Z
(* Rewrite arithmetic expressions. Author: Hern\'an Vanzetto <hernan.vanzetto@inria.fr> Copyright (C) 2011-2020 INRIA and Microsoft Corporation *) open Ext open Property open Expr.T open Expr.Subst open Expr.Visit open Printf open List module B = Builtin module T = Typ_t module Smt = Smtcommons let is_Int scx e ...
58.637755
165
0.516401
bc3334d531d4a631159f58ac9a3346f904e22246
67,186
ml
OCaml
tezt/tests/mempool.ml
selbor28/tezos
57cfc7f42e1312d05b0d7f6742f517edc421aef4
[ "MIT" ]
null
null
null
tezt/tests/mempool.ml
selbor28/tezos
57cfc7f42e1312d05b0d7f6742f517edc421aef4
[ "MIT" ]
null
null
null
tezt/tests/mempool.ml
selbor28/tezos
57cfc7f42e1312d05b0d7f6742f517edc421aef4
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
37.078366
257
0.685336
8a22c5f0feba87e07a8c8b5d69403fd1e84e9df0
898
ml
OCaml
data/fa15_min/0472.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/0472.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/0472.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.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 gs x = let isFPoint s = (f s) = s in let rec go r = if isFPoint r then r else go (f r) in ((go x), (isFPoint x)) in wwhile ((gs b), b);; (* fix let rec wwhile (f...
16.62963
70
0.504454
44c46e717cc67d21aedde518185256f2e8456763
7,535
ml
OCaml
data/derived/comb/progs/unify/prog6854.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/prog2038.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2038.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
26.910714
148
0.642734
8aeb40866526a57d5e4230bd9879609a7c8f61d4
2,674
mli
OCaml
src/proto_alpha/lib_parameters/default_parameters.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_parameters/default_parameters.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_parameters/default_parameters.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
51.423077
79
0.555722
44f0f684915e9290e9743ab1117de4969da69f18
2,289
ml
OCaml
infer/src/cost/costDomain.ml
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
infer/src/cost/costDomain.ml
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
infer/src/cost/costDomain.ml
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) [@@@ocamlformat "parse-docstrings = false"] open! IStd module F = Format module BasicCost = struct include Polynomials.NonNegat...
31.791667
98
0.768458
44c26a108a218e06e8cbb7a632b19beaf16f4538
79
ml
OCaml
test/rewriter/errors/pat_unsupported_payload.ml
pitag-ha/ppx_yojson
1db98d829534dd4396e28678bec141800e70e678
[ "BSD-2-Clause" ]
29
2018-10-04T12:54:14.000Z
2021-10-17T21:23:29.000Z
test/rewriter/errors/pat_unsupported_payload.ml
pitag-ha/ppx_yojson
1db98d829534dd4396e28678bec141800e70e678
[ "BSD-2-Clause" ]
10
2018-10-03T23:34:53.000Z
2022-03-01T02:53:31.000Z
test/rewriter/errors/pat_unsupported_payload.ml
pitag-ha/ppx_yojson
1db98d829534dd4396e28678bec141800e70e678
[ "BSD-2-Clause" ]
3
2019-09-05T14:00:33.000Z
2021-04-09T14:12:21.000Z
let unsupported_payload = function | [%yojson? Ok ()] -> false | _ -> true
19.75
34
0.607595
8a4a5d898cd4f70f9cd63d12ea9b24edf5ebe858
1,075
eliom
OCaml
eliom/tutorial/00200-static-table/src/mysite/mysite.eliom
slegrand45/examples_ocsigen
e2f5efe57caf7a644795ac6b14f6d6e04168e4be
[ "MIT" ]
21
2015-08-30T21:31:06.000Z
2021-12-04T00:17:29.000Z
eliom/tutorial/00200-static-table/src/mysite/mysite.eliom
slegrand45/examples_ocsigen
e2f5efe57caf7a644795ac6b14f6d6e04168e4be
[ "MIT" ]
1
2016-03-16T09:10:55.000Z
2016-03-16T20:19:12.000Z
eliom/tutorial/00200-static-table/src/mysite/mysite.eliom
slegrand45/examples_ocsigen
e2f5efe57caf7a644795ac6b14f6d6e04168e4be
[ "MIT" ]
4
2016-12-28T03:08:39.000Z
2022-03-24T21:18:25.000Z
[%%shared open Eliom_lib open Eliom_content open Html.D ] module Mysite_app = Eliom_registration.App ( struct let application_name = "mysite" let global_data_path = None end) let main_service = Eliom_service.create ~path:(Eliom_service.Path []) ~meth:(Eliom_service.Get Eliom_parameter.unit) ...
21.078431
70
0.55907
bc19ea045aee19cdb7b64968cce817b0f191ff27
136,630
ml
OCaml
hphp/hack/src/errors/errors.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/errors/errors.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/errors/errors.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) 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 Utils open Reordered_argument_collections open String_utils type error_code = int (* We use ...
38.25028
129
0.711981
bc31aed21c5a6a1097e286350ae535733536249c
1,630
ml
OCaml
client/size_input.ml
janestreet/memtrace_viewer
427c441f8a89455a7fc7c696e61bb881de57c49b
[ "MIT" ]
20
2020-09-16T01:37:59.000Z
2022-02-11T14:27:46.000Z
client/size_input.ml
janestreet/memtrace_viewer
427c441f8a89455a7fc7c696e61bb881de57c49b
[ "MIT" ]
9
2020-09-16T08:55:01.000Z
2022-03-26T01:18:06.000Z
client/size_input.ml
janestreet/memtrace_viewer
427c441f8a89455a7fc7c696e61bb881de57c49b
[ "MIT" ]
1
2021-12-17T02:50:49.000Z
2021-12-17T02:50:49.000Z
open! Core open Bonsai_web type t = Byte_units.t option And_view.t module Unit = struct type t = | Bytes | Kilobytes | Megabytes | Gigabytes | Terabytes [@@deriving equal, enumerate, sexp] let to_string = function | Bytes -> "B" | Kilobytes -> "K" | Megabytes -> "M" | Gigaby...
25.46875
85
0.614724
af57d8cbfc99f41d44681c193d9b6ca6ef57ba3f
244
mli
OCaml
hphp/hack/src/third-party/cppo/src/cppo_command.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
34
2018-12-15T08:52:32.000Z
2022-01-22T14:31:54.000Z
hphp/hack/src/third-party/cppo/src/cppo_command.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
16
2018-11-22T20:52:45.000Z
2022-03-08T17:11:06.000Z
hphp/hack/src/third-party/cppo/src/cppo_command.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
8
2019-03-26T18:14:33.000Z
2021-09-29T11:30:18.000Z
type command_token = [ `Text of string | `Loc_file | `Loc_first_line | `Loc_last_line ] type command_template = command_token list val subst : command_template -> string -> int -> int -> string val parse : string -> command_template
20.333333
62
0.709016
bc10abe11c4a645bafa73d77e94be3d69ce0c5df
103,250
ml
OCaml
src/server/command_handler/commandHandler.ml
marcmenn/flow
96e2ae6e50401594a2fbffcce883cf7349a5a15a
[ "MIT" ]
1
2020-12-23T05:42:50.000Z
2020-12-23T05:42:50.000Z
src/server/command_handler/commandHandler.ml
Miazzy/flow
9ec27c7b6582d0e46a57508a2491130e7912e533
[ "MIT" ]
null
null
null
src/server/command_handler/commandHandler.ml
Miazzy/flow
9ec27c7b6582d0e46a57508a2491130e7912e533
[ "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 Base.Result open ServerEnv open Utils_js open Lsp (* Returns the result of calling `type_contents`, along with a bool option ...
41.801619
163
0.677869
44ed3f695d6d122016e6c40987e5c5277f39974c
747
ml
OCaml
vzorec.ml
Gasper-Kozelj/AdventOfCode
ba22047b1a2fe74bc527d3f94b1351d2e04aa060
[ "MIT" ]
null
null
null
vzorec.ml
Gasper-Kozelj/AdventOfCode
ba22047b1a2fe74bc527d3f94b1351d2e04aa060
[ "MIT" ]
null
null
null
vzorec.ml
Gasper-Kozelj/AdventOfCode
ba22047b1a2fe74bc527d3f94b1351d2e04aa060
[ "MIT" ]
null
null
null
let naloga1 vsebina_datoteke = "10" let naloga2 vsebina_datoteke = string_of_int (String.length vsebina_datoteke) let _ = let preberi_datoteko ime_datoteke = let chan = open_in ime_datoteke in let vsebina = really_input_string chan (in_channel_length chan) in close_in cha...
32.478261
75
0.69344
44d27897b90da8fbb7acc8d30c39525f68d8c506
8,885
ml
OCaml
hphp/hack/src/hackfmt/doc.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/src/hackfmt/doc.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/src/hackfmt/doc.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
(* * 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. * *) open Hh_prelude type t = (* Null case *) | Nothing (* List of concatenated nodes *) | Concat of t list (*...
33.655303
80
0.65211
44c923bb85fa792122e6de41ffbbe4c110353f95
473
ml
OCaml
benchmarks/differentiate/diff1/submissions/sub16.ml
kupl/FixML
0a032a733d68cd8ccc8b1034d2908cd43b241fce
[ "MIT" ]
10
2018-11-06T00:08:12.000Z
2019-12-05T11:05:16.000Z
benchmarks/I/diff/sub51.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/I/diff/sub51.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T14:59:50.000Z
2022-03-16T19:25:43.000Z
type aexp = | Const of int | Var of string | Power of string * int | Times of aexp list | Sum of aexp list let rec diff : aexp * string -> aexp =fun (aexp,x) -> match aexp with |Power(a,b) ->Times[Const b ; Var a] |Const n ->Const 0 |Var n -> Var n |Times (hd :: tl) -> Sum [ (Times( diff(hd,x) ::...
24.894737
99
0.53277
44a6f7913de5958836fa67cf21ef9def4131b707
12,693
ml
OCaml
common/name.ml
brick-lang/kekka
7ede659ffb49959b140e6ab0a72d38ff6c63311b
[ "Apache-2.0" ]
14
2015-09-14T11:13:35.000Z
2019-11-14T16:08:02.000Z
common/name.ml
brick-lang/kekka
7ede659ffb49959b140e6ab0a72d38ff6c63311b
[ "Apache-2.0" ]
null
null
null
common/name.ml
brick-lang/kekka
7ede659ffb49959b140e6ab0a72d38ff6c63311b
[ "Apache-2.0" ]
null
null
null
open Core open Core.Poly open BasicClasses open Util (********************************* * Names *********************************) (** * Names defined by the user. * Uses a hash to speed up comparisons. The hash is constructed * such that they can be compared too. (h1 > h2 => name1 > name2) * The hash is case-in...
30.883212
107
0.574254
44cca8fc87a2605a009d8e6836b283a5f9e9b244
5,543
mli
OCaml
src/state.mli
rems-project/cn-lsp-server
f78db2dcadec2d799e76d7cdf71aac6a33ed2bfd
[ "0BSD" ]
null
null
null
src/state.mli
rems-project/cn-lsp-server
f78db2dcadec2d799e76d7cdf71aac6a33ed2bfd
[ "0BSD" ]
null
null
null
src/state.mli
rems-project/cn-lsp-server
f78db2dcadec2d799e76d7cdf71aac6a33ed2bfd
[ "0BSD" ]
null
null
null
(*============================================================================*) (* The following parts of CN LSP Server contain new code released under the *) (* BSD 2-Clause License: *) (* * `src/cn.ml` ...
65.988095
80
0.470684
8af2d83002227107b0cca6f7b40561af027cdad1
8,008
ml
OCaml
src/monitor/flowServerMonitor.ml
ostera/flow
5006818684fe3210edb57c07fbb978287fdd225f
[ "MIT" ]
1
2019-07-15T20:48:46.000Z
2019-07-15T20:48:46.000Z
src/monitor/flowServerMonitor.ml
wgao19/flow
8e6b768fd787c5a1b5f7025fbf8b3b00111671de
[ "MIT" ]
null
null
null
src/monitor/flowServerMonitor.ml
wgao19/flow
8e6b768fd787c5a1b5f7025fbf8b3b00111671de
[ "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 spf = Printf.sprintf module Logger = FlowServerMonitorLogger (* We want to send a "Starting" message immediately and a "Read...
39.254902
100
0.715784
44ba1a61a38d9fb63e5e00585bd39e316ea1bb24
6,409
mli
OCaml
src/core/CCInt.mli
FardaleM/ocaml-containers
0a3b04855ab27925d6a8d6253151c2c7c03aff13
[ "BSD-2-Clause" ]
null
null
null
src/core/CCInt.mli
FardaleM/ocaml-containers
0a3b04855ab27925d6a8d6253151c2c7c03aff13
[ "BSD-2-Clause" ]
null
null
null
src/core/CCInt.mli
FardaleM/ocaml-containers
0a3b04855ab27925d6a8d6253151c2c7c03aff13
[ "BSD-2-Clause" ]
null
null
null
(* This file is free software, part of containers. See file "license" for more details. *) (** {1 Basic Int functions} *) include module type of CCShimsInt_ type t = int val zero : t (** [zero] is the integer [0]. @since NEXT_RELEASE *) val one : t (** [one] is the integer [1]. @since NEXT_RELEASE *) val...
24.461832
90
0.561866
bc36dd24b951f30f4610f1152cb3587f09d43bea
6,197
ml
OCaml
sledge/src/fol/fml.ml
SubratSahai/infer
b57ccc3364239f94f818f3f6b4bc9baf64f3b909
[ "MIT" ]
null
null
null
sledge/src/fol/fml.ml
SubratSahai/infer
b57ccc3364239f94f818f3f6b4bc9baf64f3b909
[ "MIT" ]
null
null
null
sledge/src/fol/fml.ml
SubratSahai/infer
b57ccc3364239f94f818f3f6b4bc9baf64f3b909
[ "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. *) (** Formulas *) module Prop = Propositional.Make (Trm) module Set = Prop.Fmls type set = Set.t include Prop.Fml let pp_boxed fs...
30.678218
77
0.548491
bc2d98104bcfd2a10895a5add55c356c7e091140
571
ml
OCaml
src/html/utils.ml
odis-labs/odoc
f0551b17f48bcbded11f6b89b989464a82fc9a56
[ "0BSD" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
src/html/utils.ml
odis-labs/odoc
f0551b17f48bcbded11f6b89b989464a82fc9a56
[ "0BSD" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
src/html/utils.ml
odis-labs/odoc
f0551b17f48bcbded11f6b89b989464a82fc9a56
[ "0BSD" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
module Html = Tyxml.Html (* Shared utility functions *) let rec list_concat_map ?sep ~f = function | [] -> [] | [x] -> f x | x :: xs -> let hd = f x in let tl = list_concat_map ?sep ~f xs in match sep with | None -> hd @ tl | Some sep -> hd @ sep :: tl let rec list_concat_map_list_sep ~sep ...
21.148148
51
0.555166
44ca04cb04faa1910e17eea9db88cc39107ea407
5,211
mli
OCaml
src/proto_alpha/lib_protocol/apply.mli
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/apply.mli
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/apply.mli
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
31.581818
80
0.62963
afb20c0c69811467f8b0e63e1c0e92abc6436364
2,197
ml
OCaml
hphp/hack/test/utils/telemetry/telemetry_test_utils.ml
gaurav1086/hhvm
44b0edc7a9186a4ccc04ecbba0f5cf52619d37e0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/utils/telemetry/telemetry_test_utils.ml
gaurav1086/hhvm
44b0edc7a9186a4ccc04ecbba0f5cf52619d37e0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/utils/telemetry/telemetry_test_utils.ml
gaurav1086/hhvm
44b0edc7a9186a4ccc04ecbba0f5cf52619d37e0
[ "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. * *) let telemetry_to_multiline (telemetry : Telemetry.t) : string = telemetry |> Telemetry.to_string |> Hh_json.json_of_stri...
33.8
80
0.620391
bc35ea59e349a10ec2ba563804acb14e812d146f
877
ml
OCaml
hphp/hack/src/client/clientTypeAtPos.ml
glensc/hhvm
c162114abb709e31b48c1b105704738f78586208
[ "PHP-3.01", "Zend-2.0" ]
1
2020-10-09T15:14:16.000Z
2020-10-09T15:14:16.000Z
hphp/hack/src/client/clientTypeAtPos.ml
glensc/hhvm
c162114abb709e31b48c1b105704738f78586208
[ "PHP-3.01", "Zend-2.0" ]
3
2020-12-31T09:08:34.000Z
2021-09-28T05:42:02.000Z
hphp/hack/src/client/clientTypeAtPos.ml
glensc/hhvm
c162114abb709e31b48c1b105704738f78586208
[ "PHP-3.01", "Zend-2.0" ]
1
2020-10-09T15:14:18.000Z
2020-10-09T15:14:18.000Z
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) let go pos ty...
27.40625
80
0.594071
44218201465f2318e4696f209e8af209cd424fe4
43,106
ml
OCaml
src/ocaml-output/FStar_SMTEncoding_Env.ml
qunyanm/FStar
4e241642dee1f4e22d4a259bf1df36135e39e41a
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_SMTEncoding_Env.ml
qunyanm/FStar
4e241642dee1f4e22d4a259bf1df36135e39e41a
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_SMTEncoding_Env.ml
qunyanm/FStar
4e241642dee1f4e22d4a259bf1df36135e39e41a
[ "Apache-2.0" ]
null
null
null
open Prims exception Inner_let_rec let (uu___is_Inner_let_rec : Prims.exn -> Prims.bool) = fun projectee -> match projectee with | Inner_let_rec -> true | uu____36 -> false let add_fuel : 'Auu____45 . 'Auu____45 -> 'Auu____45 Prims.list -> 'Auu____45 Prims.list = fun x -> fun tl1 -> let uu__...
37.812281
89
0.628312
44c831fd130ca26b7db412c7624e4f999aef0139
3,054
mli
OCaml
infer/src/bufferoverrun/bufferOverrunUtils.mli
quangdo3112/infer
846d6fa23dbe3eb24ffa76e117424620a8754e70
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunUtils.mli
quangdo3112/infer
846d6fa23dbe3eb24ffa76e117424620a8754e70
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunUtils.mli
quangdo3112/infer
846d6fa23dbe3eb24ffa76e117424620a8754e70
[ "MIT" ]
null
null
null
(* * 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 open AbsLoc module Dom = BufferOverrunDomain module Relation = BufferOverrunDomainRelation module PO = BufferOverrunProofOblig...
22.291971
99
0.616568
44b519b59a288622d110b81481703a7abb23a067
6,130
mli
OCaml
src/typing/typedtree.mli
johnyob/dromedary
e786bc9101e3964db1f02a8f0c0febdce4dd8f64
[ "MIT" ]
23
2021-11-20T19:42:50.000Z
2022-03-28T15:34:22.000Z
src/typing/typedtree.mli
johnyob/dromedary
e786bc9101e3964db1f02a8f0c0febdce4dd8f64
[ "MIT" ]
18
2021-11-05T14:27:25.000Z
2022-03-19T20:15:06.000Z
src/typing/typedtree.mli
johnyob/dromedary
e786bc9101e3964db1f02a8f0c0febdce4dd8f64
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Dromedary *) (* *) ...
33.497268
86
0.564927