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
bc82ac464a8d2aab0dc866adf287e3a64dbfd8ca
1,471
ml
OCaml
lib_test/test_ip_options.ml
balrajsingh/mirage-tcpip
a7d3dbd23fe97450366ccf0c256f29af7e3330eb
[ "0BSD" ]
null
null
null
lib_test/test_ip_options.ml
balrajsingh/mirage-tcpip
a7d3dbd23fe97450366ccf0c256f29af7e3330eb
[ "0BSD" ]
null
null
null
lib_test/test_ip_options.ml
balrajsingh/mirage-tcpip
a7d3dbd23fe97450366ccf0c256f29af7e3330eb
[ "0BSD" ]
null
null
null
open OUnit let test_unmarshal_with_options () = let datagram = Cstruct.create 40 in Cstruct.blit_from_string ("\x46\xc0\x00\x28\x00\x00\x40\x00\x01\x02" ^ "\x42\x49\xc0\xa8\x01\x08\xe0\x00\x00\x16\x94\x04\x00\x00\x22" ^ "\x00\xfa\x02\x00\x00\x00\x01\x03\x00\x...
43.264706
108
0.662135
4469f2a8690fcee49c78cbd104b9a7bd3a2beaac
130,564
ml
OCaml
src/parser_utils/output/js_layout_generator.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
null
null
null
src/parser_utils/output/js_layout_generator.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
2
2021-05-09T02:43:12.000Z
2021-09-02T14:09:40.000Z
src/parser_utils/output/js_layout_generator.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast = Flow_ast open Layout type opts = { preserve_formatting: bool; bracket_spacing: bool; } (* There are some cases w...
35.107287
105
0.583438
bc715f5ddcb4104847cf6c1fd4b72712fcaebd98
5,856
ml
OCaml
server/src/location_trie.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
server/src/location_trie.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
server/src/location_trie.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Core_kernel open Memtrace open Memtrace_viewer_common module Location_code = struct module T = struct type t = Trace.Location_code.t let hash t = Int.hash (t : t :> int) let hash_fold_t s t = Int.hash_fold_t s (t : t :> int) let compare t1 t2 = Int.compare (t1 : t :> int) (t2 : t :> int) l...
32.175824
88
0.665471
8a09054bec942dc55d3ab32e991841df2d5c753d
2,653
ml
OCaml
hphp/hack/src/decl/shallow_classes_heap.ml
umanda/hhvm
4ae8526da6ac1eb475fa1e021e0207d7c064a4cd
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-09T16:16:00.000Z
2021-08-09T16:16:00.000Z
hphp/hack/src/decl/shallow_classes_heap.ml
umanda/hhvm
4ae8526da6ac1eb475fa1e021e0207d7c064a4cd
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-21T07:48:37.000Z
2021-08-21T07:48:37.000Z
hphp/hack/src/decl/shallow_classes_heap.ml
umanda/hhvm
4ae8526da6ac1eb475fa1e021e0207d7c064a4cd
[ "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 Shallow_decl_defs module Capacity = struct let capacity = 1000 end module Class = struct type t = shallow...
30.494253
76
0.666038
8a687433aa11d52e949a87f029828a67898160c6
3,053
ml
OCaml
compiler/generator/pushout.ml
sano-jin/dhl-alpha
78ce79b06967b45c407229bd1ea943332f6781c9
[ "MIT" ]
null
null
null
compiler/generator/pushout.ml
sano-jin/dhl-alpha
78ce79b06967b45c407229bd1ea943332f6781c9
[ "MIT" ]
null
null
null
compiler/generator/pushout.ml
sano-jin/dhl-alpha
78ce79b06967b45c407229bd1ea943332f6781c9
[ "MIT" ]
null
null
null
(** pushatom.ml *) open Analyzer open Util open Register_table open Instruction let functor_of = second List.length (** 局所リンクに参照されるアトムを生成する命令を生成する *) let push_local_atom local_indegs reg_tbl (x, p_xs) = let reg_i, reg_tbl = get_free_reg_i reg_tbl in let indeg = List.assoc x local_indegs in reg_tbl, ...
29.931373
114
0.750082
bc950edbb1e189cf9ed8a67be81c6d70eab883a9
38,056
ml
OCaml
src/brr_webaudio.ml
hannesm/brr
fd132e2a2c6464ad07eae45f0f7ef10e2d00ec4b
[ "BSD-3-Clause" ]
null
null
null
src/brr_webaudio.ml
hannesm/brr
fd132e2a2c6464ad07eae45f0f7ef10e2d00ec4b
[ "BSD-3-Clause" ]
null
null
null
src/brr_webaudio.ml
hannesm/brr
fd132e2a2c6464ad07eae45f0f7ef10e2d00ec4b
[ "BSD-3-Clause" ]
null
null
null
(*---------------------------------------------------------------------------- Copyright (c) 2020 The brr programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) open Brr module Audio =...
38.362903
79
0.622267
bc7dea5188a2a7febd9343f9b9286ca26e00bf6b
44,377
ml
OCaml
infer/src/pulse/PulseAbductiveDomain.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
4
2020-06-16T14:40:24.000Z
2021-07-28T18:02:26.000Z
infer/src/pulse/PulseAbductiveDomain.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
25
2021-02-08T13:49:24.000Z
2022-02-28T03:34:19.000Z
infer/src/pulse/PulseAbductiveDomain.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format module L = Logging open PulseBasicInterface module BaseDomain = PulseBaseDomain module BaseStack = Pul...
41.473832
209
0.683327
bc817543e81e3c814a11d4316709aabf7f5a22c9
386
ml
OCaml
src/util/inetio.ml
YieldNull/ocaml-tcpip
05ae00fdf98b4ea0e804f721197335efa58296db
[ "MIT" ]
1
2018-12-11T11:12:41.000Z
2018-12-11T11:12:41.000Z
src/util/inetio.ml
YieldNull/tcpip
05ae00fdf98b4ea0e804f721197335efa58296db
[ "MIT" ]
null
null
null
src/util/inetio.ml
YieldNull/tcpip
05ae00fdf98b4ea0e804f721197335efa58296db
[ "MIT" ]
null
null
null
open Core open Unix let snd_queue = Squeue.create 1024 let buffer = Bytes.create Ether_wire.mpkt let read () = let len = Unix.read Iface.fd ~buf:buffer ~pos:0 ~len:Ether_wire.mpkt in Caml.Bytes.sub buffer 0 len let send frame = ignore @@ Squeue.push_or_drop snd_queue frame let send_cstruct cstruct = send (...
20.315789
73
0.743523
bc4085f823e2d6801f7ecbf19a871754f8d8b24d
8,984
ml
OCaml
test/test_dot.ml
janestreet/bonsai
d42f19ba7fd17b8363408f11da181a3812fa6c81
[ "MIT" ]
172
2019-11-18T13:19:13.000Z
2022-03-13T00:50:07.000Z
test/test_dot.ml
janestreet/bonsai
d42f19ba7fd17b8363408f11da181a3812fa6c81
[ "MIT" ]
17
2019-11-21T19:01:59.000Z
2022-01-25T14:38:29.000Z
test/test_dot.ml
janestreet/bonsai
d42f19ba7fd17b8363408f11da181a3812fa6c81
[ "MIT" ]
22
2020-01-19T02:54:15.000Z
2022-03-01T14:50:29.000Z
open! Core open! Import module Bonsai_lib = Bonsai open Bonsai_lib open Bonsai.Let_syntax let line_number_regex = Re.Str.regexp ":[0-9]+:[0-9]+" let to_dot c = c |> Bonsai.Debug.to_dot |> Re.Str.global_replace line_number_regex "" let print_graph c = let content = to_dot c in let out = Stdlib.open_out "/tmp/foo" ...
26.738095
116
0.219279
44fa7744c2a1587b3b06aa6324fdfa7a638b8ef1
683
ml
OCaml
lib/kernel/matchers/configuration.ml
mseri/comby
bb8a9de5a5812ef799f8a3787b8b44c6da6fc8d1
[ "Apache-2.0" ]
null
null
null
lib/kernel/matchers/configuration.ml
mseri/comby
bb8a9de5a5812ef799f8a3787b8b44c6da6fc8d1
[ "Apache-2.0" ]
null
null
null
lib/kernel/matchers/configuration.ml
mseri/comby
bb8a9de5a5812ef799f8a3787b8b44c6da6fc8d1
[ "Apache-2.0" ]
null
null
null
type match_kind = | Exact | Fuzzy type t = { match_kind : match_kind ; significant_whitespace : bool ; disable_substring_matching : bool ; match_newline_toplevel : bool ; fresh : unit -> string } let counter = let uuid_for_id_counter = ref 0 in fun () -> uuid_for_id_counter := !uuid_for_id_cou...
21.34375
52
0.683748
bc7f962c1c3f74f905255e2809bbc29b4500ecb9
758
ml
OCaml
Gillian-JS/lib/Semantics/CObject.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
Gillian-JS/lib/Semantics/CObject.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
Gillian-JS/lib/Semantics/CObject.ml
z5146542/Gillian
b4646d35932a9066cdbe9246536f38ddbe85c350
[ "BSD-3-Clause" ]
null
null
null
open Gillian.Concrete module Var = Gillian.Gil_syntax.Var type t = (string, Values.t) Hashtbl.t let pp fmt (loc, obj, metadata) = let pp_kv fmt (prop, prop_val) = Fmt.pf fmt "%s: %a" prop Values.pp prop_val in Fmt.pf fmt "@[<h>%s|-> [ %a ], %a@]" loc (Fmt.hashtbl ~sep:Fmt.comma pp_kv) obj Values.pp ...
28.074074
62
0.650396
bc9f46455f9ef8bb1d09079eeebbb73df098d2e2
8,112
ml
OCaml
data/derived/comb/progs/unify/prog3656.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/sp14/progs/unify/prog3656.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3656.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.337662
148
0.658407
44b21535ae361031c91cbb88a9aacbd00a2c2974
11,627
ml
OCaml
tests/array_like_test.ml
art-w/varray
d08aa2c0e2ea1773b57cc2319a7a391385fa6d0f
[ "MIT" ]
3
2021-10-01T20:14:03.000Z
2021-10-31T19:02:22.000Z
tests/array_like_test.ml
art-w/varray
d08aa2c0e2ea1773b57cc2319a7a391385fa6d0f
[ "MIT" ]
null
null
null
tests/array_like_test.ml
art-w/varray
d08aa2c0e2ea1773b57cc2319a7a391385fa6d0f
[ "MIT" ]
null
null
null
let make_f () = let calls = ref [] in let f x = calls := x :: !calls ; x in f, calls let make_fs () = let f, fc = make_f () in let g, gc = make_f () in let check () = if !fc <> !gc then failwith "different call order" ; !fc = [] in f, g, check let test name fn = try fn () ; ...
31.339623
79
0.526103
afe8e60b2624d00ba217b65dc78c134c943765cb
4,018
ml
OCaml
src/dune/main.ml
lthms/dune
e778223b9b1c7f265de978902b97603a0f4bbf24
[ "MIT" ]
null
null
null
src/dune/main.ml
lthms/dune
e778223b9b1c7f265de978902b97603a0f4bbf24
[ "MIT" ]
null
null
null
src/dune/main.ml
lthms/dune
e778223b9b1c7f265de978902b97603a0f4bbf24
[ "MIT" ]
null
null
null
open! Stdune open Import open Fiber.O let () = Inline_tests.linkme type workspace = { contexts : Context.t list ; conf : Dune_load.conf ; env : Env.t } type build_system = { workspace : workspace ; scontexts : Super_context.t Context_name.Map.t } let package_install_file w pkg = match Package.Name.M...
28.7
79
0.572175
bc785ac8821197d4b739a51446ac3d96b78312ad
1,058
mli
OCaml
lib/asp_utilities_staged.mli
yallop/ocaml-asp
29a13a54dce754cd573a2057c3abdc358b6e35c1
[ "MIT" ]
82
2018-09-06T16:35:27.000Z
2022-03-22T18:21:27.000Z
lib/asp_utilities_staged.mli
yallop/ocaml-asp
29a13a54dce754cd573a2057c3abdc358b6e35c1
[ "MIT" ]
null
null
null
lib/asp_utilities_staged.mli
yallop/ocaml-asp
29a13a54dce754cd573a2057c3abdc358b6e35c1
[ "MIT" ]
2
2020-09-29T12:59:01.000Z
2021-05-14T09:32:08.000Z
(* * Copyright (c) 2018 Neelakantan Krishnaswami and Jeremy Yallop * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. *) open Asp.Utilities.Unstaged module Charparsing : sig val chr : char -> char Asp.Staged.Parse(Char_element).t val charset : str...
35.266667
68
0.644612
bca419c9ac77e7ff2b5a86bc4cd368990b11c23f
3,288
mli
OCaml
coq/printing/ppconstr.mli
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/printing/ppconstr.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/printing/ppconstr.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* <O___,, * (see CREDITS file for the list of authors) *) (* \VV/ *********...
36.94382
78
0.641119
bc39bcedfac944112a127f72ad683f9bae301941
124
ml
OCaml
test/code/test_rust.ml
dryproject/drylib.ocaml
d3ccb387585c5dbabb53481f5c1dbd8de9b2141b
[ "Unlicense" ]
4
2017-09-02T13:37:38.000Z
2018-06-05T07:29:47.000Z
test/code/test_rust.ml
dryproject/drylib.ocaml
d3ccb387585c5dbabb53481f5c1dbd8de9b2141b
[ "Unlicense" ]
null
null
null
test/code/test_rust.ml
dryproject/drylib.ocaml
d3ccb387585c5dbabb53481f5c1dbd8de9b2141b
[ "Unlicense" ]
null
null
null
(* This is free and unencumbered software released into the public domain. *) open DRY__Core module Rust = DRY__Code.Rust
20.666667
77
0.774194
44a5edcd4d7020e00a7b52343dd46d39a6a0330e
1,662
ml
OCaml
libraries/cloudtrail/lib/putEventSelectors.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudtrail/lib/putEventSelectors.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudtrail/lib/putEventSelectors.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = PutEventSelectorsRequest.t type output = PutEventSelectorsResponse.t type error = Errors_internal.t let service = "cloudtrail" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) ...
27.7
91
0.622142
bc10f62cb4f3f537287185d2006bbe3a9ce960f9
4,897
ml
OCaml
simulateur/simpl.ml
xuedong/micro-simul
c2a37e3a688aff6e3024a0bf891ca420a74bab3a
[ "MIT" ]
null
null
null
simulateur/simpl.ml
xuedong/micro-simul
c2a37e3a688aff6e3024a0bf891ca420a74bab3a
[ "MIT" ]
null
null
null
simulateur/simpl.ml
xuedong/micro-simul
c2a37e3a688aff6e3024a0bf891ca420a74bab3a
[ "MIT" ]
null
null
null
open Types module TypeOps = Types.Make(Ops) open TypeOps open Ops let from_some = function | Some(x) -> x | None -> raise (Invalid_argument "from_some") let truncate c = let nodes = c.nodes in let n = Array.length c.nodes in let used = Array.make n false in let rec explore i = if used.(i) then () ...
33.772414
124
0.539718
44c9533956060eb33835b95a57d4a2d8ff388835
1,974
ml
OCaml
libraries/autoscaling/lib/describeLifecycleHooks.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/autoscaling/lib/describeLifecycleHooks.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/autoscaling/lib/describeLifecycleHooks.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal open Aws type input = DescribeLifecycleHooksType.t type output = DescribeLifecycleHooksAnswer.t type error = Errors_internal.t let service = "autoscaling" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of ser...
31.333333
102
0.585106
bc34588316c1db2b72b687795b13d3d5a5d018f5
28
ml
OCaml
test/pp.ml
karlem/ppx_str
b41824de3a6d593ea0c3edb3140d794ac1d7471a
[ "MIT" ]
10
2018-09-24T16:49:06.000Z
2021-10-05T10:15:41.000Z
test/pp.ml
karlem/ppx_str
b41824de3a6d593ea0c3edb3140d794ac1d7471a
[ "MIT" ]
5
2018-09-25T09:38:43.000Z
2018-11-17T23:27:18.000Z
test/pp.ml
karlem/ppx_str
b41824de3a6d593ea0c3edb3140d794ac1d7471a
[ "MIT" ]
2
2018-11-08T12:18:00.000Z
2020-07-03T09:13:21.000Z
Ppxlib.Driver.standalone ();
28
28
0.785714
bc3f6675e9487f68e2605583caed49d3c59d87b4
5,559
mli
OCaml
src/lib/mina_lib/mina_lib.mli
olton/mina
35a0be706602a3187a21ba757c89d197ff914d7e
[ "Apache-2.0" ]
1
2022-02-26T19:05:47.000Z
2022-02-26T19:05:47.000Z
src/lib/mina_lib/mina_lib.mli
olton/mina
35a0be706602a3187a21ba757c89d197ff914d7e
[ "Apache-2.0" ]
null
null
null
src/lib/mina_lib/mina_lib.mli
olton/mina
35a0be706602a3187a21ba757c89d197ff914d7e
[ "Apache-2.0" ]
null
null
null
open Async_kernel open Core open Mina_base open Mina_state open Mina_transition open Pipe_lib open Signature_lib module Archive_client = Archive_client module Config = Config module Conf_dir = Conf_dir module Subscriptions = Coda_subscriptions type t type Structured_log_events.t += | Connecting | Listening | Bo...
27.656716
116
0.760029
bc21689ce90e56fe706fa6fb57ed1fea6e027cd3
26,044
ml
OCaml
bin/gdfuse.ml
surajsnanavare/google-drive-ocamlfuse
ed00948f7c62a4dfca4efadc21143f6a70217ad5
[ "MIT" ]
1
2020-08-27T18:27:42.000Z
2020-08-27T18:27:42.000Z
bin/gdfuse.ml
surajsnanavare/google-drive-ocamlfuse
ed00948f7c62a4dfca4efadc21143f6a70217ad5
[ "MIT" ]
null
null
null
bin/gdfuse.ml
surajsnanavare/google-drive-ocamlfuse
ed00948f7c62a4dfca4efadc21143f6a70217ad5
[ "MIT" ]
null
null
null
open GapiUtils.Infix open GapiLens.Infix let default_fs_label = "default" let client_id = "564921029129.apps.googleusercontent.com" let redirect_uri = GaeProxy.gae_proxy_url ^ "/oauth2callback" (* Authorization *) let get_authorization_url request_id = GapiOAuth2.authorization_code_url ~redirect_uri ~scope...
32.352795
80
0.647366
bc9f4d3f084c5fa0b2f4ca2594ccf497640b3a36
800
mli
OCaml
hphp/hack/src/server/serverMain.mli
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverMain.mli
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverMain.mli
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) (* The in/out...
33.333333
80
0.735
444512a73077a5ab64d407116cf2953f3eaac6d7
920
ml
OCaml
tests/sampler_many/sol_test.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
4
2018-09-07T01:10:59.000Z
2021-02-17T07:33:47.000Z
tests/sampler_many/sol_test.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
9
2018-07-02T13:38:09.000Z
2018-08-17T08:17:39.000Z
tests/sampler_many/sol_test.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 function_fst = Section ([Text "Function:"; Code "fst"], test_function_1_against_solution [%ty : int * int -> int] "fst" ~sampler:(fun () -> (sample_int (), sample_int ())) ~gen:10 [] @ test_function_1_against_solution [%ty : int * int -> int] "fst" ~sampler:(fun () -> (0, Ra...
29.677419
71
0.625
8a7bbd13d318fbf65af6e33fcd49e093d58376df
560
mli
OCaml
lwt-unix/conduit_lwt_server.mli
arenadotio/ocaml-conduit
05ddf131ca9f58375590af439878844d799e294d
[ "ISC" ]
null
null
null
lwt-unix/conduit_lwt_server.mli
arenadotio/ocaml-conduit
05ddf131ca9f58375590af439878844d799e294d
[ "ISC" ]
null
null
null
lwt-unix/conduit_lwt_server.mli
arenadotio/ocaml-conduit
05ddf131ca9f58375590af439878844d799e294d
[ "ISC" ]
null
null
null
val close : 'a Lwt_io.channel * 'b Lwt_io.channel -> unit Lwt.t val set_max_active : int -> unit val listen : ?backlog:int -> Unix.sockaddr -> Lwt_unix.file_descr Lwt.t val with_socket : Unix.sockaddr -> (Lwt_unix.file_descr -> 'a Lwt.t) -> 'a Lwt.t val process_accept : ?timeout:int -> ('a -> 'b Lwt_io.c...
23.333333
71
0.648214
bc41a79133390c6c0d93d2491b591f66bf90eaea
132
ml
OCaml
src/vgtrans.ml
mraszyk/rc2sql
f0677cf4057416566f4545733690a82398f4d8a2
[ "BSD-3-Clause" ]
null
null
null
src/vgtrans.ml
mraszyk/rc2sql
f0677cf4057416566f4545733690a82398f4d8a2
[ "BSD-3-Clause" ]
null
null
null
src/vgtrans.ml
mraszyk/rc2sql
f0677cf4057416566f4545733690a82398f4d8a2
[ "BSD-3-Clause" ]
null
null
null
open Trans let _ = let prefix = Sys.argv.(1) in let (f, tdb) = parse prefix in let _ = vgtrans (prefix ^ ".v") tdb f in ()
16.5
42
0.575758
bc52aed42e79c325fff1ed1c42a6cb81e117f0d0
6,617
ml
OCaml
data/derived/comb/progs/unify/prog2868.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/sp14/progs/unify/prog2868.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2868.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX *) (*XXXXXXXXXXXXXXXXXXXXXXXXXXX*) let rec sumList xs = match xs with | []-> 0 | h::t -> h+sumList t ;; let _ = sumList [1; 2; 3; 4] let _ = sumList [1; -2; 3; 5] let _ = sumList [1; 3; 5; 7; 9; 11] (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
23.055749
94
0.617652
8af7fd3de18fb5ddd919011733b551c416d25c4f
646
mli
OCaml
lib/types/these.mli
IndiscriminateCoding/clarity
163c16249cb3f01c4244b80be39e9aad0b1ca325
[ "BSD-3-Clause" ]
59
2017-05-07T14:46:01.000Z
2022-01-10T12:21:52.000Z
lib/types/these.mli
IndiscriminateCoding/clarity
163c16249cb3f01c4244b80be39e9aad0b1ca325
[ "BSD-3-Clause" ]
4
2017-12-18T20:17:30.000Z
2018-09-08T17:12:02.000Z
lib/types/these.mli
IndiscriminateCoding/clarity
163c16249cb3f01c4244b80be39e9aad0b1ca325
[ "BSD-3-Clause" ]
5
2017-05-09T16:47:39.000Z
2019-08-09T04:36:47.000Z
(** Values of two non-exclusive variants *) type ('l, 'r) t = Left of 'l | Right of 'r | Both of 'l * 'r val _Left : 'a -> ('a, 'b) t val _Right : 'a -> ('b, 'a) t val _Both : 'a -> 'b -> ('a, 'b) t (** Monad instance requires Semigroup to combine Left values *) module Make (S : Semigroup.S) : Monad.S with type 'a ...
34
75
0.478328
8a2784b1dca3173817827ea21383f37a9abbe339
6,602
ml
OCaml
server/test_server.ml
idkjs/plantpro-cloud
da76f3c3a0fdcd86c6e7e802400fd0931acecadd
[ "MIT" ]
null
null
null
server/test_server.ml
idkjs/plantpro-cloud
da76f3c3a0fdcd86c6e7e802400fd0931acecadd
[ "MIT" ]
null
null
null
server/test_server.ml
idkjs/plantpro-cloud
da76f3c3a0fdcd86c6e7e802400fd0931acecadd
[ "MIT" ]
null
null
null
module Accounts = struct type make_account_req = { username: string [@post] ; password1: string [@post] ; password2: string [@post] ; email: string [@post] } [@@deriving netblob { url = "http://localhost:8080/create-account" ; meth = `Post ; format = `Text }] type lo...
29.873303
140
0.598909
446e938af2509b4abe607b9ab5495a2bd8cbe8fc
1,562
ml
OCaml
lib/fuzz/test/action.ml
c4-project/c4f
c2765061ad816d41d0545eabe3f3cd7c574383f4
[ "CECILL-B", "MIT" ]
2
2021-06-09T22:28:00.000Z
2021-06-30T18:08:22.000Z
lib/fuzz/test/action.ml
c4-project/c4f
c2765061ad816d41d0545eabe3f3cd7c574383f4
[ "CECILL-B", "MIT" ]
13
2021-02-10T08:57:29.000Z
2021-02-16T16:17:25.000Z
lib/fuzz/test/action.ml
c4-project/c4f
c2765061ad816d41d0545eabe3f3cd7c574383f4
[ "CECILL-B", "MIT" ]
1
2021-06-09T22:28:01.000Z
2021-06-09T22:28:01.000Z
(* This file is part of c4f. Copyright (c) 2018-2021 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...
33.234043
76
0.65621
44a23f1ae0c4419298a95e40286deda79720785f
905
mli
OCaml
esy-lib/Git.mli
kazcw/esy
c9c91861490288434cd98ff72699ae8d6a876e9e
[ "BSD-2-Clause" ]
null
null
null
esy-lib/Git.mli
kazcw/esy
c9c91861490288434cd98ff72699ae8d6a876e9e
[ "BSD-2-Clause" ]
null
null
null
esy-lib/Git.mli
kazcw/esy
c9c91861490288434cd98ff72699ae8d6a876e9e
[ "BSD-2-Clause" ]
null
null
null
(** * Git repository manipulation. * * The implementation uses git command. *) type ref = string type commit = string type remote = string (** Clone repository from [remote] into [dst] local path. *) val clone : ?branch:string -> ?depth:int -> dst:Fpath.t -> remote:remote -> unit -> unit RunAsync.t (...
17.745098
72
0.635359
44d0e09bdb655e5d6ed2b007460385af1b77400e
551
mli
OCaml
src/menhir.mli
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
null
null
null
src/menhir.mli
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
2
2018-01-12T08:41:59.000Z
2020-12-30T21:57:31.000Z
src/menhir.mli
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
null
null
null
(** Menhir rules *) open Stdune (** Return the list of targets that are generated by this stanza. This list of targets is used by the code that computes the list of modules in the directory. *) val targets : Dune_file.Menhir.t -> string list (** Return the list of modules that are generated by this stanza. *...
27.55
70
0.6951
8afdca70a58dcffe9d7b481919e3967186af781f
725
mli
OCaml
src/dune/simple_rules.mli
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
11
2020-07-14T13:57:02.000Z
2020-09-05T23:50:25.000Z
src/dune/simple_rules.mli
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-07-27T17:35:13.000Z
2020-09-21T11:17:06.000Z
src/dune/simple_rules.mli
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-11-25T12:01:04.000Z
2020-11-25T12:01:04.000Z
(** Simple rules: user, copy_files, alias *) open! Stdune open Import open Dune_file (** Interpret a [(rule ...)] stanza and return the targets it produces. *) val user_rule : Super_context.t -> ?extra_bindings:Pform.Map.t -> dir:Path.Build.t -> expander:Expander.t -> Rule.t -> Path.Build.Set.t (** In...
21.969697
80
0.648276
bc918dd07d9486ad9a0dbe0853b1ad3ffc477220
7,255
ml
OCaml
photon/list/photon224_list.ml
papannda444/minoda.shu
685e607bddb0cd174521a7532ebad93357acec79
[ "MIT" ]
null
null
null
photon/list/photon224_list.ml
papannda444/minoda.shu
685e607bddb0cd174521a7532ebad93357acec79
[ "MIT" ]
null
null
null
photon/list/photon224_list.ml
papannda444/minoda.shu
685e607bddb0cd174521a7532ebad93357acec79
[ "MIT" ]
1
2021-12-12T12:21:54.000Z
2021-12-12T12:21:54.000Z
(* photon224_list.ml Created by Shu Minoda on 2021/12/12 Copyright (c) 2021 Shu Minoda *) let digest_size = 224 let rate = 32 let rate_p = 32 let d = 8 let s = 4 let round = 12 let word_filter = 1 lsl s - 1 let reduction_poly = 0x3 let rc = [[1; 3; 7; 14; 13; 11; 6; 12; 9; 2; 5; 10]; [0; 2; 6; 15; 12; 10...
34.712919
161
0.606478
44369f61a1fd532eb8b055c820335bdd3e5fa4e3
4,329
ml
OCaml
src/proto_alpha/lib_protocol/script_big_map.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/script_big_map.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/script_big_map.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
46.548387
79
0.552553
8a2cc4dd8816d048e94334c26b7a30c2fb79b87d
306
ml
OCaml
src/line.ml
prozacchiwawa/bsred
ef034ea2a0109d6530a32e93fef2d5f5bcb27d27
[ "MIT" ]
9
2018-07-31T00:49:01.000Z
2021-03-16T12:06:30.000Z
src/line.ml
prozacchiwawa/bsred
ef034ea2a0109d6530a32e93fef2d5f5bcb27d27
[ "MIT" ]
null
null
null
src/line.ml
prozacchiwawa/bsred
ef034ea2a0109d6530a32e93fef2d5f5bcb27d27
[ "MIT" ]
1
2020-07-06T13:47:24.000Z
2020-07-06T13:47:24.000Z
include Sequence let length = count let of_utf8_string string = of_list (Utf8.split_runes string) let to_buffer buf line = Sequence.iter (Buffer.add_string buf) line let output_channel ch line = let output_character character = output_string ch character in Sequence.iter output_character line
21.857143
64
0.794118
4497fbe294a83aacd76db246bf501df70c461dda
24,717
ml
OCaml
src/lib_p2p/p2p_socket.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_socket.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_socket.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
37.168421
90
0.637861
bc6defefd5e7424683f668ea25ded092004f95b3
244
mli
OCaml
src/infrastructure/resources/cloudflare_resource.mli
SquidDev/scrutiny
48c3b3c7fef6292107d01dfa8b6958ac5c511be0
[ "BSD-3-Clause" ]
1
2020-12-10T02:58:26.000Z
2020-12-10T02:58:26.000Z
src/infrastructure/resources/cloudflare_resource.mli
SquidDev/scrutiny
48c3b3c7fef6292107d01dfa8b6958ac5c511be0
[ "BSD-3-Clause" ]
null
null
null
src/infrastructure/resources/cloudflare_resource.mli
SquidDev/scrutiny
48c3b3c7fef6292107d01dfa8b6958ac5c511be0
[ "BSD-3-Clause" ]
null
null
null
open Scrutiny_infrastructure (** A basic cloudflare zone. *) val zone : string -> auth:Scrutiny_cloudflare.auth -> (unit -> (Scrutiny_cloudflare.DnsRecord.Spec.t list, unit) Action.t) -> ([ `Local ], (unit, [ `Resource ]) key) Rules.t
27.111111
73
0.67623
bc1039098f1bd00750a4e6c1b508f50b82c53ca7
5,518
ml
OCaml
libraries/sdb/lib_test/aws_sdb_test.ml
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
null
null
null
libraries/sdb/lib_test/aws_sdb_test.ml
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
null
null
null
libraries/sdb/lib_test/aws_sdb_test.ml
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
null
null
null
open OUnit2 open Aws_sdb type config = { access_key : string ; secret_key : string ; region : string } let ( @? ) = assert_bool module type Runtime = sig type 'a m val run_request : region:string -> access_key:string -> secret_key:string -> (module Aws.Call with type input =...
29.98913
170
0.604204
bc12c35559e71f9700523b8e3cb7dfc4cf6b10df
19,097
ml
OCaml
data/derived/comb/progs/unify/prog4997.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/prog0073.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0073.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.503509
208
0.652616
bc7229f1db995aaa68672adf32d9d44283c7afe4
1,103
ml
OCaml
test/unit/test_report.ml
mbouaziz/bisect_ppx
a5320eaf2c9c72f1dcd8c04d63a1a4c40aeeaa24
[ "MIT" ]
null
null
null
test/unit/test_report.ml
mbouaziz/bisect_ppx
a5320eaf2c9c72f1dcd8c04d63a1a4c40aeeaa24
[ "MIT" ]
null
null
null
test/unit/test_report.ml
mbouaziz/bisect_ppx
a5320eaf2c9c72f1dcd8c04d63a1a4c40aeeaa24
[ "MIT" ]
1
2020-11-17T11:14:18.000Z
2020-11-17T11:14:18.000Z
(* This file is part of Bisect_ppx, released under the MIT license. See LICENSE.md for details, or visit https://github.com/aantron/bisect_ppx/blob/master/LICENSE.md. *) open OUnit2 open Test_helpers let test name f = test name begin fun () -> compile (with_bisect ()) "fixtures/report/source.ml"; ru...
27.575
76
0.62738
4432e0a57f9ebfc25b21e9e1dc47bddfbd015550
1,545
mli
OCaml
ClientEngine.mli
JustinChCa/Corn-Project
a6fa48751baaa9bf22751530031a3566dee5a575
[ "MIT" ]
null
null
null
ClientEngine.mli
JustinChCa/Corn-Project
a6fa48751baaa9bf22751530031a3566dee5a575
[ "MIT" ]
null
null
null
ClientEngine.mli
JustinChCa/Corn-Project
a6fa48751baaa9bf22751530031a3566dee5a575
[ "MIT" ]
null
null
null
(** The [ClientEngine] module for running the online version of battleship. *) (**[create_enemy_player size ships args] creates an enemy player with a board size of [size] and a ships list of [ships] at coordinate positions [args] *) val create_enemy_player: int -> ((int * int) list * 'a) list -> string list -> ...
48.28125
79
0.730097
bc16fa8b285387ec23816275ae4252726729ba76
1,981
ml
OCaml
lib/device_state.ml
palainp/mirage-xen
f9740fbdd8fe97ec186a6cc6f3499cda7da25ad7
[ "ISC" ]
null
null
null
lib/device_state.ml
palainp/mirage-xen
f9740fbdd8fe97ec186a6cc6f3499cda7da25ad7
[ "ISC" ]
null
null
null
lib/device_state.ml
palainp/mirage-xen
f9740fbdd8fe97ec186a6cc6f3499cda7da25ad7
[ "ISC" ]
null
null
null
(* * Copyright (c) 2010 Anil Madhavapeddy <anil@recoil.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 IS" A...
30.953125
75
0.674912
bc6f6552e56c41c0e73e61c564ed5836442f09d2
18,767
ml
OCaml
data/derived/comb/progs/unify/prog3705.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/sp14/progs/unify/prog3705.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3705.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.333925
208
0.660148
bc3f798dad269ecf9835a6693cb65ef432d7d94f
2,457
mli
OCaml
ocaml-sources/asmcomp/schedgen.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/asmcomp/schedgen.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/asmcomp/schedgen.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
49.14
76
0.509565
bc4af56a1d7df069e65f073edbda59a91159dcac
7,470
mli
OCaml
xen-4.6.0/tools/ocaml/libs/xc/xenctrl.mli
StanPlatinum/ROP-detection-outside-VMs
c06987a0dfbe08022b1b1e1581b399cb4c25e4ac
[ "MIT" ]
3
2019-08-31T19:58:24.000Z
2020-10-02T06:50:22.000Z
xen-4.6.0/tools/ocaml/libs/xc/xenctrl.mli
StanPlatinum/ROP-detection-outside-VMs
c06987a0dfbe08022b1b1e1581b399cb4c25e4ac
[ "MIT" ]
1
2020-10-16T19:13:49.000Z
2020-10-16T19:13:49.000Z
xen-4.6.0/tools/ocaml/libs/xc/xenctrl.mli
StanPlatinum/ROP-detection-outside-VMs
c06987a0dfbe08022b1b1e1581b399cb4c25e4ac
[ "MIT" ]
1
2019-05-27T09:47:18.000Z
2019-05-27T09:47:18.000Z
(* * Copyright (C) 2006-2007 XenSource Ltd. * Copyright (C) 2008 Citrix Ltd. * Author Vincent Hanquez <vincent.hanquez@eu.citrix.com> * * This program 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 Fou...
41.043956
111
0.732664
4426258e903f673e5401ac500a80f145ea815daf
31,261
ml
OCaml
src/bin_sandbox/command_accusations.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/bin_sandbox/command_accusations.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/bin_sandbox/command_accusations.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
open Flextesa open Internal_pervasives open Console let default_attempts = 35 let little_mesh_with_bakers ?base_port ?generate_kiln_config state ~protocol ~starting_level ~node_exec ~client_exec ~bakers () = let* () = Helpers.clear_root state in let* () = Interactive_test.Pauser.generic state ...
31.769309
99
0.58437
bc97814d52023fdd532ad741b78b3f1573b6e63b
2,148
mli
OCaml
main_codebase/VST-master/compcert_new/common/Sections.mli
Jmw150/Coq-VST-DLC
1af793083d71d87bc7023d35638c785685d424e7
[ "FTL" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq_projects/VST/compcert_new/common/Sections.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq_projects/VST/compcert_new/common/Sections.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(* *********************************************************************) (* *) (* The Compcert verified compiler *) (* *) (* Xavier Leroy...
40.528302
85
0.529795
8aba4e44da22a40f15021ba12840f18571b430cb
1,189
ml
OCaml
tests/test_storage.ml
ashinkarov/heh
42866803b2ffacdc42b8f06203bf4e5bd18e03b0
[ "0BSD" ]
37
2017-07-07T19:09:58.000Z
2022-03-30T21:07:59.000Z
tests/test_storage.ml
ashinkarov/heh
42866803b2ffacdc42b8f06203bf4e5bd18e03b0
[ "0BSD" ]
3
2017-09-06T19:07:45.000Z
2018-05-21T08:57:06.000Z
tests/test_storage.ml
ashinkarov/heh
42866803b2ffacdc42b8f06203bf4e5bd18e03b0
[ "0BSD" ]
1
2018-04-02T17:19:06.000Z
2018-04-02T17:19:06.000Z
open OUnit open Ast open Value open Ordinals open Storage let test_storage _ = let s = st_new () in let s = st_add s "p1" (VNum (int_to_ord 1)) in let s = st_add s "p2" (VNum (int_to_ord 2)) in let s = st_update s "p1" (VNum (int_to_ord 42)) in assert_equal ~msg:"storage lookup p1" ...
31.289474
92
0.589571
44bf7a4607c105f7a38b1ac2a50f91204773c8d1
367
mli
OCaml
src/lib/blockchain_snark/blockchain.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
1
2022-03-21T15:43:42.000Z
2022-03-21T15:43:42.000Z
src/lib/blockchain_snark/blockchain.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/lib/blockchain_snark/blockchain.mli
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
(* TODO: check if this is needed *) module State = Blockchain_state open Core_kernel open Coda_base module type S = sig type t = {state: Consensus.Mechanism.Protocol_state.value; proof: Proof.Stable.V1.t} [@@deriving bin_io, fields] val create : state:Consensus.Mechanism.Protocol_state.value -> p...
20.388889
79
0.708447
44bd3c638c7bc0104e65fd152f87175a0ef90676
412
ml
OCaml
benchmarks/C/nat/sol310.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/nat/sol310.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/nat/sol310.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type nat = ZERO | SUCC of nat let rec natadd : nat -> nat -> nat = fun n1 n2 -> (*TODO*) match n1 with |ZERO -> n2 |SUCC n ->natadd n (SUCC n2);; let rec natmul : nat -> nat -> nat = fun n1 n2 -> (*TODO*) match n1 with |ZERO -> ZERO |SUCC ZERO -> n2 |SUCC (SUCC n) -> natadd n2 (natmul (SUCC n) n2);; let tw...
20.6
52
0.601942
bc8576f072a30f6b20c4b349b7e1c23f1d87a9b6
4,880
ml
OCaml
sledge/src/sh_test.ml
abhinavsinha001/infer
2547a75b8b4089d315c9103a20108468808e3095
[ "MIT" ]
null
null
null
sledge/src/sh_test.ml
abhinavsinha001/infer
2547a75b8b4089d315c9103a20108468808e3095
[ "MIT" ]
null
null
null
sledge/src/sh_test.ml
abhinavsinha001/infer
2547a75b8b4089d315c9103a20108468808e3095
[ "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 Fol let%test_module _ = ( module struct open Sh let () = Trace.init ~margin:68 () (* let () = * Trace....
25.549738
78
0.361066
bc994ebcf281b2a78ba9ea6c9257a06fc65809ba
73,494
ml
OCaml
src/michelson.ml
edukera/cml-lang
8ab5e634c04543c294f82f72000e4f21b305d3c2
[ "MIT" ]
2
2019-02-08T18:50:07.000Z
2019-03-02T18:23:52.000Z
src/michelson.ml
edukera/cml-lang
8ab5e634c04543c294f82f72000e4f21b305d3c2
[ "MIT" ]
57
2019-01-24T13:32:12.000Z
2019-04-10T15:25:09.000Z
src/michelson.ml
edukera/cml-lang
8ab5e634c04543c294f82f72000e4f21b305d3c2
[ "MIT" ]
null
null
null
open Ident open Tools type 'a with_annot = { node: 'a; annotation: ident option; } [@@deriving show {with_path = false}] type type_node = | Taddress | Tbig_map of type_ * type_ | Tbool | Tbytes | Tchain_id | Tcontract of type_ | Tint | Tkey | Tkey_hash | Tlambda of type_ * type_ ...
40.359143
149
0.458976
8a9f53e601c56b844c8a5bec17d5bf8bb840b8fc
20,479
ml
OCaml
hphp/hack/test/rust/hhbc_options_migration_test.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/rust/hhbc_options_migration_test.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/rust/hhbc_options_migration_test.ml
jackwiy/hhvm
70a29c50903371ed3ab1d085ee03350e0982ed49
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
open Core_kernel open OUnit2 (* Useful debugging, since no ppx printer for Hhbc_options.t *) let assert_opts_equal caml rust = assert_equal Hhbc_options.(constant_folding caml) Hhbc_options.(constant_folding rust); assert_equal Hhbc_options.(optimize_null_checks caml) Hhbc_options.(optimize_null_ch...
32.714058
80
0.720348
bc5acfdce66bd5fb0fd79fdad538568c51c3e30e
6,500
ml
OCaml
src/server/protocol/serverProt.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
src/server/protocol/serverProt.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
src/server/protocol/serverProt.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Request = struct type command = | AUTOCOMPLETE of File_input.t | CHECK_FILE of File_input.t * Verbose.t option ...
31.553398
100
0.686308
bc1e64ab56c8aa68f896922ed02a286f42e65ed2
1,165
ml
OCaml
data/fa15/1402.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/1402.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/1402.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let removeDuplicates l = let rec helper (seen,rest) = match rest with | [] -> seen | h::t -> let seen' = if List.mem (h seen) then [] else h :: seen in let rest' = t in helper (seen', rest') in List.rev (helper ([], l));; (* fix let removeDuplicates l = let rec helper (seen,rest) =...
15.533333
66
0.474678
bc262bc34bd2e9c420a8a1b22f02bfd54e3abd26
14,974
ml
OCaml
lib/voice.ml
quartz55/discopotty
6e292dfa64fe7cae0d3ec3e77f63b86c67264bb1
[ "MIT" ]
1
2021-07-04T22:32:32.000Z
2021-07-04T22:32:32.000Z
lib/voice.ml
quartz55/discopotty-re
6e292dfa64fe7cae0d3ec3e77f63b86c67264bb1
[ "MIT" ]
null
null
null
lib/voice.ml
quartz55/discopotty-re
6e292dfa64fe7cae0d3ec3e77f63b86c67264bb1
[ "MIT" ]
1
2019-12-15T22:27:55.000Z
2019-12-15T22:27:55.000Z
open Globals open Lwt.Infix module L = (val Relog.logger ~namespace:__MODULE__ ()) module F = Relog.Field module Ws_Conn = Websocket.Make (Voice_payload) module Pl = Voice_payload module Ws = struct type t = t' ref and t' = Open of Token_bucket.t * Ws_Conn.t | Closed let create conn = ref (Open (Token_bucket...
34.344037
81
0.598838
bc2441386ee0602a34625a5658120c05b7012510
8,714
ml
OCaml
data/derived/comb/progs/unify/prog3977.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/sp14/progs/unify/prog3977.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3977.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.08982
148
0.638857
bc81900e7c8e938999b27d84cfd062e4ea804013
216
ml
OCaml
bootstrap/src/basis/stringable_intf.ml
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/src/basis/stringable_intf.ml
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/src/basis/stringableIntf.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
(** Stringable type functor signature. *) module type S = sig type t val of_string: string -> t (** Convert {!type:string} to [t]. *) val to_string: t -> string (** Convert [t] to {!type:string}. *) end
18
41
0.601852
4424215ec0162cc4d969e444556ae3efc6ba2866
1,129
mli
OCaml
libraries/ec2/lib/describeVpcEndpointServicePermissions.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/ec2/lib/describeVpcEndpointServicePermissions.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeVpcEndpointServicePermissions.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Describes the principals (service consumers) that are permitted to discover your VPC endpoint service.</p>" *) open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] module DescribeVpcEndpointServicePermissionsRequest : sig type t = { dry_run: Boolean.t option ; service_id: St...
36.419355
118
0.716563
44be4bf97fc60d565487386c8a0668d7355f9a66
1,149
mli
OCaml
infer/src/atd/InferCommand.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
4
2021-11-19T02:07:46.000Z
2022-03-24T06:03:50.000Z
infer/src/atd/InferCommand.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2021-04-05T15:19:58.000Z
2021-12-16T04:22:26.000Z
infer/src/atd/InferCommand.mli
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2019-04-26T02:27:43.000Z
2019-04-26T02:27:43.000Z
(* * Copyright (c) 2018-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (** Main modes of operation for infer *) type t = | Analyze (** analyze previously captured source files *) | Capture (** capt...
30.236842
94
0.67537
bc965da56c830319ff643c233cd3ed8bdcfb3f7e
14,510
ml
OCaml
hphp/hack/src/typing/tast_visitor.ml
jie-pan/hhvm
41853383c5b53a69ac2c67f9d3cce5e38c6eafa5
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_visitor.ml
jie-pan/hhvm
41853383c5b53a69ac2c67f9d3cce5e38c6eafa5
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-21T07:48:37.000Z
2021-08-21T07:48:37.000Z
hphp/hack/src/typing/tast_visitor.ml
LaudateCorpus1/hhvm
15914f0afb9dc408fe56949d5871a46ffa103b44
[ "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 Hh_prelude module Env = Tast_env class virtual iter = object (self) inherit [_] Aast.iter as super ...
28.45098
80
0.629428
bc6f001021a0276daf49865c276ed6c91ac4a1cc
1,872
ml
OCaml
src/stdune/env.ml
Zimmi48/dune
b6da7dcb4c171e609b8e7043bae3d8b00228898c
[ "MIT" ]
null
null
null
src/stdune/env.ml
Zimmi48/dune
b6da7dcb4c171e609b8e7043bae3d8b00228898c
[ "MIT" ]
null
null
null
src/stdune/env.ml
Zimmi48/dune
b6da7dcb4c171e609b8e7043bae3d8b00228898c
[ "MIT" ]
null
null
null
module Var = struct module T = struct type t = string let compare = if Sys.win32 then ( fun a b -> String.compare (String.lowercase a) (String.lowercase b) ) else ( String.compare ) end module Set = Set.Make(T) include T end module Map = Map.Make(Var) type t = { var...
20.129032
79
0.590278
bc4f16ad411803c3b905a59437ecfc1461972457
43,149
ml
OCaml
source/analysis/test/environmentTest.ml
esiebomaj/pyre-check
bc75489e04ca21f51ba1ebc6296e2ff5c27626c9
[ "MIT" ]
3
2021-06-17T16:32:46.000Z
2021-09-20T14:47:23.000Z
source/analysis/test/environmentTest.ml
esiebomaj/pyre-check
bc75489e04ca21f51ba1ebc6296e2ff5c27626c9
[ "MIT" ]
87
2021-02-03T22:05:58.000Z
2021-12-07T16:30:09.000Z
source/analysis/test/environmentTest.ml
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 Core open OUnit2 open Ast open Analysis open Pyre open Test let value option = Option.value_exn option let class_hierarchy e...
31.109589
101
0.647315
44db16e82c34144409f19a6a3b1365d8f47a8092
651
ml
OCaml
benchmarks/list/maxcount.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
2
2022-01-12T16:50:30.000Z
2022-01-28T16:14:40.000Z
benchmarks/list/maxcount.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
benchmarks/list/maxcount.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
type 'a clist = | Single of 'a | Concat of 'a clist * 'a clist type 'a list = | Elt of 'a | Cons of 'a * 'a list let rec maxcount = function | Elt a -> a, 1 | Cons (hd, tl) -> let amax, acnt = maxcount tl in max amax hd, if hd > amax then 1 else acnt + if hd = amax then 1 else 0 ;; let rec clist_...
21
75
0.572965
8a81a5f18d29fc86268ec77979df9779c3b0adf2
3,292
ml
OCaml
src/buffer_intf.ml
EduardoRFS/base
8993e35ba2e83e5020b2deb548253ef1e4a699d4
[ "MIT" ]
641
2016-09-16T15:51:06.000Z
2022-03-31T19:30:56.000Z
src/buffer_intf.ml
EduardoRFS/base
8993e35ba2e83e5020b2deb548253ef1e4a699d4
[ "MIT" ]
121
2016-09-17T07:30:00.000Z
2022-03-03T21:00:03.000Z
src/buffer_intf.ml
EduardoRFS/base
8993e35ba2e83e5020b2deb548253ef1e4a699d4
[ "MIT" ]
95
2016-09-16T23:31:38.000Z
2022-03-19T01:35:06.000Z
open! Import module type S = sig (** The abstract type of buffers. *) type t [@@deriving_inline sexp_of] val sexp_of_t : t -> Sexplib0.Sexp.t [@@@end] (** [create n] returns a fresh buffer, initially empty. The [n] parameter is the initial size of the internal storage medium that holds the buffer c...
39.662651
90
0.666768
bc5f8775a883d404c9ef0d69bedbc6881675e52e
2,460
ml
OCaml
OCaml/bin/ast_type.ml
ChanTsune/Unit-Test-IR
201b5171b6abe600d4f6acf869fbe02ee6e18a3d
[ "MIT" ]
2
2021-01-21T05:57:07.000Z
2021-03-08T15:18:21.000Z
OCaml/bin/ast_type.ml
ChanTsune/Unit-Test-IR
201b5171b6abe600d4f6acf869fbe02ee6e18a3d
[ "MIT" ]
2
2020-11-18T07:53:30.000Z
2020-12-28T08:40:18.000Z
OCaml/bin/ast_type.ml
ChanTsune/Unit-Test-IR
201b5171b6abe600d4f6acf869fbe02ee6e18a3d
[ "MIT" ]
null
null
null
type node = File of file | Block of block | Decl of decl | Expr of expr and file = {file_version: int; file_body: decl list} and block = {block_body: stmt list} and stmt = ExprStmt of expr_stmt | DeclStmt of decl_stmt | Return of return | For of for_ | Throw of throw | Try of try_ | Catch of catch and expr_stm...
34.647887
154
0.762195
bc24cbcf4afeadd6f0210d079a4c5f4849017a37
980
ml
OCaml
bin/migrations/m20210308.ml
idkjs/builder-web
fb26e1d8ee8e6aad9d1654a5f5752a44dea81a29
[ "ISC" ]
null
null
null
bin/migrations/m20210308.ml
idkjs/builder-web
fb26e1d8ee8e6aad9d1654a5f5752a44dea81a29
[ "ISC" ]
null
null
null
bin/migrations/m20210308.ml
idkjs/builder-web
fb26e1d8ee8e6aad9d1654a5f5752a44dea81a29
[ "ISC" ]
null
null
null
module Rep = Builder_db.Rep let broken_builds = Caqti_request.collect ~oneshot:true Caqti_type.unit (Caqti_type.tup3 (Rep.id `build) Rep.uuid Caqti_type.string) {| SELECT b.id, b.uuid, job.name FROM build b, job WHERE result_kind = 0 AND result_code = 0 AND main_binary IS NOT NULL AND job.id = b.j...
42.608696
99
0.679592
af04ee126488ba8c90c1fa45b31cbe50c8b2daed
20,023
ml
OCaml
src/services/inference/merge_service.ml
gabrielrumiranda/flow
d73947eb839bf591b3f5df817b4e27a6f700a9e9
[ "MIT" ]
1
2019-10-03T00:45:08.000Z
2019-10-03T00:45:08.000Z
src/services/inference/merge_service.ml
dengxiaoning/flow
3efa6bb38413ff9b4fd823ca294bd70010c85fd5
[ "MIT" ]
8
2020-04-06T11:23:08.000Z
2022-03-24T12:41:12.000Z
src/services/inference/merge_service.ml
dengxiaoning/flow
3efa6bb38413ff9b4fd823ca294bd70010c85fd5
[ "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 open Loc_collections module Reqs = Merge_js.Reqs type 'a unit_result = ('a, Error_message.t) result type 'a file_ke...
41.889121
122
0.711682
bc1eadaef2f1c657e74094b904fbfefbf4eed3fb
7,626
ml
OCaml
lib/k_medoids.ml
igarnier/clustering
4c20f9a253abeeeb6a0f05430d5d72957942ef1e
[ "MIT" ]
17
2017-11-27T09:13:05.000Z
2020-11-06T18:27:58.000Z
lib/k_medoids.ml
igarnier/k-means
4c20f9a253abeeeb6a0f05430d5d72957942ef1e
[ "MIT" ]
1
2017-11-27T09:26:31.000Z
2017-11-27T09:29:33.000Z
lib/k_medoids.ml
igarnier/k-means
4c20f9a253abeeeb6a0f05430d5d72957942ef1e
[ "MIT" ]
null
null
null
open Batteries (* K-medoids only requires that elements are endowed with the structure of a metric space. *) module type Element = sig type t (* This should be a proper distance function (symmetric, zero on the diagonal, verifying the triangular inequality). *) val dist : t -> t -> float end type ini...
31.90795
97
0.638605
44bf14ef650c69e3421e021eba851c98ad8be9ef
94
mli
OCaml
src/graphics/vertex/drawMode.mli
laser-turtle/ogaml
9e1505397025e33bb7e5879e7011c62e3c55f648
[ "MIT" ]
29
2016-09-26T17:20:07.000Z
2021-07-28T13:46:52.000Z
src/graphics/vertex/drawMode.mli
laser-turtle/ogaml
9e1505397025e33bb7e5879e7011c62e3c55f648
[ "MIT" ]
15
2015-11-08T22:37:40.000Z
2019-02-25T10:37:23.000Z
src/graphics/vertex/drawMode.mli
VLanvin/ogaml
5e74597521abf7ba2833a9247e55780eabfbab78
[ "MIT" ]
2
2018-10-01T19:42:52.000Z
2019-07-25T15:09:58.000Z
(** GL draw modes enum *) type t = | TriangleStrip | TriangleFan | Triangles | Lines
11.75
25
0.617021
bc63e7353099d230eca56e0bc2ae0db88911e3f2
1,020
mli
OCaml
src/frontend/Errors.mli
rok-cesnovar/stanc3
e1406ded3a77eaae20869c7dfee081fe6f0164da
[ "BSD-3-Clause" ]
null
null
null
src/frontend/Errors.mli
rok-cesnovar/stanc3
e1406ded3a77eaae20869c7dfee081fe6f0164da
[ "BSD-3-Clause" ]
3
2020-04-02T21:05:43.000Z
2021-07-12T16:46:50.000Z
src/frontend/Errors.mli
rok-cesnovar/stanc3
e1406ded3a77eaae20869c7dfee081fe6f0164da
[ "BSD-3-Clause" ]
1
2020-10-12T23:48:37.000Z
2020-10-12T23:48:37.000Z
(** Some plumbing for our compiler errors *) (** Our type of syntax error information *) type syntax_error = | Lexing of Middle.Location.t | UnexpectedEOF of Middle.Location.t | Include of string * Middle.Location.t | Parsing of string * Middle.Location_span.t (** Exception for Syntax Errors *) exception Synt...
31.875
80
0.744118
bca47e84a934a7bd3438019fc110ab4773561474
27,558
ml
OCaml
src/generators/genneko.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
4
2017-06-12T17:34:18.000Z
2018-10-13T14:13:22.000Z
src/generators/genneko.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
null
null
null
src/generators/genneko.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
null
null
null
(* The Haxe Compiler Copyright (C) 2005-2018 Haxe Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This prog...
33.403636
225
0.601132
bcac9f87c8584690774d5c2ab2d316a60ef9a11b
95,631
ml
OCaml
src/parser_utils/flow_polymorphic_ast_mapper.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
null
null
null
src/parser_utils/flow_polymorphic_ast_mapper.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-04-16T12:04:57.000Z
2021-04-16T12:04:57.000Z
src/parser_utils/flow_polymorphic_ast_mapper.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast = Flow_ast let ( * ) : 'a 'b 'c 'd. ('a -> 'c) -> ('b -> 'd) -> 'a * 'b -> 'c * 'd = (fun f g (x, y) -> (f x, g y)) c...
49.396178
101
0.647844
f3ed634180658739ff3bbf4c2ecb9d699477ac92
15,729
ml
OCaml
src/gen_ops/gen.ml
fishyfriend/tensorflow-ocaml
52c5f1dec1a8b7dc9bc6ef06abbc07da6cd90d39
[ "Apache-2.0" ]
313
2016-03-22T01:28:59.000Z
2022-02-15T19:49:27.000Z
src/gen_ops/gen.ml
fishyfriend/tensorflow-ocaml
52c5f1dec1a8b7dc9bc6ef06abbc07da6cd90d39
[ "Apache-2.0" ]
30
2016-04-15T07:31:21.000Z
2020-02-02T01:23:56.000Z
src/gen_ops/gen.ml
fishyfriend/tensorflow-ocaml
52c5f1dec1a8b7dc9bc6ef06abbc07da6cd90d39
[ "Apache-2.0" ]
31
2016-03-23T23:06:42.000Z
2021-11-19T20:50:34.000Z
open Base open Stdio open Tensorflow_core exception Not_supported of string let ops_file = "src/gen_ops/ops.pb" let output_file = "src/graph/ops_generated" let do_not_generate_these_ops = Set.of_list (module String) [ "Const" ] let types_to_string type_ = "`" ^ String.uncapitalize (Operation.Type.to_string type_) mo...
33.608974
89
0.599148
bc784b8bf85120633a174fff13e6357e0e4eabdb
1,608
ml
OCaml
vendor/dune/src/colors.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/colors.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/colors.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
open! Stdune open Import (* We redirect the output of all commands, so by default the various tools will disable colors. Since we support colors in the output of commands, we force it via specific environment variables if stderr supports colors. *) let setup_env_for_colors env = let set env var value = ...
29.777778
74
0.638682
bc14e156ab0db0464d16fdd78beaf6ddb2adda9b
27,551
ml
OCaml
src/dune_engine/dune_project.ml
alexmusa/dune
4974a5b8e54db90dde33802638f5fbab37264579
[ "MIT" ]
1
2022-03-18T02:24:50.000Z
2022-03-18T02:24:50.000Z
src/dune_engine/dune_project.ml
alexmusa/dune
4974a5b8e54db90dde33802638f5fbab37264579
[ "MIT" ]
null
null
null
src/dune_engine/dune_project.ml
alexmusa/dune
4974a5b8e54db90dde33802638f5fbab37264579
[ "MIT" ]
1
2021-05-07T18:08:53.000Z
2021-05-07T18:08:53.000Z
open! Stdune open Import open Dune_lang.Decoder module Name : sig type t = private | Named of string | Anonymous of Path.Source.t val to_dyn : t -> Dyn.t val equal : t -> t -> bool val compare : t -> t -> Ordering.t val to_string_hum : t -> string val decode : t Dune_lang.Decoder.t val to_e...
32.720903
81
0.610468
bc9cf45cc4e92d447d90b9eb359c2313291f62a3
10,917
ml
OCaml
src/lib/network_pool/intf.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/network_pool/intf.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/network_pool/intf.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
open Async_kernel open Core_kernel open Mina_base open Mina_transaction open Pipe_lib open Network_peer (** A [Resource_pool_base_intf] is a mutable pool of resources that supports * mutation via some [Resource_pool_diff_intf]. A [Resource_pool_base_intf] * can only be initialized, and any interaction with it must...
28.282383
85
0.707154
bcaed2a8f241baf3c669bdf58b54b380be7bb467
9,828
ml
OCaml
src/logs.ml
MisterDA/logs
346f2cb5279a0dfee0e57fff109b8994982ce66f
[ "0BSD" ]
75
2015-10-23T01:13:35.000Z
2021-12-26T06:14:44.000Z
src/logs.ml
MisterDA/logs
346f2cb5279a0dfee0e57fff109b8994982ce66f
[ "0BSD" ]
41
2015-10-23T01:14:27.000Z
2021-11-20T06:45:36.000Z
src/logs.ml
MisterDA/logs
346f2cb5279a0dfee0e57fff109b8994982ce66f
[ "0BSD" ]
18
2015-12-10T16:20:52.000Z
2021-12-15T13:41:45.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2015 The logs programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) ...
29.691843
79
0.588523
bc98f6f3660be4e92bd9e65ed27003181f48bb6e
6,998
ml
OCaml
hphp/hack/src/typing/typing_dependent_type.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2021-06-19T23:31:58.000Z
2021-06-19T23:31:58.000Z
hphp/hack/src/typing/typing_dependent_type.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_dependent_type.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open Typing_defs module ExprDepTy = struct module N = Nast module Env = Typing_env module T...
36.638743
86
0.562446
44ed73c830ce9f645660afa8b23897b2169a542a
3,226
ml
OCaml
CodeHawk/CHC/cchpre/cCHMemoryBase.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cchpre/cCHMemoryBase.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cchpre/cCHMemoryBase.ml
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 Copyright (c) 2020 Henny ...
36.247191
83
0.657471
bc04ed7c6f4de8251ccfccddbab4f2fd8c627027
3,215
ml
OCaml
src/squeue.ml
arenadotio/core
49dc8358869dfb9cd26c9b4401c9cc76f77ae9b4
[ "Apache-2.0" ]
null
null
null
src/squeue.ml
arenadotio/core
49dc8358869dfb9cd26c9b4401c9cc76f77ae9b4
[ "Apache-2.0" ]
null
null
null
src/squeue.ml
arenadotio/core
49dc8358869dfb9cd26c9b4401c9cc76f77ae9b4
[ "Apache-2.0" ]
null
null
null
open Core_kernel.Std module Queue = Linked_queue module Mutex = Core_mutex (** Synchronized queue type *) type 'a t = { ev_q: 'a Queue.t; maxsize: int; mutex: Mutex.t sexp_opaque; not_empty: Condition.t sexp_opaque; not_full: Condition.t sexp_opaque; finally:unit -> unit; } [@@deriving sexp_of] let creat...
22.020548
87
0.66563
bc4edb7c41bcb5fce8561e19aa9c9a741bd1355d
1,401
ml
OCaml
src/irmin-pack/unix/import.ml
maiste-forks/irmin
b1c2518017be7faa0205a9238fd4085149643755
[ "0BSD" ]
null
null
null
src/irmin-pack/unix/import.ml
maiste-forks/irmin
b1c2518017be7faa0205a9238fd4085149643755
[ "0BSD" ]
null
null
null
src/irmin-pack/unix/import.ml
maiste-forks/irmin
b1c2518017be7faa0205a9238fd4085149643755
[ "0BSD" ]
null
null
null
(* * Copyright (c)2018-2021 Tarides <contact@tarides.com> * * 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 IS" AND...
31.840909
75
0.760171
bc58e51723e353ec44d069e75616e4f3cf0ede16
191
ml
OCaml
03_set(delete).ml
KanataIZUMIKAWA/BasicOfOcaml
89322944ebd03cb42373d633199ec52fcecc9b2b
[ "MIT" ]
null
null
null
03_set(delete).ml
KanataIZUMIKAWA/BasicOfOcaml
89322944ebd03cb42373d633199ec52fcecc9b2b
[ "MIT" ]
null
null
null
03_set(delete).ml
KanataIZUMIKAWA/BasicOfOcaml
89322944ebd03cb42373d633199ec52fcecc9b2b
[ "MIT" ]
null
null
null
type 'a set = 'a list;; (* let delete s x = let rec iter is x result = match is with hd::tl when (hd <> x) -> (iter tl x (result::hd)) | _ -> result in iter s x () ;; *)
19.1
57
0.497382
bc561c4abcc1bc0ab510f52b87499c27122171d2
48,594
ml
OCaml
src/parser/statement_parser.ml
thalesfsp/flow
0d5e954fcc631b3e0705b02d5305e0be65cec18e
[ "BSD-3-Clause" ]
null
null
null
src/parser/statement_parser.ml
thalesfsp/flow
0d5e954fcc631b3e0705b02d5305e0be65cec18e
[ "BSD-3-Clause" ]
2
2021-05-11T23:33:41.000Z
2022-03-28T18:43:26.000Z
src/parser/statement_parser.ml
thalesfsp/flow
0d5e954fcc631b3e0705b02d5305e0be65cec18e
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open T...
34.611111
95
0.597502
bc201913a28279e84014e2f5017b8119edcec344
100
mli
OCaml
bootstrap/src/basis/set.mli
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
bootstrap/src/basis/set.mli
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
bootstrap/src/basis/set.mli
jasone/Hemlock
39f3f981b2cb37246cdbb9b0e6c1f58f2ecbdaf9
[ "MIT" ]
null
null
null
(** Unordered set. *) type ('a, 'cmp) t include Set_intf.S with type ('a, 'cmp) t := ('a, 'cmp) t
16.666667
57
0.55
bc8f31e8a5f4be8679ba7b7388ef04342ade6915
3,595
ml
OCaml
infer/src/backend/callbacks.ml
sangwoo-joh/infer
598a4d5a5579a92bf51ee5cad5dbe5a36edfa2d0
[ "MIT" ]
null
null
null
infer/src/backend/callbacks.ml
sangwoo-joh/infer
598a4d5a5579a92bf51ee5cad5dbe5a36edfa2d0
[ "MIT" ]
null
null
null
infer/src/backend/callbacks.ml
sangwoo-joh/infer
598a4d5a5579a92bf51ee5cad5dbe5a36edfa2d0
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd (** Module to register and invoke callbacks *) type proc_callback_args = {get_procs_in_file: Procname.t -> Procname....
36.683673
102
0.713213
bca6f9f39b72efdfa6a1d16ab5d8c6eacf193f61
6,139
mli
OCaml
src/hack_forked/utils/hh_json/hh_json.mli
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/hack_forked/utils/hh_json/hh_json.mli
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/hack_forked/utils/hh_json/hh_json.mli
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "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. *) (* * Hh_json parsing and pretty printing library. *) type json = | JSON_Object of (string * json) list | JSON_Array of json ...
27.40625
87
0.651246
bc7083b74b7214d969f5f026e8e175458f70defb
230
mli
OCaml
hphp/hack/tools/hackificator/stubs/resign.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
2
2019-09-01T19:40:10.000Z
2019-10-18T13:30:30.000Z
hphp/hack/tools/hackificator/stubs/resign.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2018-12-16T15:39:15.000Z
2018-12-16T15:39:16.000Z
hphp/hack/tools/hackificator/stubs/resign.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2018-11-17T04:11:10.000Z
2018-11-17T04:11:10.000Z
(** * Copyright (c) 2014, 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 sign: string -> unit
20.909091
66
0.678261
bc855576a0063553b3ad0b5c221343fe882dc071
378
mli
OCaml
src/io_array.mli
CraigFe/index
5d32a9a495d0cf38986801317679892a15da17c9
[ "MIT" ]
null
null
null
src/io_array.mli
CraigFe/index
5d32a9a495d0cf38986801317679892a15da17c9
[ "MIT" ]
null
null
null
src/io_array.mli
CraigFe/index
5d32a9a495d0cf38986801317679892a15da17c9
[ "MIT" ]
null
null
null
module type ELT = sig type t val encoded_size : int val decode : Bytes.t -> int -> t end module type S = sig include Search.ARRAY type io val v : io -> t end (** Takes an IO instance and wraps it in an Array interface with support for prefetching sections of the array. *) module Make (IO : Io.S) (...
18
76
0.650794
bc8106a380600f0aa931d769e0be995f236bc2d2
8,411
ml
OCaml
hphp/hack/src/server/serverInitCommon.ml
henryr/hhvm
396d274612d6bb0acb22f35d5b0fb2b2288bd0fa
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverInitCommon.ml
henryr/hhvm
396d274612d6bb0acb22f35d5b0fb2b2288bd0fa
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverInitCommon.ml
henryr/hhvm
396d274612d6bb0acb22f35d5b0fb2b2288bd0fa
[ "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. * *) module Hack_bucket = Bucket open Hh_prelude module Bucket = Hack_bucket open ServerEnv let indexing ?hhi_filter ~(telemetry_l...
31.0369
86
0.666508
bc633cdedf17631466c9162f3e54b237d93df39f
526
ml
OCaml
sem1/wpf/cwiczenia/listopad/19/zad3.ml
abrams27/mimuw
ad8b01b63c05d7903aab29fd145845cf97ac32d9
[ "MIT" ]
3
2021-10-07T18:19:37.000Z
2021-10-07T19:02:14.000Z
sem1/wpf/cwiczenia/listopad/19/zad3.ml
abrams27/mimuw
ad8b01b63c05d7903aab29fd145845cf97ac32d9
[ "MIT" ]
null
null
null
sem1/wpf/cwiczenia/listopad/19/zad3.ml
abrams27/mimuw
ad8b01b63c05d7903aab29fd145845cf97ac32d9
[ "MIT" ]
3
2021-12-02T11:09:09.000Z
2022-01-25T21:31:23.000Z
open List;; let przedzial l r = let t = sort compare l in let pom c op lp ik lk max_p max_c = match lk with | [] -> max_c | hk::tk -> match lp with | hp::tp -> if hp < c - r then pom c (ip + 1) tp ik lk max_p max_c else if hk > c + r then pom (c + 1) ip lp ik lk max_p max_c ...
21.916667
45
0.496198
bc19f218d1a926f464c186c387a6a69d8d00e532
20,538
ml
OCaml
hphp/hack/src/typing/typing_utils.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_utils.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_utils.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Common open Typing_defs open Typing_env_types module SN = Naming_special_names module Reason = ...
29.59366
88
0.648992
bc9a6a139bb160d20f04156b71d693f1eb1228df
7,920
ml
OCaml
src/commands/statusCommands.ml
thecotne/flow
21f42d4baf26e637b82a8d266ad9fea85be740f8
[ "MIT" ]
null
null
null
src/commands/statusCommands.ml
thecotne/flow
21f42d4baf26e637b82a8d266ad9fea85be740f8
[ "MIT" ]
null
null
null
src/commands/statusCommands.ml
thecotne/flow
21f42d4baf26e637b82a8d266ad9fea85be740f8
[ "MIT" ]
1
2019-11-30T03:40:04.000Z
2019-11-30T03:40:04.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 CommandInfo open CommandUtils (***********************************************************************) (* flow status (repo...
33.138075
317
0.601389
444ce33b971b90c47f1d2cc74e2bce0783cba59d
2,228
mli
OCaml
infer/src/nullsafe/typeErr.mli
smorimoto/infer
374c09c6c7f16e039455fe23cb82ad9eab1094c8
[ "MIT" ]
1
2019-11-23T14:35:34.000Z
2019-11-23T14:35:34.000Z
infer/src/nullsafe/typeErr.mli
imbsky/infer
374c09c6c7f16e039455fe23cb82ad9eab1094c8
[ "MIT" ]
null
null
null
infer/src/nullsafe/typeErr.mli
imbsky/infer
374c09c6c7f16e039455fe23cb82ad9eab1094c8
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd (** Module for Type Error messages. *) module type InstrRefT = sig type t [@@deriving compare] val equal : t -> t...
25.906977
84
0.705117
bc94d0706dde2c3385de08110131153723cfb46a
447
ml
OCaml
bin/test.ml
SolarLiner/modulus
eda67839951d521742e95e0b5d793eeeca2e2b43
[ "MIT" ]
8
2021-06-24T16:35:08.000Z
2022-03-24T13:38:41.000Z
bin/test.ml
SolarLiner/modulus
eda67839951d521742e95e0b5d793eeeca2e2b43
[ "MIT" ]
1
2021-07-23T13:38:03.000Z
2021-07-23T13:38:03.000Z
bin/test.ml
SolarLiner/modulus
eda67839951d521742e95e0b5d793eeeca2e2b43
[ "MIT" ]
1
2021-07-22T16:33:44.000Z
2021-07-22T16:33:44.000Z
open Modulus_lib.Loop open Modulus_lib.Model let test_file sat f = let ctx = batch f in try if sat then assert (is_sat ctx.model) else assert (ctx.model = UNSAT) with _ -> failwith f let () = let dir_sat = "./examples/sat/" in let dir_unsat = "./examples/unsat/" in Array.iter (fun fn -> test_fil...
27.9375
81
0.675615
bc92b5b3f7a8a985050f57bbff6097ce1e68889b
357
mli
OCaml
src/common/transaction/transaction.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2019-07-30T15:59:45.000Z
2019-07-30T15:59:45.000Z
src/common/transaction/transaction.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
src/common/transaction/transaction.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2019-11-30T03:40:04.000Z
2019-11-30T03:40:04.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. *) type t val add : ?singleton:string -> commit:(unit -> unit Lwt.t) -> rollback:(unit -> unit Lwt.t) -> t -> unit val with_trans...
25.5
96
0.652661
44412ddd22829148911f4ac916a905ad7ae1398f
53,599
ml
OCaml
src/llvm/llast.ml
taquangtrung/discover
2ae5e07db51737c1c84fbd6b74297d03c2e91c29
[ "Apache-2.0" ]
9
2021-11-24T03:33:31.000Z
2022-01-06T03:57:06.000Z
src/llvm/llast.ml
taquangtrung/discover
2ae5e07db51737c1c84fbd6b74297d03c2e91c29
[ "Apache-2.0" ]
78
2021-11-01T06:55:39.000Z
2022-03-15T02:55:55.000Z
src/llvm/llast.ml
tnkhanh/discover-analyzer
1e4d2c3e6a202e794ba2690d7737e5647a2d0335
[ "Apache-2.0" ]
3
2021-11-24T03:33:34.000Z
2022-03-03T09:27:24.000Z
(******************************************************************** * This file is part of the source code analyzer Discover. * * Copyright (c) 2020-2022 Singapore Blockchain Innovation Programme. * All rights reserved. ********************************************************************) open Dcore module LL =...
27.529019
79
0.583817
bc9019359e010a61933b41c223e1398b59bda892
404
ml
OCaml
benchmarks/C/nat/sol352.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/nat/sol352.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/nat/sol352.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type nat = ZERO | SUCC of nat let rec realNum n = match n with | ZERO -> 0 | SUCC n2 -> 1 + realNum n2;; let rec natGen cont = match cont with | 0 -> ZERO | _ -> SUCC ( natGen (cont-1));; let natadd : nat -> nat -> nat = fun n1 n2 -> (*TODO*) natGen ((realNum n1)+(realNum n2));; let natmul : ...
18.363636
38
0.54703