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
afefdab1e0e5c0c6622ff60b0e5680905a0c0c56
208
mli
OCaml
libraries/s3/lib/putBucketNotification.mli
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/putBucketNotification.mli
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/putBucketNotification.mli
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
open Types type input = PutBucketNotificationRequest.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.714286
74
0.740385
d2e7139d2f22df01a794d41d9fec180764e84548
5,867
ml
OCaml
coq-serapi/sertop/sertop_arg.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq-serapi/sertop/sertop_arg.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq-serapi/sertop/sertop_arg.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* <O___,, * (see CREDITS file for the list of authors) *) (* \VV/ *********...
38.598684
100
0.585649
aff63b75729e969025b23a627d03a6f8c89f889c
454
ml
OCaml
bootstrap/test/basis/either/test_swap.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/test/basis/either/test_swap.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/test/basis/either/test_swap.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open! Basis.Rudiments open! Basis open Either let test () = let rec fn = function | [] -> () | either :: eithers' -> begin File.Fmt.stdout |> Fmt.fmt "swap " |> (pp Uns.pp Uns.pp) either |> Fmt.fmt " -> " |> (pp Uns.pp Uns.pp) (swap either) |> Fmt.fmt "\n" ...
17.461538
43
0.480176
afc834cf86074bb48c1c3cd40d25d4268bbae362
16,628
ml
OCaml
src_top/globals.ml
kaist-cp/rmem-persistency
c1a69466300442c4951862d8681775732e825a80
[ "BSD-2-Clause" ]
1
2022-02-13T21:26:28.000Z
2022-02-13T21:26:28.000Z
src_top/globals.ml
kaist-cp/rmem-persistency
c1a69466300442c4951862d8681775732e825a80
[ "BSD-2-Clause" ]
1
2021-03-31T08:07:04.000Z
2021-03-31T08:07:04.000Z
src_top/globals.ml
kaist-cp/rmem-persistency
c1a69466300442c4951862d8681775732e825a80
[ "BSD-2-Clause" ]
null
null
null
(*==================================================================================================*) (* *) (* rmem executable model *) (* ...
43.757895
180
0.520147
af28edc3ded706cd0abe769b9a0218aa007553b0
6,391
ml
OCaml
src/pattern.ml
lthms/coq-of-ocaml
594a3ddedfaa731e75cc85ced93fd3e9060b55ae
[ "MIT" ]
null
null
null
src/pattern.ml
lthms/coq-of-ocaml
594a3ddedfaa731e75cc85ced93fd3e9060b55ae
[ "MIT" ]
null
null
null
src/pattern.ml
lthms/coq-of-ocaml
594a3ddedfaa731e75cc85ced93fd3e9060b55ae
[ "MIT" ]
null
null
null
(** Patterns used for the "match". *) open Typedtree open SmartPrint open Monad.Notations type t = | Any | Constant of Constant.t | Variable of Name.t | Tuple of t list | Constructor of PathName.t * t list (** A constructor name and a list of pattern in arguments. *) | Alias of t * Name.t | Record of...
32.441624
96
0.612111
8a3a1e5090520fb1d5cb707272aa4ff5a6a35757
7,354
ml
OCaml
hphp/hack/src/server/serverFormat.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-17T02:24:38.000Z
2020-01-17T02:24:38.000Z
hphp/hack/src/server/serverFormat.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverFormat.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "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 Result.Monad_infix (* TODO t14922604: Further improve error handling *) let call_external_form...
37.520408
81
0.667936
f3dcd9351c0a1a5ac677a6962916b58580b16680
933
ml
OCaml
libraries/ec2/lib/deleteNetworkAclEntry.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/deleteNetworkAclEntry.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/deleteNetworkAclEntry.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal open Aws type input = DeleteNetworkAclEntryRequest.t type output = unit type error = Errors_internal.t let service = "ec2" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) (List.appen...
31.1
79
0.630225
f3cc07c0482634c5ad9e27cfa2d17a45931670b9
3,163
ml
OCaml
hphp/hack/src/hhbc/scope.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
1
2019-05-25T13:42:36.000Z
2019-05-25T13:42:36.000Z
hphp/hack/src/hhbc/scope.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/scope.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2019, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open Instruction_sequence open Iterator open Local (* Run emit () in a new unnamed local scope, wh...
35.539326
80
0.728739
af6f73d091381f28351274165cd1d4604b078b0a
550
ml
OCaml
duniverse/owl/src/owl/sparse/owl_sparse_ndarray_d.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
1
2019-11-17T23:16:15.000Z
2019-11-17T23:16:15.000Z
duniverse/owl/src/owl/sparse/owl_sparse_ndarray_d.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/owl/src/owl/sparse/owl_sparse_ndarray_d.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2019 Liang Wang <liang.wang@cl.cam.ac.uk> *) open Bigarray module M = Owl_sparse_ndarray_generic include M type elt = float type arr = (float, float64_elt) Owl_sparse_ndarray_generic.t (* overload functions in Owl_dense_ndarray_generic *)...
22
67
0.745455
8a100d9584d6ade0eec3e49965859d24c0987461
5,253
ml
OCaml
infer/src/quandary/quandaryBO.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
1
2019-09-11T13:16:25.000Z
2019-09-11T13:16:25.000Z
infer/src/quandary/quandaryBO.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
null
null
null
infer/src/quandary/quandaryBO.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "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 let update_issues all_issues = let quandary_access_issues = [IssueType.untrusted_buffer_access] in let quandary_all...
40.72093
99
0.721873
af7920c350a451e8c8d873257f8c50a988507bb0
2,852
ml
OCaml
src/kernel/decl.ml
groupoid/anders
a096a1cdf972026ab638255a0210179e8b326d2f
[ "0BSD" ]
115
2021-06-05T11:47:07.000Z
2022-03-16T08:12:33.000Z
src/kernel/decl.ml
groupoid/tt
c58c54c5640b03b4cd5cf2b3e585a1dbed1416d3
[ "0BSD" ]
null
null
null
src/kernel/decl.ml
groupoid/tt
c58c54c5640b03b4cd5cf2b3e585a1dbed1416d3
[ "0BSD" ]
6
2021-06-08T15:07:48.000Z
2022-02-28T12:25:35.000Z
open Module open Check open Error open Ident open Expr open Elab let ext x = x ^ ".anders" type state = ctx * Files.t let empty : state = (Env.empty, Files.empty) let plugExt x = x ^ ".cmxs" type plug = string -> exp -> string -> exp let plugin : (plug option) ref = ref None let getDeclName : decl -> string = func...
34.361446
93
0.626227
af9e8e7b044cea3880efefacbd0d767b59a6ece8
719
ml
OCaml
data/fa15_min/2667.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15_min/2667.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/2667.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec wwhile (f,b) = let (b',c') = f b in if c' then wwhile (f, b') else b';; let fixpoint (f,b) = let helper b = let fb = f b in if fb = b then (true, fb) else (false, fb) in wwhile ((helper b), b);; (* fix let rec wwhile (f,b) = let (b',c') = f b in if c' then wwhile (f, b') else b';; let fixpoint (f,b) =...
16.340909
79
0.514604
afab9cafb7a76f2e52c097b094f3e98169035123
1,757
ml
OCaml
test/experiments/ptest_let_pipe.ml
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
5
2017-08-07T12:53:16.000Z
2021-07-29T02:40:19.000Z
test/experiments/ptest_let_pipe.ml
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
null
null
null
test/experiments/ptest_let_pipe.ml
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
2
2017-08-07T12:53:20.000Z
2018-06-15T15:28:45.000Z
(* Performance test to check if a series of let constructs are faster then using pipe with a record state It quite much slower to do parameter passing using records instead of using currying. Conclusion: It is not much slower to use records and pipes. No real reason not using it. Execute the program using the foll...
20.195402
102
0.589641
8a1b2999099aa30811b3fe6aba91c9f4d6a9e400
410
mli
OCaml
src/xdg/xdg.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
4
2020-02-04T15:33:29.000Z
2020-02-04T21:37:09.000Z
src/xdg/xdg.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/xdg/xdg.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
(** Implement the XDG specification http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html *) (** The directory where the application should read/write config files. *) val config_dir : string (** The directory where the application should read/write data files. *) val data_dir : string (** The ...
31.538462
77
0.756098
af02aa835c57560868653c036f3bae496a8e5b36
3,467
mli
OCaml
src/browse.mli
MarcWeber/merlin
2dbad93fcc63eff70c29d937fb67c1645deee05b
[ "MIT" ]
1
2016-05-13T14:47:59.000Z
2016-05-13T14:47:59.000Z
src/browse.mli
MarcWeber/merlin
2dbad93fcc63eff70c29d937fb67c1645deee05b
[ "MIT" ]
null
null
null
src/browse.mli
MarcWeber/merlin
2dbad93fcc63eff70c29d937fb67c1645deee05b
[ "MIT" ]
null
null
null
(* {{{ COPYING *( This file is part of Merlin, an helper for ocaml editors Copyright (C) 2013 Frédéric Bour <frederic.bour(_)lakaban.net> Thomas Refis <refis.thomas(_)gmail.com> Simon Castellan <simon.castellan(_)iuwt.fr> Permission is hereby granted, free of cha...
40.313953
79
0.723969
af86d7d4ebf9fe90247b598e3843d6720acc5668
2,258
ml
OCaml
lib/bio/hisat2.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
44
2016-01-21T20:34:10.000Z
2021-04-30T00:21:34.000Z
lib/bio/hisat2.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
37
2016-01-31T12:00:13.000Z
2021-11-13T21:58:41.000Z
lib/bio/hisat2.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
11
2016-07-07T14:43:17.000Z
2022-03-29T00:30:31.000Z
open Core_kernel open Bistro open Bistro.Shell_dsl let img = [ docker_image ~account:"pveber" ~name:"hisat2" ~tag:"2.1.0" () ] let hisat2_build ?large_index ?noauto ?packed ?bmax ?bmaxdivn ?dcv ?nodc ?noref ?justref ?offrate ?ftabchars ?seed ?cutoff fa = Workflow.shell ~descr:"hisat2-build" ~img ~mem:(Workflow.int ...
34.212121
127
0.590345
8a4f7cb83fdfe5add2c21b7508d101dc09ee4061
3,898
ml
OCaml
data/sp14/3294.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/3294.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/3294.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = if n > 0 then x :: (clone x (n - 1)) else [];; let padZero l1 l2 = if (List.length l1) < (List.length l2) then ((List.append (clone 0 ((List.length l2) - (List.length l1))) l1), l2) else (l1, (List.append (clone 0 ((List.length l1) - (List.length l2))) l2));; let rec removeZero l = match ...
17.963134
79
0.497178
8a027b9ba9d1c3c164dc66d9a338e935dd0df493
7,635
ml
OCaml
data/derived/comb/progs/unify/prog4802.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/prog4802.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4802.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.237113
148
0.675966
af97fa442958cda5185e124e33c4303493faf86a
14,059
ml
OCaml
server/protocol.ml
MedRedha/pyre-check
1e1aaceb1bfd98de5fabe67d3839e20e5ed0cd31
[ "MIT" ]
1
2019-12-31T01:08:13.000Z
2019-12-31T01:08:13.000Z
server/protocol.ml
MedRedha/pyre-check
1e1aaceb1bfd98de5fabe67d3839e20e5ed0cd31
[ "MIT" ]
null
null
null
server/protocol.ml
MedRedha/pyre-check
1e1aaceb1bfd98de5fabe67d3839e20e5ed0cd31
[ "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 Analysis open Pyre module CompletionRequest = struct type t = { id: LanguageServer.Types.RequestId.t; path...
31.879819
100
0.636318
af13fbd838e4d6550f03018e3879210df5ccd3e6
10,590
ml
OCaml
duniverse/owl/test/unit_linalg.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/owl/test/unit_linalg.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/owl/test/unit_linalg.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(** Unit test for Owl_linalg module *) open Owl module M = Owl.Linalg.D (* define the test error *) let approx_equal a b = let eps = 1e-6 in Pervasives.(abs_float (a -. b) < eps) (* some test input *) let x0 = Mat.sequential ~a:1. 1 6 let x1 = Mat.sequential ~a:1. 3 3 (* a module with functions to test *)...
25.955882
73
0.599056
8a618b8c16782467e1382d8bd6da70bd91aa8825
1,839
ml
OCaml
test/suite/terms.ml
pascutto/ortac
783b5447d5c540f6256f08dcc186f79225db9604
[ "MIT" ]
5
2021-05-04T16:49:44.000Z
2021-11-22T16:46:59.000Z
test/suite/terms.ml
pascutto/ortac
783b5447d5c540f6256f08dcc186f79225db9604
[ "MIT" ]
6
2021-11-04T11:24:31.000Z
2022-03-29T18:46:21.000Z
test/suite/terms.ml
pascutto/ortac
783b5447d5c540f6256f08dcc186f79225db9604
[ "MIT" ]
1
2021-03-09T07:43:41.000Z
2021-03-09T07:43:41.000Z
open Terms__Lib_rtac open Common let bool_ops () = check_success "lazy bool no exception" (fun () -> lazy_bool 42 |> ignore); check_raises_ortac "not lazy bool or" (fun () -> not_lazy_or 42 |> ignore); check_raises_ortac "not lazy bool and" (fun () -> not_lazy_and 42 |> ignore) let scopes () = check_success "...
37.530612
81
0.618815
af1a678bcd0b302964bbc2c806ad0686a74a5ce4
3,698
mli
OCaml
src/lib_shell/prevalidation.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_shell/prevalidation.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_shell/prevalidation.mli
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
43.505882
81
0.584911
f3f0c881a65d91c0f87236577ffc9c53ff8b371f
738
ml
OCaml
protocol/check_cached_feature_attributes.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
protocol/check_cached_feature_attributes.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
protocol/check_cached_feature_attributes.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
module Stable = struct open! Import_stable module Action = struct module V1 = struct type t = { which_features : Which_features.V1.t ; ignore_diffs_in_errors : bool } [@@deriving bin_io, fields, sexp] let%expect_test _ = print_endline [%bin_digest: t]...
21.085714
61
0.631436
8a071a099b83352571599ba24c66666f2a0f2004
11,984
ml
OCaml
external/fixpoint/toImp.ml
csgordon/liquid-fixpoint-snapshot
df458ae4bd107f0822c1af022d094fe92e6e596c
[ "BSD-3-Clause" ]
null
null
null
external/fixpoint/toImp.ml
csgordon/liquid-fixpoint-snapshot
df458ae4bd107f0822c1af022d094fe92e6e596c
[ "BSD-3-Clause" ]
null
null
null
external/fixpoint/toImp.ml
csgordon/liquid-fixpoint-snapshot
df458ae4bd107f0822c1af022d094fe92e6e596c
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright © 2009 The Regents of the University of California. All rights reserved. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any purpose, provided that the * above copyr...
31.454068
90
0.5877
f329953d534d0051046d49d01595e2f095991be0
30,479
ml
OCaml
src/ocaml/typing/403/untypeast.ml
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
src/ocaml/typing/403/untypeast.ml
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
src/ocaml/typing/403/untypeast.ml
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* Thomas...
37.628395
80
0.633813
8a3a566d42e7f7d43683f78c8b7432d4642686b2
23,695
ml
OCaml
src/irmin-unix/cli.ml
kit-ty-kate/irmin
426e2590abeed5f283ee71840e19fd4039a1d060
[ "ISC" ]
null
null
null
src/irmin-unix/cli.ml
kit-ty-kate/irmin
426e2590abeed5f283ee71840e19fd4039a1d060
[ "ISC" ]
1
2021-12-07T13:01:28.000Z
2021-12-07T13:01:28.000Z
src/irmin-unix/cli.ml
kit-ty-kate/irmin
426e2590abeed5f283ee71840e19fd4039a1d060
[ "ISC" ]
null
null
null
(* * Copyright (c) 2013-2017 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 PROVIDE...
31.055046
81
0.481536
8a23bd55bbb84d4e2282862b076c071bb0f265ef
1,310
ml
OCaml
plugins/x86/x86_tools.ml
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
plugins/x86/x86_tools.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
plugins/x86/x86_tools.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
open Core_kernel open Bap.Std open X86_tools_types module type S = X86_tools_types.S module Make (CPU : X86CPU) : S = struct module RR = X86_tools_reg.Make (CPU) module FR = X86_tools_flags.Make (CPU) module IM = X86_tools_imm module MM = X86_tools_mem.Make (CPU) (RR) (IM) module IV = X86_tools_vector mod...
20.153846
50
0.619847
f390de95b52ae5760d07411068bc8d86f1056648
1,011
mli
OCaml
hphp/hack/src/server/cstSearchService.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-03T16:16:53.000Z
2021-08-03T16:16:53.000Z
hphp/hack/src/server/cstSearchService.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/cstSearchService.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "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. * *) type pattern type result val compile_pattern: Hh_json.json -> (pattern, string) Core_result.t (** Compile JSON inp...
28.885714
80
0.727003
af876f2354a262a5a114dc9519840c2409e386e3
923
ml
OCaml
libraries/cloudformation/lib/deleteChangeSet.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/cloudformation/lib/deleteChangeSet.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/cloudformation/lib/deleteChangeSet.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = DeleteChangeSetInput.t type output = unit type error = Errors_internal.t let service = "cloudformation" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service r...
23.666667
87
0.646804
f30534f07001b848592dd34bd07597389ede350c
1,012
ml
OCaml
opium/lib/debug.ml
Voronar/opium
6bd9ada9adac57a39e6fe410afebf52cc789cd53
[ "MIT" ]
null
null
null
opium/lib/debug.ml
Voronar/opium
6bd9ada9adac57a39e6fe410afebf52cc789cd53
[ "MIT" ]
null
null
null
opium/lib/debug.ml
Voronar/opium
6bd9ada9adac57a39e6fe410afebf52cc789cd53
[ "MIT" ]
null
null
null
open Lwt.Infix open Rock let exn_ e = Logs.err (fun f -> f "%s" (Printexc.to_string e)) let log_src = Logs.Src.create "opium.server" let format_error req _exn = Printf.sprintf "\n\ <html>\n\ \ <body>\n\ \ <div id=\"request\"><pre>%s</pre></div>\n\ \ <div id=\"error\"><pre>%s</pre></div>\n\ ...
24.682927
73
0.603755
d2fd9f05031c7e109ed4f18968c614050567fc28
1,172
ml
OCaml
src/path_dune_lang.ml
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
null
null
null
src/path_dune_lang.ml
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
null
null
null
src/path_dune_lang.ml
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
null
null
null
open Stdune open Path type t = Path.t let encode p = let arg = match Internal.raw_kind p with | Kind.External l -> External.to_string l | Kind.Local l -> Local.to_string l in let make constr = Dune_lang.List [ Dune_lang.atom constr ; Dune_lang.atom_or_quoted_string arg ...
22.980392
69
0.645904
8a5c0fa3d62bd8b56bf5156a420f5a4d1265e93d
4,338
mli
OCaml
analysis/analysisError.mli
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
1
2019-05-07T15:03:58.000Z
2019-05-07T15:03:58.000Z
analysis/analysisError.mli
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
null
null
null
analysis/analysisError.mli
DavidAlphaFox/pyre-check
d12152612f00fbc8af2b3c06d555908e52546381
[ "MIT" ]
null
null
null
(** Copyright (c) 2016-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open Ast open Expression type origin = | Class of { annotation: Type.t; class_attribute: bool } | Module of Access.t [@@deriving compa...
32.863636
99
0.727755
8a2f14d89facad7a35b879b469818e3f3122566b
3,863
ml
OCaml
vendor/core_kernel/flags/src/flags.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core_kernel/flags/src/flags.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core_kernel/flags/src/flags.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 Poly include Flags_intf let create ~bit:n = if n < 0 || n > 62 then failwiths ~here:[%here] "Flags.create got invalid ~bit (must be between 0 and 62)" n [%sexp_of: int]; Int63.shift_left Int63.one n ;; module Make (M : Make_arg) = struct type t = Int63.t [@@d...
30.904
92
0.603676
8a49de57531d9bb48dd264b5f0cc1ddf3145f15e
1,072
ml
OCaml
data/fa15_min/1011.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/1011.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/1011.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let removeDuplicates l = let rec helper (seen,rest) = match rest with | [] -> seen | h::t -> let x = List.mem h seen in if x then helper (seen, t) else (let seen' = seen :: h in let rest' = t in helper (seen', rest')) in helper ([], l);; (* fix let rec appen...
17.866667
78
0.487873
af4496be87022060943ff61839414b7b85222bb4
26,297
ml
OCaml
src/frontend/Ast_to_Mir.ml
bstatcomp/stanc3
9031e932016b8c2a5ee9f861f420f8698eeee216
[ "BSD-3-Clause" ]
null
null
null
src/frontend/Ast_to_Mir.ml
bstatcomp/stanc3
9031e932016b8c2a5ee9f861f420f8698eeee216
[ "BSD-3-Clause" ]
1
2020-02-07T06:51:17.000Z
2020-02-07T06:51:17.000Z
src/frontend/Ast_to_Mir.ml
bstatcomp/stanc3
9031e932016b8c2a5ee9f861f420f8698eeee216
[ "BSD-3-Clause" ]
null
null
null
open Core_kernel open Middle (* XXX fix exn *) let unwrap_return_exn = function | Some (UnsizedType.ReturnType ut) -> ut | x -> raise_s [%message "Unexpected return type " (x : UnsizedType.returntype option)] let trans_fn_kind = function | Ast.StanLib -> Fun_kind.StanLib | UserDefined ...
34.510499
81
0.626003
af9f73a789f36f8d1422632da7d5499d0c155010
75,630
ml
OCaml
analysis/typeOrder.ml
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "MIT" ]
1
2020-08-12T14:33:46.000Z
2020-08-12T14:33:46.000Z
analysis/typeOrder.ml
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "MIT" ]
null
null
null
analysis/typeOrder.ml
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "MIT" ]
null
null
null
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open Ast open Pyre module Callable = Type.Callable module ProtocolAssumptions : sig type t val find_assumed_protocol_paramete...
45.947752
101
0.563467
8a24500d570f06a69376485f815e16a675e3a6ba
2,724
ml
OCaml
examples/key_value_store.ml
commonlisp/async
cd0679781516b356cfcb73e054b4e295f5373e71
[ "Apache-2.0" ]
null
null
null
examples/key_value_store.ml
commonlisp/async
cd0679781516b356cfcb73e054b4e295f5373e71
[ "Apache-2.0" ]
null
null
null
examples/key_value_store.ml
commonlisp/async
cd0679781516b356cfcb73e054b4e295f5373e71
[ "Apache-2.0" ]
null
null
null
open Core.Std open Async.Std module Protocol = struct module Client_message = struct type t = Req_help | Req_add of string * string | Req_find of string | Req_remove of string | Req_invalid with sexp let from_raw msg = match String.split msg ~on:' ' with...
26.970297
87
0.549192
8a6a1201cc12cfab9e5537a3d43f1d62e3090da8
22,997
ml
OCaml
src/dune/super_context.ml
reubenrowe/dune
b398913dd39bf8a49949408e4d4d021d0286194c
[ "MIT" ]
null
null
null
src/dune/super_context.ml
reubenrowe/dune
b398913dd39bf8a49949408e4d4d021d0286194c
[ "MIT" ]
null
null
null
src/dune/super_context.ml
reubenrowe/dune
b398913dd39bf8a49949408e4d4d021d0286194c
[ "MIT" ]
null
null
null
open! Stdune open Import let default_context_flags (ctx : Context.t) = let c = Ocaml_config.ocamlc_cflags ctx.ocaml_config in let cxx = List.filter c ~f:(fun s -> not (String.is_prefix s ~prefix:"-std=")) in Foreign.Language.Dict.make ~c ~cxx module Env_tree : sig type t val get_node : t -> dir:Path....
34.120178
80
0.641431
af6fae0540c4d6defb1832e39069694e1c229553
16,608
ml
OCaml
src/proto_002_PsYLVpVv/lib_client/operation_result.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_002_PsYLVpVv/lib_client/operation_result.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_002_PsYLVpVv/lib_client/operation_result.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
33.619433
80
0.557623
8a12c2f1af3676aac5ccc613e6c132700a0a6d61
45,665
ml
OCaml
analysis/test/integration/annotationTest.ml
thatch/pyre-check
31278b71081ec3a3636f0d94da91dc0e4273ece9
[ "MIT" ]
null
null
null
analysis/test/integration/annotationTest.ml
thatch/pyre-check
31278b71081ec3a3636f0d94da91dc0e4273ece9
[ "MIT" ]
null
null
null
analysis/test/integration/annotationTest.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 OUnit2 open IntegrationTest let test_check_undefined_type context = let assert_type_errors = assert_type_errors ~context in let ass...
28.345748
102
0.571838
8a57bd59d858bed7cdb7badfdd24933f0d10da33
8,680
ml
OCaml
fpat/refTyp.ml
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
32
2019-10-30T10:09:56.000Z
2022-03-28T07:15:04.000Z
fpat/refTyp.ml
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
1
2021-04-14T19:19:15.000Z
2021-04-15T02:03:56.000Z
fpat/refTyp.ml
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
5
2019-11-08T07:49:00.000Z
2022-03-01T18:09:57.000Z
open Util open Combinator (** Refinement types *) type t = | Base of Idnt.t * Type.t * Formula.t | Fun of Idnt.t * t * t * (Idnt.t * Formula.t) (** {6 Printers} *) let rec pr_bind ppf (x, rty) = Format.fprintf ppf "(%a : %a)" Idnt.pr x pr rty and pr ppf rty = match rty with | Base(x, ty, t) -> Format.fp...
28.459016
79
0.565899
8a4dd0d6793db4a362861962db0a81c17e50009c
17,741
ml
OCaml
src/irmin-pack/layered/layered_store.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
1,491
2015-01-04T05:34:56.000Z
2022-03-31T09:53:17.000Z
src/irmin-pack/layered/layered_store.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
1,132
2015-01-05T17:06:31.000Z
2022-03-30T19:56:47.000Z
src/irmin-pack/layered/layered_store.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
144
2015-01-30T14:00:16.000Z
2022-03-29T16:30:47.000Z
(* * 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" AN...
33.285178
91
0.623866
afae207d9c7abb64d44a26b3f3572411d4845691
722
ml
OCaml
duniverse/base/src/unit.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
1
2019-09-11T00:04:16.000Z
2019-09-11T00:04:16.000Z
duniverse/base/src/unit.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/base/src/unit.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
open! Import module T = struct type t = unit [@@deriving_inline enumerate, hash, sexp] let all : t list = [()] let (hash_fold_t : Ppx_hash_lib.Std.Hash.state -> t -> Ppx_hash_lib.Std.Hash.state) = hash_fold_unit and (hash : t -> Ppx_hash_lib.Std.Hash.hash_value) = let func = hash_unit in fun x...
24.066667
75
0.638504
afeb14e8476b81ee33a8bf3963db35a26adc89be
14,229
mli
OCaml
src/runtime/pbrt.mli
baransu/ocaml-protoc
344727cdf043356e02f930e5a1ce23b0e146e295
[ "MIT" ]
8
2018-11-16T04:52:22.000Z
2019-10-23T05:04:18.000Z
src/runtime/pbrt.mli
baransu/ocaml-protoc
344727cdf043356e02f930e5a1ce23b0e146e295
[ "MIT" ]
1
2019-05-16T10:04:43.000Z
2019-05-31T08:24:31.000Z
src/runtime/pbrt.mli
baransu/ocaml-protoc
344727cdf043356e02f930e5a1ce23b0e146e295
[ "MIT" ]
1
2019-03-13T06:14:38.000Z
2019-03-13T06:14:38.000Z
(* Copyright (c) 2014 Peter Zotov <whitequark@whitequark.org> Copyright (c) 2016 Maxime Ransan <maxime.ransan@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restricti...
33.323185
82
0.640523
f36fa000acfbc1ff21328870616f160c3ab46246
18
ml
OCaml
data/derived/comb/progs/unify/prog0364.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/prog0364.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0364.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let _ = tan 10;;
6
16
0.5
af8d1e82c4da18fe42721014fb08ee5cfc92a60a
2,928
ml
OCaml
src/lib/transition_frontier/extensions/ledger_table.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/transition_frontier/extensions/ledger_table.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/transition_frontier/extensions/ledger_table.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Mina_base open Frontier_base (* WARNING: don't use this code until @nholland has landed a PR that synchronize the read/write of transition frontier *) module T = struct (* a pair of hash tables the first maps ledger hashes to ledgers the second maps ledger hashes to reference cou...
34.046512
75
0.623634
af291701d4afcc8c4299dd04b2fb01eca6cb08b4
8,053
ml
OCaml
src/lib/coda_base/pending_coinbase_intf.ml
acoglio/coda
f6a4bda2f3ce93ebfe426891411e06539c44a5f2
[ "Apache-2.0" ]
2
2020-11-14T20:16:02.000Z
2021-08-19T12:44:52.000Z
src/lib/coda_base/pending_coinbase_intf.ml
acoglio/coda
f6a4bda2f3ce93ebfe426891411e06539c44a5f2
[ "Apache-2.0" ]
11
2021-09-02T10:10:36.000Z
2022-02-27T08:56:41.000Z
src/lib/coda_base/pending_coinbase_intf.ml
acoglio/coda
f6a4bda2f3ce93ebfe426891411e06539c44a5f2
[ "Apache-2.0" ]
null
null
null
(** Pending_coinbase is to keep track of all the coinbase transactions that have been applied to the ledger but for which there is no ledger proof yet. Every ledger proof corresponds to a sequence of coinbase transactions which is part of all the transactions it proves. Each of these sequences[Stack] are stored using t...
27.391156
610
0.639886
d2fc33dc3fe78f0584febcd838006fad06a7d7e8
6,172
ml
OCaml
src/lib_lwt_result_stdlib/traced/sigs/trace.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/lib_lwt_result_stdlib/traced/sigs/trace.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/lib_lwt_result_stdlib/traced/sigs/trace.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
50.178862
80
0.611309
8a56c035a37e14f9d0266c5cc7ebb4fafc97d04c
667
ml
OCaml
data/sp14/0996.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0996.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0996.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let pipe fs = let f a x = x a in let base = fs in List.fold_left f base fs;; (* fix let pipe fs = let f a x x a = a in let base p = p in List.fold_left f base fs;; *) (* changed spans (2,26)-(2,27) (2,26)-(2,29) (2,28)-(2,29) (2,44)-(2,46) (2,50)-(2,74) *) (* type error slice (2,14)-(2,74) (2,20)-(2,29) (2,22)-(...
13.34
79
0.484258
afa7ad95b6da3066a34df40f31d79286c27afe0b
2,437
mli
OCaml
src/lib_base/distributed_db_version.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
1
2021-11-03T08:21:08.000Z
2021-11-03T08:21:08.000Z
src/lib_base/distributed_db_version.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/lib_base/distributed_db_version.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
4
2021-04-27T15:00:34.000Z
2021-09-26T21:50:01.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
47.784314
79
0.50554
8a58d78c925f0d2c49edf78c5986a038d9309e4e
44,059
ml
OCaml
src/proto_009_PsFLoren/lib_client/client_proto_multisig.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_009_PsFLoren/lib_client/client_proto_multisig.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_009_PsFLoren/lib_client/client_proto_multisig.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2019-2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
35.966531
126
0.627772
af4df6ee42647498beee861d33d9fcad4ecd25e6
862
ml
OCaml
data/derived/comb/progs/unify/prog8649.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/prog3865.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3865.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = if (List.length l1) = (List.length l2) then (l1, l2) else if (List.length l1) < (List.length l2) then (((clone 0 ((List.length l2) - (List.length l1))) @ l1), l2) else (l1, ((clone 0 ((List.length l1) - (List.len...
31.925926
77
0.512761
8a0093b1315af263f99089679f6c44212461a0bb
4,534
ml
OCaml
SpocLibs/Samples/Compose/IteratePower.ml
mathiasbourgoin/SPOC
901b5dbbd2a8117e0eca51b83b6387ff24fcd0a8
[ "CECILL-B" ]
92
2015-01-11T13:07:20.000Z
2021-12-23T11:22:14.000Z
SpocLibs/Samples/Compose/IteratePower.ml
mathiasbourgoin/SPOC
901b5dbbd2a8117e0eca51b83b6387ff24fcd0a8
[ "CECILL-B" ]
17
2016-06-15T15:17:50.000Z
2022-03-05T09:50:00.000Z
SpocLibs/Samples/Compose/IteratePower.ml
mathiasbourgoin/SPOC
901b5dbbd2a8117e0eca51b83b6387ff24fcd0a8
[ "CECILL-B" ]
9
2016-03-29T06:39:27.000Z
2019-10-03T06:02:28.000Z
(* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. ...
26.057471
317
0.525805
8a566f593751d8e5f82248d0d4c4f6773d3721bf
345
ml
OCaml
src/apronPrecCompare.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
null
null
null
src/apronPrecCompare.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
7
2022-02-23T17:37:19.000Z
2022-03-30T16:23:06.000Z
src/apronPrecCompare.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
null
null
null
(* Utility program to compare precision of results of the apron analysis with different privatizations and/or differents apron domains *) (* The result files that can be compared here may be created by passing an output file name in "exp.apron.prec-dump" to Goblint *) module B = PrecCompare.MakeDump (ApronPrecCompareUt...
57.5
137
0.771014
aff912f3233168cbd294716a08906d2e51917c56
15,880
ml
OCaml
bootstrap.ml
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
bootstrap.ml
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
bootstrap.ml
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
[@@@ocaml.warning "-40"] (* This module is here to build a version of Dune that is capable of * building itself. It accomplishes this by concatenating all its source files * into a single .ml file and simply compiling it. The source code of the * vendored libraries are omitted, being replaced by stubs, just to spee...
27.474048
92
0.549244
8a3e979377f276640205e413737ecc96242de2c5
3,862
ml
OCaml
data/fa15/2732.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2732.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2732.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = if n > 0 then [x] @ (clone x (n - 1)) else [];; let padZero l1 l2 = let len1 = List.length l1 in let len2 = List.length l2 in if len1 > len2 then (l1, ((clone 0 (len1 - len2)) @ l2)) else (((clone 0 (len2 - len1)) @ l1), l2);; let rec removeZero l = match l with | [] -> [] | h::t -> i...
17.634703
77
0.486277
8a6a32dad16161a481f093255b639cc7dc75eff0
42,932
mli
OCaml
tezt/lib_tezos/client.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
tezt/lib_tezos/client.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
tezt/lib_tezos/client.mli
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs <contact@nomadic-labs.com> *) ...
30.665714
158
0.666077
af1519df08cc0cb0e8a7cd41983063ff8903106b
562,795
ml
OCaml
src/typing/flow_js.ml
malectro/flow
73e5f6d206792dc8aa358c4dc5739d68811bb4b7
[ "MIT" ]
null
null
null
src/typing/flow_js.ml
malectro/flow
73e5f6d206792dc8aa358c4dc5739d68811bb4b7
[ "MIT" ]
null
null
null
src/typing/flow_js.ml
malectro/flow
73e5f6d206792dc8aa358c4dc5739d68811bb4b7
[ "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. *) (* This module describes the subtyping algorithm that forms the core of typechecking. The algorithm (in its basic form) is descr...
45.342813
130
0.570094
afbbca9e9d0d05e9daaa70e2e865a2a40fcef47b
5,097
ml
OCaml
src/lib/snarkette/mnt6_80.ml
vitaliel/coda
2e59cbb5b5fbadfdf98d6b1c03e7711ccd47a144
[ "Apache-2.0" ]
null
null
null
src/lib/snarkette/mnt6_80.ml
vitaliel/coda
2e59cbb5b5fbadfdf98d6b1c03e7711ccd47a144
[ "Apache-2.0" ]
null
null
null
src/lib/snarkette/mnt6_80.ml
vitaliel/coda
2e59cbb5b5fbadfdf98d6b1c03e7711ccd47a144
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Fields module N = Nat module Fq = Make_fp (N) (struct let order = N.of_string "475922286169261325753349249653048451545124878552823515553267735739164647307408490559963137" end) let non_residue = Fq.of_int 5 module Fq3 = struct module Params = struct le...
30.704819
457
0.729645
8a0c6b401ba070be331d4ad74d047efb24ee4e09
369
mli
OCaml
interfaces/4.08/uchar.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
23
2017-11-16T10:01:56.000Z
2021-06-23T08:44:44.000Z
interfaces/4.08/uchar.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
15
2018-04-21T13:49:52.000Z
2022-02-16T11:19:38.000Z
interfaces/4.08/uchar.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
8
2018-04-23T18:10:00.000Z
2021-12-14T14:31:22.000Z
type t val min : t val max : t val bom : t val rep : t val succ : t -> t val pred : t -> t val is_valid : int -> bool val of_int : int -> t val unsafe_of_int : int -> t val to_int : t -> int val is_char : t -> bool val of_char : char -> t val to_char : t -> char val unsafe_to_char : t -> char val equal : t -> t -> bool...
19.421053
30
0.601626
f3b3d17201f1837f87cb4b112a3143acaac88edd
1,510
ml
OCaml
benchmarks/C/diff/sol180.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/diff/sol180.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/diff/sol180.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(* problem 4*) type aexp = | Const of int | Var of string | Power of string * int | Times of aexp list | Sum of aexp list let rec simplifier f = let res = begin match f with |Times l->if List.exists (fun x->if x=Const 0 then true else false) l then Const 0 else begin match l with |[]->Times []...
31.458333
84
0.55894
8a3ef093ed429d19d3a6daff3be4e227459935c7
1,949
ml
OCaml
src/executable.ml
Drup/adtr
a2d1cb8473522a52e475fd1261892cf363f215aa
[ "0BSD" ]
11
2022-02-21T17:09:10.000Z
2022-02-22T16:51:36.000Z
src/executable.ml
Drup/adtr
a2d1cb8473522a52e475fd1261892cf363f215aa
[ "0BSD" ]
null
null
null
src/executable.ml
Drup/adtr
a2d1cb8473522a52e475fd1261892cf363f215aa
[ "0BSD" ]
null
null
null
include Peahell.Make(struct let name = "adt4hpc" type input = Syntax.program let show_depgraph = ref false let options = [ "--depgraph", Arg.Set show_depgraph, "Show the dependency graph. Requires xdot to be available." ] type environment = Types.Env.t let initial_environment = Typ...
34.192982
102
0.56234
afc43d302d510768d39b03d9c65a5ed889916189
4,135
ml
OCaml
src/passes/09.5-inference/database_plugins/typeclasses_using_as_function_on_root.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
null
null
null
src/passes/09.5-inference/database_plugins/typeclasses_using_as_function_on_root.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
null
null
null
src/passes/09.5-inference/database_plugins/typeclasses_using_as_function_on_root.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
null
null
null
open Solver_types module M = functor (Type_variable : sig type t end) (Type_variable_abstraction : TYPE_VARIABLE_ABSTRACTION(Type_variable).S) -> struct open Type_variable_abstraction open Type_variable_abstraction.Types open UnionFind type 'typeVariable t = ('typeVariable, c_typeclass_simpl MultiSet.t) R...
43.072917
190
0.703265
8a01389ccb8b2c1a11c1a5a0b8128abb8e2bc911
4,298
ml
OCaml
tests/lib-bigarray/fftba.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
1
2016-05-17T14:29:13.000Z
2016-05-17T14:29:13.000Z
tests/lib-bigarray/fftba.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
tests/lib-bigarray/fftba.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
open Bigarray let pi = 3.14159265358979323846 let tpi = 2.0 *. pi let fft (px : (float, float64_elt, c_layout) Array1.t) (py : (float, float64_elt, c_layout) Array1.t) np = let i = ref 2 in let m = ref 1 in while (!i < np) do i := !i + !i; m := !m + 1 done; let n = !i in if n <> np the...
23.486339
75
0.422522
8a4ef20ce7ea68ee3e6d0ba729292bfd70453477
746
mli
OCaml
src/stabilization_num.mli
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
48
2016-03-10T10:48:05.000Z
2021-12-17T03:01:55.000Z
src/stabilization_num.mli
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
null
null
null
src/stabilization_num.mli
janestreet/incremental_kernel
b84ea98a598bdd68b3846f1ecb3acc778d97e900
[ "MIT" ]
8
2017-03-31T15:48:19.000Z
2021-12-17T03:02:50.000Z
(** A module internal to Incremental. Users should see {!Incremental_intf}. A stabilization number is an int that corresponds to one round of stabilization (think of a round as running from the end of one stabilization to the end of the next stabilization). Stabilization numbers are used to detect whethe...
26.642857
90
0.69571
8a5ff3dde000e4f9e39706795a30398a42814bbf
8,653
ml
OCaml
lib/paf_cohttp.ml
hannesm/paf-le-chien
f16efcc6326d1a4747c094db75a05dcfe6a142b5
[ "MIT" ]
23
2020-02-02T18:04:37.000Z
2021-07-26T14:00:44.000Z
lib/paf_cohttp.ml
hannesm/paf-le-chien
f16efcc6326d1a4747c094db75a05dcfe6a142b5
[ "MIT" ]
22
2020-04-05T19:16:13.000Z
2022-01-13T17:51:25.000Z
lib/paf_cohttp.ml
hannesm/paf-le-chien
f16efcc6326d1a4747c094db75a05dcfe6a142b5
[ "MIT" ]
5
2020-07-04T19:49:56.000Z
2022-02-08T17:27:19.000Z
let ( <.> ) f g x = f (g x) let src = Logs.Src.create "paf-cohttp" module Log = (val Logs.src_log src : Logs.LOG) let scheme = Mimic.make ~name:"paf-scheme" let port = Mimic.make ~name:"paf-port" let domain_name = Mimic.make ~name:"paf-domain-name" let ipaddr = Mimic.make ~name:"paf-ipaddr" let sleep = Mimic.mak...
35.609053
81
0.639085
afb1075dac158597bd63608fe341ae8ea9ef99a0
2,518
ml
OCaml
experiments/ownership-inference/infer/infer/src/checkers/SinkTrace.ml
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
30
2019-06-28T15:20:25.000Z
2021-08-25T11:37:30.000Z
experiments/ownership-inference/infer/infer/src/checkers/SinkTrace.ml
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
39
2019-06-28T15:08:12.000Z
2020-07-17T01:44:33.000Z
experiments/ownership-inference/infer/infer/src/checkers/SinkTrace.ml
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
17
2019-06-28T14:40:41.000Z
2021-03-11T19:26:13.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format module L = Logging module type S = sig include Trace.S type sink_path = Passthroughs.t * (Sink.t...
25.693878
95
0.686259
8a001bd6696b56477c9782b731ab48fe8180979b
6,512
ml
OCaml
src/ocaml-3.12.0/bytecomp/runtimedef.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
1
2015-01-27T00:11:26.000Z
2015-01-27T00:11:26.000Z
src/ocaml-3.12.0/bytecomp/runtimedef.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/bytecomp/runtimedef.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
let builtin_exceptions = [| "Out_of_memory"; "Sys_error"; "Failure"; "Invalid_argument"; "End_of_file"; "Division_by_zero"; "Not_found"; "Match_failure"; "Stack_overflow"; "Sys_blocked_io"; "Assert_failure"; "Undefined_recursive_module" |] let builtin_primitives = [| "caml_alloc_dummy"; "cam...
23.766423
40
0.749386
afb91f562f3e452b7f032e4bcc138791c835c8aa
203
mli
OCaml
libraries/s3/lib/deleteBucketCors.mli
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/deleteBucketCors.mli
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/deleteBucketCors.mli
tmattio/ocaml-aws
a49d92a03a9a618dab2dc924aed2b494f9b79ae5
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DeleteBucketCorsRequest.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
74
0.73399
af4f0a60052b1c462bd56fc876357864ca1bb97d
10,355
ml
OCaml
hphp/hack/src/utils/sys/daemon.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
1
2019-10-03T00:45:08.000Z
2019-10-03T00:45:08.000Z
hphp/hack/src/utils/sys/daemon.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
8
2020-04-06T11:23:08.000Z
2022-03-24T12:41:12.000Z
hphp/hack/src/utils/sys/daemon.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) type 'a in_channel = Timeout.in_channel type 'a out_channel = Pervasives.out_channel type ('in_, 'out) channel_pair...
33.29582
81
0.688267
8a44b253c6d508c08e7489fdd1dab5f50fdbecd4
1,165
ml
OCaml
src/lp/objective.ml
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
29
2020-05-12T23:47:14.000Z
2022-02-03T02:11:20.000Z
src/lp/objective.ml
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
4
2021-11-01T21:08:25.000Z
2021-11-25T15:22:20.000Z
src/lp/objective.ml
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
null
null
null
type t = Max of Poly.t | Min of Poly.t let maximize ?(eps = 10. *. epsilon_float) p = Max (Poly.simplify ~eps p) let minimize ?(eps = 10. *. epsilon_float) p = Min (Poly.simplify ~eps p) let take_vars = function Max p | Min p -> Poly.take_vars p let to_poly = function Max p | Min p -> p let to_string ?(short = fal...
26.477273
73
0.60515
af9e265f2fec5ae1bcd891dffb9a896cda02d7b2
436
mli
OCaml
src/lib/functional_stack/functional_stack.mli
joaosreis/tezla
43db070aa2c5cea938e418cf1c0698e08a6a7308
[ "MIT" ]
null
null
null
src/lib/functional_stack/functional_stack.mli
joaosreis/tezla
43db070aa2c5cea938e418cf1c0698e08a6a7308
[ "MIT" ]
null
null
null
src/lib/functional_stack/functional_stack.mli
joaosreis/tezla
43db070aa2c5cea938e418cf1c0698e08a6a7308
[ "MIT" ]
null
null
null
type 'a t = 'a list val empty : 'a t val push : 'a -> 'a t -> 'a t val pop : 'a t -> 'a * 'a t val drop : 'a t -> 'a t val peek : 'a t -> 'a val swap : 'a t -> 'a t val dig : 'a t -> Bigint.t -> 'a t val dug : 'a t -> Bigint.t -> 'a t val dup : 'a t -> Bigint.t -> 'a t val map : ('a -> 'b) -> 'a t -> 'b t val map2 : (...
25.647059
51
0.46789
8a0cd9089c6c40ad29b6e4fb66e1a79c9f533aaa
2,631
mli
OCaml
src/sequences.mli
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
10
2018-10-15T02:11:39.000Z
2022-01-26T08:57:12.000Z
src/sequences.mli
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
null
null
null
src/sequences.mli
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
1
2020-04-18T13:03:50.000Z
2020-04-18T13:03:50.000Z
(** Functions for manipulating sequences of elements. *) open! Core open! Import (** [digits_of_string] parses a numeric string into a list of digits, left-to-right. Handles bases up to 10. *) val digits_of_string : string -> int list val is_palindrome : (module Equal.S with type t = 'a) -> 'a list -> bool (**...
39.268657
81
0.678829
8a080f8c875227ef30ecceef2dcbcb26c361e867
12,944
ml
OCaml
scripts/alg.ml
jinnaiyuu/pbnf
d197723e7499a91e2c15042de243ccab2cb0f9d5
[ "MIT" ]
4
2017-12-06T14:09:20.000Z
2021-11-06T03:42:54.000Z
scripts/alg.ml
eaburns/pbnf
36e291c89fd95fd2578cdf61201ff983c2e21a68
[ "MIT" ]
null
null
null
scripts/alg.ml
eaburns/pbnf
36e291c89fd95fd2578cdf61201ff983c2e21a68
[ "MIT" ]
1
2019-04-26T08:17:22.000Z
2019-04-26T08:17:22.000Z
(** Algorithm specific code. *) open Printf open Scripts_domain open Camlish (* Build a function that gets an algorithm and its info given the domain. *) let march = !! {(cmd "uname -m") with pout = pout_string} let by_name domain = let threads = (* if march = "sun4v" then [1; 2; 4; 8; 16; 32; 64; (* 128...
29.893764
92
0.539014
8a06688d11946a6b241b82ac4c376376bbbe2e0c
5,161
mli
OCaml
src/proto_009_PsFLorBA/lib_client/client_proto_multisig.mli
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/proto_009_PsFLorBA/lib_client/client_proto_multisig.mli
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/proto_009_PsFLorBA/lib_client/client_proto_multisig.mli
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2019 Nomadic Labs <contact@nomadic-labs.com> *) ...
33.732026
79
0.621391
8a479e59102d546a9bab477cdcbf9b9653547f0e
1,427
mli
OCaml
hphp/hack/src/parser/full_fidelity_source_text.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/src/parser/full_fidelity_source_text.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/src/parser/full_fidelity_source_text.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) 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. * *) type t = { file_path : Relative_path.t; length : int; text : string; offset_map : Line_break_map.t } [@@der...
26.425926
83
0.671338
af8cd078eaa71bcdc1d79c4cb1cb7e02d3409d34
87,193
ml
OCaml
src/parser_utils/output/js_layout_generator.ml
ostera/flow
5006818684fe3210edb57c07fbb978287fdd225f
[ "MIT" ]
null
null
null
src/parser_utils/output/js_layout_generator.ml
ostera/flow
5006818684fe3210edb57c07fbb978287fdd225f
[ "MIT" ]
8
2020-04-06T11:23:08.000Z
2022-03-24T12:41:12.000Z
src/parser_utils/output/js_layout_generator.ml
ostera/flow
5006818684fe3210edb57c07fbb978287fdd225f
[ "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 module LocMap = Loc_collections.LocMap (* There are some cases where expressions must be wrap...
32.82869
116
0.620692
affc3d072bd1826b6b8df07d62cd8759cea8e493
14,495
ml
OCaml
src/proto_alpha/lib_protocol/test/helpers/block.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/helpers/block.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/helpers/block.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.419598
126
0.647396
f32b2764a8bba82cdbae5c0a2177ce550fc5de39
2,092
ml
OCaml
LablGlut/examples/lablGL/checker.ml
kit-ty-kate/lablgl
d76e4ac834b6d803e7a6c07c3b71bff0e534614f
[ "BSD-3-Clause" ]
14
2017-10-31T07:51:18.000Z
2022-01-14T14:19:30.000Z
LablGlut/examples/lablGL/checker.ml
kit-ty-kate/lablgl
d76e4ac834b6d803e7a6c07c3b71bff0e534614f
[ "BSD-3-Clause" ]
2
2019-08-03T10:48:42.000Z
2022-02-16T18:05:24.000Z
LablGlut/examples/lablGL/checker.ml
kit-ty-kate/lablgl
d76e4ac834b6d803e7a6c07c3b71bff0e534614f
[ "BSD-3-Clause" ]
2
2019-10-09T12:22:54.000Z
2022-01-13T16:40:46.000Z
(* $Id: checker.ml,v 1.1 2003-09-25 13:54:10 raffalli Exp $ *) (* converted by Issac Trotts. July 25, 2002 *) let image_height = 64 and image_width = 64 let make_image () = let image = GlPix.create `ubyte ~format:`rgb ~width:image_width ~height:image_height in for i = 0 to image_width - 1 do for j = 0 to...
29.464789
82
0.633843
aff0ddf691a37412a96ea655a522d47c00dacf29
823
ml
OCaml
02-exercises/12-list_min/problem.ml
alexbielen/learn-ocaml-workshop
232a8d1618ed08e34475a34628dc086076eadaf3
[ "Apache-2.0" ]
null
null
null
02-exercises/12-list_min/problem.ml
alexbielen/learn-ocaml-workshop
232a8d1618ed08e34475a34628dc086076eadaf3
[ "Apache-2.0" ]
null
null
null
02-exercises/12-list_min/problem.ml
alexbielen/learn-ocaml-workshop
232a8d1618ed08e34475a34628dc086076eadaf3
[ "Apache-2.0" ]
null
null
null
open! Base (* This function finds the largest element in a list: *) let rec largest xs = match xs with | [] -> Float.neg_infinity | x :: ys -> Float.max x (largest ys) (* Let's write a function to find the smallest element: Hint: the opposite of [Float.neg_infinity] is [Float.infinity]. *) let rec small...
23.514286
77
0.606318
aff4b904a54f288561e383d175475ae3c9eed1dc
17,918
ml
OCaml
src/lib/backend/DFOptimize/RegisterAllocation.ml
PrincetonUniversity/lucid
3a8f1638858b180e009a914735e474b7cf01845f
[ "MIT" ]
12
2021-07-07T16:09:56.000Z
2022-03-09T14:49:38.000Z
src/lib/backend/DFOptimize/RegisterAllocation.ml
PrincetonUniversity/lucid
fd5032392574b794d7b94110c2a881318657b137
[ "MIT" ]
7
2021-08-30T16:48:24.000Z
2022-02-28T21:19:34.000Z
src/lib/backend/DFOptimize/RegisterAllocation.ml
PrincetonUniversity/lucid
fd5032392574b794d7b94110c2a881318657b137
[ "MIT" ]
2
2021-11-05T23:14:37.000Z
2022-03-14T02:10:32.000Z
(* passes over the dag program. 11/16/20 -- this pass sets up input and output variables for salus that have a limited number of i/o vars. It basically transforms sInstrs from salus to salu _calls_ There are many optimizations to do here, also the DPA syntax makes this really messy, and should be changed. *) op...
34.391555
143
0.695613
afe926d73c9a5876fa665d010dc980b551e3ab5e
9,376
ml
OCaml
benchmarks/linux-sgx/sdk/edger8r/linux/Ast.ml
vschiavoni/unine-twine
312d770585ea88c13ef135ef467fee779494fd90
[ "Apache-2.0" ]
78
2021-02-16T06:46:14.000Z
2022-03-29T14:04:39.000Z
benchmarks/linux-sgx/sdk/edger8r/linux/Ast.ml
vschiavoni/unine-twine
312d770585ea88c13ef135ef467fee779494fd90
[ "Apache-2.0" ]
13
2021-02-18T02:02:33.000Z
2021-09-09T10:15:08.000Z
benchmarks/linux-sgx/sdk/edger8r/linux/Ast.ml
vschiavoni/unine-twine
312d770585ea88c13ef135ef467fee779494fd90
[ "Apache-2.0" ]
16
2021-02-22T09:55:29.000Z
2022-03-04T02:03:13.000Z
(* * Copyright (C) 2011-2020 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this li...
32.783217
91
0.635239
8a4dde65f1a3750aaecf8ed940e590a8b30106c3
3,500
ml
OCaml
Comp-302/hw5_test.ml
shubymao/McGill-Public
f7195ade317cdff8eaefc2422d36e2ef5864ee7f
[ "Apache-2.0" ]
48
2017-11-03T10:51:36.000Z
2022-03-20T07:04:34.000Z
Comp-302/hw5_test.ml
shubymao/McGill-Public
f7195ade317cdff8eaefc2422d36e2ef5864ee7f
[ "Apache-2.0" ]
4
2018-02-27T00:40:36.000Z
2021-03-06T01:54:21.000Z
Comp-302/hw5_test.ml
shubymao/McGill-Public
f7195ade317cdff8eaefc2422d36e2ef5864ee7f
[ "Apache-2.0" ]
33
2017-10-13T23:43:31.000Z
2021-10-31T22:12:49.000Z
(* Test code for hw4 - Comp 302 *Warning* - I have no prior experience with OCaml. If you encounter an issue that is not obviously solvable, let me know; I may have made a mistake! To use this, put this file in the same drectory as your hw4.ml, launch ocaml, and execute: ``` ocaml hw4_test.ml ``` Allan Wan...
33.653846
200
0.535429
af3c759a6f0baa1ac67b7a23f11572675876f125
2,008
ml
OCaml
test/ppx_deriving_qcheck/deriver/test_recursive.ml
vch9/qcheck
8d72a74ed417d916b9b8edbb0914d229a0d99fd0
[ "BSD-2-Clause" ]
1
2022-01-18T12:58:17.000Z
2022-01-18T12:58:17.000Z
test/ppx_deriving_qcheck/deriver/test_recursive.ml
tmcgilchrist/qcheck
fc2aadd95f6ebb5858246c856b68f7c6e77994c7
[ "BSD-2-Clause" ]
null
null
null
test/ppx_deriving_qcheck/deriver/test_recursive.ml
tmcgilchrist/qcheck
fc2aadd95f6ebb5858246c856b68f7c6e77994c7
[ "BSD-2-Clause" ]
null
null
null
open QCheck open Helpers type 'a tree = Leaf | Node of 'a * 'a tree * 'a tree [@@deriving qcheck] let rec pp_tree pp fmt x = let open Format in match x with | Leaf -> fprintf fmt "Leaf" | Node (x, l, r) -> fprintf fmt "Node (%a, %a, %a)" pp x (pp_tree pp) l (pp_tree pp) r let e...
24.790123
83
0.574701
8a52833771fa7bffbf39c13c92130a22f043d545
5,633
ml
OCaml
src/lib/snark_worker_lib/worker.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
src/lib/snark_worker_lib/worker.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
src/lib/snark_worker_lib/worker.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
open Core open Async module Make (Inputs : Intf.Inputs_intf) : Intf.S with type transition := Inputs.Transaction.t and type transaction_witness := Inputs.Transaction_witness.t and type statement := Inputs.Statement.t and type proof := Inputs.Proof.t = struct open Inputs module Work = struct open ...
33.933735
78
0.590449
aff73b926497d9eb846cdb87e783e92df4669f64
44,992
ml
OCaml
src/mlwtree.ml
edukera/archetype-lang
9c4fb6413223d1b73fd8c74757e4efe51bec0b5b
[ "MIT" ]
53
2019-04-18T15:15:33.000Z
2022-03-26T16:06:55.000Z
src/mlwtree.ml
edukera/archetype-lang
9c4fb6413223d1b73fd8c74757e4efe51bec0b5b
[ "MIT" ]
282
2019-04-10T16:41:19.000Z
2022-03-31T16:25:10.000Z
src/mlwtree.ml
edukera/cml-lang
8ab5e634c04543c294f82f72000e4f21b305d3c2
[ "MIT" ]
7
2019-04-23T13:52:47.000Z
2020-11-23T13:12:48.000Z
open Tools type fmod = | LogicOnly | Logic | Rec | NoMod [@@deriving show {with_path = false}] (* abstract types -------------------------------------------------------------*) type 'e exn = | Einvalid of string option | Efail of int * 'e option | EInvalidCaller | EInvalidCondition of string | ENot...
40.569883
164
0.570524
8a26ec6e2e49f8ed4246f465ae17c74a4076da52
2,510
ml
OCaml
src/playGame.ml
jfkonecn/settlersOfOcaml
6a1fc7ffefb85ef26c220b46fbc8e18595af66d3
[ "MIT" ]
null
null
null
src/playGame.ml
jfkonecn/settlersOfOcaml
6a1fc7ffefb85ef26c220b46fbc8e18595af66d3
[ "MIT" ]
null
null
null
src/playGame.ml
jfkonecn/settlersOfOcaml
6a1fc7ffefb85ef26c220b46fbc8e18595af66d3
[ "MIT" ]
null
null
null
open Types let getAvailableMoves (game : game) = let handleRoundOne () = let playerHasSettlement = game.gameBoard |> List.find_opt (fun x -> match x.item with | _, Corner (Settlement h) when h = game.currentColor -> true | _ -> false) |> Option.is_some ...
30.240964
84
0.601992
afb969dcf7bee47cbd8f82459172063b3038b8e2
8,845
ml
OCaml
data/derived/comb/progs/unify/prog3783.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/prog3783.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3783.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.966463
148
0.605201
8a6082b09f8c05e967e0e2f56a74d738f95b8795
3,497
ml
OCaml
data/fa15/2378.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2378.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2378.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let getHead h = match h with | [] -> [] | h::t -> h;; let getTail t = match t with | [] -> [] | h::t -> t;; let explode s = let rec go i = if i >= (String.length s) then [] else (s.[i]) :: (go (i + 1)) in go 0;; let rec listReverse l = match l with | [] -> [] | h::t -> (listReverse t) @ [h];; let rec mat...
16.57346
77
0.487847
f3ecd28cfadd2b58e75cab45e8c3f2faf12e2fbe
1,291
ml
OCaml
ocaml/roman-numerals/test.ml
axhixh/exercism
8b071b9ebc8c8e12671ed2e15afbb204a9115956
[ "MIT" ]
1
2017-04-18T13:42:53.000Z
2017-04-18T13:42:53.000Z
ocaml/roman-numerals/test.ml
axhixh/exercism-ocaml
8b071b9ebc8c8e12671ed2e15afbb204a9115956
[ "MIT" ]
null
null
null
ocaml/roman-numerals/test.ml
axhixh/exercism-ocaml
8b071b9ebc8c8e12671ed2e15afbb204a9115956
[ "MIT" ]
null
null
null
open Core.Std open OUnit2 open Roman_numerals let ae expected actual _ctx = assert_equal ~printer:Fn.id expected actual let tests = [ "1 is a single I" >:: ae "I" (to_roman 1); "2 is two I's" >:: ae "II" (to_roman 2); "3 is three I's" >:: ae "III" (to_roman 3); "4, being 5 - 1, is IV" >:...
27.468085
73
0.518978
afb095078446adec836d77dd44b7c49392448964
695
ml
OCaml
etc/example/PowerPC/manyargs.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
24
2018-01-29T12:51:24.000Z
2022-03-24T09:06:50.000Z
etc/example/PowerPC/manyargs.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
8
2017-12-26T11:01:51.000Z
2018-10-11T14:04:57.000Z
etc/example/PowerPC/manyargs.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
2
2019-02-19T20:40:37.000Z
2020-04-09T23:20:58.000Z
(* thanks to https://twitter.com/gan13027830/status/791239623959687168 *) (* exactly one more arguments than registers; does not copmile *) ;; let x = 42 in let rec f y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 y11 y12 y13 y14 y15 y16 y17 y18 y19 y20 ...
11.209677
73
0.444604
af961f1e6a5b8f6a5cb887bc62437d2bddc6a28b
680
mli
OCaml
src/user_and_group.mli
edwintorok/core
2fb1fc69a879006ffaa9ba692cee329291df9ccb
[ "MIT" ]
null
null
null
src/user_and_group.mli
edwintorok/core
2fb1fc69a879006ffaa9ba692cee329291df9ccb
[ "MIT" ]
null
null
null
src/user_and_group.mli
edwintorok/core
2fb1fc69a879006ffaa9ba692cee329291df9ccb
[ "MIT" ]
null
null
null
(** A pair of Unix username and primary Unix group. *) open! Import type t (** The string/sexp converters follow the usual Unix convention of '<user>:<group>'. *) include Identifiable.S with type t := t val create : user:string -> group:string -> t val user : t -> string val group : t -> string (** Get the [t] for...
27.2
87
0.683824
f39f4f5bc05c50643929fb39611992df448f64c3
203
ml
OCaml
tests/mltests/stdiotest.ml
sheijk/Zomp
80a3ea910dd92b5a205d5c0ce9e3e1220c68f37f
[ "MIT" ]
2
2015-11-07T17:40:21.000Z
2018-09-14T13:49:23.000Z
tests/mltests/stdiotest.ml
sheijk/Zomp
80a3ea910dd92b5a205d5c0ce9e3e1220c68f37f
[ "MIT" ]
null
null
null
tests/mltests/stdiotest.ml
sheijk/Zomp
80a3ea910dd92b5a205d5c0ce9e3e1220c68f37f
[ "MIT" ]
null
null
null
let () = let rec read str = try read (str ^ read_line() ^ "\n") with End_of_file -> str in let text = read "" in Printf.printf "--------------------\n%s--------------------\n" text
20.3
69
0.433498
8a41e2a06d463d2ed7e09c15fe149f1e3f843b8d
1,547
mli
OCaml
CodeHawk/CHB/bchcil/bCHBCFunDeclarations.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
2
2019-12-05T18:50:53.000Z
2019-12-07T18:47:44.000Z
CodeHawk/CHB/bchcil/bCHBCFunDeclarations.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
1
2020-03-04T05:04:37.000Z
2020-03-04T05:04:37.000Z
CodeHawk/CHB/bchcil/bCHBCFunDeclarations.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
1
2019-12-05T18:51:24.000Z
2019-12-05T18:51:24.000Z
(* ============================================================================= CodeHawk Binary Analyzer C Parser using CIL Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2021-2022 Aarno Labs LLC Permission is ...
46.878788
83
0.642534
8a4736845620dd53ad18e76cc8dcc24f77e70104
12,346
ml
OCaml
src/commands/coverageCommand.ml
kof/flow
39cb6bd32f0ce1d1258f0a582dc3b9844135713f
[ "MIT" ]
null
null
null
src/commands/coverageCommand.ml
kof/flow
39cb6bd32f0ce1d1258f0a582dc3b9844135713f
[ "MIT" ]
null
null
null
src/commands/coverageCommand.ml
kof/flow
39cb6bd32f0ce1d1258f0a582dc3b9844135713f
[ "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. *) (***********************************************************************) (* flow coverage command *) (***************************...
38.58125
103
0.626114
8a34a3f68c3808860653ae399e4b46b342d1e4c9
3,756
mli
OCaml
infer/src/bufferoverrun/symb.mli
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/symb.mli
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/symb.mli
asyard/infer
ce1ba6a8c670445edef5bde378543b39d7854ecf
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format module BoundEnd : sig type t = LowerBound | UpperBound val neg : t -> t end module SymbolPath :...
26.450704
98
0.669595
af2d56b265a284ca0604272627c06262f0b0822c
1,391
mli
OCaml
src/response.mli
lukepalmer/redis-async
b4a8db0d2ce5f5c22983e65181688a127854a910
[ "MIT" ]
null
null
null
src/response.mli
lukepalmer/redis-async
b4a8db0d2ce5f5c22983e65181688a127854a910
[ "MIT" ]
null
null
null
src/response.mli
lukepalmer/redis-async
b4a8db0d2ce5f5c22983e65181688a127854a910
[ "MIT" ]
null
null
null
(** A Response describes how a Redis reply resulting from a particular command should be handled. Replies from Redis are in the RESP3 protocol format, which is an all-inclusive superset of possible data representations. Individual Redis commands result in a limited set of expected responses that are mu...
43.46875
88
0.734004
8a101f74718cb097587be9ce7f2aa97ba9e64861
5,010
ml
OCaml
common/debug.ml
block8437/FailSafeC
1458e382518ba8b56f680436873c3b42a89e1636
[ "Apache-2.0" ]
1
2018-02-10T02:52:09.000Z
2018-02-10T02:52:09.000Z
common/debug.ml
block8437/FailSafeC
1458e382518ba8b56f680436873c3b42a89e1636
[ "Apache-2.0" ]
null
null
null
common/debug.ml
block8437/FailSafeC
1458e382518ba8b56f680436873c3b42a89e1636
[ "Apache-2.0" ]
null
null
null
(* Part of Fail-Safe C Compiler. Produced by Yutaka Oiwa. (c) 2001-2005 Yutaka Oiwa. (c) 2005-2007 AIST. This file is written by Yutaka Oiwa in 2005-2007. *) open Util let max_category = 1000 let debug_flags = Earray.empty_with_default ~zero:0 let set_debug_flags ~category ~level = Earray.set debug_fl...
27.988827
90
0.63014
8a223587d1dc1fd813f658570c97cfd6e93fb936
13,025
ml
OCaml
src/hack_forked/utils/jsonrpc/jsonrpc.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "MIT" ]
1
2021-09-08T08:06:58.000Z
2021-09-08T08:06:58.000Z
src/hack_forked/utils/jsonrpc/jsonrpc.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "MIT" ]
null
null
null
src/hack_forked/utils/jsonrpc/jsonrpc.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "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. *) (* Wrapper for handling JSON-RPC *) (* Spec: http://www.jsonrpc.org/specification *) (* Practical readbable guide: https://github.c...
36.793785
140
0.647754
afc28f9c68e80adb25f3862b01f43d5fbbe60b42
17,307
ml
OCaml
myocamlbuild.ml
ruhatch/mirage-ir
93fe3537f428fdac59eaa67e8b4210650e02c967
[ "MIT" ]
null
null
null
myocamlbuild.ml
ruhatch/mirage-ir
93fe3537f428fdac59eaa67e8b4210650e02c967
[ "MIT" ]
null
null
null
myocamlbuild.ml
ruhatch/mirage-ir
93fe3537f428fdac59eaa67e8b4210650e02c967
[ "MIT" ]
null
null
null
(* OASIS_START *) (* DO NOT EDIT (digest: 487e4e45b844eebc167fad7b90e0e28a) *) 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 ...
27.735577
90
0.49194