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
bce455628f75c2358e0b65a6d65f4504f0a2ef94
4,136
ml
OCaml
lib/mpris_client_generic.ml
zapashcanon/ocaml-mpris
a417dca88b7d98db61e858305a5f07dcd65a6905
[ "MIT" ]
4
2015-02-17T10:53:48.000Z
2017-12-09T17:44:42.000Z
lib/mpris_client_generic.ml
zapashcanon/ocaml-mpris
a417dca88b7d98db61e858305a5f07dcd65a6905
[ "MIT" ]
2
2017-12-09T00:24:27.000Z
2018-12-13T22:37:59.000Z
lib/mpris_client_generic.ml
zapashcanon/ocaml-mpris
a417dca88b7d98db61e858305a5f07dcd65a6905
[ "MIT" ]
1
2017-12-08T16:15:10.000Z
2017-12-08T16:15:10.000Z
open Lwt open Mpris_interfaces module Org_mpris_MediaPlayer2 = struct open Org_mpris_MediaPlayer2 let quit proxy = OBus_method.call m_Quit proxy () let raise proxy = OBus_method.call m_Raise proxy () let can_quit proxy = OBus_property.make p_CanQuit proxy let fullscreen proxy = OBus_prop...
25.219512
123
0.738636
8a596d3c367ef304b9e684eea2eda8d70a3853e9
203
ml
OCaml
data/derived/comb/progs/unify/prog7353.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/prog2543.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2543.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec mulByDigit i l = match l with | [] -> [] | x::x' -> if (x * i) < 9 then [(x * i) / 10] @ (mulByDigit i x') else [(x * i) / 10] @ ([(x * i) mod 10] + (mulByDigit i x'));;
22.555556
68
0.403941
aa18af36250c171223d32fcf98fd597d6d68ab74
526
ml
OCaml
tests/test-dirs/locate/functors/f-nested_applications.t/nested_applications.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
1,031
2016-12-16T19:17:17.000Z
2022-03-24T06:30:52.000Z
tests/test-dirs/locate/functors/f-nested_applications.t/nested_applications.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
754
2016-12-16T14:01:33.000Z
2022-03-31T13:21:16.000Z
tests/test-dirs/locate/functors/f-nested_applications.t/nested_applications.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
177
2017-01-04T17:35:53.000Z
2022-02-18T02:54:14.000Z
module type S = sig type t end module Identity(X : S) : S = X module Apply(Id : S -> S) = Id module Simple = struct type t end module M1 = Identity(Identity(Simple)) module M2 = Apply(Identity)(Simple) type t1 = M1.t type t2 = M2.t module Alternative_apply(Id : S -> S)(X : S) = struct include Id(X) end mod...
15.470588
71
0.655894
bc6d6eb78b485ec245676da1557dacc252ba9506
17,303
ml
OCaml
CodeHawk/CHC/cil-1.7.3-develop/src/ext/zrapp/reachingdefs.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cil-1.7.3-develop/src/ext/zrapp/reachingdefs.ml
static-analysis-engineering/codehawk
063ca988b0ce8222633d32873bee223d7094fd1f
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cil-1.7.3-develop/src/ext/zrapp/reachingdefs.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* Calculate reaching definitions for each instruction. * Determine when it is okay to replace some variables with * expressions. * * After calling computeRDs on a fundec, * ReachingDef.stmtStartData will contain a mapping from * statement ids to data about which definitions reach each * statement. ReachingDef.d...
30.40949
99
0.636884
44ec08c809621a1dd6a4f0766dca9e0010264ce4
13,557
ml
OCaml
compiler/dcalc/print.ml
EmileRolley/catala
cacf605a646db5980e612d2e74eda097f06f1b23
[ "Apache-2.0" ]
null
null
null
compiler/dcalc/print.ml
EmileRolley/catala
cacf605a646db5980e612d2e74eda097f06f1b23
[ "Apache-2.0" ]
null
null
null
compiler/dcalc/print.ml
EmileRolley/catala
cacf605a646db5980e612d2e74eda097f06f1b23
[ "Apache-2.0" ]
null
null
null
(* This file is part of the Catala compiler, a specification language for tax and social benefits computation rules. Copyright (C) 2020 Inria, contributor: Denis Merigoux <denis.merigoux@inria.fr> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance...
48.074468
100
0.625212
aa0b6239ea0fa3f340a363408a15fe8987cb9e22
7,100
mli
OCaml
source/analysis/globalResolution.mli
esiebomaj/pyre-check
bc75489e04ca21f51ba1ebc6296e2ff5c27626c9
[ "MIT" ]
3
2021-06-17T16:32:46.000Z
2021-09-20T14:47:23.000Z
source/analysis/globalResolution.mli
esiebomaj/pyre-check
bc75489e04ca21f51ba1ebc6296e2ff5c27626c9
[ "MIT" ]
87
2021-02-03T22:05:58.000Z
2021-12-07T16:30:09.000Z
source/analysis/globalResolution.mli
esiebomaj/pyre-check
bc75489e04ca21f51ba1ebc6296e2ff5c27626c9
[ "MIT" ]
3
2021-06-17T16:32:54.000Z
2021-10-13T20:53:12.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 Ast open Statement type t val create : ?dependency:SharedMemoryKeys.DependencyKey.registered -> AnnotatedGlobalEnvironm...
26.996198
100
0.733944
aa1ca4a8a0d45a961b175c7a77fdb08fccfa635c
1,360
ml
OCaml
hphp/hack/src/server/serverRefactor.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/hack/src/server/serverRefactor.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/hack/src/server/serverRefactor.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Core ope...
34
80
0.716912
aa296edd1e62b9e40e21863add1a9b8f416082b6
267
mli
OCaml
interfaces/4.02/stack.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
23
2017-11-16T10:01:56.000Z
2021-06-23T08:44:44.000Z
interfaces/4.02/stack.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
15
2018-04-21T13:49:52.000Z
2022-02-16T11:19:38.000Z
interfaces/4.02/stack.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
8
2018-04-23T18:10:00.000Z
2021-12-14T14:31:22.000Z
type 'a t exception Empty val create : unit -> 'a t val push : 'a -> 'a t -> unit val pop : 'a t -> 'a val top : 'a t -> 'a val clear : 'a t -> unit val copy : 'a t -> 'a t val is_empty : 'a t -> bool val length : 'a t -> int val iter : ('a -> unit) -> 'a t -> unit
22.25
39
0.52809
444aa98ebd2dbda0e0009a3fde3b922ca736c9ed
357
ml
OCaml
data/sp14/1379.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/1379.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/1379.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 x <= 0 then [] else [clone x];; (* fix let rec clone x n = if n <= 0 then [] else clone x (n - 1);; *) (* changed spans (2,24)-(2,25) n VarG (2,44)-(2,53) clone x (n - 1) AppG [VarG,BopG EmptyG EmptyG] *) (* type error slice (2,4)-(2,55) (2,15)-(2,53) (2,17)-(2,53) (2,21)-(2,53) (2,44)-(...
11.516129
60
0.512605
bca6eb1a0e42a5db25f0b992eb6caf3f84df7070
1,903
ml
OCaml
lib/misc.ml
voodoos/mdx
b056a89e37383731f2795a2cf62edeea5c60b8a4
[ "0BSD" ]
1
2021-06-08T04:55:40.000Z
2021-06-08T04:55:40.000Z
lib/misc.ml
voodoos/mdx
b056a89e37383731f2795a2cf62edeea5c60b8a4
[ "0BSD" ]
null
null
null
lib/misc.ml
voodoos/mdx
b056a89e37383731f2795a2cf62edeea5c60b8a4
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2018 Thomas Gazagnaire <thomas@gazagnaire.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS...
32.254237
75
0.694693
aa20ac3e02e5e579fc39f160b04c397d356d7411
1,218
ml
OCaml
data/fa15/0238.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/0238.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/0238.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec wwhile (f,b) = let temp = f b in match temp with | (a,boolean) -> if boolean then wwhile (f, a) else a;; let fixpoint (f,b) = wwhile (let n x = (f, (x = (f x))) in (f, b));; (* fix let rec wwhile (f,b) = let temp = f b in match temp with | (a,boolean) -> if boolean then wwhile (f, a) else a;; let ...
14.853659
73
0.467159
8ae42f35cbe7dba908bb6fe2e08c1aaa6032293e
14,821
ml
OCaml
src/parser_utils/output/__tests__/js_layout_generator/operator_precedence_test.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2020-11-02T02:15:55.000Z
2020-11-02T02:15:55.000Z
src/parser_utils/output/__tests__/js_layout_generator/operator_precedence_test.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
17
2020-10-12T16:16:07.000Z
2021-08-07T04:38:39.000Z
src/parser_utils/output/__tests__/js_layout_generator/operator_precedence_test.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2021-01-06T10:57:53.000Z
2021-01-06T10:57:53.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 OUnit2 open Ast_builder open Layout_test_utils open Layout_generator_test_utils module S = Ast_builder.Statements module E = A...
33.8379
136
0.525808
bcddedd307bdec28ef3d10e08fb541757e6ea35b
36,596
ml
OCaml
src/parser/estree_translator.ml
tako-black/nagare
8b5cb8eed2b208197abcf582b591537def887ba3
[ "BSD-3-Clause" ]
null
null
null
src/parser/estree_translator.ml
tako-black/nagare
8b5cb8eed2b208197abcf582b591537def887ba3
[ "BSD-3-Clause" ]
null
null
null
src/parser/estree_translator.ml
tako-black/nagare
8b5cb8eed2b208197abcf582b591537def887ba3
[ "BSD-3-Clause" ]
null
null
null
(** * 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 "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) module Ast = ...
32.017498
88
0.612717
aa136188ec8a6eebb2fbde45bb76a7f69682e761
117,971
ml
OCaml
src/ocaml/preprocess/parser_recover.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
null
null
null
src/ocaml/preprocess/parser_recover.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
null
null
null
src/ocaml/preprocess/parser_recover.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
null
null
null
open Parser_raw module Default = struct open Parsetree open Ast_helper let default_loc = ref Location.none let default_expr () = let id = Location.mkloc "merlin.hole" !default_loc in Exp.mk ~loc:!default_loc (Pexp_extension (id, PStr [])) let default_pattern () = Pat.any ~loc:!default_loc () l...
33.391169
3,706
0.575353
bcce26e089b5898d6e9f4d697ee08ebcc9c5e7aa
7,247
ml
OCaml
src/lib/types.ml
jserot/fsml
9e3e04acbbb1cb1700fa9d4a0497f35ad4f70796
[ "MIT" ]
29
2020-10-20T20:30:12.000Z
2021-05-06T12:08:25.000Z
src/lib/types.ml
jserot/fsml
9e3e04acbbb1cb1700fa9d4a0497f35ad4f70796
[ "MIT" ]
1
2020-10-21T07:08:02.000Z
2020-10-21T10:51:14.000Z
src/lib/types.ml
jserot/fsml
9e3e04acbbb1cb1700fa9d4a0497f35ad4f70796
[ "MIT" ]
null
null
null
(**********************************************************************) (* *) (* This file is part of the FSML library *) (* github.com/jserot/fsml *) (* ...
31.372294
109
0.55485
bcfb849d4a259ab604c983113185b22e2bd71b45
7,028
ml
OCaml
src/lib/auxiliary_database/filtered_external_transition.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/lib/auxiliary_database/filtered_external_transition.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/lib/auxiliary_database/filtered_external_transition.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
open Core open Coda_base open Coda_transition open Signature_lib module Transactions = struct [%%versioned module Stable = struct module V1 = struct type t = { commands: ( User_command.Stable.V1.t , Transaction_hash.Stable.V1.t ) With_hash.Stable.V1.t ...
36.226804
78
0.640723
bc3c481da890ac36c6764e87ed88e931f815d92e
452
ml
OCaml
vendor/incr_map/collate/src/collate.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/incr_map/collate/src/collate.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/incr_map/collate/src/collate.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Core_kernel module Which_range = struct type 'a t = | All_rows | From of 'a | To of 'a | Between of 'a * 'a [@@deriving sexp, compare, equal, bin_io] end type ('k, 'filter, 'order) t = { filter : 'filter ; order : 'order ; key_range : 'k Which_range.t ; rank_range : int Which_range.t...
19.652174
64
0.623894
8a4ae1552826e3a834aa0745fe3afefa50895b9c
2,885
ml
OCaml
src/dune/c.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/c.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/c.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
open Stdune let header_ext = ".h" module Kind = struct type t = | C | Cxx let to_string = function | C -> "c" | Cxx -> "cpp" let pp fmt t : unit = Format.pp_print_string fmt (to_string t) type split = | Unrecognized | Not_allowed_until of Dune_lang.Syntax.Version.t | Recognized ...
22.364341
75
0.561872
aa164bb6e051f89bdf33161524b67fba80b2d7e4
267
mli
OCaml
phone-number/phone.mli
tmcgilchrist/xocaml
f8f8af5154f66d62e33608c2199b3c9dc17991ae
[ "MIT" ]
null
null
null
phone-number/phone.mli
tmcgilchrist/xocaml
f8f8af5154f66d62e33608c2199b3c9dc17991ae
[ "MIT" ]
null
null
null
phone-number/phone.mli
tmcgilchrist/xocaml
f8f8af5154f66d62e33608c2199b3c9dc17991ae
[ "MIT" ]
null
null
null
(** Extract the digits from a valid phone number. *) val number : string -> string option (** Extract the area code from a valid phone number. *) val area_code : string -> string option (** Pretty print a valid phone number. *) val pretty : string -> string option
29.666667
55
0.70412
8a78b3facf8f7164a8ce69e267bb92d7e033be13
4,826
ml
OCaml
src/buffer.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
null
null
null
src/buffer.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
null
null
null
src/buffer.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
null
null
null
open! Core open! Async_kernel open! Import0 module Q = struct include Q let visible = "visible" |> Symbol.intern end module Process = Process0 module Window = Window0 include Buffer0 type buffer = t [@@deriving sexp_of] let name = Funcall.Wrap.("buffer-name" <: t @-> return (nil_or string)) module Compare_by_...
27.577143
89
0.657688
bc265a5565cf2b584997c1dc52fc4c10ecde4a1f
266
ml
OCaml
data/derived/comb/progs/unify/prog8196.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/prog3406.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3406.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let remainder x y = if (x * y) > 10 then (x * y) mod 10 else 0;; let rec mulByDigit i l = match List.rev l with | [] -> [] | h::t -> (match List.length t with | 1 -> [i * h] | _ -> [remainder h i] @ (((i * l) / 10) + (mulByDigit i t)));;
24.181818
70
0.466165
bc5c21c2e83bb0f2b8af8bdfe024743392490350
3,554
mli
OCaml
src/lib_shell/chain.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_shell/chain.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_shell/chain.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
51.507246
79
0.577378
aa543427d7f55ccd518db032e4e7ce41c1a3f802
441
ml
OCaml
src/lib_time_measurement/ppx/test/valid/test_flush_binding_output.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_time_measurement/ppx/test/valid/test_flush_binding_output.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_time_measurement/ppx/test/valid/test_flush_binding_output.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
let _ = let open Lwt.Syntax in let* x1 = Lwt.return 1 in let* x2 = Lwt.return 2 in let* x3 = Lwt.bind (Lwt.return 3) (fun __flush__id__0 -> Lwt.map (fun () -> __flush__id__0) (Tezos_time_measurement_runtime.Default.Time_measurement.flush ()))...
25.941176
75
0.52381
aa21968bc414ea1b116caa46373f8c78c23134f4
1,096
ml
OCaml
src/bench.ml
EduardoRFS/core_bench
48b0271934d742da433b109b41ccba53b5de4682
[ "MIT" ]
null
null
null
src/bench.ml
EduardoRFS/core_bench
48b0271934d742da433b109b41ccba53b5de4682
[ "MIT" ]
null
null
null
src/bench.ml
EduardoRFS/core_bench
48b0271934d742da433b109b41ccba53b5de4682
[ "MIT" ]
null
null
null
open Core module My_display = Display open Core_bench_internals module Quota = Quota module Test = Test module Run_config = Run_config module Display_config = Display_config module Variable = Variable module Measurement = Measurement module Analysis_config = Analysis_config module Analysis_result = Analysis_result incl...
29.621622
77
0.79562
bce20d9b32815dfd092cc04b93bcea540021f713
1,606
mly
OCaml
tests/gdb.0.3-gdbmi_parser.mly
vbgl/Obelisk
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
39
2017-07-06T09:41:44.000Z
2022-02-09T17:01:07.000Z
tests/gdb.0.3-gdbmi_parser.mly
vbgl/Obelisk
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
12
2017-07-07T11:14:24.000Z
2022-03-21T19:31:02.000Z
tests/gdb.0.3-gdbmi_parser.mly
Lelio-Brun/MenhirBrav
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
4
2020-03-13T11:08:08.000Z
2022-03-14T13:16:00.000Z
(* Original file: gdb.0.3/ocaml-gdb-0.3/src/gdbmi_parser.mly *) /* GDB/MI parser */ %{ open! Gdbmi_types %} %token <string> IDENT TOKEN STRING %token LCURLY RCURLY LBRACKET RBRACKET COMMA EOF %token PROMPT MINUS CARET ASTERISK PLUS EQUAL TILDE AT AMPERSAND %start <Gdbmi_types.output_record> output %start <Gdbmi_...
24.707692
102
0.651308
aa4de40cd1c038ab0c2198817cc376831f01c512
13,405
ml
OCaml
src/core/Solver_types.ml
louisabraham/mc2
1c76105d41700d448635d288ef76dc75c3e6260d
[ "Apache-2.0" ]
7
2018-08-10T13:15:19.000Z
2022-01-15T02:04:24.000Z
src/core/Solver_types.ml
louisabraham/mc2
1c76105d41700d448635d288ef76dc75c3e6260d
[ "Apache-2.0" ]
null
null
null
src/core/Solver_types.ml
louisabraham/mc2
1c76105d41700d448635d288ef76dc75c3e6260d
[ "Apache-2.0" ]
1
2018-10-30T12:22:53.000Z
2018-10-30T12:22:53.000Z
(** Internal types (implementation) This modules actually implements the internal types used by the solver. Since mutation is heavily used in the solver, it is really, really, *really* discouraged to direclty use the functions in this module if you don't know the inner working of mSAT perfectly as eve...
35.842246
88
0.673704
aa5e7eed6d775aebbe12e72a67afacc4ea540128
154
ml
OCaml
tests/lib-format/pr6824.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
1
2016-05-17T14:29:13.000Z
2016-05-17T14:29:13.000Z
tests/lib-format/pr6824.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
tests/lib-format/pr6824.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
let f = Format.sprintf "[%i]";; print_endline (f 1);; print_endline (f 2);; let f = Format.asprintf "[%i]";; print_endline (f 1);; print_endline (f 2);;
19.25
32
0.62987
bc91bf8b4f16c7079100edc932f0ef98e0393142
12,810
ml
OCaml
src/common/ty/__tests__/ty_simplifier_test.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
1
2021-09-20T07:39:05.000Z
2021-09-20T07:39:05.000Z
src/common/ty/__tests__/ty_simplifier_test.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
null
null
null
src/common/ty/__tests__/ty_simplifier_test.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "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 OUnit2 open Ty open Ty_utils module UnionSimplification = struct let tests = [ (* * {f: number} | {f: numb...
33.015464
101
0.432006
bc146fc982b60a6622ab8a35aa71e86ce19e290a
355
ml
OCaml
data/derived/comb/progs/unify/prog1791.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/prog1791.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1791.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
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 buildSine e = Sine e;; let buildX () = VarX;; let buildY () = VarY;; let rec exprToString e = match e with | VarX -> buildX | VarY -> buildY | Sin...
16.136364
41
0.602817
bce7248dce7692f9009d03765fb78c852261de0b
8,122
ml
OCaml
server/game_test.ml
RamV13/scrabble
07731680eaadf51c6b5cb3fc329056743f015215
[ "MIT" ]
10
2017-10-28T16:28:57.000Z
2021-11-02T01:56:25.000Z
server/game_test.ml
RamV13/scrabble
07731680eaadf51c6b5cb3fc329056743f015215
[ "MIT" ]
null
null
null
server/game_test.ml
RamV13/scrabble
07731680eaadf51c6b5cb3fc329056743f015215
[ "MIT" ]
4
2018-02-19T18:04:30.000Z
2020-06-06T04:03:15.000Z
open OUnit2 open Game open Grid let init_s () = create_game "user" "game" let move = {tiles_placed = []; player = "user"; swap = []} let tp1 = [((7,7),'A');((7,8),'B');((8,7),'C')] let tp2 = [((6,7),'A');((6,8),'B');((6,9),'C')] let tp3 = [((7,7),'A');((7,8),'B');((7,9),'C');((7,11),'D')] let tp4 = [((7,7),'A');((7,8)...
32.618474
80
0.582861
aa13a14fa1153c82926d9e0330a0ef41676e9aa4
10,152
ml
OCaml
lib/gUI.ml
cfcs/mirage-qubes
26ef2a19e246f82237a61d5a86e56b3245244b19
[ "BSD-2-Clause" ]
1
2017-11-07T05:24:42.000Z
2017-11-07T05:24:42.000Z
lib/gUI.ml
cfcs/mirage-qubes
26ef2a19e246f82237a61d5a86e56b3245244b19
[ "BSD-2-Clause" ]
1
2019-03-06T20:14:55.000Z
2019-03-07T11:42:42.000Z
lib/gUI.ml
cfcs/mirage-qubes
26ef2a19e246f82237a61d5a86e56b3245244b19
[ "BSD-2-Clause" ]
null
null
null
(* Copyright (C) 2015, Thomas Leonard See the README file for details. *) open Lwt.Infix open Formats.GUI open Utils module QV = Msg_chan.Make(Framing) let src = Logs.Src.create "qubes.gui" ~doc:"Qubes GUId agent" module Log = (val Logs.src_log src : Logs.LOG) (* QUBES_GUID_PROTOCOL_VERSION_MAJOR << 16 | QUBES_G...
37.880597
120
0.646769
aa1e73712d76b63fbd44655ce55beb34d3d080b9
1,730
ml
OCaml
src/dune_rules/dep_graph.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
null
null
null
src/dune_rules/dep_graph.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
1
2017-12-08T01:25:07.000Z
2017-12-08T01:25:07.000Z
src/dune_rules/dep_graph.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
1
2017-12-07T21:21:12.000Z
2017-12-07T21:21:12.000Z
open! Dune_engine open Import open Action_builder.O type t = { dir : Path.Build.t ; per_module : Module.t list Action_builder.t Module.Obj_map.t } let make ~dir ~per_module = { dir; per_module } let deps_of t (m : Module.t) = match Module.Obj_map.find t.per_module m with | Some x -> x | None -> Code_...
28.833333
79
0.661272
aa386429f539aae439f4f11e5980d67ad1bd43a1
1,177
mly
OCaml
src/redl_parser.mly
rbardou/med
e23c2830909b9e5cd6afe563313435ddaeda90bf
[ "MIT" ]
9
2018-07-31T00:49:01.000Z
2021-03-16T12:06:30.000Z
src/redl_parser.mly
rbardou/med
e23c2830909b9e5cd6afe563313435ddaeda90bf
[ "MIT" ]
null
null
null
src/redl_parser.mly
rbardou/med
e23c2830909b9e5cd6afe563313435ddaeda90bf
[ "MIT" ]
1
2020-07-06T13:47:24.000Z
2020-07-06T13:47:24.000Z
%{ open Redl_ast let node value = { value; loc = Parsing.symbol_start_pos (), Parsing.symbol_end_pos (); } %} %token <int> INT %token <float> FLOAT %token <string> IDENTIFIER STRING %token LPAR RPAR LBRACE RBRACE COLON SEMI EQUAL %token COMMAND %token EOF %type <Redl_ast.file> file %start f...
16.123288
79
0.621071
bc91d1cd4598c23a656102aedde77e05437f7309
172
mli
OCaml
doc/hw1/calculator/ast.mli
EmmanuelSHS/PDaL
0d1897a2d8321c13a9070c0c91a4f14802aa14ab
[ "MIT" ]
null
null
null
doc/hw1/calculator/ast.mli
EmmanuelSHS/PDaL
0d1897a2d8321c13a9070c0c91a4f14802aa14ab
[ "MIT" ]
null
null
null
doc/hw1/calculator/ast.mli
EmmanuelSHS/PDaL
0d1897a2d8321c13a9070c0c91a4f14802aa14ab
[ "MIT" ]
null
null
null
type operator = Add | Sub | Mul | Div type expr = Binop of expr * operator * expr | Lit of int | Seq of expr * expr | Asn of int * expr | Var of int
19.111111
37
0.55814
bcb6f8bc77360d095ce6233bb66feff859c6a89e
4,256
ml
OCaml
src/classic.ml
tachukao/ilqr
923a65bb8a1f12801d8eaf5adef04799c1c68ba1
[ "MIT" ]
9
2020-03-24T07:31:13.000Z
2022-03-08T22:37:42.000Z
src/classic.ml
tachukao/ilqr
923a65bb8a1f12801d8eaf5adef04799c1c68ba1
[ "MIT" ]
null
null
null
src/classic.ml
tachukao/ilqr
923a65bb8a1f12801d8eaf5adef04799c1c68ba1
[ "MIT" ]
1
2020-10-23T10:24:51.000Z
2020-10-23T10:24:51.000Z
open Owl module AD = Algodiff.D module Fl = struct type s = { q : AD.t ; x : AD.t } type t = s option let create ?qx () = match qx with | Some (q, x) -> Some { q; x } | None -> None end module Rl = struct type t = { q : AD.t option ; r : AD.t option } let create...
25.95122
85
0.477914
bc659955145a65f57345212b472d05c0f9abeb40
917
mli
OCaml
hphp/hack/src/typing/typing_array_access.mli
madhugb/hhvm
a81fd59d341b3e6713bef97ab8660e9bd130f5b4
[ "PHP-3.01", "Zend-2.0" ]
1
2021-05-15T22:07:47.000Z
2021-05-15T22:07:47.000Z
hphp/hack/src/typing/typing_array_access.mli
seanwallawalla-forks/hhvm
4685a57b633609727c9755efe6d647aebf91ea77
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_array_access.mli
seanwallawalla-forks/hhvm
4685a57b633609727c9755efe6d647aebf91ea77
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Aast open Typing_defs val array_get : array_pos:pos -> expr_pos:pos -> ?lhs_of_null_coalesce:is_variadic -> is_v...
21.833333
66
0.694656
aa2ff4ed8d8bd817e415c58bf18d444c37434e7a
2,365
ml
OCaml
src/monitor0.ml
janestreet/async_kernel
0f53fece3a9e5aeb404a067250aa8d6b71744a0d
[ "MIT" ]
47
2015-02-08T20:14:40.000Z
2021-12-17T02:54:42.000Z
src/monitor0.ml
janestreet/async_kernel
0f53fece3a9e5aeb404a067250aa8d6b71744a0d
[ "MIT" ]
12
2015-03-13T14:32:22.000Z
2020-10-26T17:28:18.000Z
src/monitor0.ml
janestreet/async_kernel
0f53fece3a9e5aeb404a067250aa8d6b71744a0d
[ "MIT" ]
16
2015-01-18T04:15:19.000Z
2021-12-17T02:55:43.000Z
open Core open Import let debug = Debug.monitor module Forwarding = Types.Forwarding type t = Types.Monitor.t = { name : Info.t ; here : Source_code_position.t option ; id : int ; mutable next_error : exn Types.Ivar.t ; (* [Monitor.send_exn] schedules a job for each element of [handlers_for_all_errors]. *)...
23.888889
91
0.600423
bcc8da86162e992b3f266937b8fa98d9d692188e
4,143
ml
OCaml
src/Debug.ml
jahewson/confsolve
6e03bbb8ccfba2b0140a77e5a7e58a626689f5e9
[ "Apache-2.0" ]
1
2019-10-11T18:24:48.000Z
2019-10-11T18:24:48.000Z
src/Debug.ml
jahewson/confsolve
6e03bbb8ccfba2b0140a77e5a7e58a626689f5e9
[ "Apache-2.0" ]
null
null
null
src/Debug.ml
jahewson/confsolve
6e03bbb8ccfba2b0140a77e5a7e58a626689f5e9
[ "Apache-2.0" ]
null
null
null
open ConfSolve open Parser open Util let rec typeToString (t: _type) = match t with | T_Infer -> "T_Infer" | T_Symbol s -> "T_Symbol " ^ s | T_Int -> "T_Int" | T_Bool -> "T_Bool" | T_BInt set -> "{" ^ (IntSet.fold (fun elem acc -> if String.length acc = 0 then string_of_int el...
33.682927
119
0.54405
aa2d6f3a721601f7c0da9c18b69574a3360eda97
4,075
ml
OCaml
src/lib_shell/test/shell_test_helpers.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
null
null
null
src/lib_shell/test/shell_test_helpers.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/lib_shell/test/shell_test_helpers.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs. <contact@nomadic-labs.com> *) ...
39.563107
79
0.606135
aa4910d1084d88dba9098b7bf429fbf07e1529ba
417
ml
OCaml
tests/sampler_manyfun/input.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
4
2018-09-07T01:10:59.000Z
2021-02-17T07:33:47.000Z
tests/sampler_manyfun/input.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
9
2018-07-02T13:38:09.000Z
2018-08-17T08:17:39.000Z
tests/sampler_manyfun/input.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
1
2020-10-14T20:26:28.000Z
2020-10-14T20:26:28.000Z
open Test_lib open Report let%sampler[@incr_tuple][@decr_tuple][@id_tuple] sample_many = fun () -> (4, 2) type int_int = int * int let sample_int_int () = (Random.int 20, Random.int 20) let rec incr_tuple (x, y : int_int) : int_int = (x + 1, y + 1) and incrincr_tuple (x, y : int_int) : int_int = (x + 2, y + 2) let ...
27.8
79
0.635492
aa11781416307ad631b935e5f197e4882055ca72
1,586
mli
OCaml
CodeHawk/CHC/cchanalyze/cCHPOCheckControlledResource.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cchanalyze/cCHPOCheckControlledResource.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cchanalyze/cCHPOCheckControlledResource.mli
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk C Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2019 Kestrel Technology LLC Permission is hereby granted,...
45.314286
83
0.642497
aa443869a94c3d05c82a83ac076effeb5424d78d
33,659
ml
OCaml
src/parser/parser_env.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
src/parser/parser_env.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
src/parser/parser_env.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Sedlexing = Flow_sedlexing open Flow_ast module SSet = Flow_set.Make (String) module Lex_mode = struct type t = | N...
27.188207
129
0.647227
aa4add5f1b2a058267c51d506590fcf9f7234737
2,659
ml
OCaml
node_modules/bs-platform/lib/ocaml/int64.ml
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
node_modules/bs-platform/lib/ocaml/int64.ml
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
null
null
null
node_modules/bs-platform/lib/ocaml/int64.ml
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
45.844828
73
0.563746
aa601170cc643c484af91905b84a83387edbe493
2,341
mli
OCaml
vendor/ocaml-lsp-1.4.0/ocaml-lsp-server/vendor/merlin/src/ocaml/preprocess/402/lexer_raw.mli
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
vendor/ocaml-lsp-1.4.0/ocaml-lsp-server/vendor/merlin/src/ocaml/preprocess/402/lexer_raw.mli
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
vendor/ocaml-lsp-1.4.0/ocaml-lsp-server/vendor/merlin/src/ocaml/preprocess/402/lexer_raw.mli
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
36.578125
92
0.56557
aa151c136972574517cb66296a3d83c0f939ae03
3,124
ml
OCaml
hphp/hack/test/integration_ml/test_lazy_decl_idempotence.ml
ianhoffman/hhvm
decc4e479e0e689c65f936f0828cb761d34075b1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/test_lazy_decl_idempotence.ml
ianhoffman/hhvm
decc4e479e0e689c65f936f0828cb761d34075b1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/test_lazy_decl_idempotence.ml
ianhoffman/hhvm
decc4e479e0e689c65f936f0828cb761d34075b1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
module Test = Integration_test_base let foo_name = "\\Foo" let bar_name = "\\Bar" let foo_file_name = "foo.php" let bar_file_name = "bar.php" let foo_contents = {|<?hh //strict const string GLOBAL_X = "X"; class Foo { // this is an error (lack of typehint) revealed during declaration only const X = GLOBAL_...
24.992
80
0.691101
bcda480aa425b576159dda2eac8e7445ea4dd74c
12,713
ml
OCaml
astlib/test/test_history.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
57
2019-05-15T14:23:37.000Z
2021-05-24T19:23:19.000Z
astlib/test/test_history.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
53
2019-06-06T16:27:15.000Z
2020-05-14T18:05:50.000Z
astlib/test/test_history.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
7
2019-06-03T15:07:32.000Z
2020-04-06T14:06:22.000Z
open! Base open Astlib_base module Versioned_node = struct type t = { version : Version.t; ast : t Ast.t } [@@deriving sexp_of] let wrap ~version ast = { version; ast } let rec convert { version = src_version; ast } ~version:dst_version ~history = let version, ast = let unwrap = unwrap ~history in ...
34.734973
90
0.562574
aa4946e45dea2e248f770146e1a774d284c98f02
1,704
mli
OCaml
src/color.mli
zshipko/ocaml-bimage
766501a147e46ebbdfe12656f4a7d6a19a0b2380
[ "0BSD" ]
29
2018-07-04T09:12:37.000Z
2022-02-02T15:58:04.000Z
src/color.mli
zshipko/ocaml-bimage
766501a147e46ebbdfe12656f4a7d6a19a0b2380
[ "0BSD" ]
7
2019-06-28T03:39:41.000Z
2021-12-04T19:37:22.000Z
src/color.mli
zshipko/ocaml-bimage
766501a147e46ebbdfe12656f4a7d6a19a0b2380
[ "0BSD" ]
3
2019-11-07T14:57:38.000Z
2020-09-20T15:34:32.000Z
module type COLOR = sig type t val t : t (** Color type value *) val name : t -> string (** Color name *) val channels : t -> int (** Returns the number of channels *) val has_alpha : t -> bool (** Returns true when a color has an alpha channel, which will always be the last channel *) val to_r...
20.53012
94
0.605634
bc1711d0fd80e7744523073ff82fbd23cc80ee0c
2,027
ml
OCaml
ocaml/say/test.ml
axhixh/exercism
8b071b9ebc8c8e12671ed2e15afbb204a9115956
[ "MIT" ]
1
2017-04-18T13:42:53.000Z
2017-04-18T13:42:53.000Z
ocaml/say/test.ml
axhixh/exercism-ocaml
8b071b9ebc8c8e12671ed2e15afbb204a9115956
[ "MIT" ]
null
null
null
ocaml/say/test.ml
axhixh/exercism-ocaml
8b071b9ebc8c8e12671ed2e15afbb204a9115956
[ "MIT" ]
null
null
null
open Core.Std open OUnit2 open Say let ae exp got _ctx = assert_equal ~printer:(Option.value ~default:"None") exp got let tests = [ "zero" >:: ( ae (Some "zero") (in_english 0L)); "one" >:: ( ae (Some "one") (in_english 1L)); "fourteen" >:: ( ae (Some "fourteen") ...
33.229508
141
0.555994
44b4944e980b58d40bf704b17c8e3627031bc8ed
1,373
ml
OCaml
infer/src/base/ProcessPool.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
null
null
null
infer/src/base/ProcessPool.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
2
2020-11-13T19:42:27.000Z
2020-11-13T19:49:19.000Z
infer/src/base/ProcessPool.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2017 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) open! IStd ...
28.020408
78
0.700655
aa1e35382522c37c5f381cfbfda7cf8d8ad645d8
13,385
ml
OCaml
src/parser/parse_error.ml
takeratta/flow
25525663e8cbaa60db599f39fa8471576fcdbb4d
[ "MIT" ]
null
null
null
src/parser/parse_error.ml
takeratta/flow
25525663e8cbaa60db599f39fa8471576fcdbb4d
[ "MIT" ]
null
null
null
src/parser/parse_error.ml
takeratta/flow
25525663e8cbaa60db599f39fa8471576fcdbb4d
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) type t = | Assertion of string | UnexpectedToken of string | UnexpectedTokenWithSuggestion of string * string | UnexpectedNumber...
48.496377
195
0.705566
bc2cfefc5f17af0e8fae3882db15d63088aa87f7
17,805
ml
OCaml
src/typing/__tests__/signature_generator_test.ml
KidkArolis/flow
f25a8978041e05097de46a3b82037e3b2b639887
[ "MIT" ]
null
null
null
src/typing/__tests__/signature_generator_test.ml
KidkArolis/flow
f25a8978041e05097de46a3b82037e3b2b639887
[ "MIT" ]
null
null
null
src/typing/__tests__/signature_generator_test.ml
KidkArolis/flow
f25a8978041e05097de46a3b82037e3b2b639887
[ "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 OUnit2 module Translate = Estree_translator.Translate (Json_of_estree) (struct (* TODO: make these configurable via CLI flags *...
34.306358
94
0.619264
bc88edcd94ee537958478e3f04600788780ca81b
31,190
ml
OCaml
eval/sherrloc/easyocaml++/ocamldoc/odoc_merge.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/ocamldoc/odoc_merge.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/ocamldoc/odoc_merge.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* OCamldoc *) (* *) (* Maxence Guesdon, projet Cristal, INRIA Rocquencourt *) (* ...
32.254395
118
0.493267
aa45cbb02ebf98ce14c1a3a837c4cf6364cb0da2
8,088
ml
OCaml
data/derived/comb/progs/unify/prog7356.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/prog2546.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2546.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
26.25974
148
0.64639
aa35a647d745e681b8a7d01de608d3e1a7662a57
7,361
ml
OCaml
hphp/hack/src/decl/decl_nast.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
1
2022-03-11T02:25:14.000Z
2022-03-11T02:25:14.000Z
hphp/hack/src/decl/decl_nast.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_nast.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (*****************************************************************************) (* Module used to convert an AST int...
31.865801
80
0.622606
aa631c4a776537e70090daaf43f4ef1b250ccfad
24,135
ml
OCaml
example_variant_type/myocamlbuild.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
2
2018-07-21T13:30:51.000Z
2021-07-20T11:26:54.000Z
example_variant_type/myocamlbuild.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
1
2017-03-30T04:24:57.000Z
2017-03-30T04:25:40.000Z
example_variant_type/myocamlbuild.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
1
2021-07-20T11:24:30.000Z
2021-07-20T11:24:30.000Z
(* OASIS_START *) (* DO NOT EDIT (digest: 09e682d6d01b00b1ff1ab28fcbb0bf49) *) module OASISGettext = struct (* # 22 "src/oasis/OASISGettext.ml" *) let ns_ str = str let s_ str = str let f_ (str: ('a, 'b, 'c, 'd) format4) = str let fn_ fmt1 fmt2 n = if n = 1 then fmt1^^"" else fmt2^^"" ...
26.757206
92
0.517754
4458170e6500754b798d1b5ed7e78c82c16ba733
1,431
mli
OCaml
async/async_dns_resolver.mli
samoht/ocaml-dns
e68d3834f0c4f6e7c84db9a02ac03f478937585c
[ "0BSD" ]
null
null
null
async/async_dns_resolver.mli
samoht/ocaml-dns
e68d3834f0c4f6e7c84db9a02ac03f478937585c
[ "0BSD" ]
null
null
null
async/async_dns_resolver.mli
samoht/ocaml-dns
e68d3834f0c4f6e7c84db9a02ac03f478937585c
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2014 marklrh <marklrh@gmail.com> * Copyright (c) 2016 Vincent Bernardoff <vb@luminar.eu.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in...
30.446809
75
0.719776
bc50d1d7b785eb7571794fb32f0545aeb9a76bbb
10,613
ml
OCaml
CodeHawk/CHB/bchanalyze/bCHFileIO.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHB/bchanalyze/bCHFileIO.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHB/bchanalyze/bCHFileIO.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Binary Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2019 Kestrel Technology LLC Copyright (c) 2020 H...
32.455657
96
0.71761
bcabda7717f0e58265fe98c72632b14bc03deecb
5,618
mli
OCaml
src/proto_alpha/lib_protocol/constants_storage.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/constants_storage.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/constants_storage.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
38.217687
79
0.682449
bc6c25e2c40a3c02f15e9cd43407d071fbfd28eb
1,350
mli
OCaml
samples/openapi3/client/petstore/ocaml-client/src/apis/fake_api.mli
aeternity/openapi-generator
4c9d0234683e82335554573498282198a9e305da
[ "Apache-2.0" ]
null
null
null
samples/openapi3/client/petstore/ocaml-client/src/apis/fake_api.mli
aeternity/openapi-generator
4c9d0234683e82335554573498282198a9e305da
[ "Apache-2.0" ]
null
null
null
samples/openapi3/client/petstore/ocaml-client/src/apis/fake_api.mli
aeternity/openapi-generator
4c9d0234683e82335554573498282198a9e305da
[ "Apache-2.0" ]
null
null
null
(* * This file has been generated by the OCamlClientCodegen generator for openapi-generator. * * Generated by: https://openapi-generator.tech * *) val fake_health_get : unit -> Health_check_result.t Lwt.t val fake_outer_boolean_serialize : bool -> bool Lwt.t val fake_outer_composite_serialize : Outer_composite.t ...
64.285714
302
0.765185
bc102866e195cda0804d7b44a90262141aafd749
18,564
ml
OCaml
data/derived/comb/progs/unify/prog6962.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/prog2146.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2146.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.973357
208
0.659233
44e6dab944e31d4e8b484361a056167107127fe8
495
ml
OCaml
example_js_of_ocaml/bin/dom_content_loaded.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
2
2018-07-21T13:30:51.000Z
2021-07-20T11:26:54.000Z
example_js_of_ocaml/bin/dom_content_loaded.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
1
2017-03-30T04:24:57.000Z
2017-03-30T04:25:40.000Z
example_js_of_ocaml/bin/dom_content_loaded.ml
holyshared/ocaml-scrap
922e2805e3f9e738cfb68ec052cb811a488f45d1
[ "MIT" ]
1
2021-07-20T11:24:30.000Z
2021-07-20T11:24:30.000Z
open Js_of_ocaml module Html = Dom_html let document = Html.window##.document let addEventListener = Dom.addEventListener let domContentLoaded = Dom_events.Typ.domContentLoaded let debug f = Printf.ksprintf (fun s -> Firebug.console##log (Js.string s)) f let dom_content_loaded evt = debug "debug: %s" "domContentL...
27.5
83
0.771717
aa41f62dfdb8f6f4cd32c6f0ca61048c45bfd568
684
mli
OCaml
src/services/references/findRefs_js.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2020-11-02T02:15:55.000Z
2020-11-02T02:15:55.000Z
src/services/references/findRefs_js.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
17
2020-10-12T16:16:07.000Z
2021-08-07T04:38:39.000Z
src/services/references/findRefs_js.mli
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2021-01-06T10:57:53.000Z
2021-01-06T10:57:53.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. *) val find_global_refs : reader:State_reader.t -> genv:ServerEnv.genv -> env:ServerEnv.env ref -> profiling:Profiling_js.runn...
24.428571
66
0.710526
aa53ba390caeae246856a92acf5f4670ddac0ec1
64,189
ml
OCaml
analysis/analysisError.ml
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "MIT" ]
null
null
null
analysis/analysisError.ml
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "MIT" ]
null
null
null
analysis/analysisError.ml
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "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 Ast open Expression open Pyre open Statement type origin = | Class of { annotation: Type.t; class_attribute: bool } | ...
35.522413
100
0.618953
aa1731b5844be0b136928ada5b264aa45e6ef955
4,700
ml
OCaml
src/stubs/flowEventLogger.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
src/stubs/flowEventLogger.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
src/stubs/flowEventLogger.ml
gpetiot/flow
52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) type logging_context = { from: string option } type persistent_context = { start_lsp_state: string option; start_lsp_state_r...
22.274882
96
0.728723
bcdeeb227f1be6bb2d3bd8a5b863be200069e677
10,837
ml
OCaml
2018/hw4/test2.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
15
2019-09-09T13:12:38.000Z
2021-06-04T11:02:35.000Z
2018/hw4/test2.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
4
2019-09-10T07:21:43.000Z
2019-09-19T11:07:31.000Z
2018/hw4/test2.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
2
2019-09-09T13:14:11.000Z
2021-03-13T13:55:20.000Z
(* Exercise 2. getReady *) open Ex2 open Testlib module TestEx3: TestEx = struct type testcase = | GETREADY of map * key list | FAIL of map let testcases: testcase list = [ GETREADY (End StarBox, [Bar]) ; GETREADY (End (NameBox "x"), [Bar]) ; GETREADY (Guide ("x", End (NameBox ...
83.361538
349
0.56224
bcf1a8404984dedfe774599ae16bddab1b017403
4,188
ml
OCaml
src/ocamlformat.ml
Khady/ocamlformat
5f7578197599ace20ec3103db9673b86432ff90d
[ "MIT" ]
null
null
null
src/ocamlformat.ml
Khady/ocamlformat
5f7578197599ace20ec3103db9673b86432ff90d
[ "MIT" ]
null
null
null
src/ocamlformat.ml
Khady/ocamlformat
5f7578197599ace20ec3103db9673b86432ff90d
[ "MIT" ]
null
null
null
(********************************************************************** * * * OCamlFormat * * * * Copyright (c) 2017-present, ...
36.103448
75
0.609121
44acf3da0a15e8d64fe9cf63382264d7caa80ce6
746
ml
OCaml
benchmarks/I/formula/sub76.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/I/formula/sub76.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/I/formula/sub76.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
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 eval : formula -> bool = fun f -> match f with | True -> true | False...
13.814815
37
0.585791
aa2f7f2d655b5cb83cb871bc1b429fc84dfb8058
50
ml
OCaml
src/advent-of-code-2021/main.ml
simmsb/advent-of-code-2021
6ba2a2a9a2ccf6f0ae0328eb1b1add00a655590a
[ "MIT" ]
null
null
null
src/advent-of-code-2021/main.ml
simmsb/advent-of-code-2021
6ba2a2a9a2ccf6f0ae0328eb1b1add00a655590a
[ "MIT" ]
null
null
null
src/advent-of-code-2021/main.ml
simmsb/advent-of-code-2021
6ba2a2a9a2ccf6f0ae0328eb1b1add00a655590a
[ "MIT" ]
null
null
null
let () = Printf.printf "use `drom run -p dayN`\n"
25
49
0.62
bcfbe658b20ef8f787f426f0b3996cab7528f77c
3,938
ml
OCaml
src/Options.ml
pnmadelaine/kremlin
75767e1f05cccc6eb52f35f0aef9d0c078df5ee1
[ "Apache-2.0" ]
null
null
null
src/Options.ml
pnmadelaine/kremlin
75767e1f05cccc6eb52f35f0aef9d0c078df5ee1
[ "Apache-2.0" ]
null
null
null
src/Options.ml
pnmadelaine/kremlin
75767e1f05cccc6eb52f35f0aef9d0c078df5ee1
[ "Apache-2.0" ]
null
null
null
(* Copyright (c) INRIA and Microsoft Corporation. All rights reserved. *) (* Licensed under the Apache 2.0 License. *) type include_ = All | HeaderOnly of string | COnly of string let pinc b = function | All -> Buffer.add_string b "*" | HeaderOnly h -> Buffer.add_string b h; Buffer.add_string b ".h" | COnly h -...
34.243478
86
0.682326
aa62fafa14c74322b62f5c7a452fc3b4de00a4c4
1,137
mli
OCaml
src/netif.mli
CraigFe/mirage-net-unix
e99e6ee2e105ef0cfd8909a11ebde2c3474e6667
[ "ISC" ]
null
null
null
src/netif.mli
CraigFe/mirage-net-unix
e99e6ee2e105ef0cfd8909a11ebde2c3474e6667
[ "ISC" ]
null
null
null
src/netif.mli
CraigFe/mirage-net-unix
e99e6ee2e105ef0cfd8909a11ebde2c3474e6667
[ "ISC" ]
null
null
null
(* * Copyright (C) 2013-2015 Anil Madhavapeddy <anil@recoil.org> * Copyright (C) 2015 Thomas Gazagnaire <thomas@gazagnaire.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permis...
42.111111
75
0.747581
bcf38b6fd1593549172b72ace54a4c5cb3a2be9d
795
ml
OCaml
src/zzzz/firstorder/fo_prove.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
src/zzzz/firstorder/fo_prove.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
src/zzzz/firstorder/fo_prove.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
open Lib let cl_sequent = ref "" let defs_path = ref "examples/fo.defs" module Prover = Prover.Make(Firstorder.Seq) module F = Frontend.Make(Prover) let () = F.usage := !F.usage ^ " [-D <file>] [-S <string>]" let () = F.speclist := !F.speclist @ [ ("-D", Arg.Set_string defs_path, ": read inductive defini...
30.576923
85
0.656604
44c0caa8f25529920137c33bb15876d973419b50
796
ml
OCaml
data/derived/comb/progs/unify/prog2629.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/prog2629.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2629.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = match n with | n when n <= 0 -> [] | _ -> x :: (clone x (n - 1));; let rec padZero l1 l2 = if (List.length l1) > (List.length l2) then (l1, ((clone 0 ((List.length l1) - (List.length l2))) @ l2)) else (((clone 0 ((List.length l2) - (List.length l1))) @ l1), l2);; let rec removeZero l = ...
31.84
73
0.512563
bc87661801fdd837eebf6a42b0507271b8151a86
2,009
mli
OCaml
src/dune/compilation_context.mli
JasonGross/dune
623706dd61fb8d45c7ee1a54546c039447972f4d
[ "MIT" ]
null
null
null
src/dune/compilation_context.mli
JasonGross/dune
623706dd61fb8d45c7ee1a54546c039447972f4d
[ "MIT" ]
null
null
null
src/dune/compilation_context.mli
JasonGross/dune
623706dd61fb8d45c7ee1a54546c039447972f4d
[ "MIT" ]
null
null
null
(** High-level API for compiling OCaml files *) open! Stdune open Import (** Represent a compilation context. A compilation context contains all the necessary information to preprocess and compile OCaml source files. Exactly one compilation context is associated to each library, executable and executable...
23.916667
78
0.706322
aa374c0f5872a4f9979e2d56e6aeb549e91f859a
4,518
ml
OCaml
util/list_extra.ml
sano-jin/dlisp
cf743948fc6a57b23d15d46acdc618c3b7985743
[ "MIT" ]
null
null
null
util/list_extra.ml
sano-jin/dlisp
cf743948fc6a57b23d15d46acdc618c3b7985743
[ "MIT" ]
null
null
null
util/list_extra.ml
sano-jin/dlisp
cf743948fc6a57b23d15d46acdc618c3b7985743
[ "MIT" ]
null
null
null
(** リスト系の追加関数 - List.Extra モジュールなどとして定義した方が良いかも *) open Combinator (** open basic combinators *) open Option_extra (** リストの要素の添字番号を取得する *) let index_of elem = let rec helper index = function | [] -> None | h :: t -> if h = elem then Some index else helper (succ index) t in helper 0 (** [('a -> '...
25.817143
85
0.561753
aa68e9b24fb9eee3e0cbff2701b242a7679e4638
14,739
ml
OCaml
test/lib/test_rtl_gen.ml
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
null
null
null
test/lib/test_rtl_gen.ml
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
null
null
null
test/lib/test_rtl_gen.ml
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
null
null
null
open! Import open Signal let d = input "d" 8 let%expect_test "reg, clock + enable" = let spec = Reg_spec.create () ~clock in let q = reg spec ~enable d in let circuit = Circuit.create_exn ~name:"reg" [ output "q" q ] in Rtl.print Verilog circuit; [%expect {| module reg ( enable, cloc...
33.195946
139
0.556686
aa2c36909e7dd9cea100f1bb7df06821e4ad291a
226
ml
OCaml
code/async/thread_exp_async_noalloc_busy_loop_in_thread.ml
msgoff/examples
5771b89374a9399c911a051cb385f295dac32b61
[ "Unlicense" ]
null
null
null
code/async/thread_exp_async_noalloc_busy_loop_in_thread.ml
msgoff/examples
5771b89374a9399c911a051cb385f295dac32b61
[ "Unlicense" ]
null
null
null
code/async/thread_exp_async_noalloc_busy_loop_in_thread.ml
msgoff/examples
5771b89374a9399c911a051cb385f295dac32b61
[ "Unlicense" ]
null
null
null
open Core open Async.Std open Thread_exp_common (* part 1 *) let busy_loop () = for i = 1 to 200_000_000 do () done let () = don't_wait_for (log_delays (In_thread.run busy_loop)) (* part 2 *) let () = finish ()
11.894737
42
0.632743
aa57682089765eb040eb776bf65aebf7b62c259f
7,777
ml
OCaml
src/uniform_array_intf.ml
CraigFe/compact
daa1b516c917585b80e2fbace74690766a9ac907
[ "MIT" ]
37
2021-12-27T19:33:37.000Z
2022-01-31T07:10:12.000Z
src/uniform_array_intf.ml
CraigFe/compact
daa1b516c917585b80e2fbace74690766a9ac907
[ "MIT" ]
null
null
null
src/uniform_array_intf.ml
CraigFe/compact
daa1b516c917585b80e2fbace74690766a9ac907
[ "MIT" ]
null
null
null
(*———————————————————————————————————————————————————————————————————————————— Copyright (c) 2016–2020 Jane Street Group, LLC <opensource@janestreet.com> Copyright (c) 2020–2021 Craig Ferguson <me@craigfe.io> Distributed under the MIT license. See terms at the end of this file. ——————————————————————————————...
40.295337
83
0.548541
aa64499c81243e5968030650312b68ec84968333
205
mli
OCaml
libraries/ec2/lib/deleteNetworkAcl.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/deleteNetworkAcl.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/deleteNetworkAcl.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DeleteNetworkAclRequest.t type output = unit type error = Errors_internal.t include (Aws.Call with type input := input and type output := output and type error := error)
29.285714
75
0.726829
aa01083695bdaed97036b9b49899290a223acc7a
198
mli
OCaml
libraries/dynamodb/lib/batchGetItem.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/dynamodb/lib/batchGetItem.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/dynamodb/lib/batchGetItem.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
type input = Types.BatchGetItemInput.t type output = Aws.Json.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
33
74
0.722222
aa67ab18a1185d4ecabe194fb5435efa63bf9af9
1,026
ml
OCaml
examples/bounded_space_mandelbrot.ml
kig/preludeml
a94e3216681332d7b8b3b428243354d2d3e0d741
[ "MIT" ]
5
2015-02-27T15:49:19.000Z
2020-02-26T07:05:21.000Z
examples/bounded_space_mandelbrot.ml
kig/preludeml
a94e3216681332d7b8b3b428243354d2d3e0d741
[ "MIT" ]
null
null
null
examples/bounded_space_mandelbrot.ml
kig/preludeml
a94e3216681332d7b8b3b428243354d2d3e0d741
[ "MIT" ]
null
null
null
open Prelude let niter = 64 let limit = 4.0 let mandelbrot z x y = let cr = 2.0 *. float x /. z -. 1.5 in let ci = 2.0 *. float y /. z -. 1.0 in let rec aux i zr zi = if i >= niter then 0 else let nzr = zr *. zr -. zi *. zi +. cr and nzi = 2.0 *. zr *. zi +. ci in if nzr *. nzr +. nzi *. nzi > limit...
26.307692
70
0.601365
aa61a98a579509d57166d8e80bef35d1b02371a5
60,690
ml
OCaml
src/commands/commandUtils.ml
Qdigital/flow
4b65aba536a65ed259b7a9ebc202bf0d2a4959aa
[ "MIT" ]
1
2020-06-21T01:14:46.000Z
2020-06-21T01:14:46.000Z
src/commands/commandUtils.ml
Qdigital/flow
4b65aba536a65ed259b7a9ebc202bf0d2a4959aa
[ "MIT" ]
2
2021-05-11T22:39:32.000Z
2021-09-02T16:14:18.000Z
src/commands/commandUtils.ml
Qdigital/flow
4b65aba536a65ed259b7a9ebc202bf0d2a4959aa
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Utils_js let run_command command argv = try let args = CommandSpec.args_of_argv command argv in CommandSpec.run com...
34.62065
158
0.667573
bcc1104d6a832a18c5ac21573ec0fc8e6fb2e1e4
7,334
ml
OCaml
src/ocaml-3.12.0/asmcomp/hppa/proc.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/hppa/proc.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/asmcomp/hppa/proc.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
32.595556
78
0.542678
bc152f48f6866ae82d9a665ac1ebe22969b6ae6c
29,928
ml
OCaml
ast/test/statementTest.ml
thatch/pyre-check
31278b71081ec3a3636f0d94da91dc0e4273ece9
[ "MIT" ]
null
null
null
ast/test/statementTest.ml
thatch/pyre-check
31278b71081ec3a3636f0d94da91dc0e4273ece9
[ "MIT" ]
null
null
null
ast/test/statementTest.ml
thatch/pyre-check
31278b71081ec3a3636f0d94da91dc0e4273ece9
[ "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 OUnit2 open Ast open Analysis open Expression open Pyre open PyreParser open Statement open Test let test_is_method _ = let...
28.314096
100
0.574947
aa2d30c68066809b1312644472c472e41624a791
7,371
ml
OCaml
src/bin_node/node_config_command.ml
osiz-blockchainapp/tezbinary
10e2393523f043b7ded95fab189be473e701fa19
[ "MIT" ]
null
null
null
src/bin_node/node_config_command.ml
osiz-blockchainapp/tezbinary
10e2393523f043b7ded95fab189be473e701fa19
[ "MIT" ]
null
null
null
src/bin_node/node_config_command.ml
osiz-blockchainapp/tezbinary
10e2393523f043b7ded95fab189be473e701fa19
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
37.416244
85
0.589744
bc865827a5293f4af7d086432c57c1e98241492b
8,075
ml
OCaml
bin/client.ml
mtelvers/ocluster
62d3ab5e008e2f2b14aba22bb81c5e661a23104f
[ "Apache-2.0" ]
null
null
null
bin/client.ml
mtelvers/ocluster
62d3ab5e008e2f2b14aba22bb81c5e661a23104f
[ "Apache-2.0" ]
null
null
null
bin/client.ml
mtelvers/ocluster
62d3ab5e008e2f2b14aba22bb81c5e661a23104f
[ "Apache-2.0" ]
null
null
null
open Lwt.Infix open Capnp_rpc_lwt let or_die = function | Ok x -> x | Error `Msg m -> failwith m let read_first_line path = let ch = open_in_bin path in Fun.protect (fun () -> input_line ch) ~finally:(fun () -> close_in ch) let rec tail job start = Cluster_api.Job.log job start >>= function | Error (...
27.844828
137
0.661548
aa61c20054b74159a60fa742906d522a8376e59e
596
ml
OCaml
result/cafe2/nat/sub35/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/prog/nat/sub35/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/prog/nat/sub35/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type nat = ZERO | SUCC of nat let rec natadd (n1 : nat) (n2 : nat) : nat = match n1 with ZERO -> n2 | SUCC x -> SUCC (natadd x n2) let natmul (n1 : nat) (n2 : nat) : nat = let rec natadd (n1 : nat) (n2 : nat) : nat = match n1 with ZERO -> n2 | SUCC x -> SUCC (natadd x n2) in let rec mul (x : nat) (y : n...
23.84
59
0.572148
aa63de3c791b3a8f50f73835f7bc67b1b7dcec34
360
mli
OCaml
lwtSubprocess.mli
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-08-08T16:01:55.000Z
2020-08-08T16:01:55.000Z
lwtSubprocess.mli
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
4
2022-02-15T02:42:33.000Z
2022-02-28T01:30:07.000Z
lwtSubprocess.mli
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. *) module Completed : sig type t = { stdout: string; stderr: string; status: Unix.process_status; } end val run : arguments:str...
24
66
0.688889
bce7dd05f30240e63c075702db6f69f34febf7bf
1,052
ml
OCaml
source/hack_parallel/hack_parallel/heap/workerCancel.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
5,975
2018-05-11T15:54:32.000Z
2022-03-31T14:38:00.000Z
source/hack_parallel/hack_parallel/heap/workerCancel.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
524
2018-05-11T16:47:20.000Z
2022-03-22T17:43:06.000Z
source/hack_parallel/hack_parallel/heap/workerCancel.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
501
2018-05-11T16:46:29.000Z
2022-03-19T04:41:57.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) exception Worker_should_exit let () = Callback.register_exception "worker_should_exit" Worker_should_exit external stop_workers : ...
30.057143
76
0.739544
aa14fce27edf940fc3dacb4c051bd70724523050
11,254
ml
OCaml
src/server/setml.ml
atongen/setml
8afee909ba6656506a69f79fd8682b37f2d2928a
[ "MIT" ]
44
2018-12-27T19:50:19.000Z
2021-01-29T04:23:03.000Z
src/server/setml.ml
atongen/setml
8afee909ba6656506a69f79fd8682b37f2d2928a
[ "MIT" ]
null
null
null
src/server/setml.ml
atongen/setml
8afee909ba6656506a69f79fd8682b37f2d2928a
[ "MIT" ]
3
2018-12-28T09:38:20.000Z
2021-03-02T15:27:05.000Z
open Lwt.Infix open Websocket_cohttp_lwt open Lib let render_index ~headers ~player_id token manifest info = Cohttp_lwt_unix.Server.respond_string ~headers ~status:`OK ~body:(Templates.index_page ~player_id ~title:"SetML" ~token ~manifest ~info) () let render_game ~headers ~player_id game_id token ...
43.451737
135
0.586814
bc7c38cc74e08b4e0c9627b45bd94bc3643be3cb
17,367
ml
OCaml
test/instruction_decode/test_instruction_decode.ml
askvortsov1/hardcaml-mips
7ce57aa5f767a3d075b1ad45fb72b5ffccd3f0bf
[ "MIT" ]
22
2021-07-02T02:42:24.000Z
2022-03-29T19:50:16.000Z
test/instruction_decode/test_instruction_decode.ml
askvortsov1/hardcaml-mips
7ce57aa5f767a3d075b1ad45fb72b5ffccd3f0bf
[ "MIT" ]
null
null
null
test/instruction_decode/test_instruction_decode.ml
askvortsov1/hardcaml-mips
7ce57aa5f767a3d075b1ad45fb72b5ffccd3f0bf
[ "MIT" ]
1
2021-09-21T14:14:21.000Z
2021-09-21T14:14:21.000Z
open! Base open Hardcaml open Hardcaml_waveterm open Mips.Instruction_decode module Simulator = Cyclesim.With_interface (I) (O) type test_input = { instruction : string; write_enable : string; write_address : string; write_data : string; } let testbench tests = let scope = Scope.create ~flatten_design:true ...
61.151408
134
0.215466
bce40011492b739c9177dc922319b71469fed1cc
267
mli
OCaml
protype_tests.mli
rbardou/protype
e55b5506482cecb5698c3ae55822a1900e6bc8a0
[ "MIT" ]
null
null
null
protype_tests.mli
rbardou/protype
e55b5506482cecb5698c3ae55822a1900e6bc8a0
[ "MIT" ]
null
null
null
protype_tests.mli
rbardou/protype
e55b5506482cecb5698c3ae55822a1900e6bc8a0
[ "MIT" ]
null
null
null
module type CODEC = sig val encode: 'a Protype.t -> 'a -> string type decode_error val show_decode_error: decode_error -> string val decode: 'a Protype.t -> string -> ('a, decode_error) result end module Make (Codec: CODEC): sig val run: unit -> unit end
19.071429
65
0.685393
bcfc54e6c2576dd4c1d9d3310e4ed655deec4689
1,047
ml
OCaml
result/fixml/diff/sub110/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/diff/sub110/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/diff/sub110/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type aexp = | Const of int | Var of string | Power of (string * int) | Times of aexp list | Sum of aexp list let rec diff : aexp * string -> aexp = fun (exp, var) -> match exp with | Const a -> Const 0 | Var a -> if a = var then Const 1 else Const 0 | Power (a, b) -> if a = var then if...
27.552632
59
0.463228
aa3267cfd743245b150856cf14f02d74ca635fcb
8,852
ml
OCaml
bin/ToolMessages.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
2
2022-01-12T16:50:30.000Z
2022-01-28T16:14:40.000Z
bin/ToolMessages.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
bin/ToolMessages.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
(** This module packages a few messages printed by the tool. *) open Base open Fmt open Utils open Common.ProblemDefs open Common.Env (* ============================================================================================= *) (* TOOL MESSAGESAND JSON OUTPUT ...
41.172093
99
0.548125
bc64323b6e53c9f8472470fd4dccd68b17cd077f
432
mli
OCaml
src/package.mli
Khady/dune
9afd3d215759f65d52c74def6992b2771def3363
[ "MIT" ]
null
null
null
src/package.mli
Khady/dune
9afd3d215759f65d52c74def6992b2771def3363
[ "MIT" ]
null
null
null
src/package.mli
Khady/dune
9afd3d215759f65d52c74def6992b2771def3363
[ "MIT" ]
null
null
null
(** Information about a package defined in the workspace *) open Stdune module Name : sig type t val of_string : string -> t val opam_fn : t -> string val pp : Format.formatter -> t -> unit include Interned.S with type t := t val t : t Sexp.Of_sexp.t end type t = { name : Name.t ...
16.615385
59
0.590278
bc5244cef89307866a69ce20328eefccd6644cc2
10,730
mli
OCaml
src/monitor.mli
janestreet/async_kernel
0f53fece3a9e5aeb404a067250aa8d6b71744a0d
[ "MIT" ]
47
2015-02-08T20:14:40.000Z
2021-12-17T02:54:42.000Z
src/monitor.mli
janestreet/async_kernel
0f53fece3a9e5aeb404a067250aa8d6b71744a0d
[ "MIT" ]
12
2015-03-13T14:32:22.000Z
2020-10-26T17:28:18.000Z
src/monitor.mli
janestreet/async_kernel
0f53fece3a9e5aeb404a067250aa8d6b71744a0d
[ "MIT" ]
16
2015-01-18T04:15:19.000Z
2021-12-17T02:55:43.000Z
(** The part of the {{!Async_kernel.Execution_context}[Execution_context]} that determines what to do when there is an unhandled exception. Every Async computation runs within the context of some monitor, which, when the computation is running, is referred to as the "current" monitor. By default, a monitor...
45.274262
90
0.686114
bc8edbca3554169fdeb8f0f6029cc8849db5559c
4,207
mli
OCaml
src/dune_engine/scheduler.mli
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
null
null
null
src/dune_engine/scheduler.mli
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
null
null
null
src/dune_engine/scheduler.mli
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
null
null
null
(** Scheduling *) open! Import open Stdune module Config : sig module Display : sig type verbosity = | Quiet (** Only display errors *) | Short (** One line per command *) | Verbose (** Display all commands fully *) type t = { status_line : bool ; verbosity : verbosity ...
27.318182
80
0.658426
8aaba3d07007089fb4df36bc0cb20d64875f0b36
2,739
mli
OCaml
src/mipsUtils.mli
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
5
2017-08-07T12:53:16.000Z
2021-07-29T02:40:19.000Z
src/mipsUtils.mli
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
null
null
null
src/mipsUtils.mli
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
2
2017-08-07T12:53:20.000Z
2018-06-15T15:28:45.000Z
open Ustring.Op val decode : ?bigendian:bool -> bytes -> MipsAst.inst list (** [decode b] decodes a sequence of instructions, stored in the byte array [b]. The length of [b] must be a multiple of 4 bytes. The function returns a list of MIPS assembly instructions. An optional parameter [bigendian] can be...
35.115385
87
0.695874
aa5036695358b3b479ba3734c47be33ba4420b64
1,708
ml
OCaml
type.ml
dsheets/yojson
cd376c5322587555e76f92f69c49988eb86a53cd
[ "BSD-3-Clause" ]
null
null
null
type.ml
dsheets/yojson
cd376c5322587555e76f92f69c49988eb86a53cd
[ "BSD-3-Clause" ]
null
null
null
type.ml
dsheets/yojson
cd376c5322587555e76f92f69c49988eb86a53cd
[ "BSD-3-Clause" ]
null
null
null
(** {3 Type of the JSON tree} *) type json = [ | `Null | `Bool of bool #ifdef INT | `Int of int #endif #ifdef INTLIT | `Intlit of string #endif #ifdef FLOAT | `Float of float #endif #ifdef FLOATLIT | `Floatlit of string #endif #ifdef STRING | `String of string #endif #ifdef STRINGLIT ...
28
79
0.685597
aa1ec0fd21733b799ec621ae536cc56ea5ed9226
18,293
ml
OCaml
src/stages/1-cst/pascaligo/CST.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
1
2021-11-12T11:41:16.000Z
2021-11-12T11:41:16.000Z
src/stages/1-cst/pascaligo/CST.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
4
2021-11-10T15:04:00.000Z
2022-01-14T07:49:14.000Z
src/stages/1-cst/pascaligo/CST.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
1
2022-03-30T09:12:37.000Z
2022-03-30T09:12:37.000Z
(* Concrete Syntax Tree (CST) for LIGO *) (* To disable warning about multiply-defined record labels. *) [@@@warning "-30-40-42"] (* Vendor dependencies *) module Directive = LexerLib.Directive module Utils = Simple_utils.Utils module Region = Simple_utils.Region open Utils type 'a reg = 'a Region.reg (* L...
21.881579
69
0.634669
aa27ece0e40bdeb2d5efbe560eadf317ba20eff7
5,047
mli
OCaml
lipsum/ocaml-re/lib/re.mli
lindig/colibri-ml
0e0de04dc992ec96c1f01ce418bb64c2c52f2767
[ "BSD-2-Clause" ]
9
2015-04-13T19:10:17.000Z
2021-09-01T22:54:13.000Z
lipsum/ocaml-re/lib/re.mli
lindig/colibri-ml
0e0de04dc992ec96c1f01ce418bb64c2c52f2767
[ "BSD-2-Clause" ]
null
null
null
lipsum/ocaml-re/lib/re.mli
lindig/colibri-ml
0e0de04dc992ec96c1f01ce418bb64c2c52f2767
[ "BSD-2-Clause" ]
2
2020-06-23T00:01:16.000Z
2021-11-04T06:56:47.000Z
(* RE - A regular expression library Copyright (C) 2001 Jerome Vouillon email: Jerome.Vouillon@pps.jussieu.fr This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, with linking...
38.823077
79
0.546265