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
1742109ca535fc66c7c009254baff011596ab8ea
233
mli
OCaml
lib/expression.mli
Routineco/ppx_yojson
afe2813288c395e710e1e056b2531b8b8797e687
[ "BSD-2-Clause" ]
29
2018-10-04T12:54:14.000Z
2021-10-17T21:23:29.000Z
lib/expression.mli
Routineco/ppx_yojson
afe2813288c395e710e1e056b2531b8b8797e687
[ "BSD-2-Clause" ]
10
2018-10-03T23:34:53.000Z
2022-03-01T02:53:31.000Z
lib/expression.mli
Routineco/ppx_yojson
afe2813288c395e710e1e056b2531b8b8797e687
[ "BSD-2-Clause" ]
3
2019-09-05T14:00:33.000Z
2021-04-09T14:12:21.000Z
(** Expression rewriting *) val expand_ezjsonm : loc:Ppxlib.Location.t -> path:string -> Ppxlib.expression -> Ppxlib.expression val expand_yojson : loc:Ppxlib.Location.t -> path:string -> Ppxlib.expression -> Ppxlib.expression
29.125
80
0.738197
174c67143147062ff6f063f5bdda97dacdbb0b1e
12,809
ml
OCaml
src/core/Builtins_advanced.ml
c-cube/stimsym
b35f350bcf84e2d3c17b0a0909834f58c53f8ab9
[ "BSD-2-Clause" ]
55
2016-11-30T00:29:36.000Z
2021-11-06T18:52:42.000Z
src/core/Builtins_advanced.ml
c-cube/stimsym
b35f350bcf84e2d3c17b0a0909834f58c53f8ab9
[ "BSD-2-Clause" ]
7
2016-12-09T10:24:37.000Z
2018-02-21T16:10:24.000Z
src/core/Builtins_advanced.ml
c-cube/stimsym
b35f350bcf84e2d3c17b0a0909834f58c53f8ab9
[ "BSD-2-Clause" ]
3
2017-01-22T23:35:09.000Z
2021-05-14T11:12:45.000Z
(* This file is free software. See file "license" for more details. *) (** {1 More Advanced Builtins} *) module E = Expr module B = Builtins module E_tbl = E.Tbl type t = B.t module Sat_solve = struct type form = | And of form array | Or of form array | True | False | Not of form | Atom o...
32.264484
90
0.529003
aac31770eba73b8011beab83daaf3a211f627e23
342
mli
OCaml
lib/bio/ChIPQC.mli
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
44
2016-01-21T20:34:10.000Z
2021-04-30T00:21:34.000Z
lib/bio/ChIPQC.mli
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
37
2016-01-31T12:00:13.000Z
2021-11-13T21:58:41.000Z
lib/bio/ChIPQC.mli
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
11
2016-07-07T14:43:17.000Z
2022-03-29T00:30:31.000Z
open Bistro open Formats type 'a sample = { id : string ; tissue : string ; factor : string ; replicate : string ; bam : [`indexed_bam] directory ; peaks : (#bed3 as 'a) file ; } val run : 'a sample list -> [`ChIPQC] directory (** Beware: doesn't work with only one sample (see https://support.biocondu...
21.375
50
0.640351
170497ccbe64cf34b071b4f7ce7a5f3db5b41f53
22,940
ml
OCaml
hphp/hack/src/hh_matcher/patcher.ml
MaxSem/hhvm
8e8544c324e0157404374cf313a237bfa70b35d4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_matcher/patcher.ml
MaxSem/hhvm
8e8544c324e0157404374cf313a237bfa70b35d4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_matcher/patcher.ml
MaxSem/hhvm
8e8544c324e0157404374cf313a237bfa70b35d4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Ast open...
38.361204
80
0.642764
bcc8ba01eee5aca0563be7c0f9d36b516d755528
8,771
mly
OCaml
tests/ccss.1.6-parser.mly
vbgl/Obelisk
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
39
2017-07-06T09:41:44.000Z
2022-02-09T17:01:07.000Z
tests/ccss.1.6-parser.mly
vbgl/Obelisk
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
12
2017-07-07T11:14:24.000Z
2022-03-21T19:31:02.000Z
tests/ccss.1.6-parser.mly
Lelio-Brun/MenhirBrav
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
4
2020-03-13T11:08:08.000Z
2022-03-14T13:16:00.000Z
(* Original file: ccss.1.6/ccss-1.6/src/parser.mly *) (********************************************************************************) (* Parser.mly Copyright (c) 2010-2016 Dario Teixeira <dario.teixeira@nleyten.com> This software is distributed under the terms of the GNU GPL version 2. See LICENSE file ...
37.323404
100
0.381826
1770918768efa633f2158d2149667f4d54545cd1
6,471
ml
OCaml
find_files/src/find_files.ml
janestreet/core_extended
6702f1881f841cb2121124b5ce8dcad7844fb8e8
[ "MIT" ]
22
2015-02-10T21:51:43.000Z
2021-12-17T02:52:33.000Z
find_files/src/find_files.ml
janestreet/core_extended
6702f1881f841cb2121124b5ce8dcad7844fb8e8
[ "MIT" ]
19
2015-02-05T14:06:12.000Z
2021-01-14T12:30:38.000Z
find_files/src/find_files.ml
janestreet/core_extended
6702f1881f841cb2121124b5ce8dcad7844fb8e8
[ "MIT" ]
10
2015-01-25T00:01:37.000Z
2021-12-17T02:53:16.000Z
open Core open Poly module Unix = Core_unix type file_info = string * Unix.stats type path = string list let path_append path x = x :: path let path_to_string ?base path = match base, path with | None, [] -> "." | Some base, [] -> base | None, _ -> String.concat ~sep:"/" (List.rev path) | Some base, _ -> b...
25.376471
89
0.593571
17590eae40936aecfabfa8de00e975c30b3ba0e9
3,960
ml
OCaml
src/machdepenv.ml
coslu/cil
b3b8b0dac5e009e9419b77a9116681c2230a5013
[ "BSD-3-Clause" ]
null
null
null
src/machdepenv.ml
coslu/cil
b3b8b0dac5e009e9419b77a9116681c2230a5013
[ "BSD-3-Clause" ]
null
null
null
src/machdepenv.ml
coslu/cil
b3b8b0dac5e009e9419b77a9116681c2230a5013
[ "BSD-3-Clause" ]
null
null
null
open Machdep module R = Str module L = List module H = Hashtbl let preparse (s:string) : (string, string list) H.t = let specTable = H.create 32 in let commaRegexp = R.regexp "," in let spaceRegexp = R.regexp "[ \t]+" in let specRegexp = R.regexp "^\\([a-zA-Z_0-9]+\\)[ \t]*=\\(.*\\)$" in let specs = R.split ...
38.446602
77
0.715657
177e0fd52db4e0543a7fa17abb186773b6b03709
251
mli
OCaml
libraries/ec2/lib/cancelReservedInstancesListing.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/cancelReservedInstancesListing.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/cancelReservedInstancesListing.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = CancelReservedInstancesListingRequest.t type output = CancelReservedInstancesListingResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
35.857143
74
0.780876
1765c485ecb555798e7ecb4c69ecb8578b4b5a63
2,373
mli
OCaml
src/dune_rules/ordered_set_lang.mli
toots/dune
29b6b9f9e6ed9a7be596ba2ef565412a064cc8e2
[ "MIT" ]
null
null
null
src/dune_rules/ordered_set_lang.mli
toots/dune
29b6b9f9e6ed9a7be596ba2ef565412a064cc8e2
[ "MIT" ]
null
null
null
src/dune_rules/ordered_set_lang.mli
toots/dune
29b6b9f9e6ed9a7be596ba2ef565412a064cc8e2
[ "MIT" ]
null
null
null
(** [Ordered_set_lang.t] is a sexp-based representation for an ordered list of strings, with some set like operations. *) open! Stdune open Dune_engine open Import type t val decode : t Dune_lang.Decoder.t (** Return the location of the set. [loc standard] returns [None] *) val loc : t -> Loc.t option val eval...
25.244681
80
0.645175
aaaa36b0881c279851f2e0a45a69e951bbf35026
5,453
ml
OCaml
eval/ocaml/ocamlbuild/solver.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/ocaml/ocamlbuild/solver.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/ocaml/ocamlbuild/solver.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* ocamlbuild *) (* *) (* Nicolas Pouillard, B...
41
94
0.604988
1709f7c5474f7e214c75d56536872f507c8e8fd7
17,791
ml
OCaml
burst/app/BurstCmdLine.ml
VictorYYW/BurstArtifactEvaluation
b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc
[ "MIT" ]
null
null
null
burst/app/BurstCmdLine.ml
VictorYYW/BurstArtifactEvaluation
b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc
[ "MIT" ]
null
null
null
burst/app/BurstCmdLine.ml
VictorYYW/BurstArtifactEvaluation
b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc
[ "MIT" ]
null
null
null
open MyStdLib open Burst open Lang module Time = struct open Core include Time let timeout = 60 exception Timeout let delayed_fun f = let (_ : unit) = Stdlib.Sys.set_signal Stdlib.Sys.sigalrm (Stdlib.Sys.Signal_handle (fun _ -> raise Timeout)) in ignore (Unix.alarm timeout : int)...
35.09073
134
0.648249
aa7919aedc5cb3964abb903411368fca23c1b2ff
2,526
ml
OCaml
test/runtime_test.ml
rafacm/aws-lambda-ocaml-runtime
57688862c3471e01ac8f7fc7a98debf548fe752c
[ "MIT" ]
null
null
null
test/runtime_test.ml
rafacm/aws-lambda-ocaml-runtime
57688862c3471e01ac8f7fc7a98debf548fe752c
[ "MIT" ]
null
null
null
test/runtime_test.ml
rafacm/aws-lambda-ocaml-runtime
57688862c3471e01ac8f7fc7a98debf548fe752c
[ "MIT" ]
null
null
null
open Test_common module Runtime = Lambda_runtime__.Runtime.Make (Lambda_runtime__.Lambda_json.Id) (Lambda_runtime__.Lambda_json.Id) let request = `String "test" let test_runtime = test_runtime_generic (module Runtime) ~lift:Lwt.return request let test_async_runtime = test_runtime_generic (module Runtime)...
31.974684
79
0.532067
bced34d4f588ad66fa52799b5e2eb46b59eac2d7
975
ml
OCaml
src/entry.ml
iburinoc/btrshotter
53625397e386d7def96784088355169a80ac0f7e
[ "Apache-2.0" ]
null
null
null
src/entry.ml
iburinoc/btrshotter
53625397e386d7def96784088355169a80ac0f7e
[ "Apache-2.0" ]
null
null
null
src/entry.ml
iburinoc/btrshotter
53625397e386d7def96784088355169a80ac0f7e
[ "Apache-2.0" ]
null
null
null
open! Core open! Async module T = struct type t = { creation_time : Time_ns.t ; name : string } [@@deriving fields, sexp_of, compare] end include T include Comparable.Make_plain (T) let create = Fields.create let of_subvolume_list_line line = let open Or_error.Let_syntax in let items = String.sp...
26.351351
82
0.682051
aaf0c24d78be0e2ee23ac4bf53a352c6ac2c24af
1,561
mli
OCaml
src/dune_rules/exe.mli
ghennequin/dune
0693738306e5cbcbc4d64ea68ead9fbe650d32ea
[ "MIT" ]
1
2022-03-18T02:24:50.000Z
2022-03-18T02:24:50.000Z
src/dune_rules/exe.mli
ghennequin/dune
0693738306e5cbcbc4d64ea68ead9fbe650d32ea
[ "MIT" ]
null
null
null
src/dune_rules/exe.mli
ghennequin/dune
0693738306e5cbcbc4d64ea68ead9fbe650d32ea
[ "MIT" ]
1
2021-05-07T18:08:53.000Z
2021-05-07T18:08:53.000Z
(** Compilation and linking of executables *) open! Dune_engine open Stdune module Program : sig type t = { name : string ; main_module_name : Module_name.t ; loc : Loc.t } end module Linkage : sig type t val equal : t -> t -> bool (** Byte compilation, exetension [.bc] *) val byte : t ...
23.298507
75
0.670724
17790acee7c1ffe89992927e42ba076f5e712508
1,776
ml
OCaml
hphp/hack/src/typing/nast_check/naming_coroutine_check.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/nast_check/naming_coroutine_check.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/typing/nast_check/naming_coroutine_check.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
1
2022-01-06T04:58:57.000Z
2022-01-06T04:58:57.000Z
(* * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Aast open Nast_check_env let is_generator env = let fun_kind = env.function_kind in Option...
30.101695
79
0.649775
1755430f920209eb988b25b4c856075923483827
21,031
ml
OCaml
src/parser_utils/signature_builder.ml
samwgoldman/flow
2eb5a78d92c167117ba9caae070afd2b9f598599
[ "MIT" ]
1
2021-09-08T08:06:58.000Z
2021-09-08T08:06:58.000Z
src/parser_utils/signature_builder.ml
bobzhang/flow
5f0599fd05351c1abcba8849a85a1dfeace69e9d
[ "MIT" ]
null
null
null
src/parser_utils/signature_builder.ml
bobzhang/flow
5f0599fd05351c1abcba8849a85a1dfeace69e9d
[ "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 Flow_ast_visitor module Entry = Signature_builder_entry module Env = Signature_builder_env module V = Si...
35.346218
101
0.588132
177155b403e60c7174c237dde9e8b911962c3a22
524
ml
OCaml
data/sp14/2715.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/2715.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/2715.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 (digitsOfInt (n / 10)) @ (n mod 10) else [];; (* fix let rec digitsOfInt n = if n > 0 then (digitsOfInt (n / 10)) @ [n mod 10] else [];; *) (* changed spans (3,41)-(3,51) *) (* type error slice (3,16)-(3,51) (3,39)-(3,40) (3,41)-(3,51) *) (* all spans (2,20)-(3,59) (3,2...
12.780488
61
0.480916
1778341d6d4ba7dac6c162c38838b08c0711a06f
1,840
ml
OCaml
src/bindings/tracy.ml
AestheticIntegration/ocaml-tracy
0ba5be078ee3c098a8abdfbb56788d6aeeb800e0
[ "BSD-3-Clause" ]
17
2021-05-06T17:04:46.000Z
2021-09-06T10:14:47.000Z
src/bindings/tracy.ml
AestheticIntegration/ocaml-tracy
0ba5be078ee3c098a8abdfbb56788d6aeeb800e0
[ "BSD-3-Clause" ]
null
null
null
src/bindings/tracy.ml
AestheticIntegration/ocaml-tracy
0ba5be078ee3c098a8abdfbb56788d6aeeb800e0
[ "BSD-3-Clause" ]
null
null
null
type span = int (* technically, [span] is [(bool,uint32)], but since tracy required 64 bits, it always fits *) external _tracy_enable : unit -> unit = "ml_tracy_enable" [@@noalloc] external _tracy_enabled : unit -> bool = "ml_tracy_enabled" [@@noalloc] external _tracy_enter : file:string -> fun_:string -> line:i...
35.384615
86
0.709783
aa5f1f57fa7ca39551f6b493beff6156ae86674b
89
ml
OCaml
data/derived/comb/progs/unify/prog7259.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/prog2445.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2445.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x x a = x x a in let base f x = x in List.fold_left f base fs;;
22.25
73
0.606742
aa945c62eba2a711ba52ebb33354179165c32605
51
ml
OCaml
test/blackbox-tests/test-cases/utop/utop-default-implementation.t/forutop-impl-2/forutop.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
test/blackbox-tests/test-cases/utop/utop-default-implementation.t/forutop-impl-2/forutop.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
test/blackbox-tests/test-cases/utop/utop-default-implementation.t/forutop-impl-2/forutop.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
let run () = print_endline "shouldn't be selected"
25.5
50
0.72549
177c4c752c3c5306aeda95efb89f0af8b37c880f
23,020
ml
OCaml
Spoc/Mem.ml
XVilka/SPOC
6bbb93abd8db8af368e2c457baf329a2cb476755
[ "CECILL-B" ]
null
null
null
Spoc/Mem.ml
XVilka/SPOC
6bbb93abd8db8af368e2c457baf329a2cb476755
[ "CECILL-B" ]
null
null
null
Spoc/Mem.ml
XVilka/SPOC
6bbb93abd8db8af368e2c457baf329a2cb476755
[ "CECILL-B" ]
null
null
null
(****************************************************************************** * Mathias Bourgoin, Université Pierre et Marie Curie (2011) * * Mathias.Bourgoin@gmail.com * * This software is a computer program whose purpose is to allow * GPU programming with the OCaml language. * * This software is governed by...
42.161172
235
0.632146
1757f43bf12b21a309a09b838a60b46bf3ab78fb
869
mli
OCaml
infer/src/cost/constraintSolver.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/src/cost/constraintSolver.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/src/cost/constraintSolver.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 module F = Format module BasicCost = CostDomain.BasicCost module Node = ProcCfg.DefaultNode type debug = {f: 'a. ('a, F...
31.035714
96
0.72267
178334970f69fc6accd7ee3b081b52344284963b
3,866
ml
OCaml
infer/src/IR/QualifiedCppName.ml
dmitryvinn/infer
3531b559617da68b6b9afa863212a9056bd34948
[ "MIT" ]
null
null
null
infer/src/IR/QualifiedCppName.ml
dmitryvinn/infer
3531b559617da68b6b9afa863212a9056bd34948
[ "MIT" ]
null
null
null
infer/src/IR/QualifiedCppName.ml
dmitryvinn/infer
3531b559617da68b6b9afa863212a9056bd34948
[ "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 exception ParseError of string (* internally it uses reversed list to store qualified name, for exam...
31.950413
109
0.709519
175d3e67bbd65b28d8c917eb63be0d0b642d4a36
25,190
ml
OCaml
x86/proofs/bignum_montsqr_p256_alt.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
x86/proofs/bignum_montsqr_p256_alt.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
x86/proofs/bignum_montsqr_p256_alt.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 ...
51.095335
117
0.55129
176372e0aad3f4dfbc5cf5727aa10bb2d17fd57b
561
mli
OCaml
src/irmin-mirage/graphql/irmin_mirage_graphql.mli
lyrm/irmin
1786c1b3e815e4b4452e0f5eea6991643d04b3a5
[ "ISC" ]
null
null
null
src/irmin-mirage/graphql/irmin_mirage_graphql.mli
lyrm/irmin
1786c1b3e815e4b4452e0f5eea6991643d04b3a5
[ "ISC" ]
null
null
null
src/irmin-mirage/graphql/irmin_mirage_graphql.mli
lyrm/irmin
1786c1b3e815e4b4452e0f5eea6991643d04b3a5
[ "ISC" ]
null
null
null
module Server : sig module type S = sig module Pclock : Mirage_clock.PCLOCK module Http : Cohttp_lwt.S.Server module Store : Irmin.S with type Private.Sync.endpoint = Git_mirage.endpoint val start : http:(Http.t -> unit Lwt.t) -> Store.repo -> unit Lwt.t end module Make (Http : Coh...
25.5
77
0.652406
17545d3bd7337a979f8547ec12f24e2f9f3c2fdf
1,477
ml
OCaml
src/common/lwt/lwtSysUtils.ml
kegluneq/flow
184b181b9e2ac2d67d85365b205606e0c3359282
[ "MIT" ]
null
null
null
src/common/lwt/lwtSysUtils.ml
kegluneq/flow
184b181b9e2ac2d67d85365b205606e0c3359282
[ "MIT" ]
null
null
null
src/common/lwt/lwtSysUtils.ml
kegluneq/flow
184b181b9e2ac2d67d85365b205606e0c3359282
[ "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. *) (* Basically a `waitpid [ WUNTRACED ] pid` (WUNTRACED means also return on stopped processes) *) let blocking_waitpid = let reaso...
34.348837
98
0.695328
aa47c7f6a354798292b8bc307ba99e65da9761ad
234
ml
OCaml
data/derived/comb/progs/unify/prog7099.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/prog2284.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2284.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = a ^ (sep ^ x) in let base = h in let l = t in List.fold_left f base l;; let stringOfList f l = "[" ^ ((sepConcat ";" (List.map f l)) "]");;
23.4
67
0.5
aacf9f21bcf29d08effb18cbefa225bb06f0e5d7
60
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/lib-dynlink-csharp/plugin.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/lib-dynlink-csharp/plugin.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/lib-dynlink-csharp/plugin.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
let f x = x.{2} let () = print_endline "I'm the plugin."
12
33
0.566667
178f2da0327a9aedd18a691fe608e809a3278eac
20,069
ml
OCaml
src/lib/runtime_config/runtime_config.ml
paul-schaaf/coda
2292aed8e1b3c495e1e9ec2a956e07f6d4ab57ba
[ "Apache-2.0" ]
null
null
null
src/lib/runtime_config/runtime_config.ml
paul-schaaf/coda
2292aed8e1b3c495e1e9ec2a956e07f6d4ab57ba
[ "Apache-2.0" ]
null
null
null
src/lib/runtime_config/runtime_config.ml
paul-schaaf/coda
2292aed8e1b3c495e1e9ec2a956e07f6d4ab57ba
[ "Apache-2.0" ]
null
null
null
open Core_kernel let yojson_strip_fields ~keep_fields = function | `Assoc l -> `Assoc (List.filter l ~f:(fun (fld, _) -> Array.mem ~equal:String.equal keep_fields fld )) | json -> json let yojson_rename_fields ~alternates = function | `Assoc l -> `Assoc (List.map l...
30.546423
80
0.631073
1750dd244d3552a1b44a68ed3858f6b3fc377036
284
ml
OCaml
test/unit/test_instrument.ml
mbouaziz/bisect_ppx
a5320eaf2c9c72f1dcd8c04d63a1a4c40aeeaa24
[ "MIT" ]
null
null
null
test/unit/test_instrument.ml
mbouaziz/bisect_ppx
a5320eaf2c9c72f1dcd8c04d63a1a4c40aeeaa24
[ "MIT" ]
null
null
null
test/unit/test_instrument.ml
mbouaziz/bisect_ppx
a5320eaf2c9c72f1dcd8c04d63a1a4c40aeeaa24
[ "MIT" ]
1
2020-11-17T11:14:18.000Z
2020-11-17T11:14:18.000Z
(* This file is part of Bisect_ppx, released under the MIT license. See LICENSE.md for details, or visit https://github.com/aantron/bisect_ppx/blob/master/LICENSE.md. *) open Test_helpers let tests = compile_compare (fun () -> with_bisect () ^ " -w +A-32-4") "instrument"
25.818182
73
0.700704
aa8e6620e73475a97d19d150cc48bcba21776b85
236
ml
OCaml
node-test/bindings/expected/process.ml
smorimoto/gen_js_api
ade33361078c6e20f417c60f91451d79805f7afe
[ "MIT" ]
null
null
null
node-test/bindings/expected/process.ml
smorimoto/gen_js_api
ade33361078c6e20f417c60f91451d79805f7afe
[ "MIT" ]
null
null
null
node-test/bindings/expected/process.ml
smorimoto/gen_js_api
ade33361078c6e20f417c60f91451d79805f7afe
[ "MIT" ]
null
null
null
[@@@js.dummy "!! This code has been generated by gen_js_api !!"] [@@@ocaml.warning "-7-32-39"] let (env : string Container.StringMap.t) = Container.StringMap.t_of_js Ojs.string_of_js (Ojs.get (Ojs.get Ojs.global "process") "env")
39.333333
64
0.686441
aa53a2e81bc16a5f421f81add91af985725cfe4f
8,114
mli
OCaml
wp/lib/bap_wp/src/environment.mli
dbeigi/cbat_tools
ebba824f2a1d217c5a1f12cdce6555676d036099
[ "MIT" ]
null
null
null
wp/lib/bap_wp/src/environment.mli
dbeigi/cbat_tools
ebba824f2a1d217c5a1f12cdce6555676d036099
[ "MIT" ]
null
null
null
wp/lib/bap_wp/src/environment.mli
dbeigi/cbat_tools
ebba824f2a1d217c5a1f12cdce6555676d036099
[ "MIT" ]
null
null
null
(***************************************************************************) (* *) (* Copyright (C) 2018/2019 The Charles Stark Draper Laboratory, Inc. *) (* *) (* This...
42.041451
97
0.658491
aa05340f415b1ca44bf2632f99323ce343652ef8
11,711
ml
OCaml
src/semantic.ml
jorisgio/lics-compiler
b39366a1f7822813a922273326fbdcd52921b5d7
[ "MIT" ]
null
null
null
src/semantic.ml
jorisgio/lics-compiler
b39366a1f7822813a922273326fbdcd52921b5d7
[ "MIT" ]
1
2016-05-23T14:17:33.000Z
2016-05-24T01:38:31.000Z
src/semantic.ml
jorisgio/lics-compiler
b39366a1f7822813a922273326fbdcd52921b5d7
[ "MIT" ]
null
null
null
(* Analyse sémantique de la syntaxe abstraite On réalise le typage des expressions, et on vérifie que tout les id sont bien définis On type ensuite les instructions En sortie, on obtient une syntaxe abstraite telle que définie par Sast.*) open Ast module Exceptions = struct open Sast exception Undefine...
34.142857
144
0.62437
aaa4f3c7427213f796da58571749c99da8dc0458
6,447
ml
OCaml
hphp/hack/src/hhbc/rx.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/rx.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/rx.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel module T = Tast (* The possible Rx levels of a function or method *) type t = | NonRx | Cond...
36.01676
82
0.731968
bcf8d3d800237e34b7196a9ce716fbd96cf6eae9
269
mli
OCaml
libraries/route53/lib/listTrafficPolicyInstancesByHostedZone.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/listTrafficPolicyInstancesByHostedZone.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/route53/lib/listTrafficPolicyInstancesByHostedZone.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = ListTrafficPolicyInstancesByHostedZoneRequest.t type output = ListTrafficPolicyInstancesByHostedZoneResponse.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
38.428571
74
0.795539
bc04f245ad5da322de19d5503e52c0af91c44c1d
140
mli
OCaml
parser.mli
FirstSingularity/micr-ocaml
dabe3f87c8d68da122062bc8a8b15dac5b5f66ec
[ "MIT" ]
null
null
null
parser.mli
FirstSingularity/micr-ocaml
dabe3f87c8d68da122062bc8a8b15dac5b5f66ec
[ "MIT" ]
null
null
null
parser.mli
FirstSingularity/micr-ocaml
dabe3f87c8d68da122062bc8a8b15dac5b5f66ec
[ "MIT" ]
null
null
null
open MicroCamlTypes open TokenTypes val parse_expr : token list -> (token list * expr) val parse_mutop : token list -> (token list * mutop)
28
52
0.742857
aad59bfa26e86a35c966c324ab34390088124905
5,788
ml
OCaml
test/test_hashtbl.ml
mbacarella/base
02baffc343fd0eb8f58dce6fddf1ab5d3afba78e
[ "MIT" ]
null
null
null
test/test_hashtbl.ml
mbacarella/base
02baffc343fd0eb8f58dce6fddf1ab5d3afba78e
[ "MIT" ]
null
null
null
test/test_hashtbl.ml
mbacarella/base
02baffc343fd0eb8f58dce6fddf1ab5d3afba78e
[ "MIT" ]
null
null
null
open! Base open Expect_test_helpers_core type int_hashtbl = int Hashtbl.M(Int).t [@@deriving sexp] let%test "Hashtbl.merge succeeds with first-class-module interface" = let t1 = Hashtbl.create (module Int) in let t2 = Hashtbl.create (module Int) in let result = Hashtbl.merge t1 t2 ~f:(fun ~key:_ -> function...
27.301887
90
0.56237
17903860f7ab15eb26c6260082ad3ca972b532bc
1,911
ml
OCaml
libraries/ec2/lib/describeManagedPrefixLists.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeManagedPrefixLists.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/describeManagedPrefixLists.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeManagedPrefixListsRequest.t type output = DescribeManagedPrefixListsResult.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_opt...
31.327869
106
0.586081
aab5ba901a584df5f3ec2793154b05cf46ade025
554
ml
OCaml
benchmark/bench_poseidon128.ml
lthls/ocaml-bls12-381
6106a0b55c58fe2a2d55e73c09d42a72b03565e2
[ "MIT" ]
null
null
null
benchmark/bench_poseidon128.ml
lthls/ocaml-bls12-381
6106a0b55c58fe2a2d55e73c09d42a72b03565e2
[ "MIT" ]
null
null
null
benchmark/bench_poseidon128.ml
lthls/ocaml-bls12-381
6106a0b55c58fe2a2d55e73c09d42a72b03565e2
[ "MIT" ]
null
null
null
open Core_bench let () = Bls12_381.Poseidon128.constants_init Poseidon128_ark.v Poseidon128_mds.v let t1 = let a, b, c = (Bls12_381.Fr.random (), Bls12_381.Fr.random (), Bls12_381.Fr.random ()) in let name = "Benchmark one permutation of Poseidon128" in Bench.Test.create ~name (fun () -> let ctxt ...
27.7
76
0.691336
bcec9241719d9df4f49900de48e7786785c0e034
3,268
mli
OCaml
eval/sherrloc/easyocaml++/otherlibs/labltk/browser/searchpos.mli
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/otherlibs/labltk/browser/searchpos.mli
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/otherlibs/labltk/browser/searchpos.mli
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(*************************************************************************) (* *) (* Objective Caml LablTk library *) (* *) (* Ja...
41.367089
75
0.562424
aa6aaa13377cc46fc4d85ea7d0e90e74cfdcb2b6
1,022
ml
OCaml
Unpacker/RealLive/rldev/src/rlxml/app.ml
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
2
2020-02-25T15:18:53.000Z
2020-08-24T13:30:34.000Z
Unpacker/RealLive/rldev/src/rlxml/app.ml
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
null
null
null
Unpacker/RealLive/rldev/src/rlxml/app.ml
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
1
2019-11-25T05:29:30.000Z
2019-11-25T05:29:30.000Z
(* RlXml: convert RealLive auxiliary file formats <> XML Copyright (C) 2006 Haeleth This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option)...
34.066667
80
0.731898
17971abbf36b45c5914ec169ebf115332d9e3148
894
ml
OCaml
sledge/src/llair/global.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "MIT" ]
4
2021-11-19T02:07:46.000Z
2022-03-24T06:03:50.000Z
sledge/src/llair/global.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "MIT" ]
1
2021-04-05T15:19:58.000Z
2021-12-16T04:22:26.000Z
sledge/src/llair/global.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "MIT" ]
null
null
null
(* * Copyright (c) 2018-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (** Global variables *) type t = {var: Var.t; init: Exp.t option; siz: int; typ: Typ.t; loc: Loc.t} [@@deriving compare, hash, sexp] le...
25.542857
76
0.629754
aa93c8dd31b9060bb29e0e3ff0b00321b1169397
71
ml
OCaml
benchmarks/C/sigma/sol473.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/sigma/sol473.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/sigma/sol473.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec sigma f x y = if (x > y) then 0 else f x + sigma f (x+1) y
17.75
28
0.535211
17575b6b810585be40db855411e800a32be7ab4f
21
ml
OCaml
hg/node_hash.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
hg/node_hash.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
hg/node_hash.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
include Hg.Node_hash
10.5
20
0.857143
aae7d49a7aecbe6671074db32eb8fcb8b3c83059
51,731
ml
OCaml
packages/gintonic/src/gql_parser.ml
mitoai/graphql-transformer
25c0ebc4f492cac40f71de8dee4565f0d89bfa4b
[ "MIT" ]
25
2018-12-17T12:43:07.000Z
2019-09-03T10:24:07.000Z
packages/gintonic/src/gql_parser.ml
strise/gintonic
25c0ebc4f492cac40f71de8dee4565f0d89bfa4b
[ "MIT" ]
7
2018-12-14T15:04:04.000Z
2018-12-19T17:02:15.000Z
packages/gintonic/src/gql_parser.ml
mitoai/gintonic
25c0ebc4f492cac40f71de8dee4565f0d89bfa4b
[ "MIT" ]
null
null
null
(* The type of tokens. *) type token = | UNION | TRANSFORM | TYPE | TSDIR_UNION | TSDIR_SCHEMA | TSDIR_SCALAR | TSDIR_OBJECT | TSDIR_INTERFACE | TSDIR_INPUT_OBJECT | TSDIR_INPUT_FIELD_DEFINITION | TSDIR_FIELD_DEFINITION | TSDIR_ENUM_VALUE | TSDIR_ENUM | TSDIR_ARGUMENT_DEFINITION | TRUE ...
29.850548
144
0.616497
1772f10974f8e665df31532f2bf19a0116f80587
1,420
ml
OCaml
data/sp14_min/3482.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/3482.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/3482.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine expr0 -> sin (eval (expr0, x, y)) | Cosine expr0 -> cos (eval (expr0, x, y)) | Ave...
22.1875
71
0.519718
aa515b9cd672ad55a2bf330f7e792c23c52357bb
3,335
ml
OCaml
graphql/test/schema_test.ml
OneGraph/ocaml-graphql-server
eebc4ad982e19ac19025814edf2804c5f2ee4228
[ "MIT" ]
2
2018-06-23T13:50:56.000Z
2018-07-05T12:54:55.000Z
graphql/test/schema_test.ml
OneGraph/ocaml-graphql-server
eebc4ad982e19ac19025814edf2804c5f2ee4228
[ "MIT" ]
null
null
null
graphql/test/schema_test.ml
OneGraph/ocaml-graphql-server
eebc4ad982e19ac19025814edf2804c5f2ee4228
[ "MIT" ]
1
2020-12-02T11:23:06.000Z
2020-12-02T11:23:06.000Z
let test_query = Test_common.test_query Test_schema.schema () let suite = [ ("query", `Quick, fun () -> let query = "{ users { id } }" in test_query query (`Assoc [ "data", `Assoc [ "users", `List [ `Assoc [ "id", `Int 1 ]; `Assoc [ "id", `...
24.522059
87
0.472264
17512da5362cb1362a2f1d231b872cbe3b9ae127
134
ml
OCaml
src/app/runtime_genesis_ledger/gen/gen.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
1
2020-05-05T07:31:26.000Z
2020-05-05T07:31:26.000Z
src/app/runtime_genesis_ledger/gen/gen.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
src/app/runtime_genesis_ledger/gen/gen.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
open Core let main () = Out_channel.write_all "genesis_filename.txt" ~data:Cache_dir.genesis_dir_name ; exit 0 let () = main ()
16.75
81
0.708955
170c0866248e1ca5ff89da4f228772578c7e4bfe
4,172
mly
OCaml
lib/parser.mly
johnlevidy/opti
dffb7b86b81c8059276b038313ddd88d2e9ff67e
[ "BSD-3-Clause" ]
9
2018-01-09T02:35:10.000Z
2022-02-26T15:51:11.000Z
lib/parser.mly
johnlevidy/opti
dffb7b86b81c8059276b038313ddd88d2e9ff67e
[ "BSD-3-Clause" ]
2
2018-02-03T22:57:29.000Z
2022-02-26T15:50:11.000Z
lib/parser.mly
johnlevidy/opti
dffb7b86b81c8059276b038313ddd88d2e9ff67e
[ "BSD-3-Clause" ]
3
2018-01-13T09:18:15.000Z
2022-02-26T15:45:59.000Z
%{ open Expr open Unit open Syntax_tree %} %token ONE %token <int> INT_LIT %token <float> FLOAT_LIT %token <string> ID %token LP RP LB RB %token STAR %token SLASH %token PLUS %token MINUS %token QUESTION_MARK %token COLON %token LE %token GE %token LT %token GT %token SEMICOLON %token RANGE %token CNAME %token EXTERN ...
24.397661
129
0.592522
1776f91768bb0cf26dae77e0eb34c23574f85b16
4,192
ml
OCaml
analysis/test/integration/enumerationTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/test/integration/enumerationTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/test/integration/enumerationTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open OUnit2 open IntegrationTest let test_enumeration_methods context = let assert_type_errors = assert_type_errors ~context in assert_t...
23.954286
99
0.557252
1793a51a3f3801f20289ac97e776cf5b2c9a6465
868
ml
OCaml
result/cafe2/lambda/sub87/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/cafe2/lambda/sub87/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/cafe2/lambda/sub87/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type lambda = V of var | P of (var * lambda) | C of (lambda * lambda) and var = string let rec var_find (lambda : lambda) : string list = match lambda with | V a -> [] | P (a, lambda1) -> a :: var_find lambda1 | C (lambda1, lambda2) -> var_find lambda1 @ var_find lambda2 let rec lambda_find (lambda : lambda...
29.931034
76
0.615207
179790bc88ce27d9979cd42d2cdfe1ce9a71d572
9,260
ml
OCaml
src/commands/coverageCommand.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
src/commands/coverageCommand.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
src/commands/coverageCommand.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "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. *) (***********************************************************************) (* flow coverage command *) (*********************************...
37.04
99
0.625054
aa5e63dd2b54a057a4e4fddae12616d2c02ea54a
417
ml
OCaml
data/fa15/0805.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15_min/0805.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/0805.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec digitsOfInt n = if n < 0 then [] else if n < 10 then [n] else (let d = digitsOfInt (n / 10) in d @ (n mod 10));; (* fix let rec digitsOfInt n = if n < 0 then [] else if n < 10 then [n] else (let d = digitsOfInt (n / 10) in d @ [n mod 10]);; *) (* changed spans (6,66)-(6,76) [n mod 10] ...
13.451613
78
0.532374
aafafe4ad9c10f3b52ec73bbeba5ccdab13bbd0b
24,483
ml
OCaml
src/quickTypeCheck.ml
newphew92/GOcaml
386125602a0e1e394a3ae194a4238d4234a1bd19
[ "MIT" ]
null
null
null
src/quickTypeCheck.ml
newphew92/GOcaml
386125602a0e1e394a3ae194a4238d4234a1bd19
[ "MIT" ]
null
null
null
src/quickTypeCheck.ml
newphew92/GOcaml
386125602a0e1e394a3ae194a4238d4234a1bd19
[ "MIT" ]
null
null
null
open Ast exception TypeCheck of string exception UnboundVariable of string exception InnerTypeCheckError of string type typeID = | Int | Float64 | String | Rune | Bool | Array of exp * typeID | Slice of typeID | Struct of (string * (string * typeID) list) | Function of string * (string * typeID) lis...
30.263288
105
0.616387
aa7f049a8dc5f4ae9fd0dc3e65b525d307b6df94
535
mli
OCaml
bildb/lib/screens/bildb_help.mli
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
91
2018-10-17T13:02:45.000Z
2022-03-11T08:42:00.000Z
bildb/lib/screens/bildb_help.mli
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
283
2018-10-23T12:34:01.000Z
2022-02-24T19:53:45.000Z
bildb/lib/screens/bildb_help.mli
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
16
2018-10-17T07:54:17.000Z
2021-12-10T15:56:32.000Z
(** Generates the UI screen that displays the help menu. *) open Bap_primus.Std module Ui = Bildb_ui module Make : functor (Machine : Primus.Machine.S) -> sig type event = Ui.Event (Machine).t (** [menu ()] generates a screen that displays the help menu. It can optionally take a [~prompt], to ask for user...
31.470588
76
0.678505
aae6007581ec7c5b69a5ad247838004b604f51da
422
mli
OCaml
src/handler/tcp_state.mli
YieldNull/ocaml-tcpip
05ae00fdf98b4ea0e804f721197335efa58296db
[ "MIT" ]
1
2018-12-11T11:12:41.000Z
2018-12-11T11:12:41.000Z
src/handler/tcp_state.mli
YieldNull/tcpip
05ae00fdf98b4ea0e804f721197335efa58296db
[ "MIT" ]
null
null
null
src/handler/tcp_state.mli
YieldNull/tcpip
05ae00fdf98b4ea0e804f721197335efa58296db
[ "MIT" ]
null
null
null
type t = | ST_CLOSED | ST_LISTEN | ST_SYN_SENT | ST_SYN_RECEIVED | ST_ESTABLISHED | ST_FIN_WAIT1 | ST_FIN_WAIT2 | ST_CLOSE_WAIT | ST_CLOSING | ST_LAST_ACK | ST_TIME_WAIT type action = | AT_OPEN_ACT | AT_OPEN_PAS | AT_CLOSE | AT_SYN | AT_ACK | AT_FIN | AT_RST | AT_SYN_ACK | AT_TI...
15.62963
59
0.670616
aa70e6a02f5ff42b5f1b92448406e2e1dae78cfe
31,941
ml
OCaml
hphp/hack/src/typing/pp_type.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/pp_type.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/pp_type.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "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 Typing_defs (* Pretty-printing for the Typing_defs.ty data structure. * * This was (largely...
29.223239
91
0.625841
aae750741f89e8b4f41d1cf944443478522fec0a
628
mli
OCaml
src/datakit/ivfs_merge.mli
samoht/datakit
5b98f909ef04ac686c65bee699ac3b53c727bd87
[ "Apache-2.0" ]
null
null
null
src/datakit/ivfs_merge.mli
samoht/datakit
5b98f909ef04ac686c65bee699ac3b53c727bd87
[ "Apache-2.0" ]
null
null
null
src/datakit/ivfs_merge.mli
samoht/datakit
5b98f909ef04ac686c65bee699ac3b53c727bd87
[ "Apache-2.0" ]
null
null
null
type path = Ivfs_tree.path type step = Ivfs_tree.step module PathSet : Set.S with type elt = path module type RW = sig type t val update_force : t -> path -> step -> Ivfs_blob.t * Ivfs_tree.perm -> unit Lwt.t val remove_force : t -> path -> step -> unit Lwt.t end module Make (Store : Ivfs_tree.S) (RW : RW) : s...
28.545455
84
0.640127
aaab5ffc4a9f9e23e1040d8ce6f9929565bf1897
227
ml
OCaml
options.ml
Ekdohibs/toy-smt
6ac0d4665640393858427fd994d7840c77b4853b
[ "MIT" ]
3
2019-02-22T02:44:56.000Z
2019-07-25T14:00:50.000Z
options.ml
Ekdohibs/toy-smt
6ac0d4665640393858427fd994d7840c77b4853b
[ "MIT" ]
null
null
null
options.ml
Ekdohibs/toy-smt
6ac0d4665640393858427fd994d7840c77b4853b
[ "MIT" ]
null
null
null
let usage = "usage: esmt [options] file.cnfuf" let rec spec = [ "-G", Arg.Set Debug.enable_debug, " show debug messages"; "-h", Arg.Unit (fun () -> Arg.usage spec usage; exit 0), " Display this list of options"; ]
22.7
59
0.621145
17287b844d692cc44df2e27537a74c3564474c26
4,067
ml
OCaml
duniverse/owl-ode/src/sundials/owl_ode_sundials.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/owl-ode/src/sundials/owl_ode_sundials.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/owl-ode/src/sundials/owl_ode_sundials.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
open Owl open Bigarray open Owl_ode.Types module C = Owl_ode.Common.Make (Owl_dense_ndarray.D) let wrap x = reshape_1 x Mat.(numel x) let unwrap (dim1, dim2) x = genarray_of_array2 (reshape_2 (genarray_of_array1 x) dim1 dim2) let integrate step f y0 tspec () = let (t0, t1), dt = match tspec with | T1 { ...
27.856164
87
0.639538
bc98a730221bbcd973198229c334f3fac3ba8736
4,548
ml
OCaml
src/curve/secp256r1.ml
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
1
2022-02-01T11:14:20.000Z
2022-02-01T11:14:20.000Z
src/curve/secp256r1.ml
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
null
null
null
src/curve/secp256r1.ml
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
null
null
null
(** https://www.secg.org/SEC2-Ver-1.0.pdf, page 16 Base field: 115792089210356248762697446949407573530086143415290314195533631308867097853951 (255 bits - 32 bytes) Scalar field: 115792089210356248762697446949407573529996955224135760342422259061068512044369 (255 bits - 32 bytes) Base field multiplicative subgr...
32.719424
117
0.706464
17614fb5aca9894d1dc34e138cf21ba5af22bf5e
1,190
ml
OCaml
src/user_and_group.ml
acatton/fork--janestreet--core
c125d07001e8a15a3b705e783e3da7e8e6413f25
[ "Apache-2.0" ]
null
null
null
src/user_and_group.ml
acatton/fork--janestreet--core
c125d07001e8a15a3b705e783e3da7e8e6413f25
[ "Apache-2.0" ]
null
null
null
src/user_and_group.ml
acatton/fork--janestreet--core
c125d07001e8a15a3b705e783e3da7e8e6413f25
[ "Apache-2.0" ]
null
null
null
open! Import module Stable = struct module V1 = struct module T = struct type t = { user : string; group : string } [@@deriving fields, bin_io, compare, hash] let to_string t = sprintf "%s:%s" t.group t.user let of_string str = let user, group = String.lsplit2_exn str ~on:':' in ...
29.02439
91
0.645378
1758bd6a343e6a4f7926851fd60e0da4f3cf9e32
7,374
ml
OCaml
src/image.ml
zshipko/ocaml-bimage
766501a147e46ebbdfe12656f4a7d6a19a0b2380
[ "0BSD" ]
29
2018-07-04T09:12:37.000Z
2022-02-02T15:58:04.000Z
src/image.ml
zshipko/ocaml-bimage
766501a147e46ebbdfe12656f4a7d6a19a0b2380
[ "0BSD" ]
7
2019-06-28T03:39:41.000Z
2021-12-04T19:37:22.000Z
src/image.ml
zshipko/ocaml-bimage
766501a147e46ebbdfe12656f4a7d6a19a0b2380
[ "0BSD" ]
3
2019-11-07T14:57:38.000Z
2020-09-20T15:34:32.000Z
open Color type ('a, 'b, 'c) t = { width : int; height : int; color : 'c Color.t; ty : ('a, 'b) Type.t; data : ('a, 'b) Data.t; } type any = Any : ('a, 'b, 'c) t -> any let any x = Any x let v (type color) ty (module C : COLOR with type t = color) width height = let channels = C.channels C.t in let da...
25.604167
80
0.605777
174476f87d569df0536c8f8358decdc1dfba11e2
590
ml
OCaml
interprocedural_analyses/dead_store/deadStoreAnalysis.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-08-08T16:01:55.000Z
2020-08-08T16:01:55.000Z
interprocedural_analyses/dead_store/deadStoreAnalysis.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
4
2022-02-15T02:42:33.000Z
2022-02-28T01:30:07.000Z
interprocedural_analyses/dead_store/deadStoreAnalysis.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-11-22T12:08:51.000Z
2020-11-22T12:08:51.000Z
(* 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 Interprocedural (* Registers the liveness analysis with the interprocedural analysis framework. *) include DeadStoreResult.Register (st...
36.875
92
0.749153
aa59872b8b72fd26f5311caacc6de333d9e8e65b
25,890
ml
OCaml
main.ml
mdb0/ocaml_rtx
3a7e70d22b4f6425f42140430136761c67b517df
[ "MIT" ]
2
2022-01-14T09:04:22.000Z
2022-02-26T22:14:40.000Z
main.ml
mdb0/ocaml_rtx
3a7e70d22b4f6425f42140430136761c67b517df
[ "MIT" ]
null
null
null
main.ml
mdb0/ocaml_rtx
3a7e70d22b4f6425f42140430136761c67b517df
[ "MIT" ]
null
null
null
#use "./lib/vector.ml";; #use "./lib/random.ml";; #use "./lib/open_vox_file.ml";; #load "graphics.cma";; open Graphics;; (*//user inputs///////////////////////////////////////////////////////////////////////////////////////////////*);; let adaptive_sampling = false;; (*really good for models with a lot of space w...
39.227273
226
0.601313
17945a93f302cd11edb057747abcd571bd149aa0
159
mli
OCaml
src/tezos_rpc/listen_to_chain_heads.mli
fraidev/deku
51d981a6e035b184ef13662afe4ac514c6a2eaaa
[ "MIT" ]
30
2021-10-05T02:08:06.000Z
2022-03-30T10:48:01.000Z
src/tezos_rpc/listen_to_chain_heads.mli
fraidev/deku
51d981a6e035b184ef13662afe4ac514c6a2eaaa
[ "MIT" ]
191
2021-09-21T05:54:54.000Z
2022-03-31T13:31:45.000Z
src/tezos_rpc/listen_to_chain_heads.mli
fraidev/deku
51d981a6e035b184ef13662afe4ac514c6a2eaaa
[ "MIT" ]
12
2021-09-30T22:01:30.000Z
2022-03-26T02:21:53.000Z
open Tezos type response = Block_header.t Lwt_stream.t val execute : node_uri:Uri.t -> chain:Chain_id.t option -> (response, Error.error) result Lwt.t
17.666667
43
0.72327
bcb8f6dc22d6f7b3ffcf5da00cbcd92d2a04ad44
328
ml
OCaml
sol/sol_006.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
10
2018-10-15T02:11:39.000Z
2022-01-26T08:57:12.000Z
sol/sol_006.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
null
null
null
sol/sol_006.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
1
2020-04-18T13:03:50.000Z
2020-04-18T13:03:50.000Z
open! Core open! Import let hund = List.range ~stop:`inclusive 1 100 let sum = List.sum (module Int) ~f:Fn.id let sqr x = x * x let main () = sqr (sum hund) - sum (List.map ~f:sqr hund) |> printf "%d\n" let%expect_test "answer" = main (); [%expect {| 25164150 |}] ;; include (val Solution.make ~problem:(Number 6)...
21.866667
74
0.634146
1716cb8f99b47d690f953b9e82716f50bf8ab6d8
1,790
mli
OCaml
src/ocaml-3.12.0/asmcomp/asmlink.mli
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
1
2015-01-27T00:11:26.000Z
2015-01-27T00:11:26.000Z
src/ocaml-3.12.0/asmcomp/asmlink.mli
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/asmcomp/asmlink.mli
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
41.627907
74
0.513408
aa52de00eaba3ad565727cfeffbeb17591722a08
303,727
ml
OCaml
src/codegen/compile.ml
pipepi/motoko
4ff4e76645127b5dd5e0a11913d899e96e60adba
[ "Apache-2.0" ]
1
2021-09-24T08:48:54.000Z
2021-09-24T08:48:54.000Z
src/codegen/compile.ml
pipepi/motoko
4ff4e76645127b5dd5e0a11913d899e96e60adba
[ "Apache-2.0" ]
null
null
null
src/codegen/compile.ml
pipepi/motoko
4ff4e76645127b5dd5e0a11913d899e96e60adba
[ "Apache-2.0" ]
null
null
null
(* This module is the backend of the Motoko compiler. It takes a program in the intermediate representation (ir.ml), and produces a WebAssembly module, with Internet Computer extensions (customModule.ml). An important helper module is instrList.ml, which provides a more convenient way of assembling WebAssembly instruct...
36.949757
145
0.626135
178389e5b20b8d0841da2a92b92f04419440fe74
90
ml
OCaml
data/derived/comb/progs/unify/prog1194.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/unify/prog1194.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1194.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = match n > 0 with | true -> x :: ((clone x n) - 1) | false -> x;;
22.5
68
0.477778
174a0d85f2f0d805b2f4aa41a68c483e6533e1ff
16
ml
OCaml
test/mod-use/conf.ml
b0-system/b0caml
38d212b61a8080fd8177ab8604c00ec4f5fa599e
[ "0BSD" ]
15
2019-10-02T20:16:46.000Z
2021-11-04T10:04:54.000Z
test/mod-use/conf.ml
b0-system/b0caml
38d212b61a8080fd8177ab8604c00ec4f5fa599e
[ "0BSD" ]
null
null
null
test/mod-use/conf.ml
b0-system/b0caml
38d212b61a8080fd8177ab8604c00ec4f5fa599e
[ "0BSD" ]
null
null
null
let lang = "hr"
8
15
0.5625
bca5dc693192a8dbf83f56303223214b0b08da07
3,631
ml
OCaml
src/ml/SymbolicSemantics/Basics/SFVL.ml
javert-click/javert-click
9734a2ce118ecf05ba9c09704612a8de522843ba
[ "BSD-3-Clause" ]
null
null
null
src/ml/SymbolicSemantics/Basics/SFVL.ml
javert-click/javert-click
9734a2ce118ecf05ba9c09704612a8de522843ba
[ "BSD-3-Clause" ]
null
null
null
src/ml/SymbolicSemantics/Basics/SFVL.ml
javert-click/javert-click
9734a2ce118ecf05ba9c09704612a8de522843ba
[ "BSD-3-Clause" ]
1
2021-02-22T11:20:29.000Z
2021-02-22T11:20:29.000Z
(** JSIL symbolic field-value list *) open CCommon open SCommon open SVal module L = Logging type field_name = Expr.t type field_value = Expr.t (* Definition *) type t = field_value Expr.Map.t let gsbsts = Expr.substitutables (* Printing *) let str (sfvl : t) : string = let fv_strs = Expr.Map.fold ...
33.62037
184
0.619389
bcd5c9bd7a629ded2e22aeb8fd0f5ade5176cff2
14,948
ml
OCaml
vendor/core_kernel/test/src/type_immediacy_witness_unit_tests.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core_kernel/test/src/type_immediacy_witness_unit_tests.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core_kernel/test/src/type_immediacy_witness_unit_tests.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Core_kernel (* Tests to make sure the implementation of values hasn't changed and that witnesses are provided correctly. *) (* Tests are bound to the value returned by Immediate.of_typerep, as the test cases are designed along the value returned and so that they must be revised if changes are made. *)...
27.128857
92
0.536527
178f7c808fc60e6a5ea8ef1bf282d697afc95ef8
1,326
mli
OCaml
coq/ide/protocol/xml_printer.mli
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/ide/protocol/xml_printer.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/ide/protocol/xml_printer.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* <O___,, * (see CREDITS file for the list of authors) *) (* \VV/ *********...
41.4375
79
0.533937
1795892f91d309017bd8d788c84119e9dd28a3ac
1,320
ml
OCaml
data/sp14/1922.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/1922.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/1922.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let wwhile (f,b) = let rec helper (f,b) (x,y) = match y with | true -> helper (f, x) (f b) | false -> x in helper (f, b) (b, true);; let fixpoint (f,b) = let f x = x in wwhile (f, b);; (* fix let wwhile (f,b) = let rec helper (f,b) (x,y) = match y with | true -> helper (f, x) (f b) | false -> x i...
14.666667
64
0.450758
aaa2084895036e44fb0403e82f0023912dedda51
1,686
ml
OCaml
libraries/ec2/lib/detachClassicLinkVpc.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/detachClassicLinkVpc.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/detachClassicLinkVpc.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DetachClassicLinkVpcRequest.t type output = DetachClassicLinkVpcResult.t 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))) (...
27.639344
87
0.618624
aad1bc7e8db24d1a694e4c32ac8e31f838ca9cfd
152
ml
OCaml
src/stabilization_num.ml
diaozheng999/incremental
240c52e868d915543c4a8309e9c4512ae37868f6
[ "MIT" ]
725
2015-07-06T19:39:26.000Z
2022-03-25T07:08:27.000Z
src/stabilization_num.ml
diaozheng999/incremental
240c52e868d915543c4a8309e9c4512ae37868f6
[ "MIT" ]
13
2015-07-07T14:27:20.000Z
2021-09-07T13:32:57.000Z
src/stabilization_num.ml
diaozheng999/incremental
240c52e868d915543c4a8309e9c4512ae37868f6
[ "MIT" ]
51
2016-02-01T16:31:33.000Z
2022-03-22T23:35:24.000Z
open Core open! Import include Int let invariant t = assert (t >= -1) let none = -1 let is_none t = t = none let is_some t = t >= 0 let add1 t = t + 1
15.2
34
0.631579
179580bb7d74802a6c4f5d7f2f10c2d30a660949
55,787
ml
OCaml
hphp/hack/src/typing/typing_env.ml
maxbyz/hhvm
cb5da8660e90398cab2f0371558dce741b0541ff
[ "PHP-3.01", "Zend-2.0" ]
1
2021-12-02T18:52:19.000Z
2021-12-02T18:52:19.000Z
hphp/hack/src/typing/typing_env.ml
maxbyz/hhvm
cb5da8660e90398cab2f0371558dce741b0541ff
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_env.ml
maxbyz/hhvm
cb5da8660e90398cab2f0371558dce741b0541ff
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Common open Decl_env open Typing_env_types open Typing_defs open Aast module Dep = Typing_deps....
32.604909
99
0.690699
1735daeddb05c63a3114c6de3ebfd738172cf81d
112
ml
OCaml
data/sp14/clusters/0134.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14_min/clusters/0134.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14/clusters/0134.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
TupleG [IteG EmptyG EmptyG EmptyG,AppG [EmptyG,EmptyG]] (if addit >= 10 then 1 else 0 , num @ [addit mod 10])
22.4
55
0.678571
170e03b7569f18b6129cc99ba76e2d4ca401d9c8
97,170
ml
OCaml
src/typing/debug_js.ml
technology-studio-forks/flow
5adcafcd2bc175b1b49535f980ca509244847602
[ "MIT" ]
null
null
null
src/typing/debug_js.ml
technology-studio-forks/flow
5adcafcd2bc175b1b49535f980ca509244847602
[ "MIT" ]
null
null
null
src/typing/debug_js.ml
technology-studio-forks/flow
5adcafcd2bc175b1b49535f980ca509244847602
[ "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. *) open Reason open Type open Utils_js let string_of_pred_ctor = function | AndP _ -> "AndP" | OrP _ -> "OrP" | NotP _ -> "NotP" |...
34.154657
109
0.624071
1700bf3843ea79091fd6bcff24de12bfed5f9f1a
11,511
ml
OCaml
src/ocaml-3.12.0/asmcomp/i386/selection.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
1
2015-01-27T00:11:26.000Z
2015-01-27T00:11:26.000Z
src/ocaml-3.12.0/asmcomp/i386/selection.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/asmcomp/i386/selection.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
35.201835
83
0.590044
1775679bf3a6475ae93611ca57835757646bf7de
11,269
ml
OCaml
wp/lib/bap_wp/src/output.ml
draperlaboratory/cbat_tools
5698f2bcc2b9a13409034c4f38a67e702accb21c
[ "MIT" ]
91
2018-10-17T13:02:45.000Z
2022-03-11T08:42:00.000Z
wp/lib/bap_wp/src/output.ml
draperlaboratory/cbat_tools
5698f2bcc2b9a13409034c4f38a67e702accb21c
[ "MIT" ]
283
2018-10-23T12:34:01.000Z
2022-02-24T19:53:45.000Z
wp/lib/bap_wp/src/output.ml
draperlaboratory/cbat_tools
5698f2bcc2b9a13409034c4f38a67e702accb21c
[ "MIT" ]
16
2018-10-17T07:54:17.000Z
2021-12-10T15:56:32.000Z
(***************************************************************************) (* *) (* Copyright (C) 2018/2019 The Charles Stark Draper Laboratory, Inc. *) (* *) (* This...
43.678295
114
0.629603
17693616e4acfd0389f3bb6fdc47c434daae280f
3,932
ml
OCaml
benchmarks/benchmark_staged.ml
yallop/staged-streams.ocaml
4faa8758a8976f78cfde5b43b74f7627dd040d1a
[ "MIT" ]
60
2016-11-08T12:08:24.000Z
2022-03-12T20:33:29.000Z
benchmarks/benchmark_staged.ml
yallop/staged-streams.ocaml
4faa8758a8976f78cfde5b43b74f7627dd040d1a
[ "MIT" ]
7
2016-11-08T21:33:20.000Z
2019-09-19T21:23:36.000Z
benchmarks/benchmark_staged.ml
yallop/staged-streams.ocaml
4faa8758a8976f78cfde5b43b74f7627dd040d1a
[ "MIT" ]
7
2016-11-08T21:07:24.000Z
2019-08-14T07:25:08.000Z
open Runcode open Benchmark_types open Oml.Statistics.Distributions open Oml.Statistics.Descriptive let perfS : string -> 'a code -> ('a code -> 'b code) -> 'b benchmark_options -> 'b code = fun benchmark init f options -> let reps = options.repetitions in let final = options.final_f in .< let x = .~init...
44.179775
161
0.593591
aaa92baf0d74616addb9c70719c6e756f6fa9ebd
7,987
ml
OCaml
hphp/hack/src/utils/core/utils.ml
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/core/utils.ml
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "PHP-3.01", "Zend-2.0" ]
2
2020-10-11T22:54:12.000Z
2021-07-20T22:12:10.000Z
hphp/hack/src/utils/core/utils.ml
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "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_core (** Callstack is simply a typed way to indicate that a string is a callstack *) type callstack = Calls...
24.575385
87
0.590835
aae8b3e12e070df85ab666de16b19816e41667db
19,032
ml
OCaml
src/lib/smt/SmtUtils.ml
princedpw/nv
a82b2b4530d41ece98bd39c5d7ecb18c1dfaf9b6
[ "MIT" ]
6
2019-03-04T19:30:44.000Z
2020-01-28T20:28:50.000Z
src/lib/smt/SmtUtils.ml
princedpw/nv
a82b2b4530d41ece98bd39c5d7ecb18c1dfaf9b6
[ "MIT" ]
43
2018-10-01T13:12:36.000Z
2020-01-14T17:55:54.000Z
src/lib/smt/SmtUtils.ml
princedpw/nv
a82b2b4530d41ece98bd39c5d7ecb18c1dfaf9b6
[ "MIT" ]
2
2018-07-12T18:33:19.000Z
2019-11-30T02:15:07.000Z
open Nv_datastructures open Nv_lang open Collections open SolverUtil (* ** SMT configuration*) (* Classic encodes the SRP as an SMT expression, Functional encodes the problem as an NV term which is then translated to SMT *) type encoding_style = | Classic | Functional type smt_options = { mutable verbose : b...
29.7375
90
0.611076
aafaac80e10a4437f9466bfdf9b330e471e94137
847
ml
OCaml
data/fa15/1083.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/1083.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/1083.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let sqsum xs = let f a x = match x with | [] -> 0 | x::xs' -> a * a in let base = List.hd xs in List.fold_left f base xs;; (* fix let sqsum xs = let f a x = (a * a) + (x * x) in let base = List.hd xs in List.fold_left f base xs;; *) (* changed spans (3,14)-(3,54) (3,20)-(3,21) (3,35)-(3,36) (4,2)-(4,51) *...
13.66129
57
0.465171
aaff3ab0ea9e8f4a68b82b8d351f68d1e28f4d0e
7,143
ml
OCaml
duniverse/ocaml-migrate-parsetree/src/migrate_parsetree_402_403.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ocaml-migrate-parsetree/src/migrate_parsetree_402_403.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ocaml-migrate-parsetree/src/migrate_parsetree_402_403.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml Migrate Parsetree *) (* *) (* ...
54.526718
140
0.637687
17891947e40ffb82abd4e1cff97e1b647adc90d2
6,122
ml
OCaml
libraries/ec2/lib/modifyFleet.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/ec2/lib/modifyFleet.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/modifyFleet.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] open Aws module ModifyFleetRequest = struct type t = { dry_run: Boolean.t option [@ocaml.doc "<p>Checks whether you have the required permissions for the action, without actually making the request, and provi...
40.013072
297
0.592943
aa95cf8e92fcdc9475586bbe85642871173b2fbf
5,454
ml
OCaml
server/server.ml
talex5/cuekeeper
ef8c97637627cf90902a0be50c8d39eadacc88b3
[ "BSD-2-Clause" ]
259
2015-02-24T13:57:09.000Z
2022-03-26T13:17:40.000Z
server/server.ml
talex5/cuekeeper
ef8c97637627cf90902a0be50c8d39eadacc88b3
[ "BSD-2-Clause" ]
20
2015-03-28T19:10:11.000Z
2021-08-18T01:07:43.000Z
server/server.ml
talex5/cuekeeper
ef8c97637627cf90902a0be50c8d39eadacc88b3
[ "BSD-2-Clause" ]
29
2015-04-29T01:15:15.000Z
2021-07-09T13:31:08.000Z
(* Copyright (C) 2015, Thomas Leonard * See the README file for details. *) open Lwt.Infix let src = Logs.Src.create "cuekeeper" ~doc:"CueKeeper server" module Log = (val Logs.src_log src : Logs.LOG) module Make (Store:Irmin.S with type branch = string and type Commit.Hash.t = Irmin.Hash.SHA1.t) (S:Cohttp_l...
40.102941
103
0.614045
aaf258ca518db4ba831141b11651c367cca35ff0
1,776
mli
OCaml
src/scheduler.mli
jonludlam/dune
d6ca965c0556d9925b1160c471b5f04f9fccd41b
[ "MIT" ]
null
null
null
src/scheduler.mli
jonludlam/dune
d6ca965c0556d9925b1160c471b5f04f9fccd41b
[ "MIT" ]
null
null
null
src/scheduler.mli
jonludlam/dune
d6ca965c0556d9925b1160c471b5f04f9fccd41b
[ "MIT" ]
null
null
null
(** Scheduling *) open! Stdune type status_line_config = { message : string option ; show_jobs : bool } (** [go ?log ?config ?gen_status_line fiber] runs the following fiber until it terminates. [gen_status_line] is used to print a status line when [config.display = Progress]. *) val go : ?log:Log...
27.323077
90
0.682995
175722c84d4b3eefb6775c7d3699c57283a45db6
2,302
mli
OCaml
src/timer.mli
thangngoc89/luv
923dabb167748bd24dac148a7ef2b5f6670646d8
[ "MIT" ]
253
2018-07-12T20:32:22.000Z
2022-02-16T03:43:40.000Z
src/timer.mli
thangngoc89/luv
923dabb167748bd24dac148a7ef2b5f6670646d8
[ "MIT" ]
124
2018-11-21T03:06:42.000Z
2022-03-11T01:48:36.000Z
src/timer.mli
thangngoc89/luv
923dabb167748bd24dac148a7ef2b5f6670646d8
[ "MIT" ]
23
2019-02-09T15:59:04.000Z
2021-12-13T12:53:41.000Z
(* This file is part of Luv, released under the MIT license. See LICENSE.md for details, or visit https://github.com/aantron/luv/blob/master/LICENSE.md. *) (** Timers. See {{:https://aantron.github.io/luv/basics.html#hello-world} {i Hello, world!}} in the user guide and {{:http://docs.libuv.org/en/v1.x/t...
30.693333
79
0.655951
178322cf6ae3b57bcd2854fc13166793bb197372
10,125
ml
OCaml
mq_stomp_client_gen.ml
ahrefs/ocaml-stomp
c24233782259f73c2226b55905c67d01ece03ed1
[ "MIT" ]
1
2017-12-27T17:08:48.000Z
2017-12-27T17:08:48.000Z
mq_stomp_client_gen.ml
ahrefs/ocaml-stomp
c24233782259f73c2226b55905c67d01ece03ed1
[ "MIT" ]
null
null
null
mq_stomp_client_gen.ml
ahrefs/ocaml-stomp
c24233782259f73c2226b55905c67d01ece03ed1
[ "MIT" ]
null
null
null
(* Copyright (c) 2009 Mauricio Fernández <mfp@acm.org> *) open ExtString open Mq module Make_comm'(M : Mq_concurrency.COMM) = struct module S = Set.Make(String) open M type 'a thread = 'a M.t type transaction = string type receipt = { r_headers : (string * string) list; r_body : string; } type...
35.526316
95
0.61758
aa3db694e5314b797fb3a3808c57e7696151dc91
179,406
ml
OCaml
src/gen_transform.ml
Coda-Coda/archetype-lang
711cd7b0fcc846a8a3558c09ca8a0560ec398227
[ "MIT" ]
null
null
null
src/gen_transform.ml
Coda-Coda/archetype-lang
711cd7b0fcc846a8a3558c09ca8a0560ec398227
[ "MIT" ]
null
null
null
src/gen_transform.ml
Coda-Coda/archetype-lang
711cd7b0fcc846a8a3558c09ca8a0560ec398227
[ "MIT" ]
null
null
null
open Ident open Location open Model module MapString = Map.Make(String) module SetString = Set.Make(String) open Tools type error_desc = | AssetPartitionnedby of string * string list | CannotBuildAsset of string * string | ContainersInAssetContainers of string * string * string | NoEmptyContainerForInitAsset o...
36.207064
237
0.525941
44fc7989c33c5f8ff5c8e4d598622a4344d6acd5
1,036
ml
OCaml
src/cli.ml
gretay-js/llvmize
4d78a3fe3979e58374bda028b9fb0dd7594f487b
[ "MIT" ]
null
null
null
src/cli.ml
gretay-js/llvmize
4d78a3fe3979e58374bda028b9fb0dd7594f487b
[ "MIT" ]
null
null
null
src/cli.ml
gretay-js/llvmize
4d78a3fe3979e58374bda028b9fb0dd7594f487b
[ "MIT" ]
null
null
null
open Core let set_verbose v = Main.verbose := v ; () let flag_dot = Command.Param.( flag "-dot" no_arg ~doc:" emit CFG in .dot format for debug") let flag_dot_show_instr = Command.Param.( flag "-dot-detailed" no_arg ~doc:" emit detailed CFG in .dot format for debug") let flag_v = Command.Para...
24.093023
70
0.651544
175464b6838dd6d5a2bf4eecf99009869c1047ed
1,074
ml
OCaml
bin/main.ml
nobrakal/lint_ligo
9e115f512e82fb5d49e42e225bbaa651b7292304
[ "MIT" ]
1
2020-09-10T14:45:28.000Z
2020-09-10T14:45:28.000Z
bin/main.ml
nobrakal/lint_ligo
9e115f512e82fb5d49e42e225bbaa651b7292304
[ "MIT" ]
null
null
null
bin/main.ml
nobrakal/lint_ligo
9e115f512e82fb5d49e42e225bbaa651b7292304
[ "MIT" ]
null
null
null
let main syntax rules file entrypoint = match Lint_ligo.Main.main ?syntax ?rules ~file ~entrypoint with | Ok None -> 0 | Ok (Some result) -> print_endline result; 1 | Error e -> print_endline (Lint_ligo.Errors.to_string e); 2 open Cmdliner let rules = let doc = "Rules for the linter...
27.538462
84
0.640596
aa2917e586d9e20624c3698d14ce27236f948ede
35
ml
OCaml
stdlib/stdlib.ml
dakk/f3l-lang
3a05069701cf689c39998588f88e158d9e796156
[ "MIT" ]
1
2022-03-25T22:28:01.000Z
2022-03-25T22:28:01.000Z
stdlib/stdlib.ml
dakk/f3l-lang
3a05069701cf689c39998588f88e158d9e796156
[ "MIT" ]
15
2022-03-25T15:45:07.000Z
2022-03-31T14:21:37.000Z
stdlib/stdlib.ml
dakk/f3l-lang
3a05069701cf689c39998588f88e158d9e796156
[ "MIT" ]
null
null
null
(* open Option *) (* open Pair *)
11.666667
18
0.514286
1748d1db38501e85044f20eadf3cb5915593e77f
54,036
ml
OCaml
src/external/ocaml-dune/src/build_system.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
1
2022-03-21T15:43:42.000Z
2022-03-21T15:43:42.000Z
src/external/ocaml-dune/src/build_system.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/external/ocaml-dune/src/build_system.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
open! Stdune open Import open Fiber.O module Vspec = Build.Vspec (* Where we store stamp files for aliases *) let alias_dir = Path.(relative build_dir) ".aliases" (* Where we store stamp files for [stamp_file_for_files_of] *) let misc_dir = Path.(relative build_dir) ".misc" module Promoted_to_delete = struct modu...
32.24105
90
0.616367
1704c8086c626b306503feec3a1886ae9338a10f
299
ml
OCaml
coq_projects/search-trees/Searching.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq_projects/search-trees/Searching.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq_projects/search-trees/Searching.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
type nat_tree = NIL | Bin of int * nat_tree * nat_tree ;; let search_occ_dec p = let rec sch = function NIL -> false | Bin(n,t1,t2) -> if p <= n then if p < n then sch t1 else true else sch t2 in sch ;;
27.181818
63
0.444816
1779582f849645be7d3b6de50d3d60232b2abbbf
25,233
ml
OCaml
src/lib_p2p/p2p_io_scheduler.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_io_scheduler.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_io_scheduler.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
35.143454
81
0.64273
172cf64a0b68ddb64e4b204bdef0a4938581ef81
12,562
ml
OCaml
ast/test/expressionTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
1
2019-05-07T15:03:58.000Z
2019-05-07T15:03:58.000Z
ast/test/expressionTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
null
null
null
ast/test/expressionTest.ml
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
null
null
null
(** Copyright (c) 2016-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open OUnit2 open Ast open Core open Expression open Pyre open Test let assert_expression_equal = assert_equal ~printer:(Expression...
28.420814
99
0.631189