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
44a39409658d3fa025f4cce9b1d24f06aa32df96
1,540
ml
OCaml
analysis/abstractMapDomain.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
analysis/abstractMapDomain.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
analysis/abstractMapDomain.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "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 module Make(Key: Map.Key)(Element : AbstractDomain.S) = struct module ElementMap = Map.Make(Key) include (ElementMap : modul...
28
84
0.62987
bc42fb64b9848cdde5b4479a311a79a122e4223f
7,836
ml
OCaml
src/signat.ml
aliibrahim80/qeditas
f4871bd20833cd08a215f9d5fc9df2d362cba410
[ "MIT" ]
16
2017-01-26T10:54:22.000Z
2021-04-24T15:10:52.000Z
src/signat.ml
input-output-hk/qeditas
f4871bd20833cd08a215f9d5fc9df2d362cba410
[ "MIT" ]
null
null
null
src/signat.ml
input-output-hk/qeditas
f4871bd20833cd08a215f9d5fc9df2d362cba410
[ "MIT" ]
3
2016-12-28T12:22:45.000Z
2017-06-17T14:39:32.000Z
(* Copyright (c) 2015 The Qeditas developers *) (* Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php. *) open Big_int open Ser open Sha256 open Hash open Secp256k1 open Cryptocurr type signat = big_int * big_int (*** Following code ...
38.411765
117
0.617662
4426525dbbb2b9f6ba59777582c68941cdbdb4c1
8,733
ml
OCaml
src/lib/merkle_mask/maskable_merkle_tree.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
1
2020-05-05T07:31:26.000Z
2020-05-05T07:31:26.000Z
src/lib/merkle_mask/maskable_merkle_tree.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
src/lib/merkle_mask/maskable_merkle_tree.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
(* maskable_merkle_tree.ml -- Merkle tree that can have associated masks *) open Core module type Inputs_intf = sig include Inputs_intf.S module Mask : Masking_merkle_tree_intf.S with module Location = Location and type account := Account.t and type location := Location.t and type hash := ...
35.21371
83
0.639643
446bcf317c7c096a354aab64227334ef5cf8dc4a
21,227
ml
OCaml
analysis/src/vendor/compiler-libs-406/misc.ml
tsnobip/rescript-vscode
7ab2d231f91fee2f93cbf6cae1b38f94c06a58c1
[ "MIT" ]
428
2018-10-02T08:15:16.000Z
2020-05-25T06:20:02.000Z
analysis/src/vendor/compiler-libs-406/misc.ml
tsnobip/rescript-vscode
7ab2d231f91fee2f93cbf6cae1b38f94c06a58c1
[ "MIT" ]
262
2020-08-28T12:34:25.000Z
2022-03-29T17:54:12.000Z
analysis/src/vendor/compiler-libs-406/misc.ml
tsnobip/rescript-vscode
7ab2d231f91fee2f93cbf6cae1b38f94c06a58c1
[ "MIT" ]
30
2020-08-26T15:32:33.000Z
2022-02-04T23:43:05.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
28.454424
80
0.579498
446a4ed458ae62b4457a63f40f3009a867ebcf08
340
ml
OCaml
ocamlscript/main.ml
neojski/random
6712ae67e7e06d9ccd4b7b55a8e32978fb735f0e
[ "MIT" ]
null
null
null
ocamlscript/main.ml
neojski/random
6712ae67e7e06d9ccd4b7b55a8e32978fb735f0e
[ "MIT" ]
null
null
null
ocamlscript/main.ml
neojski/random
6712ae67e7e06d9ccd4b7b55a8e32978fb735f0e
[ "MIT" ]
null
null
null
open Core open Async let main () = let%bind contents = Reader.contents (Lazy.force Reader.stdin) in printf "%s" (Test.f contents); return () let () = let param = let open Command.Let_syntax in let%map_open () = return () in main in let command = Command.async ~summary:"TODO" param in C...
17
66
0.647059
bc760180ff6ead1499fa6b77ab3c3bc3d6a3debb
5,082
mli
OCaml
cil/src/ext/callgraph.mli
westwind2013/compi-z3.2.0
c1f7fdb24ef1fe62a1a4f44fadd9439051795c7d
[ "BSD-2-Clause" ]
139
2015-01-06T09:41:51.000Z
2022-03-29T06:43:59.000Z
cil/src/ext/callgraph.mli
westwind2013/compi-z3.2.0
c1f7fdb24ef1fe62a1a4f44fadd9439051795c7d
[ "BSD-2-Clause" ]
17
2015-01-29T17:09:04.000Z
2020-10-14T14:23:35.000Z
cil/src/ext/callgraph.mli
westwind2013/compi-z3.2.0
c1f7fdb24ef1fe62a1a4f44fadd9439051795c7d
[ "BSD-2-Clause" ]
54
2015-02-24T05:00:20.000Z
2022-03-23T07:05:18.000Z
(* * * Copyright (c) 2001-2002, * George C. Necula <necula@cs.berkeley.edu> * Scott McPeak <smcpeak@cs.berkeley.edu> * Wes Weimer <weimer@cs.berkeley.edu> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided...
40.983871
80
0.698544
449dc8fef577ac672edd0e427bfdc88bbd8f2dbd
864
ml
OCaml
src/compare.ml
diaozheng999/re-boost
df24cfbe3bad793e4afb3288a6d697b93657c97c
[ "MIT" ]
null
null
null
src/compare.ml
diaozheng999/re-boost
df24cfbe3bad793e4afb3288a6d697b93657c97c
[ "MIT" ]
null
null
null
src/compare.ml
diaozheng999/re-boost
df24cfbe3bad793e4afb3288a6d697b93657c97c
[ "MIT" ]
null
null
null
open Traits external int : int abs_compare = "int" [@@bs.module "@nasi/boost"] [@@bs.scope "common", "compare"] external num : float abs_compare = "num" [@@bs.module "@nasi/boost"] [@@bs.scope "common", "compare"] external str : string abs_compare = "str" [@@bs.module "@nasi/boost"] [@@bs.scope "common", "comp...
32
73
0.633102
8ac9bc3ce88704f2a31a0a6e1b4478d033cba191
19,408
ml
OCaml
taint/backwardAnalysis.ml
SKalt/pyre-check
cc8557f91a23c8819ef781bc978efff6465d9184
[ "MIT" ]
null
null
null
taint/backwardAnalysis.ml
SKalt/pyre-check
cc8557f91a23c8819ef781bc978efff6465d9184
[ "MIT" ]
1
2021-05-11T20:40:20.000Z
2021-05-11T20:40:20.000Z
taint/backwardAnalysis.ml
skeptycal/pyre-check
d2176f243247537993f133a0d8ebcde47e28d57e
[ "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 Analysis open Ast open Expression open Pyre open Statement open Domains open AccessPath module type FixpointState = sig ...
37.612403
99
0.652514
bc25c8fc7c8fde3696542183fd60fc66fe775028
175
ml
OCaml
result/fixml/mirror/sub8/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/mirror/sub8/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/mirror/sub8/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type btree = Empty | Node of (int * btree * btree) let rec mirror : btree -> btree = fun f -> match f with Empty -> Empty | Node (a, b, c) -> Node (a, mirror c, mirror b)
29.166667
78
0.6
8ad1f326dad59fcb390e20a75c113aa36b45dac5
260
mli
OCaml
hphp/hack/src/providers/partial_provider.mli
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/providers/partial_provider.mli
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/partial_provider.mli
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-30T11:52:42.000Z
2019-07-30T11:52:42.000Z
(** * Copyright (c) 2019, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) val should_check_error : FileInfo.mode -> int -> bool
23.636364
66
0.688462
bc79b2284a5185f8c18101bcf4ffd4c78e5d55ce
486
ml
OCaml
data/sp14/0187.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0187.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0187.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec listReverse l = match l with | [] -> [] | hd::tl -> (listReverse tl) :: hd;; (* fix let rec listReverse l = match l with | [] -> [] | _::tl -> listReverse tl;; *) (* changed spans (3,2)-(3,60) (3,38)-(3,60) (3,58)-(3,60) *) (* type error slice (2,3)-(3,62) (2,20)-(3,60) (3,2)-(3,60) (3,38)-(3,54) (3,38...
12.789474
75
0.473251
bc2500ca1c0b7c12772e772a5cd49564e7c2dd6b
1,579
ml
OCaml
GillianCore/engine/SymbolicSemantics/SStore.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
GillianCore/engine/SymbolicSemantics/SStore.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
GillianCore/engine/SymbolicSemantics/SStore.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
(** GIL Symbolic Store *) open SVal include Store.Make (SVal.M) (** Updates --store-- to subst(store) *) let substitution_in_place ?(subst_all = false) (subst : SESubst.t) (x : t) : unit = if not (SESubst.is_empty subst) then ( (* Do not substitute spec vars for spec vars *) let store_subst = SESubst.co...
34.326087
78
0.620646
bc78e25ddd44266a8657e845b5c1deae095b32ef
19,922
ml
OCaml
data/derived/comb/progs/unify/prog6174.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/prog1315.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1315.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.482353
208
0.644664
8af733e5ec9301d5595a349d64d8da5ed904688e
90
ml
OCaml
data/derived/comb/progs/unify/prog7999.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/prog3206.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3206.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let sqsum xs = let f a x = a + (x ** 2.) in let base = 0 in List.fold_left f base xs;;
22.5
73
0.566667
44dc542f4ff5f1b1ce66f6463ed8f0b029ab3ed8
3,217
ml
OCaml
belt_src/belt_internalSetInt.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
684
2018-05-24T14:14:06.000Z
2022-03-14T21:13:22.000Z
belt_src/belt_internalSetInt.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
439
2018-05-25T21:16:18.000Z
2021-12-03T11:28:10.000Z
belt_src/belt_internalSetInt.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
107
2018-05-30T23:53:50.000Z
2022-01-10T10:50:53.000Z
# 5 "../others/internal_set.cppo.ml" type value = int module S = Belt_SortArrayInt # 12 "../others/internal_set.cppo.ml" module N = Belt_internalAVLset module A = Belt_Array type t = value N.t let rec has (t : t) (x : value) = match N.toOpt t with | None -> false | Some n -> let v = N...
24.746154
80
0.516941
af2beff205769219803c672a4bafa927d736502b
14,339
ml
OCaml
hphp/hack/src/decl/shallow_decl.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/shallow_decl.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/shallow_decl.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Decl_defs open Decl_fun_utils open Shallow_decl_defs open Aast open Typing_deps open Typing_def...
32.887615
80
0.679964
447ed1b7d38c049d6ebb20acbbf3d02011c6aab7
990
ml
OCaml
data/fa15_min/0477.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/0477.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/0477.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec append xs ys = match xs with | [] -> ys | h::t -> h :: (append t ys);; let rec digitsOfInt n = if n <= 0 then [] else append (digitsOfInt (n / 10)) [n mod 10];; let digits n = digitsOfInt (abs n);; let rec additivePersistence n = if (n / 10) <= 0 then 0 else digits n;; (* fix let rec append xs ys = mat...
18.679245
78
0.548485
4452129a5cd046c299563ed8fc957827cd984eb8
937
mli
OCaml
src/stan/stan_math_signatures.mli
VMatthijs/Stanc-OCaml
53134510c41c3e54acd0fcac7a8e2797f7de562e
[ "BSD-3-Clause" ]
1
2018-11-18T18:11:43.000Z
2018-11-18T18:11:43.000Z
src/stan/stan_math_signatures.mli
VMatthijs/Stanc-OCaml
53134510c41c3e54acd0fcac7a8e2797f7de562e
[ "BSD-3-Clause" ]
null
null
null
src/stan/stan_math_signatures.mli
VMatthijs/Stanc-OCaml
53134510c41c3e54acd0fcac7a8e2797f7de562e
[ "BSD-3-Clause" ]
null
null
null
(** The signatures of the Stan Math library, which are used for type checking *) open Ast val try_get_stan_math_function_return_type : string -> (originblock * unsizedtype) list -> returntype option (** Get an optional return type for a Stan Math library function, given its name and argument types. *) val is_stan_m...
46.85
103
0.76841
44e4e0b2b20a9fa6476d90b86a9601a448118ff8
2,862
ml
OCaml
src/ocaml-3.12.0/otherlibs/lablGL/gluNurbs.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/otherlibs/lablGL/gluNurbs.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/otherlibs/lablGL/gluNurbs.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(* $Id: gluNurbs.ml,v 1.6 2001/10/01 02:59:13 garrigue Exp $ *) open Gl type t external begin_curve : t -> unit = "ml_gluBeginCurve" external begin_surface : t -> unit = "ml_gluBeginSurface" external begin_trim : t -> unit = "ml_gluBeginTrim" external end_curve : t -> unit = "ml_gluEndCurve" external end_surface : ...
36.692308
76
0.683788
bc4dde25ce925fc6f35b2b1221f0b6d80f206b2a
6,001
ml
OCaml
src/app/cli/src/tests/coda_delegation_test.ml
ansonla3/coda
5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc
[ "Apache-2.0" ]
null
null
null
src/app/cli/src/tests/coda_delegation_test.ml
ansonla3/coda
5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc
[ "Apache-2.0" ]
null
null
null
src/app/cli/src/tests/coda_delegation_test.ml
ansonla3/coda
5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc
[ "Apache-2.0" ]
null
null
null
open Core open Async open Coda_base open Signature_lib let name = "coda-delegation-test" let heartbeat_flag = ref true let print_heartbeat logger = let rec loop () = if !heartbeat_flag then ( Logger.warn logger ~module_:__MODULE__ ~location:__LOC__ "Heartbeat for CI" ; let%bind () = after (...
40.547297
87
0.697217
4461e8bbaea78be1316bb3181985faa9d57b6ddf
6,268
ml
OCaml
src/comparable_intf.ml
Khady/base
db1981bd71ab3812aec02970c51bcc03b6c8fa61
[ "MIT" ]
null
null
null
src/comparable_intf.ml
Khady/base
db1981bd71ab3812aec02970c51bcc03b6c8fa61
[ "MIT" ]
null
null
null
src/comparable_intf.ml
Khady/base
db1981bd71ab3812aec02970c51bcc03b6c8fa61
[ "MIT" ]
null
null
null
open! Import module type Infix = Comparisons.Infix module type Polymorphic_compare = Comparisons.S module type Validate = sig type t val validate_lbound : min:t Maybe_bound.t -> t Validate.check val validate_ubound : max:t Maybe_bound.t -> t Validate.check val validate_bound : min:t Maybe_bound.t -> max:t Ma...
28.490909
92
0.579132
bc3fb138056cc3130beefbcee4932eed17838584
26,907
ml
OCaml
src/ocaml-3.12.0/bytecomp/translmod.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/bytecomp/translmod.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/bytecomp/translmod.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
37.632168
89
0.632772
bc1f584c4903344f93ef84fd51343faedc4e7c75
15,830
ml
OCaml
src/signatureAxioms.ml
foobar-land/coq-of-ocaml
a392a83713342d396a6d81633ab9a3288f4a342c
[ "MIT" ]
10
2021-11-03T09:47:11.000Z
2022-01-24T08:49:55.000Z
src/signatureAxioms.ml
foobar-land/coq-of-ocaml
a392a83713342d396a6d81633ab9a3288f4a342c
[ "MIT" ]
6
2021-10-15T10:44:16.000Z
2022-01-25T20:14:56.000Z
src/signatureAxioms.ml
foobar-land/coq-of-ocaml
a392a83713342d396a6d81633ab9a3288f4a342c
[ "MIT" ]
1
2021-10-07T09:11:34.000Z
2021-10-07T09:11:34.000Z
open SmartPrint (** A signature represented by axioms for a [.mli] file. *) open Monad.Notations type item = | Error of string | IncludedFieldModule of Name.t * Name.t * PathName.t | IncludedFieldType of Name.t * Name.t * PathName.t | IncludedFieldValue of Name.t * Name.t list * Type.t * Name.t * PathName.t ...
46.696165
85
0.532533
bc539c3784386308bc2feb178c81805f3288720e
402
mli
OCaml
src/external/ocaml-dune/src/odoc.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
1
2021-03-12T10:46:21.000Z
2021-03-12T10:46:21.000Z
src/external/ocaml-dune/src/odoc.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/external/ocaml-dune/src/odoc.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
(** Odoc rules *) open! Stdune open Import open Dune_file module Gen (S : sig val sctx : Super_context.t end) : sig val setup_library_odoc_rules : Library.t -> scope:Scope.t -> modules:Module.t Module.Name.Map.t -> requires:Lib.t list Or_exn.t -> dep_graphs:Ocamldep.Dep_graphs.t -> unit ...
19.142857
57
0.656716
bc671a4798d101547c9d8953d5b54effb62c4669
351
ml
OCaml
lib/ml/hyperheap/FStar_ST.ml
YaccConstructor/FStar
a8db6c47e8b699b98be4c7c6f8c2e0edbce85933
[ "Apache-2.0" ]
1
2021-06-24T15:18:39.000Z
2021-06-24T15:18:39.000Z
src/ocaml-output/bootlibs/hyperheap/FStar_ST.ml
Trundle/js_of_fstar
1c8a2a1b951cc119dd49d3f5d9817571e17aab51
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/bootlibs/hyperheap/FStar_ST.ml
Trundle/js_of_fstar
1c8a2a1b951cc119dd49d3f5d9817571e17aab51
[ "Apache-2.0" ]
2
2015-10-22T11:55:17.000Z
2016-07-20T14:59:29.000Z
type 'a __ref = 'a ref type 'a ref = 'a __ref let read x = !x let op_Colon_Equals = (fun i r v -> r := v) let op_Bang = (fun i r -> !r) let alloc = (fun x -> ref x) let new_region = (fun r0 -> ()) let ralloc = (fun i x -> ref x) let recall = (fun i r -> ()) let recall_region i = () let get () = failwith "Extraction sho...
29.25
67
0.606838
bc47e395ea93003c055f489e292ac8979f7383cb
1,060
ml
OCaml
src/scope.ml
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
48
2016-03-10T10:48:05.000Z
2021-12-17T03:01:55.000Z
src/scope.ml
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
null
null
null
src/scope.ml
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
8
2017-03-31T15:48:19.000Z
2021-12-17T03:02:50.000Z
open Core_kernel open! Import module Node = Types.Node include Types.Scope let top = Top let is_top = function Top -> true | Bind _ -> false let invariant = function | Top -> () | Bind bind -> Bind.invariant ignore ignore bind ;; (* Unlike for nodes, there is no invariant [is_necessary t <=> height > -1] (doe...
24.090909
89
0.672642
44bf596d4c0682cd02be83cc93ac90496c64b02f
11,236
ml
OCaml
src/dune_cache_storage/dune_cache_storage.ml
gf3/dune
c0c6bd0906f2ee8a6eed5c65723a70d2ddfb9378
[ "MIT" ]
1
2022-03-18T02:24:50.000Z
2022-03-18T02:24:50.000Z
src/dune_cache_storage/dune_cache_storage.ml
gf3/dune
c0c6bd0906f2ee8a6eed5c65723a70d2ddfb9378
[ "MIT" ]
null
null
null
src/dune_cache_storage/dune_cache_storage.ml
gf3/dune
c0c6bd0906f2ee8a6eed5c65723a70d2ddfb9378
[ "MIT" ]
1
2021-05-07T18:08:53.000Z
2021-05-07T18:08:53.000Z
open Stdune module Layout = Layout module Mode = Mode module Util = Util module Version = Version (* See [doc/dev/cache.md] for design and implementation notes. *) module Store_result = struct type t = | Stored | Already_present | Error of exn | Will_not_store_due_to_non_determinism of Sexp.t let...
36.128617
80
0.662068
4494c9c45ef50d0aba7d5c88835ba881d68042dd
5,592
ml
OCaml
src/proto_alpha/lib_protocol/saturation_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/saturation_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/saturation_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs, <contact@nomadic-labs.com> *) ...
31.772727
79
0.547031
bc3a91d6e3a88fae85075abba7461b3830cf9495
479
mli
OCaml
infer/src/IR/CallSite.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
4
2021-11-19T02:07:46.000Z
2022-03-24T06:03:50.000Z
infer/src/IR/CallSite.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2021-04-05T15:19:58.000Z
2021-12-16T04:22:26.000Z
infer/src/IR/CallSite.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2019-04-26T02:27:43.000Z
2019-04-26T02:27:43.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! IStd module F = Format type t [@@deriving compare] val equal : t -> t -> bool val pname : t -> Typ.Procname.t val loc : t -> Lo...
18.423077
66
0.668058
44ec3013a002623862fea2d41ba01f5adae2cbf8
726
ml
OCaml
ag_pathanalysis/batteries/examples/tools/cat2.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2019-12-05T19:47:42.000Z
2021-05-05T13:41:16.000Z
ag_pathanalysis/batteries/examples/tools/cat2.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
null
null
null
ag_pathanalysis/batteries/examples/tools/cat2.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2021-04-20T07:44:02.000Z
2021-04-20T08:38:41.000Z
(** Implementation of a cat-like tool: read each file whose name is given on the command-line and print the contents to stdout. Usage: ./cat2.byte *.ml Variants based on function composition *) (* For reference write_lines : unit output -> string Enum.t -> unit stdout : unit output args ...
23.419355
80
0.619835
44fa9145b3481ecd790b90bcca70d69f51640581
400
mli
OCaml
compiler/lib/Typechecker/Typer.mli
nilern/mulled
45df2af868542be92202ea0aca2c8dc489418d2b
[ "BSD-3-Clause" ]
6
2018-11-27T02:03:49.000Z
2020-06-16T11:21:18.000Z
compiler/lib/Typechecker/Typer.mli
nilern/mulled
45df2af868542be92202ea0aca2c8dc489418d2b
[ "BSD-3-Clause" ]
65
2019-10-17T14:56:37.000Z
2020-08-31T18:54:20.000Z
compiler/lib/Typechecker/Typer.mli
broom-lang/broom
c91b155e4385f498112afac5bc26f0e33e87459e
[ "BSD-3-Clause" ]
1
2019-10-17T16:23:27.000Z
2019-10-17T16:23:27.000Z
module Sigs = TyperSigs type 'a with_pos = 'a Util.with_pos type 'a typing = 'a Sigs.typing module Error = TypeError module Kinding : Sigs.KINDING module Typing : Sigs.TYPING val check_program : Ast.Program.t -> (Fc.Program.t typing, TypeError.t list) result val check_interactive_stmts : Namespace.t -> Ast.Stmt.t...
23.529412
83
0.735
bc5439d37d377bacff08eeb763ffe3461b59069d
128,768
ml
OCaml
src/ocaml-output/FStar_Extraction_Kremlin.ml
smoothdeveloper/FStar
45fe9d918f1caf20054ed64e220c2cdcc735f88f
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Extraction_Kremlin.ml
smoothdeveloper/FStar
45fe9d918f1caf20054ed64e220c2cdcc735f88f
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Extraction_Kremlin.ml
smoothdeveloper/FStar
45fe9d918f1caf20054ed64e220c2cdcc735f88f
[ "Apache-2.0" ]
null
null
null
open Prims type decl = | DGlobal of (flag Prims.list * (Prims.string Prims.list * Prims.string) * Prims.int * typ * expr) | DFunction of (cc FStar_Pervasives_Native.option * flag Prims.list * Prims.int * typ * (Prims.string Prims.list * Prims.string) * binder Prims.list * expr) | DTypeAlias of ((Prims.str...
45.972153
166
0.595187
bc835a5ed49818175cee800d6c9b6555d760c003
1,586
mli
OCaml
duniverse/opam-core.2.0.7+dune/src/core/opamHash.mli
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
duniverse/opam-core.2.0.7+dune/src/core/opamHash.mli
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
duniverse/opam-core.2.0.7+dune/src/core/opamHash.mli
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2016 OCamlPro *) (* *) (* All righ...
34.478261
78
0.491803
bc843d2d62f214395816ea18dfd99846a4bd3992
549
ml
OCaml
hphp/hack/src/h2tp/common/Str_ext.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
1
2020-10-09T15:14:16.000Z
2020-10-09T15:14:16.000Z
hphp/hack/src/h2tp/common/Str_ext.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/h2tp/common/Str_ext.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "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. * *) include Str ...
24.954545
80
0.717668
44f4a9f25e347a339adde47512d3ae8979852937
814
ml
OCaml
compiler/qmlpasses/pass_DbPathCoercion.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
compiler/qmlpasses/pass_DbPathCoercion.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
compiler/qmlpasses/pass_DbPathCoercion.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
58
2015-01-02T23:57:42.000Z
2022-03-02T12:44:42.000Z
(* Copyright © 2011 MLstate This file is part of Opa. Opa is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3, as published by the Free Software Foundation. Opa is distributed in the hope that it will be useful, but WI...
33.916667
78
0.72973
4466bcc4a1a109408efd7cd17be678f07d91f9d9
5,769
mli
OCaml
src/super_context.mli
swuecho/dune
326ca5413adfb560513f8e6b327e8c71fc5293b1
[ "Apache-2.0" ]
null
null
null
src/super_context.mli
swuecho/dune
326ca5413adfb560513f8e6b327e8c71fc5293b1
[ "Apache-2.0" ]
null
null
null
src/super_context.mli
swuecho/dune
326ca5413adfb560513f8e6b327e8c71fc5293b1
[ "Apache-2.0" ]
null
null
null
(** A augmanted context *) (** A context augmented with: a lib-db, ... Super context are used for generating rules. *) open Import open Jbuild (** A directory with a jbuild *) module Dir_with_jbuild : sig type t = { src_dir : Path.t ; ctx_dir : Path.t (** [_build/context-name/src_dir] *) ; stanzas...
28.845
92
0.65748
441856f936fb2da6bc883b2274a50fcac0440792
1,255
mli
OCaml
src/external/ocaml-dune/src/main.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
1
2021-03-12T10:46:21.000Z
2021-03-12T10:46:21.000Z
src/external/ocaml-dune/src/main.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/external/ocaml-dune/src/main.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
open! Stdune open! Import type setup = { build_system : Build_system.t ; contexts : Context.t list ; scontexts : Super_context.t String.Map.t ; packages : Package.t Package.Name.Map.t ; file_tree : File_tree.t ; env : Env.t } (* Returns [Error ()] if [pkg] is unknown *) val packag...
26.145833
80
0.669323
bc7cbe838e2d6f3b92e97d8542de445c66a4889a
827
mli
OCaml
libraries/simpledb/lib/deleteDomain.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/simpledb/lib/deleteDomain.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/simpledb/lib/deleteDomain.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p> The <code>DeleteDomain</code> operation deletes a domain. Any items (and their attributes) in the domain are deleted as well. The <code>DeleteDomain</code> operation might take 10 or more seconds to complete. </p>" *) open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] module DeleteDoma...
39.380952
226
0.70133
bc2edc13de5d47fe52d403e18e8a5530fcd9bb8c
5,869
ml
OCaml
coq/engine/univProblem.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/engine/univProblem.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/engine/univProblem.ml
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/ *********...
35.143713
97
0.568581
4445c9514d7ed3c551f268582ece6844eda670e4
7,993
ml
OCaml
src/dune_rules/exe_rules.ml
ostera/dune
d6294813ad402ff8049f71ce5f4ef935f8b62e8f
[ "MIT" ]
null
null
null
src/dune_rules/exe_rules.ml
ostera/dune
d6294813ad402ff8049f71ce5f4ef935f8b62e8f
[ "MIT" ]
null
null
null
src/dune_rules/exe_rules.ml
ostera/dune
d6294813ad402ff8049f71ce5f4ef935f8b62e8f
[ "MIT" ]
null
null
null
open! Dune_engine open Import open! No_io open Build.O module Executables = Dune_file.Executables let first_exe (exes : Executables.t) = snd (List.hd exes.names) let linkages (ctx : Context.t) ~(exes : Executables.t) ~explicit_js_mode = let module L = Dune_file.Executables.Link_mode in let l = let has_native ...
37.881517
80
0.676092
bc7fdcdfe8f812b22e43a4a995afabec84735ef4
2,550
mli
OCaml
hphp/hack/src/client/clientConnect.mli
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/src/client/clientConnect.mli
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/src/client/clientConnect.mli
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (** This callback is typically provided for env.progress_callback; it prints data with a spinner to stderr. *) val tty_progres...
34.459459
96
0.749804
bc7d8f64ea2ff421de57c8d7783c564928ff6327
409
ml
OCaml
benchmarks/I/nat/sub12.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/I/nat/sub12.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/I/nat/sub12.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type nat = | ZERO | SUCC of nat (*let two = SUCC(SUCC ZERO);;*) (*let three = SUCC(SUCC(SUCC ZERO));;*) let rec natadd : nat -> nat -> nat = fun n1 n2 -> match n1 with |ZERO -> n2 |SUCC(nest) -> SUCC(natadd nest n2);; let rec natmul : nat -> nat -> nat = fun n1 n2 -> match n1, n2 with |_,ZERO -> SUCC(ZERO...
21.526316
43
0.591687
44789edde655a1ea4d1e1f25f4bc1a0fe2b4ab0f
536
mli
OCaml
src/typing/marked.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/typing/marked.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/typing/marked.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
2,338
2015-01-05T03:28:26.000Z
2022-03-26T20:40:56.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module type S = sig type t type key val empty : t val add : key -> Polarity.t -> t -> (Polarity.t * t) option val get...
19.851852
66
0.63806
8aa94581d05dbf89eb5d45c1e62c0e55908b1758
4,160
ml
OCaml
chunkedseq/ocaml/Vector.ml
deepsea-inria/deepsea-web
82496c37af0ee6798e0f5f421e2d685a7ea7c05b
[ "Apache-2.0" ]
null
null
null
chunkedseq/ocaml/Vector.ml
deepsea-inria/deepsea-web
82496c37af0ee6798e0f5f421e2d685a7ea7c05b
[ "Apache-2.0" ]
null
null
null
chunkedseq/ocaml/Vector.ml
deepsea-inria/deepsea-web
82496c37af0ee6798e0f5f421e2d685a7ea7c05b
[ "Apache-2.0" ]
null
null
null
(**************************************************************************) (* *) (* Copyright (C) Jean-Christophe Filliatre *) (* *) (* This sof...
27.549669
80
0.524038
bc56188a6dbed1944943169ab8c9a00130f117a7
2,047
ml
OCaml
data/fa15_min/0621.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/0621.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/0621.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec clone x n = if n > 0 then List.append [x] (clone x (n - 1)) else [];; let padZero l1 l2 = ((List.append (clone 0 ((List.length l2) - (List.length l1))) l1), (List.append (clone 0 ((List.length l1) - (List.length l2))) l2));; let rec removeZero l = match l with | [] -> [] | _ -> let h::t = l in (m...
24.662651
95
0.533952
44c5ac623732245da367a01066c5d4f3b9c988d3
2,191
ml
OCaml
lib/slacklogger_app.ml
kayceesrk/slacklogger
38d91ad68528350842c664b987fd7689d46d23a5
[ "0BSD" ]
5
2016-07-26T02:46:17.000Z
2019-05-14T11:45:02.000Z
lib/slacklogger_app.ml
kayceesrk/slacklogger
38d91ad68528350842c664b987fd7689d46d23a5
[ "0BSD" ]
null
null
null
lib/slacklogger_app.ml
kayceesrk/slacklogger
38d91ad68528350842c664b987fd7689d46d23a5
[ "0BSD" ]
null
null
null
open Lwt.Infix let token = let doc = "Slack API access token." in Cmdliner.Arg.(value & opt (some string) None & info ["t"; "token"] ~docv:"TOKEN" ~doc) let db = let doc = "Sqlite3 database file." in Cmdliner.Arg.(value & opt (some string) None & info ["d"; "database"] ~docv:"DATABASE" ~doc) let git = let ...
30.013699
94
0.643085
bc684a46f781e387bc0c6f33e3475951a8fffcf6
1,872
ml
OCaml
plugins/thumb/thumb_branch.ml
CryHavoc21/bap
800f7a2202f7048d3bbc76b758169188b335aba9
[ "MIT" ]
1
2022-03-17T23:08:46.000Z
2022-03-17T23:08:46.000Z
plugins/thumb/thumb_branch.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
null
null
null
plugins/thumb/thumb_branch.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
null
null
null
open Bap_core_theory open Core_kernel open KB.Syntax open Thumb_core type eff = unit Theory.effect KB.t let mask = W32.int32 0xffff_fffel let make_dests dst = let encoding = if W32.lsb dst then Arm_target.llvm_t32 else Arm_target.llvm_a32 in Theory.Label.for_addr W32.(dst land mask) >>= fun lbl -> KB...
22.829268
62
0.568376
4475e08cd83f261efd7143de873a381b14758091
3,166
ml
OCaml
applications/git/config.ml
sabine/mirage-skeleton
144d68992a284730c383eb3d39c409a061bc452e
[ "Unlicense" ]
null
null
null
applications/git/config.ml
sabine/mirage-skeleton
144d68992a284730c383eb3d39c409a061bc452e
[ "Unlicense" ]
null
null
null
applications/git/config.ml
sabine/mirage-skeleton
144d68992a284730c383eb3d39c409a061bc452e
[ "Unlicense" ]
null
null
null
open Mirage type hash = Hash let hash = typ Hash let sha1 = impl ~packages:[ package "digestif" ] "Digestif.SHA1" hash type git = Git let git = typ Git let git_impl path = let packages = [ package "git" ~min:"3.8.0" ] in let keys = match path with None -> [] | Some path -> [ Key.v path ] in let connect _ mod...
31.979798
76
0.65856
bc4cfdd35dffc8569a74cb6aa7f638808fa5851a
1,740
ml
OCaml
src/lib/fork_id/fork_id.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/fork_id/fork_id.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/fork_id/fork_id.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
(* fork_id.ml -- representation of fork IDs *) open Core_kernel [%%versioned module Stable = struct module V1 = struct type t = Core_kernel.String.Stable.V1.t [@@deriving sexp, eq] let to_latest = Fn.id end end] type t = Stable.Latest.t [@@deriving sexp, eq] (* only allow lower-case a .. f *) let is_he...
25.970149
78
0.699425
44649ac2073d56911be4e5fb2d83e9a9c7683738
843
mli
OCaml
libraries/route-53/lib/getHealthCheckStatus.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/route-53/lib/getHealthCheckStatus.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/route-53/lib/getHealthCheckStatus.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Gets status of a specified health check. </p>" *) open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] module GetHealthCheckStatusRequest : sig type t = { health_check_id: String.t }[@@ocaml.doc "<p>A request to get the status for a health check.</p>...
38.318182
90
0.685647
bc18e8e3cee706bdd7c8a27d9db70627b8d9d456
3,438
ml
OCaml
stdlib/fn_error.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
3
2016-05-03T23:32:16.000Z
2019-07-04T10:29:09.000Z
stdlib/fn_error.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
1
2016-05-10T09:10:16.000Z
2016-05-10T09:10:16.000Z
stdlib/fn_error.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
2
2019-05-08T16:29:48.000Z
2020-02-20T21:44:11.000Z
(***********************************************************************) (* *) (* GALAX *) (* XQuery Engine *) (* ...
39.517241
137
0.555846
bc28c93216e5e0938fb10891741fb800a0ba2c0f
6,892
ml
OCaml
lib/fuzz_actions/src/flow_if.ml
MattWindsor91/c4f
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
7
2018-11-27T23:53:58.000Z
2020-11-22T11:56:16.000Z
lib/fuzz_actions/src/flow_if.ml
MattWindsor91/act
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
235
2018-10-03T16:37:36.000Z
2020-11-22T16:26:51.000Z
lib/fuzz_actions/src/flow_if.ml
MattWindsor91/c4f
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
1
2018-11-13T16:43:19.000Z
2018-11-13T16:43:19.000Z
(* This file is part of c4f. Copyright (c) 2018-2022 C4 Project c4t itself is licensed under the MIT License. See the LICENSE file in the project root for more information. Parts of c4t are based on code from the Herdtools7 project (https://github.com/herd/herdtools7) : see the LICENSE.herd file in th...
34.984772
77
0.677597
bc4a28b86617ecd3b60d3bd82e1af445ebfc03d4
4,257
ml
OCaml
lib_test/test_session.ml
talex5/ocaml-session
0beec33d2a4694a41adef22ab837256ac42722d6
[ "BSD-3-Clause" ]
null
null
null
lib_test/test_session.ml
talex5/ocaml-session
0beec33d2a4694a41adef22ab837256ac42722d6
[ "BSD-3-Clause" ]
null
null
null
lib_test/test_session.ml
talex5/ocaml-session
0beec33d2a4694a41adef22ab837256ac42722d6
[ "BSD-3-Clause" ]
1
2017-01-07T00:26:40.000Z
2017-01-07T00:26:40.000Z
open OUnit module type Backend = sig include Session.S.Now with type key = string and type value = string and type period = int64 val name : string val create : unit -> t end module Make(B:Backend) = struct let is_ok = function | Result.Ok _ -> true | Result.Error _ -> false let ...
33.257813
89
0.627672
8a34e7388f8706d48461d512f84862acf2ba7729
2,359
ml
OCaml
src-ocaml/brzo_read_cmi_pre_408/brzo_read_cmi.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
5
2019-10-02T20:04:19.000Z
2021-11-04T10:04:53.000Z
src-ocaml/brzo_read_cmi_pre_408/brzo_read_cmi.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
src-ocaml/brzo_read_cmi_pre_408/brzo_read_cmi.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2019 The brzo programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) open B00_std let add_mo...
41.385965
79
0.571429
bc2e848489e3491d47409f9f46e7c1cf81a6814b
3,296
mli
OCaml
src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2022 Nomadic Labs <contact@nomadic-labs.com> *) ...
47.085714
79
0.567051
bc0be5403c3b139b67e9f31e61c94e465b99f49b
1,900
ml
OCaml
src/lib/syncable_ledger/test_db.ml
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
1
2018-11-01T06:43:26.000Z
2018-11-01T06:43:26.000Z
src/lib/syncable_ledger/test_db.ml
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
src/lib/syncable_ledger/test_db.ml
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
open Core module Make (Depth : sig val depth : int end) = struct open Merkle_ledger_tests.Test_stubs module Hash = struct type t = Hash.t [@@deriving sexp, hash, compare, bin_io, eq] type account = Account.t let merge = Hash.merge let hash_account = Hash.hash_account let to_hash = Fn.id ...
22.352941
75
0.673158
446f9422543d7590b7a481655c5f4cf50f3089a1
639
ml
OCaml
tests/test_site_evolution_model.ml
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
11
2017-12-05T16:13:46.000Z
2021-11-16T17:02:32.000Z
tests/test_site_evolution_model.ml
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
8
2020-01-05T18:49:57.000Z
2022-03-16T19:47:45.000Z
tests/test_site_evolution_model.ml
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
2
2021-03-29T13:21:25.000Z
2022-03-29T19:08:37.000Z
open Phylogenetics open Test_utils open Site_evolution_model let test_JC69_exponential () = compare_matrices (module Nucleotide) "JC69: numerical vs analytical exponential" (JC69.transition_probability_matrix () 0.1) (JC69_numerical.transition_probability_matrix () 0.1) let test_K80_exponential () ...
26.625
57
0.762128
8ae2de314be8e1c9dd8c1f6230ad32a1eacc468d
694
ml
OCaml
benchmarks/C/formula/sol184.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/formula/sol184.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/formula/sol184.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type formula= True |False |Not of formula |AndAlso of formula*formula |OrElse of formula*formula |Imply of formula*formula |Equal of exp*exp and exp= |Num of int |Plus of exp*exp |Minus of exp*exp let rec exp_eval:exp->int= fun ex-> match ex with |Num n -> n |Plus (ln,rn) -> (exp_eval ln)+...
22.387097
49
0.595101
bc1af80b99c8f90bfae23c332de16f97ea5c36cd
152,497
ml
OCaml
x86/proofs/bignum_coprime.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
33
2021-03-11T16:12:01.000Z
2022-03-06T17:01:18.000Z
x86/proofs/bignum_coprime.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
8
2021-09-06T12:58:47.000Z
2022-01-03T16:43:09.000Z
x86/proofs/bignum_coprime.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
4
2021-03-11T19:28:16.000Z
2021-12-12T23:40:44.000Z
(* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "LICENSE" file ...
48.674433
87
0.587507
44b1cded95b259fc6a1fff1c91badd794d8aae66
43,557
ml
OCaml
src/bin_sandbox/command_ledger_wallet.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/bin_sandbox/command_ledger_wallet.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/bin_sandbox/command_ledger_wallet.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
open Flextesa open Internal_pervasives let client_async_cmd state ~client args ~f = Running_processes.Async.run_cmdf ~id_base:"client_async_cmd" state ~f "sh -c %s" ( Tezos_client.client_command state client args |> Genspio.Compile.to_one_liner |> Caml.Filename.quote ) >>= fun (status, res)...
30.913414
88
0.555938
bc3b98ef35273f5b23c045729c681808770624de
6,602
ml
OCaml
infer/src/checkers/control.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "MIT" ]
1
2018-11-10T08:04:26.000Z
2018-11-10T08:04:26.000Z
infer/src/checkers/control.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "MIT" ]
null
null
null
infer/src/checkers/control.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "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! IStd module F = Format module L = Logging (* forward dependency analysis for computing set of variables that affect the looping...
37.299435
99
0.67116
44aff8fe0dee4acfadc0eafdc45bbffc02fc6b47
1,879
mli
OCaml
bootstrap/src/basis/container_common.mli
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
bootstrap/src/basis/container_common.mli
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
bootstrap/src/basis/container_common.mli
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
(** Functors for container types. *) open Container_common_intf (** O(n) [length] functor for monomorphic types, e.g. [string]. *) module Make_mono_length (T : I_mono) : S_mono_length with type t := T.t and type elm := T.elm (** Folding-related functor for monomo...
39.978723
79
0.576903
bc2721bef8e861af28b8259e232c6b01cd86aa10
4,676
ml
OCaml
backends/postgresql/session_postgresql.ml
dra27/ocaml-session
3cd942ee635e90eb520e5a4f25b3cd8c28e925ff
[ "BSD-3-Clause" ]
47
2015-12-15T15:32:39.000Z
2021-08-03T18:56:49.000Z
backends/postgresql/session_postgresql.ml
dra27/ocaml-session
3cd942ee635e90eb520e5a4f25b3cd8c28e925ff
[ "BSD-3-Clause" ]
15
2015-12-16T19:15:41.000Z
2021-08-17T09:07:16.000Z
backends/postgresql/session_postgresql.ml
dra27/ocaml-session
3cd942ee635e90eb520e5a4f25b3cd8c28e925ff
[ "BSD-3-Clause" ]
9
2016-12-05T15:27:26.000Z
2022-03-18T19:47:56.000Z
(*---------------------------------------------------------------------------- Copyright (c) 2015 Inhabited Type LLC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistri...
34.895522
123
0.671086
bc464f8478d25b46599523c3cf8006908c86e642
5,198
ml
OCaml
Compiler/genpass.ml
DawidvC/Cbang
8fa2c6872b3a66c197316fe58ad28b6efd8b14ee
[ "BSD-3-Clause" ]
null
null
null
Compiler/genpass.ml
DawidvC/Cbang
8fa2c6872b3a66c197316fe58ad28b6efd8b14ee
[ "BSD-3-Clause" ]
null
null
null
Compiler/genpass.ml
DawidvC/Cbang
8fa2c6872b3a66c197316fe58ad28b6efd8b14ee
[ "BSD-3-Clause" ]
1
2021-10-06T19:15:20.000Z
2021-10-06T19:15:20.000Z
(* * Copyright (c) 2010-2012, Marwan Burelle, the LSE Team and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyrig...
31.313253
78
0.645248
4432df025b00973b05be1473b0da2a591c904264
2,857
ml
OCaml
src/datalog/relSemantics.ml
hyunsooda/sparrow
2edbd00a906394874c7b266db7e53e3519a9caf1
[ "BSD-3-Clause" ]
null
null
null
src/datalog/relSemantics.ml
hyunsooda/sparrow
2edbd00a906394874c7b266db7e53e3519a9caf1
[ "BSD-3-Clause" ]
null
null
null
src/datalog/relSemantics.ml
hyunsooda/sparrow
2edbd00a906394874c7b266db7e53e3519a9caf1
[ "BSD-3-Clause" ]
null
null
null
open BasicDom module F = Format module Alloc = struct (* Alloc(n, lv, e, l): l points to an abstract location allocated at n *) type t = Node.t * CilHelper.Lval.t * CilHelper.Exp.t * Loc.t [@@deriving compare] let make n lv e l = (n, lv, e, l) end module Assign = struct type t = Loc.t * Loc.t * Loc.t [@@de...
26.453704
80
0.613231
4414ef6bfc1dac5a59d2d253cb511c4cf60de685
37,938
mli
OCaml
src/raylib.mli
smorimoto/raylib-ocaml
e91e53eeded3cd6c46968808f79bced72eb82182
[ "MIT" ]
null
null
null
src/raylib.mli
smorimoto/raylib-ocaml
e91e53eeded3cd6c46968808f79bced72eb82182
[ "MIT" ]
null
null
null
src/raylib.mli
smorimoto/raylib-ocaml
e91e53eeded3cd6c46968808f79bced72eb82182
[ "MIT" ]
null
null
null
module ConfigFlag = Raylib_generated_constants.ConfigFlag module TraceLogType = Raylib_generated_constants.TraceLogType module Key = Raylib_generated_constants.Key module AndroidButton = Raylib_generated_constants.AndroidButton module MouseButton = Raylib_generated_constants.MouseButton module GamepadNumber = Raylib_ge...
21.967574
80
0.678686
8ad0ba6aabc375976886721cf89fa7fe2ee5180e
2,118
ml
OCaml
compiler/myocamlbuild.ml
basavesh/jasmin
8f6a1c147b1d4d411862b8ef4d55e827a4eeebf9
[ "CECILL-B" ]
88
2017-02-22T11:18:11.000Z
2022-03-25T19:58:06.000Z
compiler/myocamlbuild.ml
basavesh/jasmin
8f6a1c147b1d4d411862b8ef4d55e827a4eeebf9
[ "CECILL-B" ]
72
2018-10-05T10:56:34.000Z
2022-03-29T06:54:18.000Z
compiler/myocamlbuild.ml
basavesh/jasmin
8f6a1c147b1d4d411862b8ef4d55e827a4eeebf9
[ "CECILL-B" ]
22
2017-09-18T14:44:09.000Z
2022-03-25T11:32:38.000Z
open Ocamlbuild_plugin let _ = dispatch begin function | After_options -> Options.ocamlc := S[!Options.ocamlc ; A"-rectypes"]; Options.ocamlopt := S[!Options.ocamlopt; A"-rectypes"]; | After_rules -> (* Numerical warnings *) begin let wflag error mode wid = let...
41.529412
95
0.523607
bc2ce3e56644205934ff8eb651184e2f829d15f1
33
mli
OCaml
src/virtual.mli
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
3
2017-10-04T01:36:37.000Z
2019-09-29T22:54:32.000Z
src/virtual.mli
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
null
null
null
src/virtual.mli
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
3
2020-10-08T04:16:58.000Z
2021-10-11T13:19:30.000Z
val f : Closure.prog -> Asm.prog
16.5
32
0.666667
8afc86b65ba87e488761c44c13b5a47ada9c1297
23,014
ml
OCaml
eval.ml
diakopter/intuitionistic
01a058057f4e38e4ac6dfe15f1fe1962bcd38c43
[ "Apache-2.0" ]
10
2015-04-08T16:20:53.000Z
2022-01-05T10:37:18.000Z
eval.ml
diakopter/intuitionistic
01a058057f4e38e4ac6dfe15f1fe1962bcd38c43
[ "Apache-2.0" ]
null
null
null
eval.ml
diakopter/intuitionistic
01a058057f4e38e4ac6dfe15f1fe1962bcd38c43
[ "Apache-2.0" ]
null
null
null
(* INTUITIONISTIC TYPE THEORY PROGRAMMING LANGUAGE *) (* *) (* Copyright (c) 2006-2013 Johan G. Granstroem. *) (* ...
30.08366
93
0.579213
443786d2f88124a92b324b676737b3c5c6be6199
8,045
ml
OCaml
src/unlabel.ml
dinosaure/ocaml-containers
0d05643c5716baaca452ec67823b418d4420df6f
[ "BSD-2-Clause" ]
1
2019-01-22T15:09:19.000Z
2019-01-22T15:09:19.000Z
src/unlabel.ml
dinosaure/ocaml-containers
0d05643c5716baaca452ec67823b418d4420df6f
[ "BSD-2-Clause" ]
null
null
null
src/unlabel.ml
dinosaure/ocaml-containers
0d05643c5716baaca452ec67823b418d4420df6f
[ "BSD-2-Clause" ]
null
null
null
(* search for first occurence of pat in s *) let rec search pat s pos = let rec compare i = if i >= String.length pat then true else if pat.[i] = s.[pos+i] then compare (i+1) else false in if pos > String.length s - String.length pat then raise Not_found else if compare 0 then pos else...
32.57085
82
0.596022
bc5522cd3448baaae1aa83d7619affe343d2c58d
891
ml
OCaml
data/derived/comb/progs/unify/prog0482.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/prog0482.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0482.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec padZero l1 l2 = let length1 = List.length l1 in let length2 = List.length l2 in if length1 = length2 then (l1, l2) else if length1 < length2 then padZero (0 :: l1) l2 else padZero l1 (0 :: l2);; let rec removeZero l = match l with | [] -> [] | h::t -> if h = 0 then removeZero t else l;; let b...
28.741935
78
0.573513
8aedc43c7e03f178f5b5e4fc7cd7a3a1d4f4e79f
39,965
ml
OCaml
eval/sherrloc/easyocaml++/typing/typemod.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/typing/typemod.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/typing/typemod.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
39.805777
105
0.612336
bc2e15981a995422379fb0fee7db3a1da0a4cf6a
374
mli
OCaml
src/widget_information_line.mli
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
4
2015-03-14T10:53:27.000Z
2020-09-12T01:13:00.000Z
src/widget_information_line.mli
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
null
null
null
src/widget_information_line.mli
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
null
null
null
(** Implementation for the line of application information. *) class t : unit -> object inherit LTerm_widget.hbox method set_filter_name : string -> unit (** [set_filter_name name] set name of filter to show *) method set_number_of_candidates : int -> unit (** [set_number_of_can...
28.769231
73
0.665775
44704cc7ecd7b308568e9c78b7ac72401fdcb977
1,938
ml
OCaml
lib/mlist.ml
NightBlues/amqp-client
9a5783ee9f853d35f16bfa109f0c0d09ea460e63
[ "BSD-3-Clause" ]
56
2015-12-16T01:59:56.000Z
2022-01-26T11:39:47.000Z
lib/mlist.ml
NightBlues/amqp-client
9a5783ee9f853d35f16bfa109f0c0d09ea460e63
[ "BSD-3-Clause" ]
34
2015-12-28T12:33:11.000Z
2020-12-18T12:18:28.000Z
lib/mlist.ml
NightBlues/amqp-client
9a5783ee9f853d35f16bfa109f0c0d09ea460e63
[ "BSD-3-Clause" ]
12
2015-12-15T22:02:27.000Z
2020-12-02T12:20:24.000Z
(**/**) type 'a elem = { content: 'a; mutable next: 'a cell } and 'a cell = Nil | Cons of 'a elem type 'a t = { mutable first: 'a elem; mutable last: 'a elem } (** create an empty list *) let create () = let sentinal = { content = Obj.magic (); next = Nil } in { first = sentinal; las...
28.5
106
0.573271
44f0ee173c7dee7bcfba5519dcab86a4ef0aaab6
1,109
mli
OCaml
interprocedural_analyses/taint/model.mli
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "MIT" ]
1
2020-08-12T14:33:46.000Z
2020-08-12T14:33:46.000Z
interprocedural_analyses/taint/model.mli
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/model.mli
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "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 Pyre open Ast open Analysis open Interprocedural type t = { is_obscure: bool; call_target: Callable.t; model: TaintResult.call_mo...
23.595745
73
0.730388
bc7351f2b806e30a5555f9e04bbc356a06e90087
11,164
ml
OCaml
src/bin_node/node_shared_arg.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/bin_node/node_shared_arg.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/bin_node/node_shared_arg.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
34.140673
89
0.622985
445872ec35d8d1426767af8d66fa8b892fa2cea2
1,783
ml
OCaml
lib/core_lwt_or_error.ml
BinaryAnalysisPlatform/core_lwt
bf5af1ef3d42ceb7ecd71ea922a9a42d3d0787fd
[ "MIT" ]
6
2016-02-05T12:19:19.000Z
2020-04-05T07:45:55.000Z
lib/core_lwt_or_error.ml
BinaryAnalysisPlatform/core_lwt
bf5af1ef3d42ceb7ecd71ea922a9a42d3d0787fd
[ "MIT" ]
3
2018-01-05T17:53:55.000Z
2020-04-17T13:25:50.000Z
lib/core_lwt_or_error.ml
BinaryAnalysisPlatform/core_lwt
bf5af1ef3d42ceb7ecd71ea922a9a42d3d0787fd
[ "MIT" ]
5
2018-01-05T18:02:44.000Z
2019-09-09T09:15:00.000Z
open Core_kernel open Core_lwt_container module Basic = struct type 'a t = 'a Or_error.t Lwt.t let bind m ~f = Lwt.bind m (function | Ok r -> f r | Error _ as err -> Lwt.return err) let map m ~f = Lwt.map (fun r -> Result.map r ~f) m let map = `Custom map let return x = Lwt.return (Ok x)...
25.471429
73
0.663489
44f045ce498a0855bb4a5778a4e4f2b6aeb460d4
7,288
ml
OCaml
src/lib/uTop_styles.ml
Armael/utop
b9bd0ebb90217279361971abe366ca1c545bbe8b
[ "BSD-3-Clause" ]
3
2017-11-18T02:13:02.000Z
2021-08-21T16:56:24.000Z
src/lib/uTop_styles.ml
Armael/utop
b9bd0ebb90217279361971abe366ca1c545bbe8b
[ "BSD-3-Clause" ]
null
null
null
src/lib/uTop_styles.ml
Armael/utop
b9bd0ebb90217279361971abe366ca1c545bbe8b
[ "BSD-3-Clause" ]
null
null
null
(* * uTop_styles.ml * -------------- * Copyright : (c) 2011, Jeremie Dimino <jeremie@dimino.org> * Licence : BSD3 * * This file is a part of utop. *) open UTop_token let return, (>>=) = Lwt.return, Lwt.(>>=) module String_set = Set.Make (String) type styles = { mutable style_keyword : LTerm_style.t; mu...
36.44
95
0.644484
bc88116bca535d8de1a95d768c252a5cb9f3c605
59,782
ml
OCaml
src/parser_utils/file_sig.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/parser_utils/file_sig.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/parser_utils/file_sig.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
2,338
2015-01-05T03:28:26.000Z
2022-03-26T20:40:56.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast_utils = Flow_ast_utils module Ast = Flow_ast module Result = Base.Result open Flow_ast_visitor module Make (L : Loc...
39.047681
103
0.552708
441675241a3bf1a1e5671fe0100bdd96ab19ce2b
3,157
ml
OCaml
data/fa15/2528.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2528.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2528.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 = let sizDif = (List.length l1) - (List.length l2) in if sizDif > 0 then let pad = clone 0 sizDif in (l1, (pad @ l2)) else (let pad = clone 0 (- sizDif) in ((pad @ l1), l2));; let rec removeZero l = match l with | [] -> [...
18.143678
77
0.497941
44d177f6f504953f515e5987e7c3b144d9fc6ef7
368
ml
OCaml
data/sp14/0192.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/0192.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/0192.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec listReverse l = match l with | [] -> [] | hd::tl -> listReverse (hd :: l) tl;; (* fix let rec listReverse l = match l with | [] -> [] | hd::tl -> listReverse (hd :: l);; *) (* changed spans (3,39)-(3,63) listReverse (hd :: l) AppG [AppG [EmptyG,EmptyG]] *) (* type error slice (2,4)-(3,65) (2,21)-(3,...
13.62963
64
0.519022
44dbbe756fc3ad46d49d3bc0c3127726708ba4c7
8,990
ml
OCaml
hphp/hack/src/hhbc/emit_inout_function.ml
qcmaude/hhvm
4a5d92b8c9b763989579aa733911a260b0df0f5e
[ "PHP-3.01", "Zend-2.0" ]
1
2019-05-25T13:42:36.000Z
2019-05-25T13:42:36.000Z
hphp/hack/src/hhbc/emit_inout_function.ml
marscore/hhvm
b3d09b6b9a6beb521149f47e67d0691ac291e2b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/emit_inout_function.ml
marscore/hhvm
b3d09b6b9a6beb521149f47e67d0691ac291e2b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2017, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open Hhbc_ast open Instruction_sequence module T = Tast module H = Hhbc_ast let is_last_param_var...
35.393701
87
0.738487
bc79d166f587ac3fabbc51a90635f2b5ac02ee63
3,262
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-warnings/exhaustiveness.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2020-09-24T05:03:32.000Z
2020-09-24T05:03:32.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-warnings/exhaustiveness.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-warnings/exhaustiveness.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(* TEST flags = " -w A -strict-sequence " * toplevel *) (* Warn about all relevant cases when possible *) let f = function None, None -> 1 | Some _, Some _ -> 2;; (* Exhaustiveness check is very slow *) type _ t = A : int t | B : bool t | C : char t | D : float t type (_,_,_,_) u = U : (int, int, int, i...
25.888889
78
0.526364
af538afc895491c8eb72a8f6642b04955b234189
4,505
mli
OCaml
src/Cmts.mli
Wilfred/ocamlformat
3b41b2597ea98c5abba3744a280b286a7edbd99d
[ "MIT" ]
null
null
null
src/Cmts.mli
Wilfred/ocamlformat
3b41b2597ea98c5abba3744a280b286a7edbd99d
[ "MIT" ]
null
null
null
src/Cmts.mli
Wilfred/ocamlformat
3b41b2597ea98c5abba3744a280b286a7edbd99d
[ "MIT" ]
1
2019-01-16T07:35:51.000Z
2019-01-16T07:35:51.000Z
(********************************************************************** * * * OCamlFormat * * * * Copyright (c) 2017-present, ...
33.619403
76
0.596226
bc48e46762b531390ca0afa43f8bccc948aa75ef
6,853
ml
OCaml
ocaml_frontend/decode_ocaml.ml
talsewell/cerberus
c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3
[ "BSD-2-Clause" ]
12
2020-09-03T09:57:26.000Z
2022-01-28T04:28:00.000Z
ocaml_frontend/decode_ocaml.ml
talsewell/cerberus
c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3
[ "BSD-2-Clause" ]
182
2021-02-26T23:07:40.000Z
2022-02-10T12:33:45.000Z
ocaml_frontend/decode_ocaml.ml
talsewell/cerberus
c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3
[ "BSD-2-Clause" ]
4
2020-09-02T11:54:39.000Z
2022-03-16T23:23:11.000Z
(* NOTE: a properly formed C integer-constant *) (* TODO: this explodes if the string is empty *) let decode_integer_constant str = let read_digit = function | 'a' | 'A' -> 10 | 'b' | 'B' -> 11 | 'c' | 'C' -> 12 | 'd' | 'D' -> 13 | 'e' | 'E' -> 14 | 'f' | 'F' -> 15 | n -> int_of_c...
34.964286
143
0.551291
bc60c2a43da247c6b54343d4d5d5244817f258cf
1,497
ml
OCaml
tests/test_incremental_patricia.ml
kienle371999/deku
285fecfcc13f90f85eddbb256f669e7122e96083
[ "MIT" ]
30
2021-10-05T02:08:06.000Z
2022-03-30T10:48:01.000Z
tests/test_incremental_patricia.ml
kienle371999/deku
285fecfcc13f90f85eddbb256f669e7122e96083
[ "MIT" ]
191
2021-09-21T05:54:54.000Z
2022-03-31T13:31:45.000Z
tests/test_incremental_patricia.ml
kienle371999/deku
285fecfcc13f90f85eddbb256f669e7122e96083
[ "MIT" ]
12
2021-09-30T22:01:30.000Z
2022-03-26T02:21:53.000Z
open Setup open Crypto module M = struct type t = { key : int; hash : BLAKE2B.t; } [@@deriving yojson] let hash t = t.hash let make key = { key; hash = BLAKE2B.hash (string_of_int key) } end open M open Incremental_patricia.Make (M) let () = describe "incremental Patricia" (fun { test; _ } -> ...
32.543478
79
0.527722
44c71efe5a8be1a545869d2ad93f00f347f6cd8d
8,545
ml
OCaml
lib/ocann_owl/misc.ml
Ngoguey42/io
adb5e29a1b0e848725346a6c467b58929f2a1388
[ "0BSD" ]
1
2020-12-24T12:32:13.000Z
2020-12-24T12:32:13.000Z
lib/ocann_owl/misc.ml
Ngoguey42/io
adb5e29a1b0e848725346a6c467b58929f2a1388
[ "0BSD" ]
null
null
null
lib/ocann_owl/misc.ml
Ngoguey42/io
adb5e29a1b0e848725346a6c467b58929f2a1388
[ "0BSD" ]
null
null
null
module type ALGODIFF = sig type ba_elt type ba = (float, ba_elt, Bigarray.c_layout) Bigarray.Genarray.t include Owl_algodiff_generic_sig.Sig with type A.elt = float and type A.arr = ba end module Make (Algodiff : ALGODIFF) (Nn : Ocann.NETWORK) = struct module Ndarray = Algodiff.A type optimisation = float...
39.744186
100
0.623757
bc7e3450cb00a47c2275d10ef08fb4939b43f967
1,120
mli
OCaml
src/parser/parsing_ast.mli
ptal/nominal-workbench
6587f9b4b904909c1b41f99148d713c99003e6fe
[ "MIT" ]
1
2018-10-06T12:04:36.000Z
2018-10-06T12:04:36.000Z
src/parser/parsing_ast.mli
fredokun/nominal-workbench
43f878d5fffbd44e540dd025930516da553a4594
[ "MIT" ]
null
null
null
src/parser/parsing_ast.mli
fredokun/nominal-workbench
43f878d5fffbd44e540dd025930516da553a4594
[ "MIT" ]
3
2018-04-22T16:55:06.000Z
2019-11-22T11:23:24.000Z
(* Distributed under the MIT License. (See accompanying file LICENSE.txt) (C) Copyright Pierre Talbot *) (** Abstract Syntax Tree resulting from the parsing *) open Rewriting_ast open Strategy_ast open Term_ast type filename = string type name = string type domain = string type error = Error of domain * name ty...
21.538462
63
0.772321
44fd42939211c31496d982373d34e568ce06bb4d
1,698
ml
OCaml
src/dune_rules/per_item.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
1
2021-10-05T16:59:09.000Z
2021-10-05T16:59:09.000Z
src/dune_rules/per_item.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
null
null
null
src/dune_rules/per_item.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
null
null
null
open! Dune_engine open! Stdune module Make (Key : Map.Key) : Per_item_intf.S with type key = Key.t = struct module Map = Map.Make (Key) type key = Key.t type 'a t = { map : int Map.t ; values : 'a array } let for_all x = { map = Map.empty; values = [| x |] } let of_mapping l ~default = le...
23.260274
76
0.585984
44aa6bd9ba8fbdc82811296f4569704f8e4eb4ea
6,844
ml
OCaml
lib_test/simulator.ml
OneGraph/httpaf
743f19d06aef22099052348001ffa96fa7dcb295
[ "BSD-3-Clause" ]
null
null
null
lib_test/simulator.ml
OneGraph/httpaf
743f19d06aef22099052348001ffa96fa7dcb295
[ "BSD-3-Clause" ]
1
2021-02-23T20:39:12.000Z
2021-02-23T20:39:12.000Z
lib_test/simulator.ml
isabella232/httpaf
743f19d06aef22099052348001ffa96fa7dcb295
[ "BSD-3-Clause" ]
1
2020-12-02T11:33:54.000Z
2020-12-02T11:33:54.000Z
open Httpaf open Httpaf.Httpaf_private let debug msg = if true then Printf.eprintf "%s\n%!" msg let request_to_string r = let f = Faraday.create 0x1000 in Serialize.write_request f r; Faraday.serialize_to_string f let response_to_string r = let f = Faraday.create 0x1000 in Serialize.write_response f r; ...
36.404255
104
0.653273
8acd49247314391f5f26dd92ff26730b3c0be4d8
5,785
ml
OCaml
src/services/inference/init_js.ml
takeratta/flow
25525663e8cbaa60db599f39fa8471576fcdbb4d
[ "MIT" ]
2
2018-02-28T06:36:27.000Z
2018-02-28T06:36:30.000Z
src/services/inference/init_js.ml
martina6hall/flow
38e9a22fc0302893343ef7ebe69ceb44ffa3f763
[ "MIT" ]
null
null
null
src/services/inference/init_js.ml
martina6hall/flow
38e9a22fc0302893343ef7ebe69ceb44ffa3f763
[ "MIT" ]
1
2018-02-28T06:36:11.000Z
2018-02-28T06:36:11.000Z
(** * 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. *) (* This module sets up the definitions for JavaScript globals. Eventually, this module should become redundant: we should be able to ...
36.847134
97
0.703544
449e5f70fa46c8ab9c51d2708676c12c0dea3e0f
2,899
ml
OCaml
src/server/find_refs/findRefs_js.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
1
2019-05-17T11:06:58.000Z
2019-05-17T11:06:58.000Z
src/server/find_refs/findRefs_js.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
src/server/find_refs/findRefs_js.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "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 (>>|) = Core_result.(>>|) open Utils_js open Loc_collections let locmap_of_bindings = List.fold_left begin fun map (loc, x...
39.175676
100
0.663677
bc72fc5f10c14714061d8c2e8a3bcbf2ce3f05bc
1,415
ml
OCaml
src/common/lwt/lwtSysUtils.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "MIT" ]
2
2019-01-31T09:33:15.000Z
2019-01-31T09:35:08.000Z
src/common/lwt/lwtSysUtils.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "MIT" ]
null
null
null
src/common/lwt/lwtSysUtils.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "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. *) (* Basically a `waitpid [ WUNTRACED ] pid` (WUNTRACED means also return on stopped processes) *) let blocking_waitpid = let reasonable...
38.243243
98
0.720848
bc2ab1b01e319c7917535b4f94e1f8a6f40a34f0
104,910
ml
OCaml
source/test/test.ml
ddainesefb/pyre-check
dedd67493f4334b6b5bf446260ed364b35b4a6aa
[ "MIT" ]
null
null
null
source/test/test.ml
ddainesefb/pyre-check
dedd67493f4334b6b5bf446260ed364b35b4a6aa
[ "MIT" ]
null
null
null
source/test/test.ml
ddainesefb/pyre-check
dedd67493f4334b6b5bf446260ed364b35b4a6aa
[ "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 Core open OUnit2 open Analysis open Ast open Pyre open PyreParser open Statement let initialize () = Log.GlobalState.initia...
34.239556
135
0.536793
bc1a21188239addc7fa3f607ab094168c3997d47
12,539
ml
OCaml
x86/proofs/bignum_divmod10.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
x86/proofs/bignum_divmod10.ml
jargh/s2n-bignum
60e0181906811865bec1501e18c1384482585a46
[ "Apache-2.0" ]
null
null
null
x86/proofs/bignum_divmod10.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 ...
44.782143
86
0.588803
bc011a3a5c904c075bee4d1c079e6bcdb00777b7
6,233
mli
OCaml
src/external/ocaml-dune/src/super_context.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
1
2021-03-12T10:46:21.000Z
2021-03-12T10:46:21.000Z
src/external/ocaml-dune/src/super_context.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/external/ocaml-dune/src/super_context.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
(** A augmanted context *) (** A context augmented with: a lib-db, ... Super context are used for generating rules. *) open! Stdune open Import open Dune_file (** A directory with a jbuild *) module Dir_with_dune : sig type t = { src_dir : Path.t ; ctx_dir : Path.t (** [_build/context-name/src_dir] *)...
23.973077
92
0.641425
44e23522b186c66fc7af57f6c9b0d6451f6b97bd
146
ml
OCaml
test/pass.ml
yuanqing/tap
5df3e8ddb20dfda7d9c6585a04a8a241de103fad
[ "MIT" ]
null
null
null
test/pass.ml
yuanqing/tap
5df3e8ddb20dfda7d9c6585a04a8a241de103fad
[ "MIT" ]
null
null
null
test/pass.ml
yuanqing/tap
5df3e8ddb20dfda7d9c6585a04a8a241de103fad
[ "MIT" ]
null
null
null
open Tap let suite t = ( t.skip "skip" (fun () -> t.fail (); ); t.test "test" (fun () -> t.pass (); ); ) let _ = run [suite]
9.125
26
0.424658
44c1f4855c690b1649a24baee47b92be1c5c5c81
11,689
ml
OCaml
lib/typed_ast/Type.ml
ubsan/cafe
83b51826d5776926fb3f4b7ad03c7ffe837ecbf8
[ "Apache-2.0" ]
31
2017-07-24T20:38:51.000Z
2020-01-02T14:44:39.000Z
lib/typed_ast/Type.ml
strega-nil/stregaml
83b51826d5776926fb3f4b7ad03c7ffe837ecbf8
[ "Apache-2.0" ]
4
2018-12-24T03:45:42.000Z
2019-01-04T08:17:27.000Z
lib/typed_ast/Type.ml
strega-nil/stregaml
83b51826d5776926fb3f4b7ad03c7ffe837ecbf8
[ "Apache-2.0" ]
null
null
null
open! Types.Pervasives module Parse = Cafec_Parse include Types.Type module Category = struct include Types.Type_Category let mutability_to_string = function | Mutable -> "mut" | Immutable -> "ref" let mutability_equal = Parse.Type.mutability_equal let mutability_compatible m1 m2 = match (m1, m2...
33.685879
72
0.585422
bc2b393ee895ea0ee66b45c63c87bb2e51d3bb46
875
ml
OCaml
ocaml/type_declare.ml
idkjs/til
eee606856ed11d57e96060f62adf0dd072f8bff1
[ "WTFPL" ]
2
2020-05-11T13:43:27.000Z
2020-07-31T11:57:19.000Z
ocaml/type_declare.ml
idkjs/til
eee606856ed11d57e96060f62adf0dd072f8bff1
[ "WTFPL" ]
2
2020-09-27T02:35:38.000Z
2021-03-08T08:33:02.000Z
ocaml/type_declare.ml
idkjs/til
eee606856ed11d57e96060f62adf0dd072f8bff1
[ "WTFPL" ]
1
2020-05-11T13:44:04.000Z
2020-05-11T13:44:04.000Z
(* other name *) type integer = int type pair_of_ints = int * int (* optional type *) type pair_of_ints_op = | None | Some of pair_of_ints type my_tuple = string * string (* variant type *) (* それぞれがコンストラクタ、これらによって初期化された値が型`foo`を持つ *) (* enum *) type foo = | Type1 | Type2 | Type3 type bar = | Nothing |...
20.348837
68
0.612571
44f57f2c284157cf26df9a852cfa7226058515f3
226
mli
OCaml
libraries/cloudformation/lib/describeAccountLimits.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/cloudformation/lib/describeAccountLimits.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/cloudformation/lib/describeAccountLimits.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = DescribeAccountLimitsInput.t type output = DescribeAccountLimitsOutput.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
20.545455
85
0.778761