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
af62c94508bb7f76c6659612c9dd80956ff49553
5,224
ml
OCaml
test/expect-tests/vcs_tests.ml
stonebuddha/dune
13642e22a405de7c4361e94dd9aaa35ad1b09847
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
test/expect-tests/vcs_tests.ml
stonebuddha/dune
13642e22a405de7c4361e94dd9aaa35ad1b09847
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
test/expect-tests/vcs_tests.ml
stonebuddha/dune
13642e22a405de7c4361e94dd9aaa35ad1b09847
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
open Stdune open Dune_engine open Fiber.O open! Dune_tests_common let () = init (); Config.init { Config.default with display = Quiet } let printf = Printf.printf let temp_dir = lazy (Path.of_string "vcs-tests") let () = at_exit (fun () -> Path.rm_rf (Lazy.force temp_dir)) (* When hg is not available, we test ...
22.614719
80
0.519908
af1b5e2c17a8107b113b298bc19b16734ae9ceb4
11,121
ml
OCaml
src/lib_signer_backends/encrypted.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
src/lib_signer_backends/encrypted.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
src/lib_signer_backends/encrypted.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.107143
88
0.639331
f3dabfc960c91970eac97be2aeea6fdea57e2908
9,280
mli
OCaml
infer/src/clang/cTrans_utils.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
1
2017-02-15T00:44:54.000Z
2017-02-15T00:44:54.000Z
infer/src/clang/cTrans_utils.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/clang/cTrans_utils.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "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 (** Utility methods to support the translation of clang ast constructs into sil instructions. *) type continuation = ...
35.830116
100
0.721121
f3ed6f0d58f0695cfcd5638262bd5896c29ec300
156
ml
OCaml
benchmarks/C/sigma/sol273.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/sigma/sol273.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/sigma/sol273.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec sigma f a b = if a>b then 0 else f a + sigma f (a+1) b ;; (* let id_ftn x = x;; print_endline (string_of_int (sigma ((1,100,id_ftn)))) *)
15.6
54
0.576923
f3cf24265584358889e72f75d576d3ffdaf66d7b
5,559
ml
OCaml
src/signature/reddsa.ml
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
1
2022-02-01T11:14:20.000Z
2022-02-01T11:14:20.000Z
src/signature/reddsa.ml
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
null
null
null
src/signature/reddsa.ml
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Copyright (c) 2021 Danny Willems <be.danny.willems@gmail.com> *) (* *) ...
42.435115
138
0.588775
af339feb262bb1b869dceafeed782ba88daaaa7b
3,353
ml
OCaml
command/analyzeCommand.ml
SKalt/pyre-check
cc8557f91a23c8819ef781bc978efff6465d9184
[ "MIT" ]
null
null
null
command/analyzeCommand.ml
SKalt/pyre-check
cc8557f91a23c8819ef781bc978efff6465d9184
[ "MIT" ]
1
2021-05-11T20:40:20.000Z
2021-05-11T20:40:20.000Z
command/analyzeCommand.ml
skeptycal/pyre-check
d2176f243247537993f133a0d8ebcde47e28d57e
[ "MIT" ]
null
null
null
(** Copyright (c) 2016-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open Core open Pyre let run_analysis _taint taint_models_directory result_json_path verbose expected_version sect...
26.824
98
0.646287
f3f52a4f2f5eecbb2630a7eae1399cb8c479d3cc
9,110
ml
OCaml
src/proto_001_Pt8PXNHh/lib_protocol/constants_repr.ml
mineplexio/Plexus-Pool
f52560d84d08dde831c0208111073ece1be6b33d
[ "MIT" ]
1
2021-11-03T08:21:08.000Z
2021-11-03T08:21:08.000Z
src/proto_001_Pt8PXNHh/lib_protocol/constants_repr.ml
mineplexio/Plexus-Pool
f52560d84d08dde831c0208111073ece1be6b33d
[ "MIT" ]
null
null
null
src/proto_001_Pt8PXNHh/lib_protocol/constants_repr.ml
mineplexio/Plexus-Pool
f52560d84d08dde831c0208111073ece1be6b33d
[ "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> *) ...
36.733871
79
0.613721
af25eb2c90d99f5575a6aeecb63fa1eecf1406c7
5,727
ml
OCaml
cohttp-lwt-unix/test/test_sanity.ml
dinosaure/ocaml-cohttp
4010f2a3dd28e4b772e029137beadbfaedb985b3
[ "0BSD" ]
null
null
null
cohttp-lwt-unix/test/test_sanity.ml
dinosaure/ocaml-cohttp
4010f2a3dd28e4b772e029137beadbfaedb985b3
[ "0BSD" ]
1
2020-10-04T09:41:34.000Z
2020-10-04T09:41:34.000Z
cohttp-lwt-unix/test/test_sanity.ml
dinosaure/ocaml-cohttp
4010f2a3dd28e4b772e029137beadbfaedb985b3
[ "0BSD" ]
null
null
null
open Lwt open OUnit open Cohttp open Cohttp_lwt_unix open Cohttp_lwt_unix_test module Body = Cohttp_lwt.Body let message = "Hello sanity!" let chunk_body = ["one"; ""; " "; "bar"; ""] let leak_repeat = 1024 let server = [ (* t *) Server.respond_string ~status:`OK ~body:message (); (* empty_chunk *) S...
36.018868
82
0.598219
f37ece4afa64f38108b4026ba7e280bc84a2b80b
2,923
ml
OCaml
vendor/core_kernel/test/src/test_substring.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core_kernel/test/src/test_substring.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core_kernel/test/src/test_substring.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 open! Import module Test (Base : sig type t val of_string : string -> t end) (Substring : Substring.S with type base = Base.t) : sig end = struct open Substring let%test_module "get" = (module struct let hello = Base.of_string "hello" let%test _ = ...
27.838095
89
0.549436
f392f1963795a8a6461387a2aba0c901e8af4f46
950
ml
OCaml
src/eml_compiler.ml
pitag-ha/embedded_ocaml_templates
e2c7fa93bcd5ca5f6fe3520798198f0a1f4689e2
[ "MIT" ]
11
2020-07-21T20:12:32.000Z
2021-10-09T09:34:21.000Z
src/eml_compiler.ml
pitag-ha/embedded_ocaml_templates
e2c7fa93bcd5ca5f6fe3520798198f0a1f4689e2
[ "MIT" ]
2
2021-02-26T16:17:19.000Z
2021-06-25T07:45:26.000Z
src/eml_compiler.ml
pitag-ha/embedded_ocaml_templates
e2c7fa93bcd5ca5f6fe3520798198f0a1f4689e2
[ "MIT" ]
3
2021-02-26T10:49:25.000Z
2021-06-24T12:21:33.000Z
open Common let continuation_mode = ref false let filename = ref None let args = Arg.align [ ("-continuation", Arg.Set continuation_mode, " Enable continuation mode") ; ( "-build-info" , Arg.Unit (fun () -> print_endline "RWO" ; exit 0) , " Print info about this build and exit" ) ; ( "-versi...
25.675676
79
0.645263
f3be58e43b2a12fe5842303b9e6a24a60dde380b
18,809
ml
OCaml
lib/Sugar.ml
danielmercier/ocamlformat
62d702a1b2cdc05040234ed920fcf1bd6203e06b
[ "MIT" ]
null
null
null
lib/Sugar.ml
danielmercier/ocamlformat
62d702a1b2cdc05040234ed920fcf1bd6203e06b
[ "MIT" ]
4
2019-05-02T01:31:10.000Z
2022-01-26T13:59:27.000Z
lib/Sugar.ml
danielmercier/ocamlformat
62d702a1b2cdc05040234ed920fcf1bd6203e06b
[ "MIT" ]
1
2018-11-22T21:37:51.000Z
2018-11-22T21:37:51.000Z
(**************************************************************************) (* *) (* OCamlFormat *) (* *) (* ...
39.267223
79
0.564942
f3558cc6ac483d71dc3e173e1ea0f6e6b71686d5
1,032
mli
OCaml
capnp-rpc-lwt/capTP_capnp.mli
hannesm/capnp-rpc
309d4d66fb3963f12e6101d9285e56fff9c4702d
[ "Apache-2.0" ]
null
null
null
capnp-rpc-lwt/capTP_capnp.mli
hannesm/capnp-rpc
309d4d66fb3963f12e6101d9285e56fff9c4702d
[ "Apache-2.0" ]
null
null
null
capnp-rpc-lwt/capTP_capnp.mli
hannesm/capnp-rpc
309d4d66fb3963f12e6101d9285e56fff9c4702d
[ "Apache-2.0" ]
null
null
null
(** Provides the RPC layer on top of some network. *) open Capnp_core.Core_types module Make (N : S.NETWORK) : sig type t (** A Cap'n Proto RPC protocol handler. *) val connect : restore:Restorer.t -> ?tags:Logs.Tag.set -> Endpoint.t -> t (** [connect ~restore ~switch endpoint] is fresh CapTP protocol handle...
36.857143
88
0.676357
f3ab27c061ab4161d3bce6d4a739db6bc30cd762
3,439
ml
OCaml
src/stdune/user_message.ml
progman1/dune
e937feef4fb03d83bd551489420a557a5a6fc1c0
[ "MIT" ]
4
2020-02-04T15:33:29.000Z
2020-02-04T21:37:09.000Z
src/stdune/user_message.ml
samoht/dune-mirage
bb2300c1859c452a4140fa33e3afb3c6b755350c
[ "MIT" ]
null
null
null
src/stdune/user_message.ml
samoht/dune-mirage
bb2300c1859c452a4140fa33e3afb3c6b755350c
[ "MIT" ]
null
null
null
module Style = struct type t = | Loc | Error | Warning | Kwd | Id | Prompt | Details | Ok | Debug | Success | Ansi_styles of Ansi_color.Style.t list end module Print_config = struct type t = Style.t -> Ansi_color.Style.t list open Ansi_color.Style let default : Sty...
27.95935
80
0.571387
af41a313975e5fb4c3830458b3242cfca53fdbd5
2,889
ml
OCaml
libraries/rds/lib/removeTagsFromResource.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/rds/lib/removeTagsFromResource.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/removeTagsFromResource.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] open Aws module RemoveTagsFromResourceMessage = struct type t = { resource_name: String.t [@ocaml.doc "<p>The Amazon RDS resource that the tags are removed from. This value is an Amazon Resource Name (ARN). F...
38.013158
361
0.601938
f3b7f78448d54a9326ff9ef4df10a8fc26a7d798
14,887
ml
OCaml
hack/monitor/serverMonitor.ml
prodo-dev/flow
e1a2c0beb9b7b23bb35f8a96d36d965595c6da7a
[ "BSD-3-Clause" ]
1
2020-06-21T06:21:13.000Z
2020-06-21T06:21:13.000Z
hack/monitor/serverMonitor.ml
enterstudio/flow
46bab025aa1c9caa6d7108596290f1e01d0b42c1
[ "BSD-3-Clause" ]
null
null
null
hack/monitor/serverMonitor.ml
enterstudio/flow
46bab025aa1c9caa6d7108596290f1e01d0b42c1
[ "BSD-3-Clause" ]
1
2020-06-21T06:21:18.000Z
2020-06-21T06:21:18.000Z
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) (** * The ser...
37.880407
80
0.686639
f3c30397148981f64f3476da90b7e47bf6e2f484
211
ml
OCaml
source/analysis/inferenceError.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
1
2021-05-17T23:13:52.000Z
2021-05-17T23:13:52.000Z
source/analysis/inferenceError.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
1
2021-08-16T12:11:37.000Z
2021-08-16T12:11:37.000Z
source/analysis/inferenceError.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
1
2021-05-13T13:30:24.000Z
2021-05-13T13:30:24.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. *) include AnalysisError
23.444444
66
0.729858
af2aa0eed776dd62a1efd45a45e8e2eca29c650c
746
mli
OCaml
hphp/hack/src/server/serverConfig.mli
craigcarnell/hhvm
8f5e53a707c6158d2c81222ee73e09bce945c215
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverConfig.mli
craigcarnell/hhvm
8f5e53a707c6158d2c81222ee73e09bce945c215
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverConfig.mli
craigcarnell/hhvm
8f5e53a707c6158d2c81222ee73e09bce945c215
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) type t = { ...
28.692308
80
0.687668
af49e53d7db12ab49ffaf508d638d793da7bb7b1
1,819
mll
OCaml
lab/operator_precedence/lexer.mll
hsk/ml_and_prolog
f6f436089170b176c9b31ca8f3f16c3954862887
[ "MIT" ]
1
2018-07-01T08:50:57.000Z
2018-07-01T08:50:57.000Z
lab/operator_precedence/lexer.mll
hsk/ml_and_prolog
f6f436089170b176c9b31ca8f3f16c3954862887
[ "MIT" ]
28
2017-11-17T04:24:53.000Z
2017-12-06T06:39:08.000Z
lab/operator_precedence/lexer.mll
hsk/ml_and_prolog
f6f436089170b176c9b31ca8f3f16c3954862887
[ "MIT" ]
null
null
null
{ open Parser } let upper = ['A'-'Z'] | '\xce' ['\x91' - '\xa9'] let lower = ['a'-'z'] | '\xce' ['\xb1' - '\xbf'] | '\xcf' ['\x80' - '\x89'] let digit = ['0'-'9'] let atom = lower (lower|upper|digit|'_'|'`')* let var = ('_'|upper) (lower|upper|digit|'_'|'`')* let nonendl = [^'\n']* let num = digit+ ('.' digit+)? let...
38.702128
79
0.305662
f3cea4152b9ece08cf7c34c81b5bd6f83ed33d51
1,555
ml
OCaml
ag_pathanalysis/batteries/benchsuite/array_filter.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2019-12-05T19:47:42.000Z
2021-05-05T13:41:16.000Z
ag_pathanalysis/batteries/benchsuite/array_filter.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
null
null
null
ag_pathanalysis/batteries/benchsuite/array_filter.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2021-04-20T07:44:02.000Z
2021-04-20T08:38:41.000Z
let (|>) x f = f x let list_filter a p = Array.to_list a |> List.filter p |> Array.of_list open Array let new_filter xs p = let n = length xs in (* Use a bitset to store which elements will be in the final array. *) let bs = BatBitSet.create n in for i = 0 to n-1 do if p xs.(i) then BatBitSet.set bs i ...
28.796296
72
0.605145
af47d6af56927f4aa2c3c933fe0e053600e6603e
1,682
mli
OCaml
hphp/hack/src/typing/typing_visibility.mli
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-09T16:16:00.000Z
2021-08-09T16:16:00.000Z
hphp/hack/src/typing/typing_visibility.mli
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_visibility.mli
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "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 Typing_defs open Typing_env_types val check_class_access : use_pos:Pos.t -> def_pos:Pos_or_decl.t -> e...
28.033333
88
0.710464
f32a0239a6d7da58abeaa6d13df00cd56764f17b
829
ml
OCaml
ZeroMQ/filecode/examples/OCaml/wuclient.ml
JailbreakFox/LightWeightLib
70e209f6d2941335f48e4692299d885117bd61ee
[ "BSD-2-Clause" ]
null
null
null
ZeroMQ/filecode/examples/OCaml/wuclient.ml
JailbreakFox/LightWeightLib
70e209f6d2941335f48e4692299d885117bd61ee
[ "BSD-2-Clause" ]
null
null
null
ZeroMQ/filecode/examples/OCaml/wuclient.ml
JailbreakFox/LightWeightLib
70e209f6d2941335f48e4692299d885117bd61ee
[ "BSD-2-Clause" ]
null
null
null
(** Weather update client Connects SUB socket to tcp://localhost:5556 Collects weather updates and finds avg temp in zipcode *) open Zmq open Helpers let () = with_context @@ fun ctx -> with_socket ctx Socket.sub @@ fun sub -> printfn "Collecting updates from weather server..."; Socket.connect sub "tcp:...
31.884615
92
0.686369
f3f73e3ffa04d792a5626b259b4bc6c409565be6
2,862
ml
OCaml
src/move/tools.ml
pkel/ocaml-notmuch
ea235da091fcff96f3927e42f1c320b20c7de9d7
[ "MIT" ]
null
null
null
src/move/tools.ml
pkel/ocaml-notmuch
ea235da091fcff96f3927e42f1c320b20c7de9d7
[ "MIT" ]
null
null
null
src/move/tools.ml
pkel/ocaml-notmuch
ea235da091fcff96f3927e42f1c320b20c7de9d7
[ "MIT" ]
null
null
null
(** Copy & delete messages in a maildir tree *) open Core module type M = sig type subdir = string type dir = string type mail exception InvalidFilepath of string exception InvalidDirectory of string val mail_of_filepath: string -> mail val dir_of_mail: mail -> dir (* val count: dir -> int *) (* v...
22.015385
65
0.608665
af603672b4205b3434c2538d46939ed438d568c3
18,897
ml
OCaml
bap-vibes/src/data.ml
draperlaboratory/VIBES
46d3284e7ff0f897bd553a1678023ea1ebc9005e
[ "MIT" ]
12
2022-02-11T18:58:30.000Z
2022-03-30T18:00:39.000Z
bap-vibes/src/data.ml
draperlaboratory/VIBES
46d3284e7ff0f897bd553a1678023ea1ebc9005e
[ "MIT" ]
21
2022-02-13T06:18:16.000Z
2022-03-31T18:09:17.000Z
bap-vibes/src/data.ml
draperlaboratory/VIBES
46d3284e7ff0f897bd553a1678023ea1ebc9005e
[ "MIT" ]
null
null
null
(***************************************************************************) (* *) (* Copyright (C) 2022/2023 The Charles Stark Draper Laboratory, Inc. *) (* *) (* This...
34.048649
85
0.678256
af21b218edfa0e1394f5b237606da1d7786557b8
65
ml
OCaml
internal/Foo.ml
keveri/hello-reason
23883d1d9480a774695926ad9cbb7b91441cd5a9
[ "MIT" ]
null
null
null
internal/Foo.ml
keveri/hello-reason
23883d1d9480a774695926ad9cbb7b91441cd5a9
[ "MIT" ]
2
2018-03-21T17:28:57.000Z
2018-03-22T20:30:06.000Z
internal/Foo.ml
keveri/hello-reason
23883d1d9480a774695926ad9cbb7b91441cd5a9
[ "MIT" ]
null
null
null
(* OCaml source *) let camel = "OCaml" let calculate x = x * 2
10.833333
23
0.6
f35e229dbec5f6b65640f4e89b89e02552174740
688
ml
OCaml
data/sp14/0412.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/0412.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/0412.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) = wwhile (let fb = f b in ((fb, (fb = 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) = let w b' = let fb = f b' in (fb, (fb = b')) in wwhile (w...
17.2
79
0.49564
f35b573eb83a332d9a3ef903feb785505d1b68a0
211
ml
OCaml
src/sink/fun.ml
CraigFe/sink
c5431edfa1b06f1a09845a481c4afcb3e92f0667
[ "MIT" ]
5
2020-09-01T12:10:43.000Z
2021-02-15T09:24:52.000Z
src/sink/fun.ml
CraigFe/sink
c5431edfa1b06f1a09845a481c4afcb3e92f0667
[ "MIT" ]
null
null
null
src/sink/fun.ml
CraigFe/sink
c5431edfa1b06f1a09845a481c4afcb3e92f0667
[ "MIT" ]
null
null
null
type ('a, 'b) t = 'a -> 'b [@@deriving branded] external id : 'a -> 'a = "%identity" let const c _ = c let flip f x y = f y x let negate p v = not (p v) let uncurry f (x, y) = f x y let curry f x y = f (x, y)
21.1
47
0.540284
af36ab51334cf3014320384f333710b648b50779
1,580
mli
OCaml
CodeHawk/CHC/cchanalyze/cCHPOCheckCommonBaseType.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cchanalyze/cCHPOCheckCommonBaseType.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cchanalyze/cCHPOCheckCommonBaseType.mli
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk C Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2019 Kestrel Technology LLC Permission is hereby granted,...
45.142857
83
0.641139
af3fb299450843b37e463ab43c835d57634737bd
3,877
ml
OCaml
hphp/hack/src/typing/typing_decl_service.ml
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_decl_service.ml
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_decl_service.ml
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "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. * *) (***********...
36.233645
80
0.50245
f3cb42f7b2faf46a718a83bd00106e8d8f647afb
8,632
ml
OCaml
src/lib/transaction_status/transaction_status.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_status/transaction_status.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_status/transaction_status.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Coda_base open Pipe_lib open Network_pool module State = struct [%%versioned module Stable = struct module V1 = struct type t = Pending | Included | Unknown [@@deriving equal, sexp, compare] let to_latest = Fn.id end end] let to_string = function | Pending -> ...
38.882883
97
0.625
f31730f931398793785ac12b69327171bb351048
24,535
ml
OCaml
src/inputSystem.ml
kind2-mc/kind2
12ee2b8a6fc3033f6bb2d278efc771e612906621
[ "Apache-2.0" ]
62
2015-02-04T17:49:51.000Z
2022-03-19T21:52:06.000Z
src/inputSystem.ml
kind2-mc/kind2
12ee2b8a6fc3033f6bb2d278efc771e612906621
[ "Apache-2.0" ]
110
2015-01-20T14:26:17.000Z
2022-03-22T02:25:49.000Z
src/inputSystem.ml
kind2-mc/kind2
12ee2b8a6fc3033f6bb2d278efc771e612906621
[ "Apache-2.0" ]
25
2017-02-20T21:13:55.000Z
2021-07-20T19:46:09.000Z
(* This file is part of the Kind 2 model checker. Copyright (c) 2014 by the Board of Trustees of the University of Iowa Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.a...
29.489183
99
0.637864
f366132efb537711726d9e97adc3d53c5fc63d01
154,021
ml
OCaml
typer.ml
IVPR/haxe
7c322429f839e298b0c323bdb9d21a993f8adb14
[ "MIT" ]
1
2015-05-07T19:04:28.000Z
2015-05-07T19:04:28.000Z
typer.ml
IVPR/haxe
7c322429f839e298b0c323bdb9d21a993f8adb14
[ "MIT" ]
null
null
null
typer.ml
IVPR/haxe
7c322429f839e298b0c323bdb9d21a993f8adb14
[ "MIT" ]
null
null
null
(* * Copyright (C)2005-2013 Haxe Foundation * * 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 restriction, including without limitation * the rights to use, copy, modify, merge,...
36.053605
200
0.628239
f3f9c0dd34edea4f753fefcda953d07e053cc204
78,335
ml
OCaml
src/uucd.ml
kit-ty-kate/uucd
ca53734d791142da67648ecbf1e0b9016d79043a
[ "ISC" ]
9
2018-02-08T01:18:36.000Z
2021-09-15T11:00:52.000Z
src/uucd.ml
kit-ty-kate/uucd
ca53734d791142da67648ecbf1e0b9016d79043a
[ "ISC" ]
2
2019-03-07T21:54:54.000Z
2020-02-24T20:20:09.000Z
src/uucd.ml
kit-ty-kate/uucd
ca53734d791142da67648ecbf1e0b9016d79043a
[ "ISC" ]
3
2019-04-02T22:08:41.000Z
2021-09-15T10:33:49.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2012 The uucd programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) let str = Printf.sprintf...
25.973143
80
0.671679
af5e856ed20a88a1f9a77e4fd86cc7706d9bb043
337
ml
OCaml
lib/yaks_properties.ml
atolab/yaks-common
39d95312ffeb7cc354ff2965872f6669222eb0ba
[ "Apache-2.0" ]
8
2019-02-28T17:10:33.000Z
2020-06-06T04:49:00.000Z
lib/yaks_properties.ml
atolab/yaks-common
39d95312ffeb7cc354ff2965872f6669222eb0ba
[ "Apache-2.0" ]
null
null
null
lib/yaks_properties.ml
atolab/yaks-common
39d95312ffeb7cc354ff2965872f6669222eb0ba
[ "Apache-2.0" ]
null
null
null
module Admin = struct let workspaceid = "wsid" let subscriberid = "subid" end module Storage = struct module Key = struct let key = "is.yaks.storage" let id = "is.yaks.storage.id" let alias = "is.yaks.storage.alias" let config = "is.yaks.storage.config" let set = "is.yaks.storag...
19.823529
43
0.632047
af49a5743b83b13935e17e2a17f9acb019b580f2
6,128
ml
OCaml
bench/irmin-pack/trace_stats.ml
gs0510/irmin
d6701925517d2d9874fe9d77a9a1fad905c72bd3
[ "0BSD" ]
null
null
null
bench/irmin-pack/trace_stats.ml
gs0510/irmin
d6701925517d2d9874fe9d77a9a1fad905c72bd3
[ "0BSD" ]
null
null
null
bench/irmin-pack/trace_stats.ml
gs0510/irmin
d6701925517d2d9874fe9d77a9a1fad905c72bd3
[ "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" AN...
32.946237
83
0.659269
af330f175776431b224fc440abc64dfea3a52b51
1,865
ml
OCaml
data/sp14_min/3130.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/3130.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/3130.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let l1 = [0; 0; 9; 9];; let l2 = [1; 0; 0; 2];; let x = (3, 3) :: (List.rev (List.combine l1 l2));; let clone x n = let rec helper x n acc = if n <= 0 then acc else helper x (n - 1) (x :: acc) in helper x n [];; let padZero l1 l2 = if (List.length l1) < (List.length l2) then ((List.append (clone 0 ((Li...
23.3125
79
0.542091
af1b2a62289e9bd385485f6895f7978faa098e17
2,541
mli
OCaml
coq/checker/environ.mli
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/checker/environ.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/checker/environ.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
open Names open Cic (* Environments *) type globals = { env_constants : constant_body Cmap_env.t; env_inductives : mutual_inductive_body Mindmap_env.t; env_inductives_eq : KerName.t KNmap.t; env_modules : module_body MPmap.t; env_modtypes : module_type_body MPmap.t} type stratification = { env_universes :...
31.7625
78
0.723731
f343a900519db43eea92bb922a201991824ce340
3,201
ml
OCaml
minos/checks/system_simple_check.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
minos/checks/system_simple_check.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
minos/checks/system_simple_check.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
open Bap.Std open Core_kernel.Std open Options open Simple_args open Check open Check_util open Policy open Format let (^::) = Seq.cons module P = Policy.Predicate (** This is before paths. We will fold const on the sub with respect to system *) let should_produce' ctxt args sink_blk = match args with | {arg...
29.366972
77
0.654795
f321dbd068913e347a02e3e7dc4d771155cb9c36
2,957
mli
OCaml
code/src/netplex/netplex_workload.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/netplex/netplex_workload.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/netplex/netplex_workload.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
(* $Id$ *) (** Workload management * * Workload managers control when additional containers are started or * idle containers are stopped. See {!Netplex_intro.workload} for * additional documentation how they are configured. *) open Netplex_types val create_constant_workload_manager : ?restart:bool -...
30.802083
79
0.675347
af05973b8717a660398b82958a6733d1312c2ec2
827
mli
OCaml
lib/facade.mli
zajer/trs-ssp-bridge
2108bf98700edd942c1fc9355f06f0437e3f6fba
[ "MIT" ]
null
null
null
lib/facade.mli
zajer/trs-ssp-bridge
2108bf98700edd942c1fc9355f06f0437e3f6fba
[ "MIT" ]
null
null
null
lib/facade.mli
zajer/trs-ssp-bridge
2108bf98700edd942c1fc9355f06f0437e3f6fba
[ "MIT" ]
null
null
null
val extract_destination_states : states_file:string -> patterns_file:string -> output_file:string -> unit val normalize_tts : parallel:bool -> states_file:string -> trans_file:string -> norm_trans_file:string -> unit val transform_tts : parallel:bool -> is_trans_file_headerless:bool -> states_file:string -> norm_trans...
51.6875
189
0.775091
f31cc43a762dfb10c7a70710d237e9af58c6a073
1,629
mli
OCaml
src/mirage/metrics_mirage.mli
mirage/metrics
beeac2d22449b28cd98479c298c1fee1bee82794
[ "0BSD" ]
22
2018-10-19T08:59:40.000Z
2022-02-02T17:42:41.000Z
src/mirage/metrics_mirage.mli
mirage/metrics
beeac2d22449b28cd98479c298c1fee1bee82794
[ "0BSD" ]
18
2018-11-03T23:37:44.000Z
2022-02-17T00:40:09.000Z
src/mirage/metrics_mirage.mli
mirage/metrics
beeac2d22449b28cd98479c298c1fee1bee82794
[ "0BSD" ]
10
2018-10-19T08:28:33.000Z
2022-01-28T17:58:26.000Z
(* * Copyright (c) 2018 Hannes Mehnert <hannes@mehnert.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...
42.868421
80
0.718232
f3d3fd2b25cd61c859d3a9c7f893caee4dfc862e
190
ml
OCaml
benchmarks/C/iter/sol122.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/iter/sol122.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/iter/sol122.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(* 2011-10915 / 생명과학부 / 신지민 / Homework 1-3 *) let rec iter = fun(n,f) a -> if(n==0) then a else f (iter(n-1,f) a) (* let k = iter(3, function x -> x^x) "x" let _= print_endline(k) *)
13.571429
45
0.547368
af1cab9a7a7eab6f28a0f58320d685b9932ac2b5
215
ml
OCaml
OCaml from the Very Beginning/Chapter 8/exercise03.ml
johnwhitington/ocamli
28da5d87478a51583a6cb792bf3a8ee44b990e9f
[ "BSD-3-Clause" ]
100
2017-09-08T09:49:08.000Z
2022-03-10T12:12:50.000Z
OCaml from the Very Beginning/Chapter 8/exercise03.ml
johnwhitington/ocamli
28da5d87478a51583a6cb792bf3a8ee44b990e9f
[ "BSD-3-Clause" ]
1
2020-01-31T15:47:28.000Z
2020-02-01T11:54:44.000Z
OCaml from the Very Beginning/Chapter 8/exercise03.ml
johnwhitington/ocamli
28da5d87478a51583a6cb792bf3a8ee44b990e9f
[ "BSD-3-Clause" ]
null
null
null
let rec mkdict keys values = match keys, values with [], [] -> [] | _, [] -> raise (Invalid_argument "mkdict") | [], _ -> raise (Invalid_argument "mkdict") | k::ks, v::vs -> (k, v) :: mkdict ks vs
30.714286
47
0.534884
af53e5ac013abb87f3664f8a09087d88a329b618
1,746
ml
OCaml
compiler/qmlpasses/pass_DbCodeGeneration.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
compiler/qmlpasses/pass_DbCodeGeneration.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
compiler/qmlpasses/pass_DbCodeGeneration.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
58
2015-01-02T23:57:42.000Z
2022-03-02T12:44:42.000Z
(* Copyright © 2011 MLstate This file is part of Opa. Opa is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3, as published by the Free Software Foundation. Opa is distributed in the hope that it will be useful, but WI...
33.576923
138
0.681558
af73aaab9f2fbcfea1a4e475b922d002e60ca808
21,617
ml
OCaml
src/passes/10-checking/pattern_matching.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
null
null
null
src/passes/10-checking/pattern_matching.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
null
null
null
src/passes/10-checking/pattern_matching.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
null
null
null
(** This implements the pattern_matching compiler of `Peyton-Jones, S.L., The Implementation of Functional Programming Languages`, chapter 5. By reduction, this algorithm transforms pattern matching expression into (nested) cases expressions. `Sugar` match expression being 'pattern matching' expression and `Core`/`Typ...
45.798729
169
0.617986
f31991a5053c373cec87ad33972fd08732906ab5
476
ml
OCaml
src/dune_util/build_path_prefix_map0.ml
ocaml/jbuilder
bd53904712bf5991d7a02c70a3a1daf7be333c80
[ "MIT" ]
null
null
null
src/dune_util/build_path_prefix_map0.ml
ocaml/jbuilder
bd53904712bf5991d7a02c70a3a1daf7be333c80
[ "MIT" ]
null
null
null
src/dune_util/build_path_prefix_map0.ml
ocaml/jbuilder
bd53904712bf5991d7a02c70a3a1daf7be333c80
[ "MIT" ]
null
null
null
open Stdune let _BUILD_PATH_PREFIX_MAP = "BUILD_PATH_PREFIX_MAP" let extend_build_path_prefix_map env how map = let new_rules = Build_path_prefix_map.encode_map map in Env.update env ~var:_BUILD_PATH_PREFIX_MAP ~f:(function | None -> Some new_rules | Some existing_rules -> Some (match how wi...
34
77
0.718487
f3b005982a3fd64a8d10d07bd09de586ce0423dd
536
ml
OCaml
test/passing/tests/doc_comments_padding.ml
d4hines/ocamlformat
7022aee8b073cbb6645d40b9b8432653093ef835
[ "MIT" ]
499
2017-10-09T10:51:58.000Z
2022-03-30T19:11:27.000Z
test/passing/tests/doc_comments_padding.ml
d4hines/ocamlformat
7022aee8b073cbb6645d40b9b8432653093ef835
[ "MIT" ]
1,392
2017-10-19T18:03:58.000Z
2022-03-30T15:53:42.000Z
test/passing/tests/doc_comments_padding.ml
d4hines/ocamlformat
7022aee8b073cbb6645d40b9b8432653093ef835
[ "MIT" ]
118
2017-10-19T18:46:20.000Z
2022-03-30T11:22:50.000Z
type t = {a: int (** a *); b: int (** b *)} type t = < a: int (** a *) ; b: int (** b *) > type t = [`a of int (** a *) | `b of int (** b *)] type t = A of int (** a *) | B of int (** b *) type t += A of int (** a *) | B of int (** b *) [@@@ocamlformat "doc-comments-padding=1"] type t = {a: int (** a *)...
24.363636
52
0.380597
af79f6fc0595cde2a7455dc178ecada36dfa8fb0
1,059
ml
OCaml
vendor/incremental/src/alarm_value.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/incremental/src/alarm_value.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/incremental/src/alarm_value.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! Import module Action = struct type t = Types.Alarm_value.Action.t = | At of At.t | At_intervals of At_intervals.t | Snapshot : _ Snapshot.t -> t | Step_function : _ Step_function_node.t -> t [@@deriving sexp_of] let invariant = function | At at -> At.invariant at |...
29.416667
83
0.693107
f3f9389e108ab9fd2383c19909965af45ab9714e
6,582
ml
OCaml
lib/camlp4_to_ppx.ml
janestreet/camlp4-to-ppx
5dc1cf5a3dc9e1d206d07c91a2468fd31df01e05
[ "Apache-2.0" ]
26
2015-07-08T19:33:32.000Z
2021-12-17T03:01:47.000Z
lib/camlp4_to_ppx.ml
janestreet/camlp4-to-ppx
5dc1cf5a3dc9e1d206d07c91a2468fd31df01e05
[ "Apache-2.0" ]
4
2015-10-16T15:21:11.000Z
2019-09-01T03:39:25.000Z
lib/camlp4_to_ppx.ml
janestreet/camlp4-to-ppx
5dc1cf5a3dc9e1d206d07c91a2468fd31df01e05
[ "Apache-2.0" ]
7
2015-10-19T13:53:41.000Z
2021-12-17T03:02:49.000Z
open Printf open StdLabels open Camlp4.PreCast open Syntax let module M = Camlp4OCamlParser.Make(Camlp4OCamlRevisedParser.Make(Camlp4.PreCast.Syntax)) in () let program_name = Filename.basename Sys.executable_name let input_file = match Sys.argv with | [| _; fname |] -> fname | _ -> Printf.eprintf "Usage...
27.08642
88
0.609237
af662490fe290a27380fb3bca6d34abc354b904b
261
ml
OCaml
Ocaml/Gruppo9/Es3/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
1
2020-09-06T16:03:15.000Z
2020-09-06T16:03:15.000Z
Ocaml/Gruppo9/Es3/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
null
null
null
Ocaml/Gruppo9/Es3/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
null
null
null
(* mkor applicata a una lista di form, riporta la disgiunzione di *) (* tutte le formule nella lista se la lista è vuota riporta un False. *) (* mkor : form list -> form *) let rec mkor = function | [] -> False | [hd] -> hd | hd:: tl -> Or(hd, mkor tl)
32.625
72
0.616858
af48f190da0a0e1c76f096deda853319c0ee04e9
230
mli
OCaml
libraries/ssm/lib/createAssociationBatch.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ssm/lib/createAssociationBatch.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ssm/lib/createAssociationBatch.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = CreateAssociationBatchRequest.t type output = CreateAssociationBatchResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
20.909091
85
0.782609
af1bbdd5ec6e931685e3c69429a963fc74b036b6
15,896
ml
OCaml
src/dune/gen_rules.ml
dannywillems/dune
19f3a4a3db93702034c5227517b3e96e89fe5d84
[ "MIT" ]
null
null
null
src/dune/gen_rules.ml
dannywillems/dune
19f3a4a3db93702034c5227517b3e96e89fe5d84
[ "MIT" ]
null
null
null
src/dune/gen_rules.ml
dannywillems/dune
19f3a4a3db93702034c5227517b3e96e89fe5d84
[ "MIT" ]
null
null
null
open! Stdune open Import module Menhir_rules = Menhir module Toplevel_rules = Toplevel.Stanza open Dune_file open! No_io module For_stanza : sig type ('merlin, 'cctx, 'js, 'source_dirs) t = { merlin : 'merlin ; cctx : 'cctx ; js : 'js ; source_dirs : 'source_dirs } val of_stanzas : Stan...
36.292237
81
0.62154
f337e519f29c3d1c206c3e9c415e701879a7d2b7
3,248
mli
OCaml
lib/archBase.mli
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
null
null
null
lib/archBase.mli
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
4
2021-06-29T09:31:26.000Z
2021-07-02T15:26:56.000Z
lib/archBase.mli
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
34.189474
78
0.512315
af21f09277f7a68af1b6d248f69e48d9421a6a5a
11,588
ml
OCaml
src/lib/distributed_dsl/node.ml
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
1
2018-11-01T06:43:26.000Z
2018-11-01T06:43:26.000Z
src/lib/distributed_dsl/node.ml
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
src/lib/distributed_dsl/node.ml
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Async_kernel module type Peer_intf = sig type t [@@deriving eq, hash, compare, sexp] include Hashable.S with type t := t end module type Transport_intf = sig type t type message type peer val send : t -> recipient:peer -> message -> unit Or_error.t Deferred.t val listen : t ->...
29.789203
79
0.611322
f3112005c54da8a1e0d12935b2577c6f8b7b0978
4,107
mli
OCaml
src/findlib/topfind.mli
AltGr/ocamlfind
d905d242d1b52037416e106db998ef38c7e6f06f
[ "MIT" ]
18
2019-10-02T13:19:18.000Z
2022-03-17T11:20:10.000Z
src/findlib/topfind.mli
AltGr/ocamlfind
d905d242d1b52037416e106db998ef38c7e6f06f
[ "MIT" ]
27
2019-10-21T16:13:08.000Z
2022-03-23T23:36:56.000Z
src/findlib/topfind.mli
AltGr/ocamlfind
d905d242d1b52037416e106db998ef38c7e6f06f
[ "MIT" ]
17
2019-10-03T20:57:42.000Z
2022-02-12T05:51:51.000Z
(* $Id$ * ---------------------------------------------------------------------- * *) (** Load packages from toploops and scripts * * The [Topfind] module is part of the [findlib] package. The module * depends on the presence of a toploop. When building a toploop, it is * automatically linked in if "findlib" is...
33.390244
76
0.669589
f3ee87e1694bb51b4f1586fa6546bece6960e51a
1,042
ml
OCaml
data/derived/comb/progs/unify/prog4855.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/prog4855.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4855.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let clone x n = let rec helper x n acc = if n <= 0 then acc else helper x (n - 1) (x :: acc) in helper x n [];; 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...
30.647059
79
0.578695
af130fd61ba19b95cb2b247bd0c87abcc89ee5d8
3,791
ml
OCaml
hphp/hack/src/fsnotify_win/fsnotify.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
10
2016-07-28T20:02:37.000Z
2021-01-28T05:48:11.000Z
hphp/hack/src/fsnotify_win/fsnotify.ml
h4ck3rm1k3/hhvm
79e045f3ad1cbe079ff15c163131eb184db025f9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/fsnotify_win/fsnotify.ml
h4ck3rm1k3/hhvm
79e045f3ad1cbe079ff15c163131eb184db025f9
[ "PHP-3.01", "Zend-2.0" ]
5
2017-02-06T11:42:23.000Z
2021-01-11T12:10:08.000Z
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) (* Princi...
29.617188
81
0.713268
af695b2148f2a67b8d44e922782499905b65d4a4
15,342
ml
OCaml
piqicc/boot/piqdefs.ml
smarkets/piqi
4ff1485a6606df2eb3b210418b443101e24e4df8
[ "Apache-2.0" ]
null
null
null
piqicc/boot/piqdefs.ml
smarkets/piqi
4ff1485a6606df2eb3b210418b443101e24e4df8
[ "Apache-2.0" ]
null
null
null
piqicc/boot/piqdefs.ml
smarkets/piqi
4ff1485a6606df2eb3b210418b443101e24e4df8
[ "Apache-2.0" ]
null
null
null
(*pp camlp4o -I `ocamlfind query piqi.syntax` pa_labelscope.cmo pa_openin.cmo *) (* Copyright 2009, 2010, 2011 Anton Lavrik Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http:/...
26.047538
81
0.4006
af488f2af666a35c75c76bc50daa244c62bd7384
1,688
ml
OCaml
src/lib/marlin_plonk_bindings/tweedle_fq_plonk_verifier_index/marlin_plonk_bindings_tweedle_fq_verifier_index.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
src/lib/marlin_plonk_bindings/tweedle_fq_plonk_verifier_index/marlin_plonk_bindings_tweedle_fq_verifier_index.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
src/lib/marlin_plonk_bindings/tweedle_fq_plonk_verifier_index/marlin_plonk_bindings_tweedle_fq_verifier_index.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
open Marlin_plonk_bindings_types type t = ( Marlin_plonk_bindings_tweedle_fq.t , Marlin_plonk_bindings_tweedle_fq_urs.t , Marlin_plonk_bindings_tweedle_fq_urs.Poly_comm.t ) Plonk_verifier_index.t module Raw = struct type t external create : Marlin_plonk_bindings_tweedle_fq_index.t -> t = "caml_tw...
28.610169
72
0.781398
af38f812888b6bd3a6ba3fe345095da29e869652
1,026
mli
OCaml
lib/log.mli
gasche/opamcheck
7d55f156a9dc88f0f6c60e8614798f07514e0c9e
[ "Apache-2.0" ]
null
null
null
lib/log.mli
gasche/opamcheck
7d55f156a9dc88f0f6c60e8614798f07514e0c9e
[ "Apache-2.0" ]
null
null
null
lib/log.mli
gasche/opamcheck
7d55f156a9dc88f0f6c60e8614798f07514e0c9e
[ "Apache-2.0" ]
null
null
null
(* log.mli -- logging and warning Copyright 2017 Inria author: Damien Doligez *) val init : sandbox:string -> unit -> unit val log_chan : unit -> Pervasives.out_channel (** stdout *) val log : ('a, unit, string, unit) format4 -> 'a (** Write to stdout and flush. *) val res_chan : unit -> Pervasives.out_channe...
25.65
51
0.651072
af6e3d1cd329eca090521d76f2e6dd98292fcd7e
2,851
ml
OCaml
src/dune/mode.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
11
2020-07-14T13:57:02.000Z
2020-09-05T23:50:25.000Z
src/dune/mode.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2021-05-21T15:34:59.000Z
2021-05-21T15:34:59.000Z
src/dune/mode.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-11-25T12:01:04.000Z
2020-11-25T12:01:04.000Z
open! Stdune open! Import type t = | Byte | Native let compare = Poly.compare let all = [ Byte; Native ] let decode = let open Dune_lang.Decoder in enum [ ("byte", Byte); ("native", Native) ] let choose byte native = function | Byte -> byte | Native -> native let to_string = choose "byte" "native" le...
21.276119
76
0.579095
f3c1346866babd1c8606305ad8ca834e392d0944
143
mli
OCaml
src/tycheck.mli
bagnalla/AAL_code
59755c2724929d0920317cebb1aa782ec372f602
[ "MIT" ]
3
2018-10-03T04:02:13.000Z
2018-10-05T18:46:05.000Z
src/tycheck.mli
bagnalla/AAL_code
59755c2724929d0920317cebb1aa782ec372f602
[ "MIT" ]
null
null
null
src/tycheck.mli
bagnalla/AAL_code
59755c2724929d0920317cebb1aa782ec372f602
[ "MIT" ]
null
null
null
open AST open Exp (** [Ty_error err]: A type error, with error message [err] *) exception Ty_error of string val tycheck_prog : prog -> prog
17.875
61
0.713287
f3b634009dea30e80d8404962473c8963e19f123
5,387
mli
OCaml
ocaml_typing/407/location.mli
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
684
2018-05-24T14:14:06.000Z
2022-03-14T21:13:22.000Z
ocaml_typing/407/location.mli
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
439
2018-05-25T21:16:18.000Z
2021-12-03T11:28:10.000Z
ocaml_typing/407/location.mli
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
107
2018-05-30T23:53:50.000Z
2022-01-10T10:50:53.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
35.20915
80
0.598478
f307c8cb127de167ceeb8279020e9a241d8168b7
1,001
mly
OCaml
grammar-artefacts/07-menhir-modules/_2.0_2.2_2.4_2.4.3_.mly
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2020-11-26T18:53:46.000Z
2020-11-26T18:53:46.000Z
grammar-artefacts/07-menhir-modules/_2.0_2.2_2.4_2.4.3_.mly
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
null
null
null
grammar-artefacts/07-menhir-modules/_2.0_2.2_2.4_2.4.3_.mly
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2019-04-11T11:27:01.000Z
2019-04-11T11:27:01.000Z
// Grammar for versions: 2.0 2.2 2.4 2.4.3 // Generated by CompareGrammar on 2018-01-16 at 20:28:53.007+00:00 // Top non-terminals: compound_stmt dotted_as_name expr_stmt import_as_name list_if %% %public dotted_as_name: dotted_name _optional(NAME NAME {}) {} ; %public list_if: ...
16.409836
85
0.663337
af517694c9d8c185304c60112958233062054c06
2,718
ml
OCaml
test/test_socket.ml
CraigFe/mirage-tcpip
451c5666d5a486620d89a4b95d89d40be51c79ed
[ "0BSD" ]
null
null
null
test/test_socket.ml
CraigFe/mirage-tcpip
451c5666d5a486620d89a4b95d89d40be51c79ed
[ "0BSD" ]
null
null
null
test/test_socket.ml
CraigFe/mirage-tcpip
451c5666d5a486620d89a4b95d89d40be51c79ed
[ "0BSD" ]
1
2021-06-16T22:40:12.000Z
2021-06-16T22:40:12.000Z
open Lwt.Infix module Stack = Tcpip_stack_socket module Time = Vnetif_common.Time type stack_stack = { stack : Stack.t; icmp : Icmpv4_socket.t; udp : Udpv4_socket.t; tcp : Tcpv4_socket.t; } let or_fail_str ~str f args = f args >>= function | `Ok p -> Lwt.return p | `Error _ -> Alcotest.fail str l...
36.24
106
0.635026
f39ced1e63ceca15ad2ee0dba3f4d5390a2972ff
504
mli
OCaml
duniverse/core_kernel/src/span_ns.mli
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
duniverse/core_kernel/src/span_ns.mli
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
duniverse/core_kernel/src/span_ns.mli
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
open! Import open Std_internal include Time_ns_intf.Span module Stable : sig (** [V1] is currently only implemented in [Core]. *) module V2 : sig type nonrec t = t [@@deriving hash] type nonrec comparator_witness = comparator_witness include Stable_int63able with type t := t with typ...
22.909091
56
0.696429
f3c35e7c89191a28975a542740ff6b2b52ce507c
9,228
ml
OCaml
src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
null
null
null
src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/lib_shell/test/test_synchronisation_heuristic_fuzzy.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs <contact@nomadic-labs.com> *) ...
36.046875
91
0.605332
f3b1abe7a2191471fe0662cee9071bdbd64f0f3b
3,025
ml
OCaml
lib/combinat.ml
j-c-w/L2
2c6c3fec36d42bb114fc74847037d1f5ef2e43ab
[ "Apache-2.0" ]
null
null
null
lib/combinat.ml
j-c-w/L2
2c6c3fec36d42bb114fc74847037d1f5ef2e43ab
[ "Apache-2.0" ]
null
null
null
lib/combinat.ml
j-c-w/L2
2c6c3fec36d42bb114fc74847037d1f5ef2e43ab
[ "Apache-2.0" ]
null
null
null
open Core module Seq = Sequence let m_partition : int -> int -> Array.Int.t Seq.t = fun n m -> (* if m <= 0 then failwiths "'m' must be greater than or equal to 1." m [%sexp_of:int]; *) if n < m then Seq.empty else if m <= 0 then Seq.empty else if m = 1 then Seq.singleton (Array.create ~len:1 n) else le...
30.25
92
0.470083
af623abdfad52d3cfaf8389e3a67c80aad5473a0
3,443
ml
OCaml
src_top/platform.ml
VarunKoyyalagunta/rmem
9de95224f6293acb3cd6022471219a0a01b9b260
[ "BSD-2-Clause" ]
37
2019-01-14T13:08:24.000Z
2022-02-14T20:57:12.000Z
src_top/platform.ml
VarunKoyyalagunta/rmem
9de95224f6293acb3cd6022471219a0a01b9b260
[ "BSD-2-Clause" ]
10
2019-07-26T09:34:35.000Z
2021-12-31T20:17:32.000Z
src_top/platform.ml
VarunKoyyalagunta/rmem
9de95224f6293acb3cd6022471219a0a01b9b260
[ "BSD-2-Clause" ]
12
2019-02-13T17:50:41.000Z
2021-12-31T19:08:00.000Z
(*===============================================================================*) (* *) (* rmem executable model *) (* ===================== ...
52.166667
197
0.551554
d2dcc7f2ea74209215e601eb8326838a1a9b5a4a
24,172
ml
OCaml
src/parser/ml/FStar_Parser_LexFStar.ml
W95Psp/FStar
6a6a43d623d9ec13984f2d8dc2fe1b117a6fffa5
[ "Apache-2.0" ]
2,231
2015-01-05T02:19:24.000Z
2022-03-30T05:54:05.000Z
src/parser/ml/FStar_Parser_LexFStar.ml
W95Psp/FStar
6a6a43d623d9ec13984f2d8dc2fe1b117a6fffa5
[ "Apache-2.0" ]
2,151
2015-01-06T05:01:08.000Z
2022-03-31T23:16:08.000Z
src/parser/ml/FStar_Parser_LexFStar.ml
W95Psp/FStar
6a6a43d623d9ec13984f2d8dc2fe1b117a6fffa5
[ "Apache-2.0" ]
281
2015-02-13T00:14:17.000Z
2022-03-13T12:51:04.000Z
open FStar_Parser_Parse open FStar_Parser_Util module Option = BatOption module String = BatString module Hashtbl = BatHashtbl module Sedlexing = FStar_Sedlexing module L = Sedlexing module E = FStar_Errors let ba_of_string s = Array.init (String.length s) (fun i -> Char.code (String.get s i)) let array_trim_both a...
39.176661
186
0.58936
f313b145b0119ff05788b23dd3d589e1927d2bb6
409
mli
OCaml
infer/src/checkers/registerCheckers.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
1
2017-09-14T09:03:44.000Z
2017-09-14T09:03:44.000Z
infer/src/checkers/registerCheckers.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
null
null
null
infer/src/checkers/registerCheckers.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "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 root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) open! IStd...
27.266667
78
0.726161
af50bb3d5e8a4837fbcc984793515ab18440b54c
2,554
ml
OCaml
dist/gcc-compatible/lib/Hacl_Ed25519_bindings.ml
daachi/hacl-star
f55abff79c2a5704b92a3d7d4e314b9c3b5867da
[ "Apache-2.0" ]
1,332
2018-06-25T18:44:25.000Z
2022-03-24T11:54:21.000Z
dist/gcc-compatible/lib/Hacl_Ed25519_bindings.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
311
2018-06-23T20:30:19.000Z
2022-03-31T16:52:05.000Z
dist/gcc-compatible/lib/Hacl_Ed25519_bindings.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
143
2018-08-23T11:43:58.000Z
2022-03-09T11:07:13.000Z
open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F let hacl_Bignum25519_reduce_513 = foreign "Hacl_Bignum25519_reduce_513" ((ptr uint64_t) @-> (returning void)) let hacl_Bignum25519_inverse = foreign "Hacl_Bignum25519_inverse" ((ptr uint64_t) @-> ((ptr uint64_t) @-> ...
46.436364
79
0.673845
f3d45f5a7368a2e71749c256a16e49cc310859e2
1,923
mli
OCaml
src/common/utils/listUtils.mli
Connormiha/flow
5a9f63fab7b4c1453c1e0950a56df6fac1a9d612
[ "MIT" ]
2
2018-02-28T06:36:27.000Z
2018-02-28T06:36:30.000Z
src/common/utils/listUtils.mli
Connormiha/flow
5a9f63fab7b4c1453c1e0950a56df6fac1a9d612
[ "MIT" ]
null
null
null
src/common/utils/listUtils.mli
Connormiha/flow
5a9f63fab7b4c1453c1e0950a56df6fac1a9d612
[ "MIT" ]
1
2018-01-18T10:09:27.000Z
2018-01-18T10:09:27.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module M_ = Monad val fold_left_opt : ('a -> 'b -> 'a option) -> 'a -> 'b list -> 'a option val fold_left_until : ('a -> 'b -> bool * '...
40.0625
93
0.482059
af2f06d2f4c0ddc2d6b808e26eb21517b472e5da
2,937
ml
OCaml
compiler/src/arch.ml
basavesh/jasmin
8f6a1c147b1d4d411862b8ef4d55e827a4eeebf9
[ "CECILL-B" ]
88
2017-02-22T11:18:11.000Z
2022-03-25T19:58:06.000Z
compiler/src/arch.ml
basavesh/jasmin
8f6a1c147b1d4d411862b8ef4d55e827a4eeebf9
[ "CECILL-B" ]
72
2018-10-05T10:56:34.000Z
2022-03-29T06:54:18.000Z
compiler/src/arch.ml
basavesh/jasmin
8f6a1c147b1d4d411862b8ef4d55e827a4eeebf9
[ "CECILL-B" ]
22
2017-09-18T14:44:09.000Z
2022-03-25T11:32:38.000Z
(* -------------------------------------------------------------------- *) open Utils (* -------------------------------------------------------------------- *) type os = [`Windows | `Linux | `Mac | `BSD | `Solaris] type arch = [`X86 | `X86_64 | `PowerPC | `ARM | `MIPS] (* ------------------------------------------...
29.079208
75
0.425264
f3af97f32eb6fe65120ed8ce10f2129d3b88fd66
3,290
ml
OCaml
src/typing/query_types.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/typing/query_types.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/typing/query_types.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast = Flow_ast open Typed_ast_utils type result = | FailureNoMatch | FailureUnparseable of Loc.t * Type.t * string ...
35
97
0.718845
af6eac6a1965f649a951898a4326e88d910b7900
2,034
ml
OCaml
libraries/ec2/lib/describeScheduledInstanceAvailability.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeScheduledInstanceAvailability.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/describeScheduledInstanceAvailability.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeScheduledInstanceAvailabilityRequest.t type output = DescribeScheduledInstanceAvailabilityResult.t type error = Errors_internal.t let service = "ec2" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string ...
31.78125
117
0.593904
f39fb26afab8d7f35c23c15df1c78c44a861d4a7
693
ml
OCaml
src/dune_rules/merlin_ident.ml
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
null
null
null
src/dune_rules/merlin_ident.ml
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
1
2019-09-17T12:49:47.000Z
2019-09-17T12:49:47.000Z
src/dune_rules/merlin_ident.ml
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
null
null
null
open Import type t = | Lib of Lib_name.t | Exes of string list let for_lib l = Lib l let for_exes ~names = Exes names (* For debug purposes we use the name of one library or executable and the hash of the others if there are multiple executables to name the merlin file *) let to_string = function | Lib nam...
27.72
79
0.699856
af7b0ed6f4c4b3f9c188bd322f55fa4a9c6a252f
61,027
ml
OCaml
src/proto_011_PtHangzH/lib_delegate/client_baking_forge.ml
Engil/tezos
cca83908754e611c3a7e2a9cbd85aaf6185ff802
[ "MIT" ]
3
2021-12-16T20:28:56.000Z
2022-01-21T01:37:49.000Z
src/proto_011_PtHangzH/lib_delegate/client_baking_forge.ml
Engil/tezos
cca83908754e611c3a7e2a9cbd85aaf6185ff802
[ "MIT" ]
5
2022-01-20T21:30:24.000Z
2022-03-11T14:43:56.000Z
src/proto_112_Pt4FJEL6/lib_delegate/client_baking_forge.ml
Decentralized-Pictures/T4L3NT
3a9265949d50d2e925b5d6b3df21f283211df6a2
[ "MIT" ]
1
2021-07-19T07:00:37.000Z
2021-07-19T07:00:37.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.630852
98
0.643535
af63de49fdc3b55e094c88e6cb3577feacabb521
15,309
ml
OCaml
src/hack_forked/procs/workerController.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "MIT" ]
null
null
null
src/hack_forked/procs/workerController.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "MIT" ]
1
2021-04-16T12:04:57.000Z
2021-04-16T12:04:57.000Z
src/hack_forked/procs/workerController.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "MIT" ]
1
2021-05-12T18:13:36.000Z
2021-05-12T18:13:36.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 Base open Worker (***************************************************************************** * Module building workers *...
38.08209
100
0.661768
af7257ec1fba04f57362aece2a8d0aa068d0fb14
2,037
mli
OCaml
src/lib_p2p/p2p_metrics.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_metrics.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_metrics.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2022 Nomadic Labs, <contact@nomadic-labs.com> *) ...
72.75
79
0.474718
f38f7c5022b671c5cda0866525ae078a536a2dd8
3,032
ml
OCaml
test/unit/Desugar_test.ml
mandel/stanc3
2e5562c16c7567ddf7fedc988902f9e38e390136
[ "BSD-3-Clause" ]
null
null
null
test/unit/Desugar_test.ml
mandel/stanc3
2e5562c16c7567ddf7fedc988902f9e38e390136
[ "BSD-3-Clause" ]
1
2020-10-12T23:55:15.000Z
2020-11-10T16:28:09.000Z
test/unit/Desugar_test.ml
mandel/stanc3
2e5562c16c7567ddf7fedc988902f9e38e390136
[ "BSD-3-Clause" ]
1
2020-10-12T23:48:37.000Z
2020-10-12T23:48:37.000Z
open Core_kernel open Analysis_and_optimization let to_mir s = Frontend.Frontend_utils.typed_ast_of_string_exn s |> Frontend.Ast_to_Mir.trans_prog "test prog" let print_tdata Middle.Program.{prepare_data; _} = Fmt.(strf "@[<v>%a@]@," (list ~sep:cut Middle.Stmt.Located.pp) prepare_data) |> print_endline let%e...
23.323077
78
0.586741
af70a1cc7844dc40c682ed0ea0469d70903c5e7a
2,458
mli
OCaml
src/server/persistent_connection/persistent_connection.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2020-07-11T17:49:59.000Z
2020-07-11T17:49:59.000Z
src/server/persistent_connection/persistent_connection.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
src/server/persistent_connection/persistent_connection.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. *) (* Stores all the necessary information about current persistent connections *) type t type single_client val empty : t val add...
30.725
82
0.759561
f3eb5c01ee9ca831fc923fd07e474d886f07f254
5,112
ml
OCaml
hphp/hack/src/watchman/watchman_sig.ml
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/watchman/watchman_sig.ml
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "PHP-3.01", "Zend-2.0" ]
2
2020-10-11T22:54:12.000Z
2021-07-20T22:12:10.000Z
hphp/hack/src/watchman/watchman_sig.ml
tahmidbintaslim/hhvm
64adfea366cfcd3488bddd4b482d5d9963817db8
[ "PHP-3.01", "Zend-2.0" ]
1
2021-01-29T08:44:22.000Z
2021-01-29T08:44:22.000Z
(* * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) module Types = struct exception Timeout exception Watchman_error of string exception Subscription_canceled_b...
25.949239
97
0.676643
af3ab828cc375761d3a9f55a2d90014b98dd58ed
2,556
ml
OCaml
stdppx/dyn0.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
57
2019-05-15T14:23:37.000Z
2021-05-24T19:23:19.000Z
stdppx/dyn0.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
53
2019-06-06T16:27:15.000Z
2020-05-14T18:05:50.000Z
stdppx/dyn0.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
7
2019-06-03T15:07:32.000Z
2020-04-06T14:06:22.000Z
module Array = Ppx_caml.ArrayLabels type t = | Unit | Int of int | Bool of bool | String of string | Bytes of bytes | Char of char | Float of float | Sexp of Sexp0.t | Option of t option | List of t list | Array of t array | Tuple of t list | Record of (string * t) list | Variant of string ...
24.342857
82
0.489437
af55d75c91ebdea9df6564a73c59e0e8568a18a2
3,059
ml
OCaml
src/cvode/cvode_bbd.ml
kit-ty-kate/sundialsml
52cdf008e267aa55373f123866478a6d881d3fee
[ "BSD-3-Clause" ]
24
2015-02-14T17:16:38.000Z
2021-12-23T16:02:13.000Z
src/cvode/cvode_bbd.ml
kit-ty-kate/sundialsml
52cdf008e267aa55373f123866478a6d881d3fee
[ "BSD-3-Clause" ]
10
2016-03-20T22:14:49.000Z
2022-03-16T09:54:31.000Z
src/cvode/cvode_bbd.ml
kit-ty-kate/sundialsml
52cdf008e267aa55373f123866478a6d881d3fee
[ "BSD-3-Clause" ]
5
2015-04-14T14:21:54.000Z
2022-03-10T16:14:55.000Z
(***********************************************************************) (* *) (* OCaml interface to Sundials *) (* *) (* Timothy B...
36.855422
77
0.610657
f3ed1dbf2ade913fb33813090949994e14c2a652
39,147
ml
OCaml
src/proto_alpha/lib_client_commands/client_proto_multisig_commands.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_client_commands/client_proto_multisig_commands.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_client_commands/client_proto_multisig_commands.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2019-2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
38.341822
80
0.546095
af03bc63fdfda983746067e0f30d4170c7541123
48,665
ml
OCaml
src/bin_node/node_config_file.ml
Piotr170687/tezos
c7e84dfae2837096a4188e835fb780ad514ec2d3
[ "MIT" ]
null
null
null
src/bin_node/node_config_file.ml
Piotr170687/tezos
c7e84dfae2837096a4188e835fb780ad514ec2d3
[ "MIT" ]
null
null
null
src/bin_node/node_config_file.ml
Piotr170687/tezos
c7e84dfae2837096a4188e835fb780ad514ec2d3
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
34.760714
87
0.627864
f3eb4058cb244633afa08762b7dec148526c7f10
117
ml
OCaml
data/derived/comb/progs/unify/prog5948.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/prog1082.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1082.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec digitsOfInt n = if n <= 0 then [] else (match n with | n_ -> (digitsOfInt (n / 10)) :: (n_ mod 10));;
19.5
69
0.538462
af51ea9530491d275fdeb5cca099ee46731dfe9d
939
mli
OCaml
src/posix_syslog.mli
mwweissmann/ocaml-posix-syslog
68562bd640bb8da89e74bc1365b1cf3f132567dd
[ "MIT" ]
2
2020-12-05T16:17:03.000Z
2020-12-05T23:25:12.000Z
src/posix_syslog.mli
mwweissmann/ocaml-posix-syslog
68562bd640bb8da89e74bc1365b1cf3f132567dd
[ "MIT" ]
null
null
null
src/posix_syslog.mli
mwweissmann/ocaml-posix-syslog
68562bd640bb8da89e74bc1365b1cf3f132567dd
[ "MIT" ]
null
null
null
module Option : sig type t = | LOG_PID | LOG_CONS | LOG_NDELAY | LOG_ODELAY | LOG_NOWAIT val string_of : t -> string end module Facility : sig type t = | LOG_KERN | LOG_USER | LOG_MAIL | LOG_NEWS | LOG_UUCP | LOG_DAEMON | LOG_AUTH | LOG_CRON | LOG_LPR ...
15.915254
86
0.597444
f32943f319b0b6e6acc2465b36414d58830ea344
10,733
mli
OCaml
hphp/hack/src/typing/tast_env.mli
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_env.mli
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_env.mli
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "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. * *) module Decl_provider = Decl_provider_ctx type env [@@deriving show] type t = env [@@deriving show] exception Not_...
38.060284
87
0.712196
af7b1bea08d98badedf2bec95442dd8e0b979bf3
176
ml
OCaml
test/sum-loop.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
1
2022-01-25T01:46:13.000Z
2022-01-25T01:46:13.000Z
test/sum-loop.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
null
null
null
test/sum-loop.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
null
null
null
let rec sum x = if x < 1 then 1 else x + sum (x - 1) in let rec loop x i = if i < 2000 then sum x else let y = sum x in loop x (i+1) in print_int (loop 1000 0)
17.6
29
0.5625
af7d02d7c9bddea4fd2f6fdc060b6540d855ae31
21,092
ml
OCaml
infer/src/bufferoverrun/bufferOverrunAnalysis.ml
joaofranciscomartins/infer
a54de2e0dd1efba9f1adafbc9e268e19a3eaf3eb
[ "MIT" ]
1
2020-07-16T19:38:04.000Z
2020-07-16T19:38:04.000Z
infer/src/bufferoverrun/bufferOverrunAnalysis.ml
joaofranciscomartins/infer
a54de2e0dd1efba9f1adafbc9e268e19a3eaf3eb
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunAnalysis.ml
joaofranciscomartins/infer
a54de2e0dd1efba9f1adafbc9e268e19a3eaf3eb
[ "MIT" ]
null
null
null
(* * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS) * Seoul National University, Korea * 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. ...
42.869919
101
0.671724
f37d485ad7e8c3ee9ff79cc4ed865e6fc45ca08e
1,060
mli
OCaml
duniverse/0install/src/zeroinstall/packagekit_stubs.mli
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/0install/src/zeroinstall/packagekit_stubs.mli
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/0install/src/zeroinstall/packagekit_stubs.mli
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
(* Copyright (C) 2016, Thomas Leonard * See the README file for details, or visit http://0install.net. *) (** There are several different versions of the PackageKit API. This module provides a consistent interface to them. *) module Transaction : sig type t val monitor : t -> switch:Lwt_switch.t -> int32 R...
40.769231
109
0.69717
d2d77c86ef423844062ff8aa2c9d0a05eb73b551
297
ml
OCaml
test/functoria/query/config.ml
palainp/mirage
09d3e17125e782c58aae92c8bb2f849b41fd2037
[ "ISC" ]
1,622
2015-01-03T13:32:31.000Z
2022-03-31T23:16:50.000Z
test/functoria/query/config.ml
palainp/mirage
09d3e17125e782c58aae92c8bb2f849b41fd2037
[ "ISC" ]
739
2015-01-08T12:44:35.000Z
2022-03-30T06:31:27.000Z
test/functoria/query/config.ml
palainp/mirage
09d3e17125e782c58aae92c8bb2f849b41fd2037
[ "ISC" ]
190
2015-01-04T12:20:37.000Z
2022-03-30T02:57:26.000Z
open F0 open Functoria let main = Functoria.(main ~extra_deps:[ dep (app_info ()) ] "App" job) let key = let doc = Key.Arg.info ~doc:"How to say hello." [ "hello" ] in Key.(create "hello" Arg.(opt string "Hello World!" doc)) let () = register ~keys:[ Key.v key ] ~src:`None "noop" [ main ]
27
71
0.62963
f3f154eb43da7e9c7487e3e87656be4f8a26da44
71
ml
OCaml
src/dune/setup.defaults.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
11
2020-11-25T14:23:49.000Z
2021-07-22T07:45:09.000Z
src/dune/setup.defaults.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-07-27T17:35:13.000Z
2020-09-21T11:17:06.000Z
src/dune/setup.defaults.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-10-05T13:41:44.000Z
2020-10-05T13:41:44.000Z
let library_path = None let library_destdir = None let mandir = None
11.833333
26
0.760563
af816018775ff58e6b8fbcfaba60c762ff431903
7,172
ml
OCaml
src/languages/ae/ast.ml
hra687261/dolmen
decc525cca878fd19c7c33f7370aa61840ee54af
[ "BSD-2-Clause" ]
null
null
null
src/languages/ae/ast.ml
hra687261/dolmen
decc525cca878fd19c7c33f7370aa61840ee54af
[ "BSD-2-Clause" ]
null
null
null
src/languages/ae/ast.ml
hra687261/dolmen
decc525cca878fd19c7c33f7370aa61840ee54af
[ "BSD-2-Clause" ]
null
null
null
(* This file is free software, part of dolmen. See file "LICENSE" for more information *) module type Id = sig type t (** The type of identifiers *) type namespace (** The type for namespaces. *) val var : namespace (** Used for type variables. *) val term : namespace (** Usual namespace, used for...
31.875556
90
0.597602
af1c8554dabdeacaa2015f0df935c9aa366ae66d
52,288
ml
OCaml
infer/src/IR/Sil.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
infer/src/IR/Sil.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
infer/src/IR/Sil.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
(* * Copyright (c) 2009-2013, Monoidics ltd. * 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. *) (** The Smallfoot Intermediate Language *) open! IStd module Hashtbl = Caml.Hashtbl module L ...
33.11463
100
0.631923
af2da70d7f2533d1663ec56d7d26366278d2a5bc
1,355
mli
OCaml
libraries/sqs/lib/untagQueue.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/sqs/lib/untagQueue.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/sqs/lib/untagQueue.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see <a href=\"https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html\">Tagging Your Amazon SQS Queues</a> in the <i>Amazon Simple Queue Service Developer Guide</i>.</p> <note> <p>Cross-accou...
61.590909
708
0.732103
af0c0e074270e2d6e02a3587d5adbb27920001ce
195
ml
OCaml
data/derived/comb/progs/unify/prog5754.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/prog0879.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0879.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = a ^ (sl t) in let base = x in let l = failwith "to be implemented" in List.fold_left f base l;;
21.666667
71
0.528205
af3df12a0c1579bb163c323f1b1b2498ab269e6a
6,449
ml
OCaml
lib/control.ml
AjayMT/risk5
6c46ff935aec96a6a898d3a70ce41f7af342c37c
[ "MIT" ]
1
2022-02-15T21:21:22.000Z
2022-02-15T21:21:22.000Z
lib/control.ml
AjayMT/risk5
6c46ff935aec96a6a898d3a70ce41f7af342c37c
[ "MIT" ]
null
null
null
lib/control.ml
AjayMT/risk5
6c46ff935aec96a6a898d3a70ce41f7af342c37c
[ "MIT" ]
null
null
null
open Hardcaml open Hardcaml.Signal module I = struct type 'a t = { instruction : 'a [@bits 32] } [@@deriving sexp_of, hardcaml] end module O = struct type 'a t = { alu_op : 'a; [@bits 4] alu_a_src : 'a; [@bits 1] alu_b_src : 'a; [@bits 2] mem_write_enable : 'a; [@bits 1] writeback_sel : 'a; [@...
33.942105
81
0.570011
af4464e7b56990d109d3a51dcb554fd86d82df2d
10,912
ml
OCaml
src/lib_p2p/p2p_point_state.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_point_state.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_point_state.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
37.757785
82
0.63838