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
aa5dd77b1994e7aa9452b2362e68a2c2a76424d7
2,509
mli
OCaml
oidc-client/Static.mli
idkjs/ocaml-oidc
ca8ae0ebaa9f9a3b6e4d772a30c7b04c71ef2ec0
[ "BSD-3-Clause" ]
29
2020-08-24T07:52:05.000Z
2022-03-10T20:14:45.000Z
oidc-client/Static.mli
idkjs/ocaml-oidc
ca8ae0ebaa9f9a3b6e4d772a30c7b04c71ef2ec0
[ "BSD-3-Clause" ]
13
2020-12-15T07:03:11.000Z
2022-03-16T20:05:42.000Z
oidc-client/Static.mli
idkjs/ocaml-oidc
ca8ae0ebaa9f9a3b6e4d772a30c7b04c71ef2ec0
[ "BSD-3-Clause" ]
4
2020-12-14T13:41:45.000Z
2022-03-10T03:04:50.000Z
(** {2 Static client} *) type 'store t = { kv : (module KeyValue.KV with type value = string and type store = 'store); store : 'store; client : Oidc.Client.t; http_client : Piaf.Client.t; provider_uri : Uri.t; redirect_uri : Uri.t; } (** A OIDC Client*) (** {3 Startup} The following are things you mi...
28.511364
104
0.685532
aa354c547ef41735a3e5ca301acd69dafa8cf95e
4,987
ml
OCaml
src/hack_forked/utils/core/hh_logger.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/hack_forked/utils/core/hh_logger.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/hack_forked/utils/core/hh_logger.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
2,338
2015-01-05T03:28:26.000Z
2022-03-26T20:40:56.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) let timestamp_string () = let open Unix in let timeofday = gettimeofday () in let tm = localtime timeofday in let ms = int_...
26.386243
96
0.658512
aae4d28472edb34a4f895e12b3a4926795a0a101
47,516
ml
OCaml
src/invgen/invGenGraph.ml
arjunvish/kind2
adb70ce68997bf41e1ba097826428683a074929a
[ "Apache-2.0" ]
null
null
null
src/invgen/invGenGraph.ml
arjunvish/kind2
adb70ce68997bf41e1ba097826428683a074929a
[ "Apache-2.0" ]
null
null
null
src/invgen/invGenGraph.ml
arjunvish/kind2
adb70ce68997bf41e1ba097826428683a074929a
[ "Apache-2.0" ]
null
null
null
(* This file is part of the Kind 2 model checker. Copyright (c) 2015 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...
32.170616
79
0.586224
aae35d037b732e4e38272a445422b15eabdeaba9
2,941
ml
OCaml
infer/src/checkers/reachingDefs.ml
HybridDeveloper/infer
d01ada643d70202d9afd5e5c2d6ece715335a426
[ "MIT" ]
null
null
null
infer/src/checkers/reachingDefs.ml
HybridDeveloper/infer
d01ada643d70202d9afd5e5c2d6ece715335a426
[ "MIT" ]
null
null
null
infer/src/checkers/reachingDefs.ml
HybridDeveloper/infer
d01ada643d70202d9afd5e5c2d6ece715335a426
[ "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 NodeCFG = ProcCfg.Normal module Defs = AbstractDomain.FiniteSet (Procdesc.Node) (** The node in...
37.227848
99
0.712003
aa3c22d27c99390404673f17789465a7b6aea8b6
4,591
ml
OCaml
data/fa15/2235.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2235.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2235.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = let difference = (List.length l1) - (List.length l2) in if difference > 0 then (l1, ((clone 0 difference) @ l2)) else if difference < 0 then (((clone 0 ((-1) * difference)) @ l1), l2) else (l1, l2);; let rec r...
18.437751
75
0.484644
aadb219877854d44a168de886585355aac2556e7
1,844
ml
OCaml
libraries/ec2/lib/describeNetworkInterfaceAttribute.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeNetworkInterfaceAttribute.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeNetworkInterfaceAttribute.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeNetworkInterfaceAttributeRequest.t type output = DescribeNetworkInterfaceAttributeResult.t 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...
27.939394
90
0.622017
aacd278fdf2ddf0c046d442f606ebcfbcc9d5f60
1,256
ml
OCaml
normdriver.ml
paniag/coq-sf-4.0
6ba676bbbdefdff3ebc39632e2bfccf71849c18a
[ "MIT" ]
2
2015-07-25T16:03:26.000Z
2015-07-25T16:04:47.000Z
normdriver.ml
paniag/coq-sf-4.0
6ba676bbbdefdff3ebc39632e2bfccf71849c18a
[ "MIT" ]
1
2017-07-26T00:44:43.000Z
2017-07-26T00:44:43.000Z
normdriver.ml
paniag/coq-sf-4.0
6ba676bbbdefdff3ebc39632e2bfccf71849c18a
[ "MIT" ]
6
2017-07-11T02:13:26.000Z
2020-11-23T20:12:11.000Z
open Norm let rec ty2s tt = match tt with TBool -> "Bool" | TArrow (tt1,tt2) -> "(" ^ ty2s tt1 ^ "->" ^ ty2s tt2 ^ ")" | TProd (tt1,tt2) -> "(" ^ ty2s tt1 ^ "*" ^ ty2s tt2 ^ ")" ;; let rec tm2s t = match t with | Tvar y -> string_of_int y | Tapp (t1, t2) -> "(" ^ tm2s t1 ^ " " ^ tm2s t2 ^ ")" | Tabs (y, t0, t1) -...
30.634146
86
0.496815
aae955148571f2b0ec8fc1a05f6d957093a10627
17,927
ml
OCaml
ppx/ppx_cstruct.ml
edwintorok/ocaml-cstruct
d5000d3adf0586de1be1562a09ffcc692ee0bf5a
[ "ISC" ]
2
2015-07-15T05:24:46.000Z
2016-10-08T13:44:48.000Z
ppx/ppx_cstruct.ml
edwintorok/ocaml-cstruct
d5000d3adf0586de1be1562a09ffcc692ee0bf5a
[ "ISC" ]
null
null
null
ppx/ppx_cstruct.ml
edwintorok/ocaml-cstruct
d5000d3adf0586de1be1562a09ffcc692ee0bf5a
[ "ISC" ]
null
null
null
(* * Copyright (c) 2015 Nicolas Ojeda Bar <n.oje.bar@gmail.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 I...
35.358974
101
0.597311
aaf75966a577e5a805929a4f5c1242b07eb14167
3,615
mli
OCaml
src/lib_client_base/client_context.mli
connectedcustomer/Project1
e84e4a645bc6f45ba68e023d67274d550231ad03
[ "MIT" ]
null
null
null
src/lib_client_base/client_context.mli
connectedcustomer/Project1
e84e4a645bc6f45ba68e023d67274d550231ad03
[ "MIT" ]
null
null
null
src/lib_client_base/client_context.mli
connectedcustomer/Project1
e84e4a645bc6f45ba68e023d67274d550231ad03
[ "MIT" ]
1
2021-06-04T09:31:48.000Z
2021-06-04T09:31:48.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
38.870968
86
0.575934
aa373f2fcbbc1929409c8a47d2689f60d87b6d0e
2,213
mli
OCaml
src/lib/cli_lib/flag.mli
honeywest/mina
657ab36431e5970dbb25f60250b4bd535613146d
[ "Apache-2.0" ]
1
2021-02-18T14:39:12.000Z
2021-02-18T14:39:12.000Z
src/lib/cli_lib/flag.mli
riokresnawan/mina
8619d5398496f223e23bbd88a5bcd873cfb9d7c6
[ "Apache-2.0" ]
null
null
null
src/lib/cli_lib/flag.mli
riokresnawan/mina
8619d5398496f223e23bbd88a5bcd873cfb9d7c6
[ "Apache-2.0" ]
null
null
null
open Core val json : bool Command.Spec.param val plaintext : bool Command.Spec.param val performance : bool Command.Spec.param val privkey_write_path : string Command.Spec.param val privkey_read_path : string Command.Spec.param val conf_dir : string option Command.Spec.param module Types : sig type 'a with_nam...
24.318681
77
0.757795
bc82cd144ed91a7a4d1a40d31876c28e2591e6c3
404
mli
OCaml
bin/workspace_root.mli
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
11
2020-07-14T13:57:02.000Z
2020-09-05T23:50:25.000Z
bin/workspace_root.mli
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-07-27T17:35:13.000Z
2020-09-21T11:17:06.000Z
bin/workspace_root.mli
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-11-25T12:01:04.000Z
2020-11-25T12:01:04.000Z
(** Finding the root of the workspace *) module Kind : sig type t = | Explicit | Dune_workspace | Dune_project | Cwd end type t = { dir : string ; to_cwd : string list (** How to reach the cwd from the root *) ; kind : Kind.t (** Closest VCS in directories strictly above the root *) ; ance...
21.263158
76
0.643564
170d36524a1589ce4cfae734b15fd305f18d7ca1
3,553
ml
OCaml
otherlibs/stdune-unstable/digest.ml
lefessan/dune
855b085d889389e17dc914d094617090321fbfa5
[ "MIT" ]
null
null
null
otherlibs/stdune-unstable/digest.ml
lefessan/dune
855b085d889389e17dc914d094617090321fbfa5
[ "MIT" ]
null
null
null
otherlibs/stdune-unstable/digest.ml
lefessan/dune
855b085d889389e17dc914d094617090321fbfa5
[ "MIT" ]
null
null
null
type t = string module D = Stdlib.Digest module Set = String.Set module Map = String.Map module type Digest_impl = sig val file : string -> t val string : string -> t end module Direct_impl : Digest_impl = struct let file = D.file let string = D.string end module Mutable_impl = struct let file_ref = ref...
25.198582
80
0.686181
aad71a857dd2c8ad352ac639e52fc3d9f51cc3fe
5,340
ml
OCaml
src/parser_utils/signature_builder_entry.ml
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "MIT" ]
null
null
null
src/parser_utils/signature_builder_entry.ml
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "MIT" ]
null
null
null
src/parser_utils/signature_builder_entry.ml
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "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 module Kind = Signature_builder_kind type t = (Loc.t, Loc.t) Ast.Identifier.t * Kind.t let rec pattern loc ...
39.850746
100
0.644382
aa2e2ec1b11bb5d91e4723a1277d5f23bb17efa6
3,756
ml
OCaml
lib/mdx.ml
trefis/mdx
83144a3cd416634013b3f5f67946624dbffe1b1d
[ "ISC" ]
null
null
null
lib/mdx.ml
trefis/mdx
83144a3cd416634013b3f5f67946624dbffe1b1d
[ "ISC" ]
null
null
null
lib/mdx.ml
trefis/mdx
83144a3cd416634013b3f5f67946624dbffe1b1d
[ "ISC" ]
null
null
null
(* * Copyright (c) 2018 Thomas Gazagnaire <thomas@gazagnaire.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS...
30.048
75
0.673589
aa4f229bb84afc489a63d87d5576323782f5c59d
2,488
ml
OCaml
analysis/annotatedAttribute.ml
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "MIT" ]
null
null
null
analysis/annotatedAttribute.ml
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "MIT" ]
null
null
null
analysis/annotatedAttribute.ml
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "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 type property = | ReadOnly | ReadWrite [@@deriving eq, show] type attribute = { annotation: Annotation.t; async:...
25.131313
99
0.657958
bcf6af5dadc6e6c274fded9e97d2b376c06a6676
2,011
ml
OCaml
duniverse/0install/src/cli/show.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/0install/src/cli/show.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/0install/src/cli/show.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
(* Copyright (C) 2013, Thomas Leonard * See the README file for details, or visit http://0install.net. *) (** The "0install show" command *) open Zeroinstall.General open Support open Options module Qdom = Support.Qdom module Selections = Zeroinstall.Selections module Apps = Zeroinstall.Apps let show_human config ...
31.421875
97
0.679761
aaea1f27c56300986401656f24067824a0d66360
3,171
ml
OCaml
data/fa15/2033.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2033.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2033.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = let 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 when...
17.915254
79
0.493535
bcee6396cfe0c06a6317cc37e9a2765fa585a618
2,712
ml
OCaml
stdlib/my_priority_queue.ml
Miltnoid/OCamlStdLib
ef2cf721507b9ddf7976454abe845043ecf0a51c
[ "MIT" ]
1
2020-02-22T12:30:30.000Z
2020-02-22T12:30:30.000Z
stdlib/my_priority_queue.ml
Miltnoid/OCamlStdLib
ef2cf721507b9ddf7976454abe845043ecf0a51c
[ "MIT" ]
null
null
null
stdlib/my_priority_queue.ml
Miltnoid/OCamlStdLib
ef2cf721507b9ddf7976454abe845043ecf0a51c
[ "MIT" ]
null
null
null
open Core open Util open My_set open My_heap module type DataWithPriority = sig type t val show : t shower val pp : t pper val compare : t comparer val hash : t hasher val hash_fold_t : t hash_folder val priority : t -> float end module PriorityQueueOf(D:DataWithPriority) = struct module QueueHeap = ...
21.1875
68
0.553835
bcf7565c475942b6914059473e859a75906a41ca
54,705
ml
OCaml
src/parser/lexer.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
src/parser/lexer.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
src/parser/lexer.ml
tjmehta/flow
24cfe90731274817f1f5f1cad1549674db287a4f
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Token open Lex_env let lexeme = Sedlexing.Utf8.lexeme let letter = [%sedlex.regexp? 'a'..'z' | 'A'..'Z' | '$'] let id_letter = [...
30.994334
94
0.603327
d2f79d39a4771c8b56b494fc7dcc1a64446d44d6
3,505
mli
OCaml
src/misc/LeapTable.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
7
2016-08-31T19:50:12.000Z
2019-01-21T04:51:07.000Z
src/misc/LeapTable.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
src/misc/LeapTable.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
(***********************************************************************) (* *) (* LEAP *) (* *) (* Alejan...
59.40678
75
0.31669
aaf7dba4d81b3b383ec36471ea6a8bac0c6ff7c9
9,750
mli
OCaml
tezt/lib/check.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
tezt/lib/check.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
tezt/lib/check.mli
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
35.326087
92
0.602872
aacbd1e52a12c30e4f02a0d8e3a54128b231284b
5,695
ml
OCaml
CodeHawk/CHB/bchlibpower32/bCHPowerOperand.ml
kestreltechnology/codehawk
e38199ded2b249e6b9d6d98ae7064ed1c887cc0a
[ "MIT" ]
2
2019-12-05T18:50:53.000Z
2019-12-07T18:47:44.000Z
CodeHawk/CHB/bchlibpower32/bCHPowerOperand.ml
kestreltechnology/codehawk
e38199ded2b249e6b9d6d98ae7064ed1c887cc0a
[ "MIT" ]
1
2020-03-04T05:04:37.000Z
2020-03-04T05:04:37.000Z
CodeHawk/CHB/bchlibpower32/bCHPowerOperand.ml
kestreltechnology/codehawk
e38199ded2b249e6b9d6d98ae7064ed1c887cc0a
[ "MIT" ]
1
2019-12-05T18:51:24.000Z
2019-12-05T18:51:24.000Z
(* ============================================================================= CodeHawk Binary Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2022 Aarno Labs LLC Permission is hereby granted, free of...
27.780488
83
0.652502
aa3e2de8b2cd41007cbbe29028e64f01c3909cfe
5,726
ml
OCaml
test/workflow/keymap_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
null
null
null
test/workflow/keymap_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
11
2020-03-14T01:09:36.000Z
2022-03-02T02:09:30.000Z
test/workflow/keymap_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
null
null
null
open Sxfiler_core open Sxfiler_domain module S = Sxfiler_dependency module F = Test_fixtures.Testable module K = Sxfiler_kbd module FL = Sxfiler_workflow let test_set = let module E = Common.Not_empty_string in let make_e = Option.get % E.make in let get_mock ?(store_keymap = fun _ -> Lwt.return_unit) ?(load_key...
45.086614
120
0.614041
aaa8b27a0f8ef48193d5e17d42139d38c7a5018e
625
mli
OCaml
src/monitor/statusStream.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
1
2019-07-15T20:48:46.000Z
2019-07-15T20:48:46.000Z
src/monitor/statusStream.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
8
2020-04-06T11:23:08.000Z
2022-03-24T12:41:12.000Z
src/monitor/statusStream.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "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. *) val reset: Options.file_watcher -> ServerStatus.restart_reason option -> unit Lwt.t val update: status:ServerStatus.status -> unit...
36.764706
83
0.7552
aa3ba0899fd20e4082f6147c0eef8bfecffd0415
7,806
mli
OCaml
src/lib/fsm.mli
jserot/rfsm
5f6dcef41b8d1a8aae01520c0c638ba346e0b36c
[ "MIT" ]
21
2018-04-23T10:08:40.000Z
2021-03-24T16:04:53.000Z
src/lib/fsm.mli
jserot/rfsm
5f6dcef41b8d1a8aae01520c0c638ba346e0b36c
[ "MIT" ]
3
2018-06-06T07:13:18.000Z
2020-03-25T11:12:03.000Z
src/lib/fsm.mli
jserot/rfsm
5f6dcef41b8d1a8aae01520c0c638ba346e0b36c
[ "MIT" ]
null
null
null
(**********************************************************************) (* *) (* This file is part of the RFSM package *) (* *) (* Copyright (c) 2018-prese...
36.995261
120
0.600307
aa3a4a69bf7013810d06f842797a6a8cf7643250
619
mli
OCaml
src/ocaml/typer_403/typing/short_paths.mli
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
null
null
null
src/ocaml/typer_403/typing/short_paths.mli
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
null
null
null
src/ocaml/typer_403/typing/short_paths.mli
bluddy/merlin
cdb6b7100dce8f02970d1b69f3a68fe498ec22b4
[ "MIT" ]
null
null
null
module Desc = Short_paths_graph.Desc module Basis : sig type t val create : unit -> t val add : t -> string -> unit val load : t -> string -> string list -> string list -> Desc.Module.t -> unit end type t val initial : Basis.t -> t val add : t -> Desc.t list Lazy.t -> t type type_result = | Nth of ...
16.289474
79
0.638126
aa41cd75be87ae8d54f43c9aca6c292dec7d3ca5
858
ml
OCaml
bindings/network-manager/nm_vpn_connection.ml
NathanReb/obus
8aaf3d4e5538e42a62ae206dcfc01d2b898e54dc
[ "BSD-3-Clause" ]
14
2019-07-05T01:44:28.000Z
2021-06-02T11:32:46.000Z
bindings/network-manager/nm_vpn_connection.ml
NathanReb/obus
8aaf3d4e5538e42a62ae206dcfc01d2b898e54dc
[ "BSD-3-Clause" ]
10
2019-07-11T08:43:53.000Z
2021-07-17T09:54:49.000Z
bindings/network-manager/nm_vpn_connection.ml
NathanReb/obus
8aaf3d4e5538e42a62ae206dcfc01d2b898e54dc
[ "BSD-3-Clause" ]
7
2017-10-15T13:14:48.000Z
2018-12-12T05:17:28.000Z
(* * nm_vpn_connection.ml * -------------------- * Copyright : (c) 2010, Jeremie Dimino <jeremie@dimino.org> * Licence : BSD3 *) include OBus_proxy.Private open Nm_interfaces.Org_freedesktop_NetworkManager_VPN_Connection let properties_changed proxy = OBus_signal.make s_PropertiesChanged proxy let vpn_stat...
26
69
0.731935
aab2800f67cc2656011afa62a285af3816b7e3ce
220
mli
OCaml
libraries/cloudformation/lib/listStackInstances.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/cloudformation/lib/listStackInstances.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/cloudformation/lib/listStackInstances.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = ListStackInstancesInput.t type output = ListStackInstancesOutput.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
20
85
0.772727
aaac92dcc54cc12c2fa3434c88933a5537284dea
1,048
ml
OCaml
vendored/patdiff/test/src/test_ansi_sequences_in_input.ml
indradhanush/comby
6442ef73a12092d224086d78b67926148e0e4724
[ "Apache-2.0" ]
1
2021-06-16T22:43:47.000Z
2021-06-16T22:43:47.000Z
vendored/patdiff/test/src/test_ansi_sequences_in_input.ml
indradhanush/comby
6442ef73a12092d224086d78b67926148e0e4724
[ "Apache-2.0" ]
null
null
null
vendored/patdiff/test/src/test_ansi_sequences_in_input.ml
indradhanush/comby
6442ef73a12092d224086d78b67926148e0e4724
[ "Apache-2.0" ]
1
2021-06-16T22:43:39.000Z
2021-06-16T22:43:39.000Z
open! Core open! Async open Import let aansi = "\027[0;1m\n" let bansi = "\027[0;2m\n" let%expect_test "ansi escape code in input" = let%bind () = patdiff ~extra_flags:[] ~prev:aansi ~next:bansi in [%expect {| (fg:red)------ (+bold)prev/file (fg:green)++++++ (+bold)next/file (fg:black)@|(+bold)-1,...
30.823529
98
0.533397
171a228bd4482b741f6f76a4e1d907c91eddf2aa
634
ml
OCaml
benchmarks/I/lambda/sub115.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/I/lambda/sub115.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/I/lambda/sub115.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type lambda = | V of var | P of var * lambda | C of lambda * lambda and var = string let rec str lambda =match lambda with |V a -> [] |P (a, e1) -> a::(str e1 ) |C (e1,e2) -> (str e1)@(str e2) let rec v_str lambda =match lambda with |V a -> [a] |P (a, e1) -> (v_str e1) |C (e1, e2) -> (v_str e1)@(v_str e2) ...
17.611111
66
0.602524
aadebcf9e65eb7abb7d3346083d56f41a1e5758d
4,582
ml
OCaml
facebook-clang-plugins/clang-ocaml/utils.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
facebook-clang-plugins/clang-ocaml/utils.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
facebook-clang-plugins/clang-ocaml/utils.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
2,225
2015-06-11T16:36:10.000Z
2022-03-31T05:16:59.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module H = Hashtbl (* misc *) (* maps '-' to the standard input *) let open_in name = if name = "-" then stdin else Pervasives.ope...
22.91
94
0.616107
aa32e243d07ea0982fc91adfc33c66831f08514f
31,409
ml
OCaml
litmus/KSkel.ml
ShuyangLiu/herdtools7
babe12b2aa635bdcb8ebe8c389268cadf0ac5f1d
[ "CECILL-B" ]
103
2016-11-28T10:00:41.000Z
2022-03-08T05:06:00.000Z
litmus/KSkel.ml
ShuyangLiu/herdtools7
babe12b2aa635bdcb8ebe8c389268cadf0ac5f1d
[ "CECILL-B" ]
193
2017-02-28T19:04:04.000Z
2022-03-25T14:33:24.000Z
litmus/KSkel.ml
ShuyangLiu/herdtools7
babe12b2aa635bdcb8ebe8c389268cadf0ac5f1d
[ "CECILL-B" ]
39
2016-12-14T23:10:34.000Z
2022-03-22T21:35:17.000Z
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
32.58195
109
0.512083
aafad42d0d470f3c25e3a9cb968196930dfcfafb
32,864
ml
OCaml
src/terms/bitvector.ml
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
null
null
null
src/terms/bitvector.ml
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
null
null
null
src/terms/bitvector.ml
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
null
null
null
open Format (* Constant bitvector *) type t = bool list exception ComparingUnequalBVs exception NonStandardBVSize (* Convert a bitvector to an integer *) let length_of_bitvector b = List.length b (* Function that inputs bit b, integer n, and repeats b n times *) let rec repeat_bit (b : bool) (n : int) : t = match ...
32.09375
93
0.566151
aae00827df02edfd57f1705399f9ebfe66596a24
608
mli
OCaml
internals/run_config.mli
EduardoRFS/core_bench
48b0271934d742da433b109b41ccba53b5de4682
[ "MIT" ]
43
2015-02-07T17:30:31.000Z
2022-03-09T02:17:48.000Z
internals/run_config.mli
EduardoRFS/core_bench
48b0271934d742da433b109b41ccba53b5de4682
[ "MIT" ]
15
2015-03-31T01:34:22.000Z
2022-02-02T01:16:14.000Z
internals/run_config.mli
EduardoRFS/core_bench
48b0271934d742da433b109b41ccba53b5de4682
[ "MIT" ]
9
2018-09-03T15:09:40.000Z
2022-03-14T21:18:48.000Z
(** A module internal to [Core_bench]. Please look at {!Bench}. *) open! Core type t = { verbosity : Verbosity.t ; no_compactions : bool ; quota : Quota.t ; sampling_type : [ `Geometric of float | `Linear of int ] ; stabilize_gc_between_runs : bool ; fork_each_benchmark : bool ; thin_overhead : int optio...
24.32
66
0.669408
aaf4a6a017139f063d154c9690905cd542930595
339
ml
OCaml
protocols.ml
talex5/wayland-virtwl-proxy
d7f58d405514dd031f2f12e402c8c6a58e62a885
[ "Apache-2.0" ]
5
2021-04-13T10:51:06.000Z
2021-04-13T13:29:13.000Z
protocols.ml
talex5/wayland-virtwl-proxy
d7f58d405514dd031f2f12e402c8c6a58e62a885
[ "Apache-2.0" ]
2
2021-04-14T15:31:29.000Z
2021-04-14T15:44:34.000Z
protocols.ml
talex5/wayland-virtwl-proxy
d7f58d405514dd031f2f12e402c8c6a58e62a885
[ "Apache-2.0" ]
null
null
null
(** Metadata for the protocols we use. *) include Wayland.Wayland_proto include Wayland_protocols.Xdg_shell_proto include Wayland_protocols.Xdg_output_unstable_v1_proto include Wayland_protocols.Gtk_primary_selection_proto include Wayland_protocols.Wp_primary_selection_unstable_v1_proto include Wayland_protocols.Serve...
37.666667
64
0.902655
aa644854655b34bfb5f42b7d83acb9d01e372c85
9,914
ml
OCaml
src-b0/b0b_variant.ml
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
src-b0/b0b_variant.ml
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
src-b0/b0b_variant.ml
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2017 The b0 programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) op...
36.583026
80
0.633448
aae03f332107a2660d555e00dc94a252d4abbd8a
27,286
ml
OCaml
litmus/KSkel.ml
HadrienRenaud/herdtools7
3eb29a5a03e33b02505c63338e6bc10ab3da5a5b
[ "CECILL-B" ]
null
null
null
litmus/KSkel.ml
HadrienRenaud/herdtools7
3eb29a5a03e33b02505c63338e6bc10ab3da5a5b
[ "CECILL-B" ]
null
null
null
litmus/KSkel.ml
HadrienRenaud/herdtools7
3eb29a5a03e33b02505c63338e6bc10ab3da5a5b
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
32.483333
102
0.512277
1703cb3c8d149449029f23dccf8bd840a0025cb8
9,882
ml
OCaml
src/dune_rules/foreign_rules.ml
hyphenrf/dune
0ecdf454ea4db89453b26a6b73cf96506697b4ac
[ "MIT" ]
245
2016-12-02T14:13:32.000Z
2018-01-14T20:00:40.000Z
src/dune_rules/foreign_rules.ml
hyphenrf/dune
0ecdf454ea4db89453b26a6b73cf96506697b4ac
[ "MIT" ]
380
2017-01-28T18:46:52.000Z
2018-01-17T13:34:51.000Z
src/dune_rules/foreign_rules.ml
hyphenrf/dune
0ecdf454ea4db89453b26a6b73cf96506697b4ac
[ "MIT" ]
59
2016-12-02T13:58:19.000Z
2018-01-06T18:23:02.000Z
open! Dune_engine open! Stdune module Source_tree_map_reduce = Source_tree.Dir.Make_map_reduce (Action_builder) (Monoid.Appendable_list (struct type t = Command.Args.without_targets Command.Args.t end)) (* Compute command line flags for the [include_dirs] field of [Foreign.Stubs.t] and track al...
43.342105
80
0.580753
aac3fcf3fdbbc15be5d084242169c0cd2298e7de
790
ml
OCaml
src_test/runtime/test_runtime.cppo.ml
kit-ty-kate/ppx_deriving
59fed039092304ec54234541201930fbbb45aebc
[ "MIT" ]
246
2017-08-21T10:01:12.000Z
2022-03-20T21:46:31.000Z
src_test/runtime/test_runtime.cppo.ml
kit-ty-kate/ppx_deriving
59fed039092304ec54234541201930fbbb45aebc
[ "MIT" ]
105
2017-08-20T16:43:34.000Z
2022-03-19T11:52:23.000Z
src_test/runtime/test_runtime.cppo.ml
kit-ty-kate/ppx_deriving
59fed039092304ec54234541201930fbbb45aebc
[ "MIT" ]
41
2017-08-21T11:26:19.000Z
2022-02-04T16:59:39.000Z
let test_ref_included (x : 'a ref) = (x : 'a Ppx_deriving_runtime.ref) let test_ref_qualified (x : 'a ref) = (x : 'a Ppx_deriving_runtime.Pervasives.ref[@ocaml.warning "-3"]) let test_backtrace (x : Printexc.raw_backtrace) = (x : Ppx_deriving_runtime.Printexc.raw_backtrace) let test_hashtbl (x : ...
19.75
67
0.64557
aaacc468bb594ca2e5b0feace9a0f97ec79aa5eb
29,334
ml
OCaml
hphp/hack/src/hhbc/hhbc_options.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/hhbc_options.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/hhbc_options.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2017, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude module J = Hh_json (* Compiler configuration options, as set by -v key=value on the command line *)...
40.628809
86
0.733006
171ad802d549c5b0c55fc571153360d81f75c4d8
15,695
ml
OCaml
bench/irmin-pack/tree.ml
gpetiot/irmin
0619381cd2910bf0b0c25ec03d8ddcdd81bba419
[ "0BSD" ]
null
null
null
bench/irmin-pack/tree.ml
gpetiot/irmin
0619381cd2910bf0b0c25ec03d8ddcdd81bba419
[ "0BSD" ]
null
null
null
bench/irmin-pack/tree.ml
gpetiot/irmin
0619381cd2910bf0b0c25ec03d8ddcdd81bba419
[ "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...
29.446529
82
0.622874
aa98ae8f9564a94f01ccbc2912d09d9d96a3615a
27,127
ml
OCaml
src/ocaml-output/FStar_Reflection_Basic.ml
jmitchell/FStar
8c6be01bd124fd88d7506c69aa5dde4040cdfd30
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Reflection_Basic.ml
jmitchell/FStar
8c6be01bd124fd88d7506c69aa5dde4040cdfd30
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Reflection_Basic.ml
jmitchell/FStar
8c6be01bd124fd88d7506c69aa5dde4040cdfd30
[ "Apache-2.0" ]
null
null
null
open Prims let (env_hook : FStar_TypeChecker_Env.env FStar_Pervasives_Native.option FStar_ST.ref) = FStar_Util.mk_ref FStar_Pervasives_Native.None let (inspect_aqual : FStar_Syntax_Syntax.aqual -> FStar_Reflection_Data.aqualv) = fun aq -> match aq with | FStar_Pervasives_Native.Some (FStar_Syntax_Synt...
42.385938
78
0.646551
aaf393b001784a1ed1a6f2f56ab4c4678cef3092
907
ml
OCaml
infer/src/topl/Topl.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
infer/src/topl/Topl.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
infer/src/topl/Topl.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2019-04-26T02:27:43.000Z
2019-04-26T02:27:43.000Z
(* * Copyright (c) 2019-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module L = Logging let initialized = ref false let properties = ref [] let parse topl_file = let f ch = let lexbuf = ...
28.34375
84
0.679162
17053aee9e1f6642dad8ba29f8aa5114337d9ccb
477
mli
OCaml
preprocessing/collect_diff.mli
oentaryorj/smu.softeng.patchnet
58f635fa06f0538f5e6dda34e38ccaae32920dc0
[ "MIT" ]
null
null
null
preprocessing/collect_diff.mli
oentaryorj/smu.softeng.patchnet
58f635fa06f0538f5e6dda34e38ccaae32920dc0
[ "MIT" ]
null
null
null
preprocessing/collect_diff.mli
oentaryorj/smu.softeng.patchnet
58f635fa06f0538f5e6dda34e38ccaae32920dc0
[ "MIT" ]
null
null
null
(* * This file is part of PatchNet, licensed under the terms of the GPL v2. * See copyright.txt in the PatchNet source code for more information. * The PatchNet source code can be obtained at * https://github.com/hvdthong/PatchNetTool *) val quiet : bool ref val before : string ref val after : string ref val me ...
25.105263
73
0.698113
bce2627c44ce576424d057bffcc923b54861b2c9
1,220
ml
OCaml
result/cafe2/diff/sub17/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/prog/diff/sub17/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/prog/diff/sub17/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
exception InvalidArgument exception L2AL_null type aexp = | Const of int | Var of string | Power of (string * int) | Times of aexp list | Sum of aexp list let rec diff ((aexp : aexp), (str : string)) : aexp = let rec list2aexplist ((aexplist : aexp list), (st : string)) : aexp list = match aexplist w...
27.727273
77
0.5
17106d57f8888482809d6615c15ba8651241b135
12,675
ml
OCaml
lang/asm/assemble.ml
stew2003/Stew-3000
fe2c95d2ffdfcaeedade9b64c69efcccc02468cb
[ "MIT" ]
2
2021-04-06T01:51:18.000Z
2022-02-02T03:42:30.000Z
lang/asm/assemble.ml
stew2003/Stew-3000
fe2c95d2ffdfcaeedade9b64c69efcccc02468cb
[ "MIT" ]
16
2021-04-12T12:25:42.000Z
2021-12-27T01:33:39.000Z
lang/asm/assemble.ml
stew2003/Stew-3000
fe2c95d2ffdfcaeedade9b64c69efcccc02468cb
[ "MIT" ]
1
2021-04-11T18:54:44.000Z
2021-04-11T18:54:44.000Z
open Isa open Printf open Warnings open Validate open Util.Env open Util.Srcloc type asm_err = | DuplicateLabel of string | InvalidInstr of instr | InvalidImm of immediate | InvalidTarget of string exception AssembleError of asm_err with_loc_opt (* [string_of_asm_err] converts an assemble error internal into...
34.726027
86
0.514951
aad3745141e2093c1ede40e300dfa38fcfae5e81
580
mli
OCaml
analysis/emptyStubEnvironment.mli
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
analysis/emptyStubEnvironment.mli
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
analysis/emptyStubEnvironment.mli
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "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. *) module EmptyStubReadOnly : sig include Environment.ReadOnly val from_empty_stub : t -> ?dependency:SharedMemoryKeys.DependencyKe...
29
83
0.77069
bc3012e558756cdcc56d645d63b8e370f7653faf
503
ml
OCaml
lwt-tests/seq_test.ml
Sudha247/code-samples
48851a1ad077507acbe8d0c18762cfa9ee87dffe
[ "MIT" ]
2
2020-10-08T17:57:32.000Z
2021-05-25T10:15:44.000Z
lwt-tests/seq_test.ml
Sudha247/code-samples
48851a1ad077507acbe8d0c18762cfa9ee87dffe
[ "MIT" ]
null
null
null
lwt-tests/seq_test.ml
Sudha247/code-samples
48851a1ad077507acbe8d0c18762cfa9ee87dffe
[ "MIT" ]
1
2020-10-08T21:50:43.000Z
2020-10-08T21:50:43.000Z
[@@@ocaml.warning "-3"] let s = Lwt_sequence.create () let add_r n = for _i = 1 to n do Lwt_sequence.add_r 10 s |> ignore done let take_r n = for _i = 1 to n do Lwt_sequence.take_r s |> ignore done let add_l n = for _i = 1 to n do Lwt_sequence.add_l 10 s |> ignore done let take_l n...
17.344828
58
0.602386
aa9b99967837d79563fa2ef52ef83183fa3c0fd1
1,234
mli
OCaml
orig/ocaml_400/typing/path.mli
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
1
2021-03-12T10:45:56.000Z
2021-03-12T10:45:56.000Z
src/typing/path.mli
MarcWeber/merlin
2dbad93fcc63eff70c29d937fb67c1645deee05b
[ "MIT" ]
null
null
null
src/typing/path.mli
MarcWeber/merlin
2dbad93fcc63eff70c29d937fb67c1645deee05b
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
37.393939
73
0.363857
bce4da2c380b7d504e15ab7c5609a40117261928
40
ml
OCaml
srk/test/test_ring.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
25
2016-10-10T13:52:45.000Z
2021-12-15T07:49:04.000Z
srk/test/test_ring.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
3
2016-02-10T14:03:46.000Z
2019-08-18T13:59:53.000Z
srk/test/test_ring.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
20
2016-02-10T13:46:19.000Z
2022-02-18T16:02:16.000Z
open OUnit let suite = "Ring" >::: [ ]
10
27
0.525
aa806a460b004db0248f79c2d73aee1702756a50
1,008
mli
OCaml
hphp/hack/src/server/serverMain.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/serverMain.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverMain.mli
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (* The in/out channels don't actually take type unit -- we write directly * to the underlying file descriptor -- b...
33.6
77
0.740079
aad77ba79a5f5cc19bdc801e69f4b6b2c4bce5fc
175
ml
OCaml
data/derived/comb/progs/unify/prog1386.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/prog1386.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1386.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec wwhile (f,b) = let (b',c') = f b in if c' then wwhile (f, b') else b';; let fixpoint (f,b) = wwhile (fun x -> if x = b then (b, false) else (((f x), true), b));;
29.166667
79
0.52
aa88950b3c27553cdf4b915838ec74cfa53d0e23
4,608
mli
OCaml
hphp/hack/src/typing/typing_per_cont_ops.mli
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/typing/typing_per_cont_ops.mli
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
2
2020-10-11T22:54:12.000Z
2021-07-20T22:12:10.000Z
hphp/hack/src/typing/typing_per_cont_ops.mli
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
1
2021-01-29T08:44:22.000Z
2021-01-29T08:44:22.000Z
(* * 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. * *) (*****************************************************************************) (* Functions dealing with continuati...
34.38806
79
0.651042
aa06f3dd576eb85db35ee5ebeead50c6fe3ad31f
11,227
ml
OCaml
VOQC/extraction/ml/qasm2sqir.ml
taorunz/SQIR
e826699c9063be390f7e9d25b6f3c0b52ee5d25c
[ "MIT" ]
null
null
null
VOQC/extraction/ml/qasm2sqir.ml
taorunz/SQIR
e826699c9063be390f7e9d25b6f3c0b52ee5d25c
[ "MIT" ]
null
null
null
VOQC/extraction/ml/qasm2sqir.ml
taorunz/SQIR
e826699c9063be390f7e9d25b6f3c0b52ee5d25c
[ "MIT" ]
null
null
null
open OpenQASM open OpenQASM.AST open UnitaryListRepresentation open RzQGateSet open Printf module StringMap = Map.Make(String) (* This file contains details for converting between OpenQASM and SQIR programs. *) (** Gate set definition **) let qelib1 = [ (* standard gates *) ("u3", TGate(3,1)); ("u2", TGate(...
42.688213
216
0.583415
aa6cb1358e028f2b6144b394791c0a209dc26dae
5,835
ml
OCaml
src/conduit/resolver.ml
madroach/ocaml-conduit
522b536601ee5996f6833f6d78e5df5fa0c6f971
[ "ISC" ]
null
null
null
src/conduit/resolver.ml
madroach/ocaml-conduit
522b536601ee5996f6833f6d78e5df5fa0c6f971
[ "ISC" ]
null
null
null
src/conduit/resolver.ml
madroach/ocaml-conduit
522b536601ee5996f6833f6d78e5df5fa0c6f971
[ "ISC" ]
null
null
null
(* * Copyright (c) 2014 Anil Madhavapeddy <anil@recoil.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
38.388158
83
0.645073
aadccf0f4044a9736aa185c44ad7c4350ff68c1a
300
ml
OCaml
data/derived/comb/progs/unify/prog0441.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/prog0441.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0441.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec wwhile (f,b) = match f b with | (x,trueOrFalse) -> if trueOrFalse then wwhile (f, x) else x;; let fixpoint (f,b) = wwhile ((fun x -> let xi = f x in (xi, (((f xi) != xi) || (f (f xi))))), b);; let _ = let g x = truncate (1e6 *. (cos (1e-6 *. (float x)))) in fixpoint (g, 0);;
25
76
0.516667
aac49c906d7601c9b4fbde785dd86df96a5d4c6f
8,539
ml
OCaml
src/irmin-pack/atomic_write.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "0BSD" ]
null
null
null
src/irmin-pack/atomic_write.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "0BSD" ]
null
null
null
src/irmin-pack/atomic_write.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "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...
27.996721
78
0.631339
aa5bcaf43cb5a780a871e66d55f2d25f648c7f64
4,444
ml
OCaml
src/lib_stdlib_unix/internal_event_unix.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_stdlib_unix/internal_event_unix.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_stdlib_unix/internal_event_unix.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
1
2021-06-04T09:31:48.000Z
2021-06-04T09:31:48.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
41.924528
79
0.517552
aa99f7253d5b2f9a19b9d354720d5b5553bdc0a6
11,154
ml
OCaml
MLlisp_dynamic/eval.ml
Phyronnaz/Lisp_demo
bdf0442afe4f40016accfdda39018f38bacccf7c
[ "MIT" ]
null
null
null
MLlisp_dynamic/eval.ml
Phyronnaz/Lisp_demo
bdf0442afe4f40016accfdda39018f38bacccf7c
[ "MIT" ]
null
null
null
MLlisp_dynamic/eval.ml
Phyronnaz/Lisp_demo
bdf0442afe4f40016accfdda39018f38bacccf7c
[ "MIT" ]
null
null
null
(** This module is the core of the Lisp evaluator, where functions {!val:eval} and {!val:apply} are defined, together with their sibling functions. Actually, the dozen of mutually recursive functions are defined in two steps. First, all the original declarations are collected into a structure of type {!type:Types....
35.75
418
0.674825
aabded465d790f476501258fa089b5c2843346b8
6,333
ml
OCaml
src/parser_utils/scope_api.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-12-18T19:19:16.000Z
2018-12-18T19:19:16.000Z
src/parser_utils/scope_api.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
null
null
null
src/parser_utils/scope_api.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Make (L: Loc_sig.S) = struct module L = L type scope = int type use = L.t type uses = L.LSet.t module Def = struct ...
31.507463
99
0.635402
170d0226372e85027e5f0a3e1d5e1dcdb36f970b
10,344
ml
OCaml
infer/src/unit/DifferentialFiltersTests.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
infer/src/unit/DifferentialFiltersTests.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
infer/src/unit/DifferentialFiltersTests.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "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 open OUnit2 open DifferentialTestsUtils type 'a outcome = Return of 'a | Raise of exn let test_file_renamings_from_jso...
44.205128
101
0.661156
aaf00de9bf8e2c745417302b43aef775fbc4ebc0
7,221
mli
OCaml
lib/Ast.mli
ejgallego/ocamlformat
abd8e4f455e63df8c138cab4ab14108eb2e48a89
[ "MIT" ]
null
null
null
lib/Ast.mli
ejgallego/ocamlformat
abd8e4f455e63df8c138cab4ab14108eb2e48a89
[ "MIT" ]
null
null
null
lib/Ast.mli
ejgallego/ocamlformat
abd8e4f455e63df8c138cab4ab14108eb2e48a89
[ "MIT" ]
null
null
null
(********************************************************************** * * * OCamlFormat * * * * Copyright (c) 2017-present, ...
29.962656
77
0.63163
aabe82caa45dc60885217cefb8d4cac7dedd2d38
24,833
ml
OCaml
src/kernel/mconfig.ml
antalsz/merlin
872205e62c69e22714a0a1609f8c074d01229c87
[ "MIT" ]
null
null
null
src/kernel/mconfig.ml
antalsz/merlin
872205e62c69e22714a0a1609f8c074d01229c87
[ "MIT" ]
null
null
null
src/kernel/mconfig.ml
antalsz/merlin
872205e62c69e22714a0a1609f8c074d01229c87
[ "MIT" ]
null
null
null
open Std (** {1 OCaml commandline parsing} *) let {Logger. log} = Logger.for_section "Mconfig" type ocaml = { include_dirs : string list; no_std_include : bool; unsafe : bool; classic : bool; principal : bool; real_paths : bool; threads ...
31.755754
102
0.616518
170015d60df7227b9d912a4b8fc685d50add80d2
2,074
ml
OCaml
src/irmin/sync_intf.ml
TheLortex/irmin
ce58b43e54b1a57d66bbd5ff37f1a2d4edd086bf
[ "0BSD" ]
null
null
null
src/irmin/sync_intf.ml
TheLortex/irmin
ce58b43e54b1a57d66bbd5ff37f1a2d4edd086bf
[ "0BSD" ]
1
2020-03-02T22:43:44.000Z
2020-03-06T15:35:44.000Z
src/irmin/sync_intf.ml
TheLortex/irmin
ce58b43e54b1a57d66bbd5ff37f1a2d4edd086bf
[ "0BSD" ]
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.424242
80
0.673095
aaec7f7dbbdc920be79bc31aeacec835f133b9a6
2,832
ml
OCaml
duniverse/async_unix/src/busy_pollers.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/async_unix/src/busy_pollers.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/async_unix/src/busy_pollers.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
open Core open Import module Poller = struct module U = struct type 'a t = { execution_context : Execution_context.t ; result : 'a Ivar.t ; poll : unit -> [`Stop_polling of 'a | `Continue_polling] ; mutable is_alive : bool } [@@deriving fields, sexp_of] let invariant a_inva...
29.195876
88
0.630297
171382aa571e249edc618e57ce005b801f43a1bf
6,905
ml
OCaml
analysis/annotatedClass.ml
fyunaz/pyre-check
57640fe196e989c63bf3749c7a7251c83aa7ee50
[ "MIT" ]
null
null
null
analysis/annotatedClass.ml
fyunaz/pyre-check
57640fe196e989c63bf3749c7a7251c83aa7ee50
[ "MIT" ]
null
null
null
analysis/annotatedClass.ml
fyunaz/pyre-check
57640fe196e989c63bf3749c7a7251c83aa7ee50
[ "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 open Ast open Expression open Statement module StatementAttribute = Attribute module Attribute = AnnotatedAttribute type...
35.592784
99
0.588559
aa67be797475b4dd9d723a8f3a932394a2a3778e
160
ml
OCaml
result/fixml/iter/sub26/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/iter/sub26/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/iter/sub26/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let iter : int * (int -> int) -> int -> int = fun (n, f) -> if n = 0 then f else let rec a n f x = if n > 0 then f (a (n - 1) f x) else x in a n f
22.857143
63
0.4625
aaaf09219f7dcc8675d8847f9fa88e836a30ae4d
309
mli
OCaml
src/jbuild_support/string_with_vars.mli
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
null
null
null
src/jbuild_support/string_with_vars.mli
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
1
2017-12-08T01:25:07.000Z
2017-12-08T01:25:07.000Z
src/jbuild_support/string_with_vars.mli
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
1
2017-12-07T21:21:12.000Z
2017-12-07T21:21:12.000Z
open Stdune (** Upgrade string with variables coming from a [jbuild] file to one suitable for a [dune] file. Fail if the [<] variable is found and [allow_first_dep_var] is [true]. *) val upgrade_to_dune : string -> loc:Loc.t -> quoted:bool -> allow_first_dep_var:bool -> Dune_lang.Ast.t
25.75
77
0.682848
aae44a2c1cafcd05773382f15db8a906e5ca6a5d
15,603
ml
OCaml
src/llvmBackend.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
2
2019-01-15T21:43:30.000Z
2020-11-25T00:26:31.000Z
src/llvmBackend.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
null
null
null
src/llvmBackend.ml
talyian/coral-ocaml
0929ce2afa2966c5cabbf100f9188687abde7d8e
[ "MIT" ]
null
null
null
open Llvm open Ast open Ctypes open Ansicolor module AstMap = Map.Make(struct type t = Ast.node let compare = compare end) let default v = function | Some (x) -> x | None -> v type codegenContext = { context: Llvm.llcontext; llmodule: Llvm.llmodule; func: Llvm.llvalue; builder: Llvm.llbuilder; mu...
45.622807
95
0.628405
44f7549b140b110f4098c0461921906fc765e3b5
1,385
mli
OCaml
src/scheduler.mli
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
null
null
null
src/scheduler.mli
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
2
2018-01-12T08:41:59.000Z
2020-12-30T21:57:31.000Z
src/scheduler.mli
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
null
null
null
(** Scheduling *) open! Stdune (** [go ?log ?config fiber] runs the fiber until it terminates. *) val go : ?log:Log.t -> ?config:Config.t -> (unit -> 'a Fiber.t) -> 'a (** Runs [once] in a loop, executing [finally] after every iteration, even if Fiber.Never was encountered. If any source files chan...
27.156863
90
0.680866
bc579d07866784cb87bfb09679c53e35df48c0fb
1,813
ml
OCaml
src/owl/dense/owl_dense_matrix_z.ml
Fourchaux/owl
06e2f033b4ebda1e9bfd087f76cee4675c76d805
[ "MIT" ]
508
2018-03-24T12:15:49.000Z
2022-03-30T11:37:33.000Z
src/owl/dense/owl_dense_matrix_z.ml
Fourchaux/owl
06e2f033b4ebda1e9bfd087f76cee4675c76d805
[ "MIT" ]
344
2018-03-23T14:01:27.000Z
2022-03-31T16:14:14.000Z
src/owl/dense/owl_dense_matrix_z.ml
Fourchaux/owl
06e2f033b4ebda1e9bfd087f76cee4675c76d805
[ "MIT" ]
68
2018-03-28T21:34:12.000Z
2022-01-23T12:15:33.000Z
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2020 Liang Wang <liang.wang@cl.cam.ac.uk> *) (** [ Complex dense matrix module ] *) open Bigarray module M = Owl_dense_matrix_generic include M type elt = Complex.t type mat = (Complex.t, Bigarray.complex64_elt) M.t type cast_mat = (flo...
21.329412
71
0.714837
171ef55e53cb6aa7c5eb733943fbb0014b7b0e17
9,845
ml
OCaml
examples/rulebot/src/rulebot_main.ml
Bhaskers-Blu-Org1/wcs-ocaml
b237b7057f44caa09d36e466be015e2bc3173dd5
[ "Apache-2.0" ]
26
2017-09-20T17:28:21.000Z
2020-12-11T06:00:21.000Z
examples/rulebot/src/rulebot_main.ml
Bhaskers-Blu-Org1/wcs-ocaml
b237b7057f44caa09d36e466be015e2bc3173dd5
[ "Apache-2.0" ]
6
2017-10-18T19:31:42.000Z
2018-08-29T20:16:45.000Z
examples/rulebot/src/rulebot_main.ml
idkjs/wcs-ocaml
b237b7057f44caa09d36e466be015e2bc3173dd5
[ "Apache-2.0" ]
16
2017-09-16T07:05:24.000Z
2021-08-15T12:37:00.000Z
(* * This file is part of the Watson Conversation Service OCaml API project. * * Copyright 2016-2017 IBM Corporation * * 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...
30.669782
107
0.698933
aa94c4b4a6c3535ebb98512b9206a8153c63a9c7
329
ml
OCaml
src/json/json_type.ml
baransu/graphql_ppx_re
eb8648d1552fbc11989b9197ef41a7a958b2545f
[ "MIT" ]
60
2019-08-11T07:11:16.000Z
2020-01-15T13:24:06.000Z
src/json/json_type.ml
reasonml-community/graphql_ppx
eb8648d1552fbc11989b9197ef41a7a958b2545f
[ "MIT" ]
90
2020-01-23T18:15:26.000Z
2020-06-18T01:05:42.000Z
src/json/json_type.ml
teamwalnut/graphql-ppx
4a1fbfebf99a3b291bf647a49e069eba1f471f52
[ "MIT" ]
13
2019-10-07T04:47:32.000Z
2020-01-04T20:00:33.000Z
type t = [ `Null | `Bool of bool | `Int of int | `Float of float | `String of string | `Assoc of (string * t) list | `List of t list ] (* Common *) exception Json_error of string let json_error s = raise (Json_error s) exception End_of_array exception End_of_object exception End_of_tuple exception End_...
17.315789
39
0.699088
17103bec3ffab37774d49bab64be5b8a5d964807
8,519
ml
OCaml
src/arpv4/arpv4.ml
hannesm/mirage-tcpip
c1b730fb38fa40a916d81647bf7758d7a4d25a07
[ "0BSD" ]
null
null
null
src/arpv4/arpv4.ml
hannesm/mirage-tcpip
c1b730fb38fa40a916d81647bf7758d7a4d25a07
[ "0BSD" ]
null
null
null
src/arpv4/arpv4.ml
hannesm/mirage-tcpip
c1b730fb38fa40a916d81647bf7758d7a4d25a07
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2010-2011 Anil Madhavapeddy <anil@recoil.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS ...
37.03913
102
0.618852
bc56b822e7ae5392915fadff50e7a1d98accd762
11,438
ml
OCaml
src/services/jsdoc/find_documentation.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
null
null
null
src/services/jsdoc/find_documentation.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-04-16T12:04:57.000Z
2021-04-16T12:04:57.000Z
src/services/jsdoc/find_documentation.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "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. *) let loc_of_object_key = let open Flow_ast.Expression.Object.Property in function | Identifier (loc, _) | Literal (loc, _) ...
37.749175
102
0.680888
aae115e2da49263795a89920a55fea586a6aff2b
1,102
mli
OCaml
analysis/annotatedAccess.mli
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "MIT" ]
null
null
null
analysis/annotatedAccess.mli
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "MIT" ]
null
null
null
analysis/annotatedAccess.mli
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "MIT" ]
null
null
null
(** Copyright (c) 2016-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open Ast open Expression module Class = AnnotatedClass module Attribute = Class.Attribute module Method = Class.Method module Define = Anno...
22.04
71
0.665154
bc9bc05d5b6a5bf576c0c8c274f5795ab9f7f1d2
1,351
ml
OCaml
src/expansion_context.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
57
2019-05-15T14:23:37.000Z
2021-05-24T19:23:19.000Z
src/expansion_context.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
53
2019-06-06T16:27:15.000Z
2020-05-14T18:05:50.000Z
src/expansion_context.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
7
2019-06-03T15:07:32.000Z
2020-04-06T14:06:22.000Z
module Base = struct type t = { tool_name : string ; code_path : Code_path.t } let top_level ~tool_name ~file_path = let code_path = Code_path.top_level ~file_path in {tool_name; code_path} let enter_expr t = {t with code_path = Code_path.enter_expr t.code_path} let enter_module ~loc name ...
28.145833
98
0.712065
aaf38bd19c718ae7a53915faa14d97b4e3677834
12,712
ml
OCaml
src/sparse/dug.ml
prosyslab/sparrow
a525084b22ae45b63f1a1d6b451924e34d34213b
[ "BSD-3-Clause" ]
null
null
null
src/sparse/dug.ml
prosyslab/sparrow
a525084b22ae45b63f1a1d6b451924e34d34213b
[ "BSD-3-Clause" ]
8
2020-03-19T10:21:01.000Z
2020-08-20T14:02:06.000Z
src/sparse/dug.ml
prosyslab/sparrow
a525084b22ae45b63f1a1d6b451924e34d34213b
[ "BSD-3-Clause" ]
2
2020-03-11T10:07:41.000Z
2020-04-23T02:06:00.000Z
(***********************************************************************) (* *) (* Copyright (c) 2007-present. *) (* Programming Research Laboratory (ROPAS), Seoul National University. *) (* All rights reserved. ...
26.649895
80
0.54366
172140488129b26c81809f038d97075dc87f82c5
359
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-misc/wellfounded.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2020-09-24T05:03:32.000Z
2020-09-24T05:03:32.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-misc/wellfounded.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-misc/wellfounded.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(* TEST * expect *) (* PR#6768 *) type _ prod = Prod : ('a * 'y) prod;; let f : type t. t prod -> _ = function Prod -> let module M = struct type d = d * d end in () ;; [%%expect{| type _ prod = Prod : ('a * 'y) prod Line _, characters 6-20: type d = d * d ^^^^^^^^^^^^^^ Error: T...
15.608696
46
0.481894
aaab80f01d12ed8caba8e2134e87c2e1c793a714
17,621
ml
OCaml
src/codemods/annotate_exports.ml
noppa/flow
7e3b8199ed498f77cc4f64278245b0e1ce106db3
[ "MIT" ]
null
null
null
src/codemods/annotate_exports.ml
noppa/flow
7e3b8199ed498f77cc4f64278245b0e1ce106db3
[ "MIT" ]
null
null
null
src/codemods/annotate_exports.ml
noppa/flow
7e3b8199ed498f77cc4f64278245b0e1ce106db3
[ "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 module LSet = Loc_collections.LocSet module ALSet = Loc_collections.ALocSet module LMap = Loc_collections.Loc...
37.2537
100
0.62959
aaea1113647e7a411676914ff8528eae17a8f952
1,291
ml
OCaml
src/bin_flextesa/command_prevalidation.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/bin_flextesa/command_prevalidation.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/bin_flextesa/command_prevalidation.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
1
2021-06-04T09:31:48.000Z
2021-06-04T09:31:48.000Z
open Tezos_network_sandbox open Internal_pervasives open Console let run state node_exec client_exec () = Test_scenario.network_with_protocol ~size:2 state ~node_exec ~client_exec >>= fun (nodes, protocol) -> match nodes with | [] | [_] | _ :: _ :: _ :: _ -> assert false | [n1; n2] -> let c1 = Tezos_cl...
34.891892
75
0.666925
afb0d27bba09eda96ad389ffa25a9fdc30d5582b
4,590
ml
OCaml
text_formalization/build/ocamlinit_hol_light.ml
fbrausse/flyspeck
66f4ef0f9252c382333586fc07787e64d8a4bbfb
[ "MIT" ]
null
null
null
text_formalization/build/ocamlinit_hol_light.ml
fbrausse/flyspeck
66f4ef0f9252c382333586fc07787e64d8a4bbfb
[ "MIT" ]
null
null
null
text_formalization/build/ocamlinit_hol_light.ml
fbrausse/flyspeck
66f4ef0f9252c382333586fc07787e64d8a4bbfb
[ "MIT" ]
null
null
null
(* Sample file for building the project. Several lines should be customized depending on the local setup. Before following the script here, install HOL Light and download the Flyspeck project, as described at https://github.com/flyspeck/flyspeck/wiki/Installation%20Guide This file sets up the directorie...
30.805369
102
0.751198
aa62ccdf9c52b6598f869a2c666f15a28c02307c
1,918
ml
OCaml
src/lib/transition_handler/catchup_monitor.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
1
2022-03-21T15:43:42.000Z
2022-03-21T15:43:42.000Z
src/lib/transition_handler/catchup_monitor.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/lib/transition_handler/catchup_monitor.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Pipe_lib.Strict_pipe open With_hash module State_hash = Coda_base.State_hash module Make (Inputs : Inputs.S) = struct open Inputs open Consensus_mechanism type t = { catchup_job_writer: ( (External_transition.t, State_hash.t) With_hash.t , drop_head buffered , u...
34.872727
79
0.677789
1721a4c14c04308258ac3747d1f63a1b9cbc03fe
4,432
ml
OCaml
hphp/hack/test/integration/server_driver.ml
fabpot/hhvm
989f3ea5cc733d2c082588d051e5d4a9da03366c
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/hack/test/integration/server_driver.ml
fabpot/hhvm
989f3ea5cc733d2c082588d051e5d4a9da03366c
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/hack/test/integration/server_driver.ml
profclems/hhvm
240f1370de88926a6c0760cc089b93b84bb0f88d
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
(** * Copyright (c) 2016, 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. * *) (** * Does a...
35.174603
80
0.694043
aa2cca4c78102da8fed734d06a14b54e800e6502
162
ml
OCaml
data/derived/comb/progs/unify/prog0545.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/prog0545.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0545.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec digitsOfInt n = if n <= 0 then [] else (let next_tail = digitsOfInt (n / 10) in match next_tail with | x::xs -> xs @ [x :: (n mod 10)]);;
20.25
62
0.54321
aaa01db3f54686339e5e41d3b79cd407125ff897
2,735
ml
OCaml
hphp/hack/src/utils/symbolOccurrence.ml
ianhoffman/hhvm
decc4e479e0e689c65f936f0828cb761d34075b1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/symbolOccurrence.ml
ianhoffman/hhvm
decc4e479e0e689c65f936f0828cb761d34075b1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/symbolOccurrence.ml
ianhoffman/hhvm
decc4e479e0e689c65f936f0828cb761d34075b1
[ "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 override_info = { class_name: string; method_name: string; is_static: bool; } [@@deriving ord, eq] type ...
22.791667
77
0.679342
aa9710ea821c1515066d337472cbcf3383b6c6e6
1,729
ml
OCaml
libraries/cloudformation/lib/detectStackDrift.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudformation/lib/detectStackDrift.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudformation/lib/detectStackDrift.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DetectStackDriftInput.t type output = DetectStackDriftOutput.t type error = Errors_internal.t let service = "cloudformation" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) ...
27.015625
88
0.615385
aad3d4b4bab43a444c0c14718cb639ab747bfe34
6,826
ml
OCaml
xsanitizer/sanitize.ml
rvantonder/crypto-oss-data-msr-2019
acd931433f70fd097930b2e62a294af6d31a2a77
[ "MIT" ]
8
2019-03-16T01:52:30.000Z
2021-04-17T14:44:16.000Z
xsanitizer/sanitize.ml
rvantonder/crypto-oss-data-msr-2019
acd931433f70fd097930b2e62a294af6d31a2a77
[ "MIT" ]
2
2019-05-25T08:06:06.000Z
2019-05-25T08:06:42.000Z
xsanitizer/sanitize.ml
rvantonder/CryptOSS
acd931433f70fd097930b2e62a294af6d31a2a77
[ "MIT" ]
null
null
null
open Core type t = Record.t String.Table.t Date.Table.t let (!!) date = let year = Date.year date in let month = Date.month date |> Month.to_int in let day = Date.day date in Format.sprintf "%d-%02d-%02d" year month day let f table line = match String.split ~on:',' line with | date :: cryptocurrency_name...
36.116402
95
0.506006
aaa8a4a32887cebe717d7d3d09463cb0c2e7cb1e
41
mli
OCaml
lib/float.mli
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
lib/float.mli
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
lib/float.mli
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
include Float_intf.S with type t = float
20.5
40
0.780488
170462d1c08ea7949b70ecc33808fed5ca98a5bb
5,878
ml
OCaml
lang/asm/validate.ml
stew2003/Stew-3000
fe2c95d2ffdfcaeedade9b64c69efcccc02468cb
[ "MIT" ]
2
2021-04-06T01:51:18.000Z
2022-02-02T03:42:30.000Z
lang/asm/validate.ml
stew2003/Stew-3000
fe2c95d2ffdfcaeedade9b64c69efcccc02468cb
[ "MIT" ]
16
2021-04-12T12:25:42.000Z
2021-12-27T01:33:39.000Z
lang/asm/validate.ml
stew2003/Stew-3000
fe2c95d2ffdfcaeedade9b64c69efcccc02468cb
[ "MIT" ]
1
2021-04-11T18:54:44.000Z
2021-04-11T18:54:44.000Z
open Isa open Util.Srcloc type valid_err = InvalidImm of immediate | InvalidInstr of instr exception ValidityError of valid_err with_loc_opt let i8_min = -128 let u8_max = 255 (* [validate_imm] checks that an immediate value is within the representable range for both signed/unsigned 8bit ints, and raises an err...
24.594142
81
0.456618
170a3a36a61ae1832abba2261e509938f139a51c
3,103
mli
OCaml
capnp-rpc-net/auth.mli
avsm/capnp-rpc
ed58f848a1f1c92adf72f48d59890fe11f8bda35
[ "Apache-2.0" ]
null
null
null
capnp-rpc-net/auth.mli
avsm/capnp-rpc
ed58f848a1f1c92adf72f48d59890fe11f8bda35
[ "Apache-2.0" ]
null
null
null
capnp-rpc-net/auth.mli
avsm/capnp-rpc
ed58f848a1f1c92adf72f48d59890fe11f8bda35
[ "Apache-2.0" ]
null
null
null
open Asetmap (** Vat-level authentication and encryption. Unless your network provides a secure mechanism for establishing connections to other vats, where you can be sure of the identity of the other party, you'll probably want to enable cryptographic security. Each vat (application instance) should...
37.385542
100
0.682565
aaea0ca4a31d377b80b76449db75d31a455cb8fc
6,127
ml
OCaml
dist/gcc-compatible/lib/Hacl_Streaming_Blake2_bindings.ml
BlackHorseSolutions/hacl-star
e7d8effb0c14f049cf016c09882c18681849c2a3
[ "Apache-2.0" ]
null
null
null
dist/gcc-compatible/lib/Hacl_Streaming_Blake2_bindings.ml
BlackHorseSolutions/hacl-star
e7d8effb0c14f049cf016c09882c18681849c2a3
[ "Apache-2.0" ]
null
null
null
dist/gcc-compatible/lib/Hacl_Streaming_Blake2_bindings.ml
BlackHorseSolutions/hacl-star
e7d8effb0c14f049cf016c09882c18681849c2a3
[ "Apache-2.0" ]
null
null
null
open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F type k____uint32_t___uint32_t_ = [ `k____uint32_t___uint32_t_ ] structure let (k____uint32_t___uint32_t_ : [ `k____uint32_t___uint32_t_ ] structure typ) = structure "K____uint32_t___uint32_t__s" let k____uint32_t___uint32_t__fst...
50.636364
84
0.736739
aabc6639cadad147fb59e4e5ac063d395bae7d74
21,046
ml
OCaml
src/irmin/node.ml
zshipko/irmin
733df281a9e56c4e7e7dc5efa92d86abcfc3a012
[ "0BSD" ]
null
null
null
src/irmin/node.ml
zshipko/irmin
733df281a9e56c4e7e7dc5efa92d86abcfc3a012
[ "0BSD" ]
2
2020-09-24T07:16:37.000Z
2021-01-07T18:03:13.000Z
src/irmin/node.ml
zshipko/irmin
733df281a9e56c4e7e7dc5efa92d86abcfc3a012
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2013 Louis Gesbert <louis.gesbert@ocamlpro.com> * Copyright (c) 2013-2021 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 ...
31.179259
80
0.602585
aa9b2e3a864356b7985540500565a8e4ebb3f2b8
2,336
ml
OCaml
src/lib/ledger_proof/ledger_proof.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/lib/ledger_proof/ledger_proof.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/lib/ledger_proof/ledger_proof.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
[%%import "../../config.mlh"] open Core_kernel open Coda_base module type S = Ledger_proof_intf.S module Prod : Ledger_proof_intf.S with type t = Transaction_snark.t = struct [%%versioned module Stable = struct module V1 = struct type t = Transaction_snark.Stable.V1.t [@@deriving compare, sexp, t...
24.082474
80
0.680651
bc526181bb51ede3c8899058b5a26c5c4d6ccd9e
1,274
mll
OCaml
src/util/jsonLexer.mll
vootelerotov/goblint-fork
1aa04505362d2a89ab40fc1d0499afac09472d7b
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/util/jsonLexer.mll
vootelerotov/goblint-fork
1aa04505362d2a89ab40fc1d0499afac09472d7b
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/util/jsonLexer.mll
vootelerotov/goblint-fork
1aa04505362d2a89ab40fc1d0499afac09472d7b
[ "MIT", "BSD-3-Clause" ]
null
null
null
{ open Big_int open Json open JsonParser } let nl = '\r'?'\n' let endlinecomment = "//" [^'\n']* nl let multlinecomment = "/*"([^'*']|('*'+[^'*''/'])|nl)*'*'+'/' let comments = endlinecomment|multlinecomment rule token = parse | ['\t' '\n' '\r' ' ' ] { token lexbuf } | co...
38.606061
92
0.310047
bcba4a4fee6f5c7267cbfa12d2356bb5d220b96f
153
ml
OCaml
test/lib/test_ppx_factory_lib.ml
cryptosense/ppx_factory
d71e758abca055ca80ea551f507863afbf10c734
[ "BSD-2-Clause" ]
13
2019-02-22T15:20:23.000Z
2022-01-12T10:01:11.000Z
test/lib/test_ppx_factory_lib.ml
cryptosense/ppx_factory
d71e758abca055ca80ea551f507863afbf10c734
[ "BSD-2-Clause" ]
14
2019-02-14T18:33:54.000Z
2020-07-07T09:34:09.000Z
test/lib/test_ppx_factory_lib.ml
cryptosense/ppx_factory
d71e758abca055ca80ea551f507863afbf10c734
[ "BSD-2-Clause" ]
1
2019-04-26T12:12:47.000Z
2019-04-26T12:12:47.000Z
open OUnit2 let suite = "ppx_factory_lib" >::: [ Test_util.suite ; Test_default.suite ; Test_factory.suite ] let () = run_test_tt_main suite
13.909091
31
0.686275
aad5c887de9af5d8f37136f7a5f8494413811672
65,639
ml
OCaml
src/lib/mina_net2/mina_net2.ml
Kida007/mina
dbe93a1078a29a1b821c1e9f7e4412fcc6c820b8
[ "Apache-2.0" ]
1
2021-01-13T20:18:30.000Z
2021-01-13T20:18:30.000Z
src/lib/mina_net2/mina_net2.ml
yusuftrl/mina
42bbe89e0e84366fd1673672750eb6041462e449
[ "Apache-2.0" ]
null
null
null
src/lib/mina_net2/mina_net2.ml
yusuftrl/mina
42bbe89e0e84366fd1673672750eb6041462e449
[ "Apache-2.0" ]
null
null
null
open Core open Async open Async_unix open Deferred.Let_syntax open Pipe_lib open Network_peer module Timeout = Timeout_lib.Core_time_ns module Validation_callback = struct type validation_result = [`Accept | `Reject | `Ignore] type t = {expiration: Time_ns.t option; signal: validation_result Ivar.t} let create...
34.204794
221
0.575725
170e13ee57b0bc9d7e788b09a297989487babc02
201
ml
OCaml
ocaml/typetest.ml
tekktonic/programming
139959ab9934912d4c531e5ee8b1f39094a6823c
[ "0BSD" ]
null
null
null
ocaml/typetest.ml
tekktonic/programming
139959ab9934912d4c531e5ee8b1f39094a6823c
[ "0BSD" ]
null
null
null
ocaml/typetest.ml
tekktonic/programming
139959ab9934912d4c531e5ee8b1f39094a6823c
[ "0BSD" ]
null
null
null
type foo = {x:int; y:int};; let meh a = print_int a.x;; let new_foo () = {x= 0; y= 0};; type bar = {x:int; y:int; z:int};; let new_bar () = {x = 0; y = 0; z = 0};; let baz = new_bar ();; meh baz
14.357143
40
0.502488
aad732cfed5d3b6e201a15d7834c4646f08b603c
4,718
ml
OCaml
hphp/hack/src/decl/decl_class.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_class.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_class.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * 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. * *) open Typing_defs open Decl_defs module Inst = Decl_instantiate exception Decl_heap_elems_bug let wrap_not_found ch...
27.114943
79
0.654091
aa50f219ce3acd574131d5e03e6f62e71820b4b6
27,528
ml
OCaml
src/lib/mina_metrics/mina_metrics.ml
Rookie23/mina
b1c853d5d1a2101487755fcd87b2aafeaaba27b6
[ "Apache-2.0" ]
null
null
null
src/lib/mina_metrics/mina_metrics.ml
Rookie23/mina
b1c853d5d1a2101487755fcd87b2aafeaaba27b6
[ "Apache-2.0" ]
null
null
null
src/lib/mina_metrics/mina_metrics.ml
Rookie23/mina
b1c853d5d1a2101487755fcd87b2aafeaaba27b6
[ "Apache-2.0" ]
null
null
null
[%%import "/src/config.mlh"] open Core_kernel open Prometheus open Namespace open Metric_generators (* textformat serialization and runtime metrics taken from github.com/mirage/prometheus:/app/prometheus_app.ml *) module TextFormat_0_0_4 = struct let re_unquoted_escapes = Re.compile @@ Re.set "\\\n" let re_quote...
31.641379
113
0.696563