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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aff19a2894ee9a7d0bb979d3f66ee7e13eee262a | 5,063 | ml | OCaml | src/solvers/backend/z3/Z3.ml | imdea-software/leap | 5f946163c0f80ff9162db605a75b7ce2e27926ef | [
"Apache-2.0"
] | 7 | 2016-08-31T19:50:12.000Z | 2019-01-21T04:51:07.000Z | src/solvers/backend/z3/Z3.ml | imdea-software/leap | 5f946163c0f80ff9162db605a75b7ce2e27926ef | [
"Apache-2.0"
] | null | null | null | src/solvers/backend/z3/Z3.ml | imdea-software/leap | 5f946163c0f80ff9162db605a75b7ce2e27926ef | [
"Apache-2.0"
] | null | null | null |
(***********************************************************************)
(* *)
(* LEAP *)
(* *)
(* Alejan... | 34.678082 | 95 | 0.51748 |
afd90f25221bfe1e0944b5c515e118cf0d4868cc | 512,524 | ml | OCaml | src/typing/flow_js.ml | aij/flow | 890f1c5be9f0d2d7bdf32674e4f23f0e3c450fb8 | [
"MIT"
] | 2 | 2019-01-31T09:33:15.000Z | 2019-01-31T09:35:08.000Z | src/typing/flow_js.ml | aij/flow | 890f1c5be9f0d2d7bdf32674e4f23f0e3c450fb8 | [
"MIT"
] | null | null | null | src/typing/flow_js.ml | aij/flow | 890f1c5be9f0d2d7bdf32674e4f23f0e3c450fb8 | [
"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.
*)
(* This module describes the subtyping algorithm that forms the core of
typechecking. The algorithm (in its basic form) is described ... | 41.209616 | 108 | 0.62745 |
af65e2f4523773b274c144526f2acde4273bbc58 | 819 | mli | OCaml | src/module_compilation.mli | jonludlam/dune | d6ca965c0556d9925b1160c471b5f04f9fccd41b | [
"MIT"
] | null | null | null | src/module_compilation.mli | jonludlam/dune | d6ca965c0556d9925b1160c471b5f04f9fccd41b | [
"MIT"
] | 2 | 2018-01-12T08:41:59.000Z | 2020-12-30T21:57:31.000Z | src/module_compilation.mli | jonludlam/dune | d6ca965c0556d9925b1160c471b5f04f9fccd41b | [
"MIT"
] | null | null | null | (** OCaml module compilation *)
open Import
(** Setup rules to build a single module.
@param dynlink if false disables the possibility to dynamically
link. The module can't be in a .cmxs or .so (default true).
*)
val build_module
: ?sandbox:bool
-> ?js_of_ocaml:Dune_file.Js_of_ocaml.t
-> ?dynlink:boo... | 22.75 | 74 | 0.691087 |
f328a84eecf894980b6e6ac98711e1fe9fcaeb3b | 67,792 | ml | OCaml | src/ocaml/typing/403/typeclass.ml | vbmithr/merlin | cd78778a1f507f35292b6b5d7a3417ac86f2534d | [
"MIT"
] | null | null | null | src/ocaml/typing/403/typeclass.ml | vbmithr/merlin | cd78778a1f507f35292b6b5d7a3417ac86f2534d | [
"MIT"
] | null | null | null | src/ocaml/typing/403/typeclass.ml | vbmithr/merlin | cd78778a1f507f35292b6b5d7a3417ac86f2534d | [
"MIT"
] | null | null | null | (**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* ... | 36.021254 | 80 | 0.6105 |
8a4dda4df61647b692f81cebe54de43d21bb7453 | 4,028 | ml | OCaml | herd/prettyUtils.ml | AymenQ/herdtools7 | 9dc22b11334f7c40810349e8223f0bfe5f46326d | [
"CECILL-B"
] | null | null | null | herd/prettyUtils.ml | AymenQ/herdtools7 | 9dc22b11334f7c40810349e8223f0bfe5f46326d | [
"CECILL-B"
] | 4 | 2021-06-29T09:31:26.000Z | 2021-07-02T15:26:56.000Z | herd/prettyUtils.ml | AymenQ/herdtools7 | 9dc22b11334f7c40810349e8223f0bfe5f46326d | [
"CECILL-B"
] | null | null | null | (****************************************************************************)
(* the diy toolsuite *)
(* *)
(* Jade Alglave, University College London, UK. *)
(* L... | 37.296296 | 78 | 0.460526 |
afaa1d00c920d000337f6c41aa7ffbaf04495adc | 311 | mly | OCaml | tests/julia.mly | vbgl/Obelisk | ab8ab94f1974caca8a164768634fa171cfe47503 | [
"MIT"
] | 39 | 2017-07-06T09:41:44.000Z | 2022-02-09T17:01:07.000Z | tests/julia.mly | vbgl/Obelisk | ab8ab94f1974caca8a164768634fa171cfe47503 | [
"MIT"
] | 12 | 2017-07-07T11:14:24.000Z | 2022-03-21T19:31:02.000Z | tests/julia.mly | Lelio-Brun/MenhirBrav | ab8ab94f1974caca8a164768634fa171cfe47503 | [
"MIT"
] | 4 | 2020-03-13T11:08:08.000Z | 2022-03-14T13:16:00.000Z | %{ %}
%token TIf TElse TOPar TCPar TReturn TIdent
%token EOF
%nonassoc TIf
%nonassoc TElse
%start main
%type <void> main
%%
main:
statement EOF { }
statement:
TReturn
{ }
| TIf TOPar expr TCPar statement %prec TIf
{ }
| TIf TOPar expr TCPar statement TElse statement
{ }
expr:
TIdent { }
| 11.518519 | 48 | 0.655949 |
8a4e6125b7d2db80d9b3c2e48afe7499224e2b0d | 8,254 | ml | OCaml | data/derived/comb/progs/unify/prog0647.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | 4 | 2017-07-04T22:30:05.000Z | 2021-03-29T14:44:52.000Z | data/derived/sp14/progs/unify/prog0647.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/sp14/progs/unify/prog0647.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXX
XXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXX
XXXXXXXXXXXXXXX
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX
XXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX... | 25.874608 | 148 | 0.644899 |
8a0adb9ce5efefcb5a58a959e7509cfb0cc13870 | 119 | ml | OCaml | jsoo/curriculum-vitae/action.ml | slegrand45/examples_ocsigen | e2f5efe57caf7a644795ac6b14f6d6e04168e4be | [
"MIT"
] | 21 | 2015-08-30T21:31:06.000Z | 2021-12-04T00:17:29.000Z | jsoo/curriculum-vitae/action.ml | slegrand45/examples_ocsigen | e2f5efe57caf7a644795ac6b14f6d6e04168e4be | [
"MIT"
] | 1 | 2016-03-16T09:10:55.000Z | 2016-03-16T20:19:12.000Z | jsoo/curriculum-vitae/action.ml | slegrand45/examples_ocsigen | e2f5efe57caf7a644795ac6b14f6d6e04168e4be | [
"MIT"
] | 4 | 2016-12-28T03:08:39.000Z | 2022-03-24T21:18:25.000Z | open Types
type action =
| Update_lang of I18n.lang
| Portfolio_details of int
| Portfolio_summary of int
| 17 | 30 | 0.705882 |
af8219d28673931e6253b4a6ad36eb18ac8cddb6 | 63 | ml | OCaml | tests/test.ml | patricoferris/vicuna | 6c18154266080d458783cf1ee2bc378ae5853497 | [
"MIT"
] | null | null | null | tests/test.ml | patricoferris/vicuna | 6c18154266080d458783cf1ee2bc378ae5853497 | [
"MIT"
] | null | null | null | tests/test.ml | patricoferris/vicuna | 6c18154266080d458783cf1ee2bc378ae5853497 | [
"MIT"
] | null | null | null | let () =
Alcotest.run "vicuna" ["Vectors", Test_vector.tests] | 31.5 | 54 | 0.68254 |
f32db9e0d8d162357c92959948db0944c318e179 | 3,345 | mli | OCaml | src/commands/config/flowConfig.mli | Ricardo-Marques/flow | e3983c7a423eefa1678e33e026c453487dd626bc | [
"MIT"
] | null | null | null | src/commands/config/flowConfig.mli | Ricardo-Marques/flow | e3983c7a423eefa1678e33e026c453487dd626bc | [
"MIT"
] | null | null | null | src/commands/config/flowConfig.mli | Ricardo-Marques/flow | e3983c7a423eefa1678e33e026c453487dd626bc | [
"MIT"
] | null | null | null | (**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type config
val get: ?allow_cache:bool -> string -> config
val get_hash: ?allow_cache:bool -> string -> Xx.hash
val empty_config: confi... | 36.758242 | 79 | 0.773692 |
8a5127e53e82d700f52dae23db7807cde03ddca2 | 158,289 | ml | OCaml | proverif2.00/src/pitparser.ml | darrenldl/ProVerif-ATP | 7af6cfb9e0550ecdb072c471e15b8f22b07408bd | [
"MIT"
] | 17 | 2019-05-05T17:05:26.000Z | 2022-03-18T03:04:58.000Z | proverif2.00/src/pitparser.ml | darrenldl/ProVerif-ATP | 7af6cfb9e0550ecdb072c471e15b8f22b07408bd | [
"MIT"
] | 1 | 2019-08-01T09:14:41.000Z | 2019-08-01T09:14:41.000Z | proverif2.00/src/pitparser.ml | darrenldl/ProVerif-ATP | 7af6cfb9e0550ecdb072c471e15b8f22b07408bd | [
"MIT"
] | 3 | 2019-10-21T07:31:46.000Z | 2022-02-26T14:21:24.000Z | type token =
| CHOICE
| STAR
| COMMA
| LPAREN
| RPAREN
| LBRACKET
| RBRACKET
| BAR
| SEMI
| NEW
| OUT
| IN
| IDENT of (Pitptree.ident)
| ATIDENT of (Pitptree.ident)
| STRING of (Pitptree.ident)
| PROJECTION of (Pitptree.ident)
| INT of (int)
| REPL
| IF
| THEN
| ELSE
| EQUAL
... | 42.550806 | 152 | 0.668075 |
8a1ac48819e870d23385b4ddfa679d7980697064 | 3,545 | ml | OCaml | service/check.ml | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 1 | 2020-08-08T16:01:55.000Z | 2020-08-08T16:01:55.000Z | service/check.ml | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 4 | 2022-02-15T02:42:33.000Z | 2022-02-28T01:30:07.000Z | service/check.ml | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 1 | 2020-11-22T12:08:51.000Z | 2020-11-22T12:08:51.000Z | (* Copyright (c) 2016-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. *)
open Core
open Pyre
type result = {
environment: Analysis.TypeEnvironment.t;
errors: Analysis.AnalysisError.t list;
}
let check
~sc... | 34.417476 | 100 | 0.722708 |
8a02215e65403958a428f8a28947029feeda3b60 | 13,814 | ml | OCaml | analysis/cfg.ml | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 1 | 2020-08-08T16:01:55.000Z | 2020-08-08T16:01:55.000Z | analysis/cfg.ml | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 4 | 2022-02-15T02:42:33.000Z | 2022-02-28T01:30:07.000Z | analysis/cfg.ml | terrorizer1980/pyre-check | 16659c7f6f19f3c364ba3a56e6c582371a8ff348 | [
"MIT"
] | 1 | 2020-11-22T12:08:51.000Z | 2020-11-22T12:08:51.000Z | (* Copyright (c) 2016-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. *)
open Core
open Ast
open Pyre
open Statement
module Node = struct
type kind =
| Block of Statement.t list
| Dispatch
| Entry
... | 35.69509 | 99 | 0.581512 |
af5d11e04e34cac9c9ac234da364bbf3ce61abcd | 3,001 | mli | OCaml | infer/src/checkers/AbstractInterpreter.mli | ryoon/infer | 7b8dc59386529801f9a7fb67ead94053dbf53b42 | [
"BSD-3-Clause"
] | null | null | null | infer/src/checkers/AbstractInterpreter.mli | ryoon/infer | 7b8dc59386529801f9a7fb67ead94053dbf53b42 | [
"BSD-3-Clause"
] | null | null | null | infer/src/checkers/AbstractInterpreter.mli | ryoon/infer | 7b8dc59386529801f9a7fb67ead94053dbf53b42 | [
"BSD-3-Clause"
] | null | null | null | (*
* Copyright (c) 2016 - 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... | 39.486842 | 100 | 0.737088 |
8a466d6710770d29e78d9f959746667fc2d71da6 | 216 | ml | OCaml | system/manifest.ml | onigura/kartinii | e12a4f23d4dcfe623a8078351f42a7aee164b2f4 | [
"MIT"
] | 1 | 2021-05-19T08:29:54.000Z | 2021-05-19T08:29:54.000Z | system/manifest.ml | onigura/kartinii | e12a4f23d4dcfe623a8078351f42a7aee164b2f4 | [
"MIT"
] | 1 | 2021-05-01T03:29:02.000Z | 2021-05-07T01:00:45.000Z | system/manifest.ml | onigura/kartinii | e12a4f23d4dcfe623a8078351f42a7aee164b2f4 | [
"MIT"
] | null | null | null |
let is_installed x =
let manifest_path = (Hq.map "target_metadata") in
match Sys.is_directory manifest_path with
| true ->
Sys.file_exists (manifest_path ^ "/" ^ x ^ "/metadata")
| false -> false
;;
| 24 | 61 | 0.652778 |
af65e7c5ba08ce8a9ce5cd47c6ef6f978c938cfb | 451 | ml | OCaml | dist/gcc-compatible/lib_gen/Hacl_Blake2b_256_gen.ml | BlackHorseSolutions/hacl-star | e7d8effb0c14f049cf016c09882c18681849c2a3 | [
"Apache-2.0"
] | 1 | 2020-10-28T11:48:16.000Z | 2020-10-28T11:48:16.000Z | dist/gcc-compatible/lib_gen/Hacl_Blake2b_256_gen.ml | BlackHorseSolutions/hacl-star | e7d8effb0c14f049cf016c09882c18681849c2a3 | [
"Apache-2.0"
] | 1 | 2021-06-15T20:33:38.000Z | 2021-06-15T20:33:38.000Z | dist/gcc-compatible/lib_gen/Hacl_Blake2b_256_gen.ml | BlackHorseSolutions/hacl-star | e7d8effb0c14f049cf016c09882c18681849c2a3 | [
"Apache-2.0"
] | null | null | null | let _ =
(((Format.set_formatter_out_channel
(open_out_bin "lib/Hacl_Blake2b_256_stubs.ml");
Cstubs.write_ml Format.std_formatter ~prefix:""
(module Hacl_Blake2b_256_bindings.Bindings));
Format.set_formatter_out_channel
(open_out_bin "lib/Hacl_Blake2b_256_c_stubs.c"));
Format.printf "#i... | 45.1 | 55 | 0.747228 |
8a353cfb69337a61e6330be071e661eed4803aa3 | 379 | mli | OCaml | src/common/ProblemFinder.mli | synduce/Synduce | 11e9eb1d420113ae85ec63399dd493034c51a354 | [
"MIT"
] | 2 | 2022-01-12T16:50:30.000Z | 2022-01-28T16:14:40.000Z | src/common/ProblemFinder.mli | synduce/Synduce | 11e9eb1d420113ae85ec63399dd493034c51a354 | [
"MIT"
] | null | null | null | src/common/ProblemFinder.mli | synduce/Synduce | 11e9eb1d420113ae85ec63399dd493034c51a354 | [
"MIT"
] | null | null | null | open Base
open Lang
val find_problem_components
: ctx:Env.env
-> string * string * string
-> (string, PMRS.t, String.comparator_witness) Map.t
-> ProblemDefs.PsiDef.t
(** Update an environment:
- infer the types for the problem definition.
- update the symbol and type tables inside the context.
*)
val up... | 25.266667 | 64 | 0.720317 |
f35780e2cb9403bb4c8b46bdd7392942d948b3e4 | 1,915 | mli | OCaml | CodeHawk/CHB/bchlib/bCHCStructConstant.mli | Databean/codehawk | 91bef3806d87d93b4371a4d1c22a7dc8648e2a16 | [
"MIT"
] | 2 | 2019-12-05T18:50:53.000Z | 2019-12-07T18:47:44.000Z | CodeHawk/CHB/bchlib/bCHCStructConstant.mli | Databean/codehawk | 91bef3806d87d93b4371a4d1c22a7dc8648e2a16 | [
"MIT"
] | 1 | 2020-03-04T05:04:37.000Z | 2020-03-04T05:04:37.000Z | CodeHawk/CHB/bchlib/bCHCStructConstant.mli | Databean/codehawk | 91bef3806d87d93b4371a4d1c22a7dc8648e2a16 | [
"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) 2005-2019 Kestrel Technology LLC
Copyright (c) 2020 H... | 39.895833 | 83 | 0.666841 |
8a498b6f7485a9d88ef8a35b68e69436ea909910 | 365 | ml | OCaml | test/interface/golden/__tests__/product-servant/TwoTypeParameters_spec.ml | LumiGuide/ocaml-export | 7f803eb961851ceb4853fae0e741378d86237d2b | [
"BSD-3-Clause"
] | 13 | 2018-02-16T08:30:21.000Z | 2021-06-15T21:38:32.000Z | test/interface/golden/__tests__/product-servant/TwoTypeParameters_spec.ml | plow-technologies/reason-export | 752167f5df37d43534d27d9f63bb512eec1e750d | [
"BSD-3-Clause"
] | 10 | 2018-01-17T02:10:28.000Z | 2019-04-23T21:56:43.000Z | test/interface/golden/__tests__/product-servant/TwoTypeParameters_spec.ml | plow-technologies/reason-export | 752167f5df37d43534d27d9f63bb512eec1e750d | [
"BSD-3-Clause"
] | 1 | 2021-07-03T20:02:22.000Z | 2021-07-03T20:02:22.000Z | let () =
AesonSpec.sampleGoldenAndServerSpec
(TwoTypeParameters.decodeTwoTypeParameters AesonSpec.decodeIntWithResult AesonSpec.decodeIntWithResult)
(TwoTypeParameters.encodeTwoTypeParameters Aeson.Encode.int Aeson.Encode.int)
"twoTypeParameters"
"http://localhost:8081/TwoTypeParameters/TwoTypeParamet... | 45.625 | 107 | 0.819178 |
8a52c4b28f0202ac7ece6ae6394aa671a34ad8e7 | 4,323 | mli | OCaml | upstream/ocaml_412/file_formats/cmt_format.mli | pereb4ik/merlin | f3565d0ef89cf8df9bc3f10a15dc12069658f45b | [
"MIT"
] | 1,031 | 2016-12-16T19:17:17.000Z | 2022-03-24T06:30:52.000Z | upstream/ocaml_412/file_formats/cmt_format.mli | pereb4ik/merlin | f3565d0ef89cf8df9bc3f10a15dc12069658f45b | [
"MIT"
] | 754 | 2016-12-16T14:01:33.000Z | 2022-03-31T13:21:16.000Z | upstream/ocaml_412/file_formats/cmt_format.mli | pereb4ik/merlin | f3565d0ef89cf8df9bc3f10a15dc12069658f45b | [
"MIT"
] | 177 | 2017-01-04T17:35:53.000Z | 2022-02-18T02:54:14.000Z | (**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* ... | 34.862903 | 77 | 0.593569 |
afa9b73f54154c67e9c83a780ed2a5defb0524b0 | 8,668 | ml | OCaml | infer/src/IR/Subtype.ml | NeatNerdPrime/infer | 8f797bab845830fed3e3da7c417ff611a6efe7f1 | [
"MIT"
] | 4 | 2020-06-16T14:40:24.000Z | 2021-07-28T18:02:26.000Z | infer/src/IR/Subtype.ml | NeatNerdPrime/infer | 8f797bab845830fed3e3da7c417ff611a6efe7f1 | [
"MIT"
] | 25 | 2021-02-08T13:49:24.000Z | 2022-02-28T03:34:19.000Z | infer/src/IR/Subtype.ml | NeatNerdPrime/infer | 8f797bab845830fed3e3da7c417ff611a6efe7f1 | [
"MIT"
] | null | null | null | (*
* Copyright (c) 2009-2013, Monoidics ltd.
* 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.
*)
(** The Smallfoot Intermediate Language: Subtypes *)
open! IStd
module F = Format
let ... | 31.292419 | 100 | 0.640517 |
8a1074d92473ac1afcf3fb4e52577cedf5d4083b | 18,856 | ml | OCaml | src/ocaml_401/typing/includemod.ml | jpdeplaix/merlin | 81a6f05bcdc32ab2ec32057bd37dd0d6db315426 | [
"MIT"
] | null | null | null | src/ocaml_401/typing/includemod.ml | jpdeplaix/merlin | 81a6f05bcdc32ab2ec32057bd37dd0d6db315426 | [
"MIT"
] | null | null | null | src/ocaml_401/typing/includemod.ml | jpdeplaix/merlin | 81a6f05bcdc32ab2ec32057bd37dd0d6db315426 | [
"MIT"
] | null | null | null | (***********************************************************************)
(* *)
(* OCaml *)
(* *)
(* Xavier Ler... | 37.636727 | 79 | 0.635342 |
8a536237f98e7609876b7a104a3f9c7440ad6157 | 3,039 | ml | OCaml | data/fa15/2435.ml | ucsd-progsys/nate | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | 9 | 2017-08-30T23:00:52.000Z | 2021-02-25T23:08:55.000Z | data/fa15/2435.ml | ucsd-progsys/ml2 | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | null | null | null | data/fa15/2435.ml | ucsd-progsys/ml2 | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | 1 | 2022-03-31T19:50:33.000Z | 2022-03-31T19:50:33.000Z |
let rec clone x n = if n > 0 then x :: (clone x (n - 1)) else [];;
let padZero l1 l2 =
let x = List.length l1 in
let y = List.length l2 in
if x = y
then (l1, l2)
else
if x < y
then (((clone 0 (y - x)) @ l1), l2)
else (l1, ((clone 0 (x - y)) @ l2));;
let rec removeZero l =
match l with | [] ->... | 17.465517 | 74 | 0.499506 |
8a53b3a354560e808c01d3d150b3934e74d842fe | 7,531 | ml | OCaml | src/Warn.ml | pnmadelaine/kremlin | 75767e1f05cccc6eb52f35f0aef9d0c078df5ee1 | [
"Apache-2.0"
] | 4 | 2022-03-09T18:52:50.000Z | 2022-03-31T20:31:19.000Z | src/Warn.ml | pnmadelaine/kremlin | 75767e1f05cccc6eb52f35f0aef9d0c078df5ee1 | [
"Apache-2.0"
] | 10 | 2022-03-09T23:39:23.000Z | 2022-03-30T23:15:36.000Z | src/Warn.ml | pnmadelaine/kremlin | 75767e1f05cccc6eb52f35f0aef9d0c078df5ee1 | [
"Apache-2.0"
] | null | null | null | (* Copyright (c) INRIA and Microsoft Corporation. All rights reserved. *)
(* Licensed under the Apache 2.0 License. *)
(** Unified warning handling *)
open Flags
open PrintAst
open Error
module S = Set.Make(Error)
(* Avoid printing the same warning twice by keeping a set of warnings that have
* already been emitte... | 33.323009 | 121 | 0.636303 |
af48b34053c8f8b04a8e8feaa1bd90ff6269830a | 8,871 | ml | OCaml | data/seminal/20060422-14:36:42-0f5feccefb217a4914f337274357c84a.seminal.ml | ucsd-progsys/nanoml | 0de06f2c3a41063b1bf87d5f6dd11ad830be0512 | [
"BSD-3-Clause"
] | 15 | 2020-05-10T13:06:57.000Z | 2021-07-15T19:23:32.000Z | data/seminal/20060422-14:36:42-0f5feccefb217a4914f337274357c84a.seminal.ml | ucsd-progsys/nanoml | 0de06f2c3a41063b1bf87d5f6dd11ad830be0512 | [
"BSD-3-Clause"
] | 4 | 2020-01-28T22:51:35.000Z | 2022-02-10T00:36:31.000Z | data/seminal/20060422-14:36:42-0f5feccefb217a4914f337274357c84a.seminal.ml | ucsd-progsys/nanoml | 0de06f2c3a41063b1bf87d5f6dd11ad830be0512 | [
"BSD-3-Clause"
] | 3 | 2016-10-11T21:36:24.000Z | 2021-12-08T21:52:40.000Z |
exception Unimplemented
exception RuntimeTypeError
exception DoesNotTypecheck of string
(****** Syntax for our language, including types (do not change) *****)
type exp = Var of string
| Lam of string * typ * exp
| Apply of exp * exp
| Closure of string * exp * (env ref)
| Int of int
| Pl... | 35.202381 | 89 | 0.429828 |
8a314920e644fc479506648baf5b473dd26d6054 | 508 | ml | OCaml | hphp/hack/src/decl/shallow_classes_heap.ml | xtaofb/hhvm | 5a5d2787039965fa12d36d30820a724a5c0f041d | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/decl/shallow_classes_heap.ml | xtaofb/hhvm | 5a5d2787039965fa12d36d30820a724a5c0f041d | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/decl/shallow_classes_heap.ml | xtaofb/hhvm | 5a5d2787039965fa12d36d30820a724a5c0f041d | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2021-01-29T08:44:22.000Z | 2021-01-29T08:44:22.000Z | (*
* Copyright (c) 2018, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the "hack" directory of this source tree.
*
*)
open Shallow_decl_defs
module Capacity = struct
let capacity = 1000
end
module Class = struct
type t = shallow... | 18.814815 | 71 | 0.718504 |
af63ea03557e6f6ca4220c27bfc9d34d8a329e58 | 30,884 | ml | OCaml | src/lib/block_producer/block_producer.ml | idkjs/coda | bbcd5169b8b09b312c7a62d40f6a17793a6b8611 | [
"Apache-2.0"
] | null | null | null | src/lib/block_producer/block_producer.ml | idkjs/coda | bbcd5169b8b09b312c7a62d40f6a17793a6b8611 | [
"Apache-2.0"
] | null | null | null | src/lib/block_producer/block_producer.ml | idkjs/coda | bbcd5169b8b09b312c7a62d40f6a17793a6b8611 | [
"Apache-2.0"
] | null | null | null | open Core
open Async
open Pipe_lib
open Coda_base
open Coda_state
open Coda_transition
open Signature_lib
open O1trace
open Otp_lib
module Time = Coda_base.Block_time
module Singleton_supervisor : sig
type ('data, 'a) t
val create :
task:(unit Ivar.t -> 'data -> ('a, unit) Interruptible.t) -> ('data, 'a) t
... | 47.223242 | 184 | 0.502169 |
afecacab1c1b1a2cea5fedb92529463245def33d | 4,697 | ml | OCaml | protocol/notify_on_feature_updates.ml | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | protocol/notify_on_feature_updates.ml | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | protocol/notify_on_feature_updates.ml | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | module Stable = struct
open! Import_stable
module Action = struct
module V2 = struct
type t =
{ feature_id : Feature_id.V1.t
; when_to_first_notify : When_to_first_notify.V1.t
}
[@@deriving bin_io, sexp]
let%expect_test _ =
print_endline [%bin_digest: t];
... | 23.485 | 76 | 0.570364 |
afb99f7d6b62bba0fa8353c022d612698660af98 | 568 | mli | OCaml | core/src/bool.mli | Gopiandcode/core_kernel | fab2048ede720205e65f1831d07e2b28524166c7 | [
"MIT"
] | 834 | 2015-01-02T03:14:35.000Z | 2022-03-28T05:17:24.000Z | core/src/bool.mli | Gopiandcode/core_kernel | fab2048ede720205e65f1831d07e2b28524166c7 | [
"MIT"
] | 99 | 2015-01-03T09:30:25.000Z | 2022-02-23T02:40:57.000Z | core/src/bool.mli | Gopiandcode/core_kernel | fab2048ede720205e65f1831d07e2b28524166c7 | [
"MIT"
] | 100 | 2015-02-01T10:54:19.000Z | 2022-03-15T18:23:22.000Z | (** This module extends {{!Base.Bool}[Base.Bool]}. *)
type t = bool [@@deriving bin_io, typerep]
include module type of Base.Bool with type t := t
include
Identifiable.S
with type t := t
and type comparator_witness := Base.Bool.comparator_witness
(**
Human readable parsing. Accepted inputs are (case insen... | 19.586207 | 66 | 0.663732 |
8a51eb327eee0b65f6b0254dc254a7f97e419a3c | 16,425 | ml | OCaml | src/monitor/status/serverStatus.ml | dmitryvinn/flow-1 | 9ef203b34fd36fe390467456cbd0ce6c4920522e | [
"MIT"
] | null | null | null | src/monitor/status/serverStatus.ml | dmitryvinn/flow-1 | 9ef203b34fd36fe390467456cbd0ce6c4920522e | [
"MIT"
] | null | null | null | src/monitor/status/serverStatus.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.
*)
(* This module tries to model the Flow server's status as a state machine. The current status is
* the state, and it gets update... | 37.160633 | 101 | 0.677199 |
afcce8f05d439ccec5ae777fa9a0fd90e45619ea | 13,247 | ml | OCaml | src/rewriting/constrained.ml | ksk/maedmax | 487f9a13af6877b50bde6e19b44c959eb5bec813 | [
"BSD-3-Clause"
] | null | null | null | src/rewriting/constrained.ml | ksk/maedmax | 487f9a13af6877b50bde6e19b44c959eb5bec813 | [
"BSD-3-Clause"
] | 2 | 2019-10-08T13:29:12.000Z | 2020-12-29T05:49:08.000Z | src/rewriting/constrained.ml | ksk/maedmax | 487f9a13af6877b50bde6e19b44c959eb5bec813 | [
"BSD-3-Clause"
] | 2 | 2019-09-19T01:23:26.000Z | 2021-05-03T09:43:08.000Z | (*** MODULES ******************************************************************)
module L = Order.Logic
module F = Format
module BV = L.BitVector
module Sig = Signature
module Sub = Term.Sub
module Expr = struct
open L
type bv =
| Var of Sig.var * int
| HexConst of string * int (* value, bitwidth *)
|... | 33.707379 | 80 | 0.545633 |
af2ac36dc1fc56a6daa54dcea70e616e80ad9f05 | 3,802 | ml | OCaml | src/proto_alpha/lib_delegate/baking_cache.ml | maiste-forks/tezos | ec9b0074da63e061fafa8635b5acba3e052f6df1 | [
"MIT"
] | null | null | null | src/proto_alpha/lib_delegate/baking_cache.ml | maiste-forks/tezos | ec9b0074da63e061fafa8635b5acba3e052f6df1 | [
"MIT"
] | null | null | null | src/proto_alpha/lib_delegate/baking_cache.ml | maiste-forks/tezos | ec9b0074da63e061fafa8635b5acba3e052f6df1 | [
"MIT"
] | null | null | null | (*****************************************************************************)
(* *)
(* Open Source License *)
(* Copyright (c) 2021 Nomadic Labs <contact@nomadic-labs.com> *)
... | 44.209302 | 79 | 0.568122 |
8a275fff2392dc06242a83a458c0fd8260164277 | 15,103 | ml | OCaml | support/Rts.ml | ziman/idris2-mlf | 48314a67154490fc9afffa0c1bef9fe6bbc7a3d4 | [
"BSD-3-Clause"
] | 8 | 2020-09-19T06:54:40.000Z | 2021-11-04T18:32:34.000Z | support/Rts.ml | ziman/idris2-mlf | 48314a67154490fc9afffa0c1bef9fe6bbc7a3d4 | [
"BSD-3-Clause"
] | null | null | null | support/Rts.ml | ziman/idris2-mlf | 48314a67154490fc9afffa0c1bef9fe6bbc7a3d4 | [
"BSD-3-Clause"
] | 1 | 2022-02-20T13:34:16.000Z | 2022-02-20T13:34:16.000Z | (* These types are made to match the Idris representation *)
module Types = struct
type world = World
module IdrisList = struct
type 'a idris_list =
| Nil (* int 0 *)
| UNUSED of int (* block, tag 0 *)
| Cons of 'a * 'a idris_lis... | 49.035714 | 161 | 0.64954 |
afadd3e8aae4ed315038c554485061de382982ab | 242 | mli | OCaml | libraries/cloudformation/lib/describeStackResources.mli | pm-mck/ocaml-aws | 7912f94e73941d07d350d7f06c625853298c962c | [
"BSD-3-Clause"
] | null | null | null | libraries/cloudformation/lib/describeStackResources.mli | pm-mck/ocaml-aws | 7912f94e73941d07d350d7f06c625853298c962c | [
"BSD-3-Clause"
] | null | null | null | libraries/cloudformation/lib/describeStackResources.mli | pm-mck/ocaml-aws | 7912f94e73941d07d350d7f06c625853298c962c | [
"BSD-3-Clause"
] | null | null | null | open Types_internal
type input = DescribeStackResourcesInput.t
type output = DescribeStackResourcesOutput.t
type error = Errors_internal.t
include
Aws.Call with type input := input and type output := output and type
error := error | 34.571429 | 74 | 0.772727 |
8a114538cc20bd5e3885fe016c4002415f3d1a77 | 9,745 | ml | OCaml | server/language_server/protocol.ml | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"MIT"
] | 1 | 2020-08-12T14:33:46.000Z | 2020-08-12T14:33:46.000Z | server/language_server/protocol.ml | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"MIT"
] | null | null | null | server/language_server/protocol.ml | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"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 Analysis
open Types
module Range = struct
include Types.Range
let create
~start:{ Ast.Location.line = st... | 30.170279 | 100 | 0.604002 |
8a57cf8f5827c1b017d6d74a055c0b4d843fa9ee | 31,638 | ml | OCaml | lib/core_list.ml | chambart/core_kernel | 025f7a0695bf51317b23750c23f7c7824a0f9af1 | [
"Apache-2.0"
] | null | null | null | lib/core_list.ml | chambart/core_kernel | 025f7a0695bf51317b23750c23f7c7824a0f9af1 | [
"Apache-2.0"
] | null | null | null | lib/core_list.ml | chambart/core_kernel | 025f7a0695bf51317b23750c23f7c7824a0f9af1 | [
"Apache-2.0"
] | null | null | null | module List = StdLabels.List
module String = StdLabels.String
open Typerep_lib.Std
open Sexplib.Std
open Bin_prot.Std
module Random = Core_random
let invalid_argf = Core_printf.invalid_argf
module T = struct
type 'a t = 'a list with sexp, bin_io, typerep
end
include T
let of_list t = t
let range ?(stride=1) ?(s... | 28.999083 | 90 | 0.549023 |
af16433548f679af8a1a72a01e4f9743c95907d7 | 2,738 | ml | OCaml | test/passing/ite.ml | chrismamo1/ocamlformat | e6e1aa8728cb16868b0ad1394af3283e5473b6a2 | [
"MIT"
] | null | null | null | test/passing/ite.ml | chrismamo1/ocamlformat | e6e1aa8728cb16868b0ad1394af3283e5473b6a2 | [
"MIT"
] | null | null | null | test/passing/ite.ml | chrismamo1/ocamlformat | e6e1aa8728cb16868b0ad1394af3283e5473b6a2 | [
"MIT"
] | null | null | null | let _ = if b then e else ( e1 ; e2 )
let _ =
if b then e
else (
something loooooooooooooooooooooooooooooooong enough to_trigger a break ;
this is more )
let _ =
if b then (
something loooooooooooooooooooooooooooooooong enough to_trigger a break ;
this is more )
else if b1 then (
something ... | 23.603448 | 77 | 0.680058 |
f308b90fe59d837637d131df242a05d7c7f0bf33 | 11,644 | ml | OCaml | service/test/parserTest.ml | pwgraham91/pyre-check | 5cb1367e2c6c4792e0e8895fccc5af8af18372db | [
"MIT"
] | null | null | null | service/test/parserTest.ml | pwgraham91/pyre-check | 5cb1367e2c6c4792e0e8895fccc5af8af18372db | [
"MIT"
] | null | null | null | service/test/parserTest.ml | pwgraham91/pyre-check | 5cb1367e2c6c4792e0e8895fccc5af8af18372db | [
"MIT"
] | null | null | null | (** Copyright (c) 2016-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree. *)
open Core
open OUnit2
open Test
open Ast
open Expression
open Pyre
let test_parse_stubs_modules_list _ =
let root = Path.current_worki... | 32.8 | 98 | 0.667984 |
8a09bdc2ef011f67d5dedc607257d8fdd69795f2 | 29,440 | ml | OCaml | duet/ai.ml | jbreck/duet-jbreck | 3bf4aa0c69983d15f199bf02f294d356c354e932 | [
"MIT"
] | 1 | 2020-08-15T15:26:25.000Z | 2020-08-15T15:26:25.000Z | duet/ai.ml | jbreck/duet-jbreck | 3bf4aa0c69983d15f199bf02f294d356c354e932 | [
"MIT"
] | null | null | null | duet/ai.ml | jbreck/duet-jbreck | 3bf4aa0c69983d15f199bf02f294d356c354e932 | [
"MIT"
] | null | null | null | (** Abstract interpretation utilities, and an interface to APRON for numerical
domains *)
open Core
open Srk
open Apron
type abstract_domain = Box | Octagon | Polyhedron
(* magic is an uninhabited type that is used as a parameter to Abstract0.t and
Manager.t. We always coerce managers and abstract values to t... | 33.19053 | 80 | 0.586277 |
afb60ed82bd3441ffbbc5b4e88945c4511faac9b | 1,367 | mli | OCaml | src/odoc/html_fragment.mli | avsm/odoc | 61ac0c9532ee6bb372dfd6643d73b13155f02953 | [
"ISC"
] | null | null | null | src/odoc/html_fragment.mli | avsm/odoc | 61ac0c9532ee6bb372dfd6643d73b13155f02953 | [
"ISC"
] | null | null | null | src/odoc/html_fragment.mli | avsm/odoc | 61ac0c9532ee6bb372dfd6643d73b13155f02953 | [
"ISC"
] | null | null | null | (*
* Copyright (c) 2014 Leo White <leo@lpw25.net>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | 48.821429 | 95 | 0.748354 |
af8ec765d1fb45023cb96f85f9f7807a8eed7dc9 | 1,256 | mli | OCaml | hphp/hack/src/parser/namespaces.mli | sepatus/sepatus | 48ae001f2082a5335d64b2567941a8271153de05 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2021-02-04T22:07:59.000Z | 2021-02-04T22:07:59.000Z | hphp/hack/src/parser/namespaces.mli | sepatus/sepatus | 48ae001f2082a5335d64b2567941a8271153de05 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/parser/namespaces.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.
*
*)
type elaborate_kind =
| ElaborateFun
| ElaborateClass
| ElaborateConst
val elaborate_id : ?autoimport:bool -... | 30.634146 | 94 | 0.669586 |
8a0c57d35b39e84fe01e5e3e847526b8d6dc0377 | 4,913 | ml | OCaml | hack/utils/sys/tty.ml | disnet/flow | f916c6d4300220fda951d123b85b8f05a75a3427 | [
"MIT"
] | null | null | null | hack/utils/sys/tty.ml | disnet/flow | f916c6d4300220fda951d123b85b8f05a75a3427 | [
"MIT"
] | null | null | null | hack/utils/sys/tty.ml | disnet/flow | f916c6d4300220fda951d123b85b8f05a75a3427 | [
"MIT"
] | 2 | 2021-02-02T14:51:26.000Z | 2021-02-02T14:52:05.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.
*
*)
open Hh_core
type raw_color =
| Default
| Black
| Red
| Green
| Yellow
| Blue
| Magenta
| Cyan
|... | 26.846995 | 79 | 0.637289 |
afb4289d7be110d64b3837e65a0d382a5ff6dbc0 | 2,079 | ml | OCaml | test/test_pipelined_adder.ml | janestreet/hardcaml_circuits | 0d1c2401767f181933b7cba200a2b7f888591912 | [
"MIT"
] | 10 | 2020-08-18T13:30:02.000Z | 2021-12-17T02:50:20.000Z | test/test_pipelined_adder.ml | janestreet/hardcaml_circuits | 0d1c2401767f181933b7cba200a2b7f888591912 | [
"MIT"
] | null | null | null | test/test_pipelined_adder.ml | janestreet/hardcaml_circuits | 0d1c2401767f181933b7cba200a2b7f888591912 | [
"MIT"
] | 1 | 2021-12-17T02:51:12.000Z | 2021-12-17T02:51:12.000Z | open Import
open Hardcaml_waveterm
let sim ~part_width ~adder_width =
let clock = Signal.input "clock" 1 in
let clear = Signal.input "clear" 1 in
let a = Signal.input "a" adder_width in
let b = Signal.input "b" adder_width in
let c = Pipelined_adder.create ~part_width ~clock ~clear a b in
let circuit = Cir... | 30.130435 | 85 | 0.608947 |
afed24b3a5dbf6200fd60c9852e9fb3433eb1ddf | 2,256 | ml | OCaml | test/preface_laws/validation.ml | xvw/preface | 985b8c850d3e15c72c127ba47f7ad74be7143dfa | [
"MIT"
] | 109 | 2021-04-08T18:41:14.000Z | 2022-03-26T10:28:45.000Z | test/preface_laws/validation.ml | xvw/preface | 985b8c850d3e15c72c127ba47f7ad74be7143dfa | [
"MIT"
] | 35 | 2021-04-10T06:28:02.000Z | 2022-01-31T10:43:36.000Z | test/preface_laws/validation.ml | xvw/preface | 985b8c850d3e15c72c127ba47f7ad74be7143dfa | [
"MIT"
] | 3 | 2021-05-07T21:53:35.000Z | 2021-08-28T12:28:12.000Z | module Error = Preface_stdlib.Nonempty_list.Semigroup (struct
type t = Preface_stdlib.Exn.t
end)
module Req = struct
type ('a, 'b) t = ('a, 'b) Preface_stdlib.Validation.t
let arbitrary x y = Preface_qcheck.Arbitrary.validation x y
let observable x y = Preface_qcheck.Observable.validation x y
let equal x ... | 30.90411 | 78 | 0.732713 |
af76bae2b7abdc36b09228dcfddc5188bc860c07 | 14,363 | mli | OCaml | capnp-rpc-lwt/capnp_rpc_lwt.mli | avsm/capnp-rpc | ed58f848a1f1c92adf72f48d59890fe11f8bda35 | [
"Apache-2.0"
] | null | null | null | capnp-rpc-lwt/capnp_rpc_lwt.mli | avsm/capnp-rpc | ed58f848a1f1c92adf72f48d59890fe11f8bda35 | [
"Apache-2.0"
] | null | null | null | capnp-rpc-lwt/capnp_rpc_lwt.mli | avsm/capnp-rpc | ed58f848a1f1c92adf72f48d59890fe11f8bda35 | [
"Apache-2.0"
] | null | null | null | (** Cap'n Proto RPC using the Cap'n Proto serialisation and Lwt for concurrency. *)
open Capnp.RPC
include (module type of Capnp.BytesMessage)
module StructRef : sig
(** A promise for a response structure.
You can use the generated [_get_pipelined] functions on a promise to get
a promise for a capabili... | 45.596825 | 112 | 0.675764 |
afcb0713b13ae49ef43f2afa56a01a1db2b82b0f | 290 | ml | OCaml | duniverse/core_extended/delimited_kernel/src/delimited_kernel.ml | mseri/owl_tutorials | d41b92d68fa98fc03742edbd1ca5105d6e0d53c9 | [
"MIT"
] | 22 | 2015-02-10T21:51:43.000Z | 2021-12-17T02:52:33.000Z | duniverse/core_extended/delimited_kernel/src/delimited_kernel.ml | mseri/owl_tutorials | d41b92d68fa98fc03742edbd1ca5105d6e0d53c9 | [
"MIT"
] | 19 | 2015-02-05T14:06:12.000Z | 2021-01-14T12:30:38.000Z | duniverse/core_extended/delimited_kernel/src/delimited_kernel.ml | mseri/owl_tutorials | d41b92d68fa98fc03742edbd1ca5105d6e0d53c9 | [
"MIT"
] | 10 | 2015-01-25T00:01:37.000Z | 2021-12-17T02:53:16.000Z | (** Read CSVs & CSV-like delimited formats (following the CSV quoting behaviour).
These formats are loosely documented by RFC 4180: https://www.ietf.org/rfc/rfc4180.txt
*)
module Read = Read
(** Write CSVs & CSV-like delimited formats. *)
module Write = Write
module Shared = Shared
| 26.363636 | 90 | 0.727586 |
8a1a6a58867d8cb921366b0411076e62db911093 | 5,791 | ml | OCaml | src/connection_intf.ml | npm-opam/async_rpc_kernel | b9dee02d3efd9e0be8d31f937ecdb7f617c7dcb5 | [
"Apache-2.0"
] | null | null | null | src/connection_intf.ml | npm-opam/async_rpc_kernel | b9dee02d3efd9e0be8d31f937ecdb7f617c7dcb5 | [
"Apache-2.0"
] | null | null | null | src/connection_intf.ml | npm-opam/async_rpc_kernel | b9dee02d3efd9e0be8d31f937ecdb7f617c7dcb5 | [
"Apache-2.0"
] | null | null | null | open Core_kernel.Std
open Async_kernel.Std
(* The reason for defining this module type explicitly is so that we can internally keep
track of what is and isn't exposed. *)
module type S = sig
type t [@@deriving sexp_of]
module Heartbeat_config : sig
type t [@@deriving sexp, bin_io]
(** We try to send a... | 45.242188 | 90 | 0.689518 |
8a4d8b7d6f576893f033feabe9c1d84472136c43 | 207 | mli | OCaml | libraries/cloudwatch/lib/putMetricData.mli | pm-mck/ocaml-aws | 7912f94e73941d07d350d7f06c625853298c962c | [
"BSD-3-Clause"
] | null | null | null | libraries/cloudwatch/lib/putMetricData.mli | pm-mck/ocaml-aws | 7912f94e73941d07d350d7f06c625853298c962c | [
"BSD-3-Clause"
] | null | null | null | libraries/cloudwatch/lib/putMetricData.mli | pm-mck/ocaml-aws | 7912f94e73941d07d350d7f06c625853298c962c | [
"BSD-3-Clause"
] | null | null | null | open Types_internal
type input = PutMetricDataInput.t
type output = unit
type error = Errors_internal.t
include
Aws.Call with type input := input and type output := output and type
error := error | 29.571429 | 74 | 0.73913 |
afa64b698d205127526a96e58dc9f0559b7e3f6b | 8,264 | ml | OCaml | src/core/Domain.ml | mmcqd/cooltt | 88511e10cb9e17286f585882dee334f3d8ace47c | [
"Apache-2.0"
] | 14 | 2020-01-10T16:49:58.000Z | 2020-04-27T03:08:35.000Z | src/core/Domain.ml | mmcqd/cooltt | 88511e10cb9e17286f585882dee334f3d8ace47c | [
"Apache-2.0"
] | 46 | 2020-01-12T19:12:26.000Z | 2020-05-09T03:27:35.000Z | src/core/Domain.ml | mmcqd/cooltt | 88511e10cb9e17286f585882dee334f3d8ace47c | [
"Apache-2.0"
] | 2 | 2020-05-01T01:24:41.000Z | 2020-05-05T16:00:19.000Z | include DomainData
open Basis
open Bwd
module Make (Symbol : Symbol.S) =
struct
include DomainData.Make(Symbol)
module S = Syntax.Make(Symbol)
let const_tp_clo tp =
Clo (S.TpVar 0, {tpenv = Snoc (Emp, tp); conenv = Emp})
let const_tm_clo con =
Clo (S.Var 0, {tpenv = Emp; conenv = Snoc (Emp, con)})
... | 32.28125 | 125 | 0.583858 |
f3c53226899ff17285a88d57f0ceeaee4d84c701 | 7,265 | mli | OCaml | infer/src/base/Utils.mli | amaksoft/infer | 11e3acb20e5f998efb82fcefb799fcce81613388 | [
"MIT"
] | 1 | 2021-01-29T07:47:59.000Z | 2021-01-29T07:47:59.000Z | infer/src/base/Utils.mli | amaksoft/infer | 11e3acb20e5f998efb82fcefb799fcce81613388 | [
"MIT"
] | 1 | 2021-04-19T09:50:03.000Z | 2021-04-19T09:50:03.000Z | infer/src/base/Utils.mli | amaksoft/infer | 11e3acb20e5f998efb82fcefb799fcce81613388 | [
"MIT"
] | 1 | 2021-01-29T07:48:02.000Z | 2021-01-29T07:48:02.000Z | (*
* Copyright (c) 2009-2013, Monoidics ltd.
* 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
val find_files : path:string -> extension:string -> string list
(** recursiv... | 44.030303 | 101 | 0.700482 |
8a523e0c7e05f0025076bd18adf32edddaa86fc7 | 91,309 | ml | OCaml | hphp/hack/src/hh_single_type_check.ml | jjergus/hhvm | 7f94d3da259c9443792327e0a61af1a6778d53b9 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/hh_single_type_check.ml | jjergus/hhvm | 7f94d3da259c9443792327e0a61af1a6778d53b9 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/hh_single_type_check.ml | 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 Hh_prelude
open String_utils
open Sys_utils
open Typing_env_types
module Inf = Typing_inference_env
module Cls ... | 37.391073 | 118 | 0.637188 |
af07a98794f7333626193269f17193d1f565b6ab | 191 | mli | OCaml | lexer.mli | Verdex/bracket | 6ee9a6a4a7ba461ff1380acafe2ca2b2d1e6cd30 | [
"MIT"
] | null | null | null | lexer.mli | Verdex/bracket | 6ee9a6a4a7ba461ff1380acafe2ca2b2d1e6cd30 | [
"MIT"
] | null | null | null | lexer.mli | Verdex/bracket | 6ee9a6a4a7ba461ff1380acafe2ca2b2d1e6cd30 | [
"MIT"
] | null | null | null |
open Data
exception LexError of int * char * string
val lex : <current : char
;index : int
;move_next : bool
;look_ahead : int -> char option> -> token list
| 17.363636 | 57 | 0.575916 |
d2edefd105c1729977a62e1a44e55881b6ad2a3f | 25 | ml | OCaml | tests/typechecking/valid/simple_call.ml | lelouedec/Ocalm | d52416136d270217b56fe1506d2745d9ac5a558a | [
"MIT"
] | 2 | 2018-12-28T12:08:34.000Z | 2019-01-14T09:31:28.000Z | tests/typechecking/valid/simple_call.ml | lelouedec/Ocalm | d52416136d270217b56fe1506d2745d9ac5a558a | [
"MIT"
] | null | null | null | tests/typechecking/valid/simple_call.ml | lelouedec/Ocalm | d52416136d270217b56fe1506d2745d9ac5a558a | [
"MIT"
] | null | null | null | let x = 1 in
print_int x
| 8.333333 | 12 | 0.68 |
af752cf7734c303cf350c6e97ceee1b94d271faf | 4,493 | ml | OCaml | infer/src/IR/Attributes.ml | avery-laird/term-project | 00bcd0a3dca5ef7247c6758747d04e5c51d51f64 | [
"MIT"
] | 1 | 2019-11-23T14:35:34.000Z | 2019-11-23T14:35:34.000Z | infer/src/IR/Attributes.ml | avery-laird/term-project | 00bcd0a3dca5ef7247c6758747d04e5c51d51f64 | [
"MIT"
] | null | null | null | infer/src/IR/Attributes.ml | avery-laird/term-project | 00bcd0a3dca5ef7247c6758747d04e5c51d51f64 | [
"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
type attributes_kind = ProcUndefined | ProcObjCAccessor | ProcDefined [@@deriving compare]
let equal... | 36.827869 | 100 | 0.751836 |
afdc95d1d20dc40514955f623ae1332f4109e270 | 94 | mli | OCaml | src/jwt.mli | paarthk/jwtml | ed1418dcfff3da4e8d75ef55030e6bf998bfeca8 | [
"MIT"
] | null | null | null | src/jwt.mli | paarthk/jwtml | ed1418dcfff3da4e8d75ef55030e6bf998bfeca8 | [
"MIT"
] | null | null | null | src/jwt.mli | paarthk/jwtml | ed1418dcfff3da4e8d75ef55030e6bf998bfeca8 | [
"MIT"
] | null | null | null | module B64 = B64
module Signing = Signing
module Token = Token
module Validation = Validation
| 18.8 | 30 | 0.787234 |
affdc8d4a477439d5324a130b6eb4b8751f44307 | 3,768 | ml | OCaml | libraries/ssm/lib/describeMaintenanceWindowExecutionTasks.ml | anmonteiro/ocaml-aws | 81cc543a76731177f6d1be8953537297212030d8 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T19:12:04.000Z | 2020-05-21T19:12:04.000Z | libraries/ssm/lib/describeMaintenanceWindowExecutionTasks.ml | anmonteiro/ocaml-aws | 81cc543a76731177f6d1be8953537297212030d8 | [
"BSD-3-Clause"
] | null | null | null | libraries/ssm/lib/describeMaintenanceWindowExecutionTasks.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 DescribeMaintenanceWindowExecutionTasksRequest =
struct
type t =
{
window_execution_id: String.t
[@ocaml.doc
"<p>The ID of the maintenance window execution whose task executions should be retr... | 41.866667 | 219 | 0.657113 |
8a2faea37aa9e870efe37363be1a3e7fe4d66ffa | 3,083 | ml | OCaml | lib/http/endpoints.ml | fuwn/disml | b2f081fff12093a7d3434859ebd621608dde6c7d | [
"MIT"
] | 30 | 2019-01-04T11:02:34.000Z | 2022-03-01T11:45:20.000Z | lib/http/endpoints.ml | rosalogia/disml | 244f46f0b06f881a1f30ae3c5f281619dab46e51 | [
"MIT"
] | 1 | 2021-08-10T03:34:36.000Z | 2021-08-10T18:41:26.000Z | lib/http/endpoints.ml | rosalogia/disml | 244f46f0b06f881a1f30ae3c5f281619dab46e51 | [
"MIT"
] | 6 | 2020-04-27T17:36:35.000Z | 2021-08-09T22:19:32.000Z | open Core
open Printf
let gateway = "/gateway"
let gateway_bot = "/gateway/bot"
let channel = sprintf "/channels/%d"
let channel_messages = sprintf "/channels/%d/messages"
let channel_message = sprintf "/channels/%d/messages/%d"
let channel_reaction_me = sprintf "/channels/%d/messages/%d/reactions/%s/@me"
let... | 48.171875 | 78 | 0.728187 |
af71f8c3dcf991917cb808f25c72a52b6b1c4c68 | 18,535 | ml | OCaml | data/derived/comb/progs/unify/prog4468.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | 4 | 2017-07-04T22:30:05.000Z | 2021-03-29T14:44:52.000Z | data/derived/sp14/progs/unify/prog4468.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/sp14/progs/unify/prog4468.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXX... | 34.64486 | 208 | 0.645374 |
8a36060cf5b38ee9c9c921a65ec309ef1b76fe90 | 1,298 | mli | OCaml | src_top/herd_based/litmus/threadStyle.mli | VarunKoyyalagunta/rmem | 9de95224f6293acb3cd6022471219a0a01b9b260 | [
"BSD-2-Clause"
] | 103 | 2016-11-28T10:00:41.000Z | 2022-03-08T05:06:00.000Z | src_top/herd_based/litmus/threadStyle.mli | VarunKoyyalagunta/rmem | 9de95224f6293acb3cd6022471219a0a01b9b260 | [
"BSD-2-Clause"
] | 193 | 2017-02-28T19:04:04.000Z | 2022-03-25T14:33:24.000Z | src_top/herd_based/litmus/threadStyle.mli | VarunKoyyalagunta/rmem | 9de95224f6293acb3cd6022471219a0a01b9b260 | [
"BSD-2-Clause"
] | 39 | 2016-12-14T23:10:34.000Z | 2022-03-22T21:35:17.000Z | (****************************************************************************)
(* the diy toolsuite *)
(* *)
(* Jade Alglave, University College London, UK. *)
(* L... | 51.92 | 78 | 0.412943 |
8a32545929bb462e7a86196d2db540a090c7a2c2 | 21,105 | ml | OCaml | lib/bap_disasm/bap_disasm_basic.ml | thestr4ng3r/bap | 79dc0479a190ba56ad04525b78fb0fd7ebad24ce | [
"MIT"
] | null | null | null | lib/bap_disasm/bap_disasm_basic.ml | thestr4ng3r/bap | 79dc0479a190ba56ad04525b78fb0fd7ebad24ce | [
"MIT"
] | null | null | null | lib/bap_disasm/bap_disasm_basic.ml | thestr4ng3r/bap | 79dc0479a190ba56ad04525b78fb0fd7ebad24ce | [
"MIT"
] | null | null | null | open Core_kernel
open Regular.Std
open Bap_types.Std
open Bap_core_theory
open Or_error
open Bap_disasm_backend_types
module Kind = Bap_insn_kind
module Mem = Bap_memory
module Prim = Bap_disasm_prim
type empty
type asm
type kinds
type mem = Mem.t [@@deriving sexp_of]
type kind = Kind.t [@@deriving compare, sexp]
t... | 28.792633 | 83 | 0.615731 |
f3fcdab70dfead70f81ffedcc887c34040b42d15 | 1,010 | mli | OCaml | parser/preterm.mli | baloone/Dedukti | 6feba600b2ab0c77240eff1b47a1f1012a528407 | [
"CECILL-B"
] | null | null | null | parser/preterm.mli | baloone/Dedukti | 6feba600b2ab0c77240eff1b47a1f1012a528407 | [
"CECILL-B"
] | null | null | null | parser/preterm.mli | baloone/Dedukti | 6feba600b2ab0c77240eff1b47a1f1012a528407 | [
"CECILL-B"
] | null | null | null | open Basic
open Format
(** {2 PreTerms} *)
(** This module regroup types before the scoping. That is to say before variables are scoped with De Bruijn indices *)
type preterm =
| PreType of loc
| PreId of loc * ident
| PreQId of loc * name
| PreApp of preterm * preterm * preterm list
| PreLam of loc *... | 27.297297 | 126 | 0.675248 |
afb7d57328b8292571a7536237ffb04691255921 | 4,081 | ml | OCaml | weak_hashtbl/test/test_weak_hashtbl.ml | Gopiandcode/core_kernel | fab2048ede720205e65f1831d07e2b28524166c7 | [
"MIT"
] | 187 | 2015-01-02T03:14:37.000Z | 2021-12-17T02:52:27.000Z | weak_hashtbl/test/test_weak_hashtbl.ml | Gopiandcode/core_kernel | fab2048ede720205e65f1831d07e2b28524166c7 | [
"MIT"
] | 84 | 2015-01-07T10:21:02.000Z | 2021-11-10T05:55:37.000Z | weak_hashtbl/test/test_weak_hashtbl.ml | Gopiandcode/core_kernel | fab2048ede720205e65f1831d07e2b28524166c7 | [
"MIT"
] | 65 | 2015-02-01T11:01:32.000Z | 2021-12-17T02:53:15.000Z | open! Core
open! Expect_test_helpers_core
open! Weak_hashtbl
let create () = create (module Int)
let data int = ref int |> Heap_block.create_exn
type data = int ref Heap_block.t [@@deriving sexp_of]
let%expect_test "[add_exn], [find], [mem], [replace], [remove]" =
let t = create () in
let print_mem i = print_s [... | 26.5 | 89 | 0.588091 |
afd12dccf606406b2040295e61dedbf875f2a121 | 576 | ml | OCaml | bench/bench.ml | dinosaure/hacl | 217f69a58f5e13bc14ffe32da7ad0a5465ac49d0 | [
"MIT"
] | 9 | 2020-02-01T01:25:31.000Z | 2021-01-13T13:17:18.000Z | bench/bench.ml | dinosaure/hacl | 217f69a58f5e13bc14ffe32da7ad0a5465ac49d0 | [
"MIT"
] | 26 | 2019-03-18T17:07:36.000Z | 2021-01-25T11:17:23.000Z | bench/bench.ml | dinosaure/hacl | 217f69a58f5e13bc14ffe32da7ad0a5465ac49d0 | [
"MIT"
] | 6 | 2020-01-31T20:40:56.000Z | 2021-03-11T10:58:59.000Z | let read_urandom n =
let ic = Stdlib.open_in_bin "/dev/urandom" in
let s = Stdlib.really_input_string ic n in
close_in ic;
Cstruct.of_string s
let generate_key_pair () = Hacl_x25519.gen_key ~rng:read_urandom
let bench_dh () =
let priv, _ = generate_key_pair () in
let _, pub = generate_key_pair () in
let... | 28.8 | 75 | 0.673611 |
af9ca2a7c8095b38f797f33da23851364f2fda30 | 917 | ml | OCaml | src/dune_engine/hooks.ml | esope/dune | a79a071739b9537da8f9dc236a964793979da849 | [
"MIT"
] | null | null | null | src/dune_engine/hooks.ml | esope/dune | a79a071739b9537da8f9dc236a964793979da849 | [
"MIT"
] | 1 | 2019-09-17T12:49:47.000Z | 2019-09-17T12:49:47.000Z | src/dune_engine/hooks.ml | staronj/dune | cf0ceccef1e177625b9361323bd7a3401a988d45 | [
"MIT"
] | null | null | null | open Import
module type S = sig
val always : (unit -> unit) -> unit
val once : (unit -> unit) -> unit
val run : unit -> unit
end
module Make () = struct
let persistent_hooks = ref []
let one_off_hooks = ref []
let always hook = persistent_hooks := hook :: !persistent_hooks
let once hook = one_off_h... | 21.325581 | 65 | 0.59542 |
8a5d7f47c903aacd93e52df2eb67807655f7cb9c | 1,772 | ml | OCaml | code/src/netmulticore/t_toploop.ml | UnixJunkie/ocamlnet | 81282279d073a85e3ed6e8b7030710ed9b7b2d02 | [
"BSD-3-Clause"
] | null | null | null | code/src/netmulticore/t_toploop.ml | UnixJunkie/ocamlnet | 81282279d073a85e3ed6e8b7030710ed9b7b2d02 | [
"BSD-3-Clause"
] | null | null | null | code/src/netmulticore/t_toploop.ml | UnixJunkie/ocamlnet | 81282279d073a85e3ed6e8b7030710ed9b7b2d02 | [
"BSD-3-Clause"
] | null | null | null | (* A toploop that is running in a worker process. You also need to
link with toplevellib.cma (see Makefile).
There is a new directive #spawn which may be used to create new
workers. Just quit them with #quit.
Bad interaction with ledit: SIGINT from ledit is only sent to the
master process but not to th... | 24.957746 | 78 | 0.693002 |
afdf6f22f120a2bc2d243ad3e07396e4e486db70 | 1,455 | ml | OCaml | lib/irepr.ml | Nymphium/techbookfest5-toylang | 099f11ed4cb2b5753e64556c8035d5494fe240c9 | [
"MIT"
] | 4 | 2018-09-26T12:58:09.000Z | 2020-01-21T00:35:47.000Z | lib/irepr.ml | Nymphium/techbookfest5-toylang | 099f11ed4cb2b5753e64556c8035d5494fe240c9 | [
"MIT"
] | null | null | null | lib/irepr.ml | Nymphium/techbookfest5-toylang | 099f11ed4cb2b5753e64556c8035d5494fe240c9 | [
"MIT"
] | null | null | null | type i = (* 'r is type of register *)
| Add of int * int * int (* Add(a, b, c) = Reg[a] = Reg[b] + Reg[c] *)
| Sub of int * int * int
| Mul of int * int * int
| Div of int * int * int
| Unit of int (* Unit(a) = Reg[a] = Unit *)
| SetBool of int * int * int (* SetBool(a, x, p) = Reg[a] = x != 0; if p = 1 the... | 40.416667 | 108 | 0.509966 |
afa0760956d474b7c07bc3991eb3302aa6fb23e5 | 675 | ml | OCaml | hphp/hack/test/integration_ml/saved_state/test_no_op_edit.ml | jeffomatic/hhvm | afd1a0c089aff36a31b8990490366606694a2842 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2019-07-21T09:08:35.000Z | 2019-07-21T09:08:35.000Z | hphp/hack/test/integration_ml/saved_state/test_no_op_edit.ml | jeffomatic/hhvm | afd1a0c089aff36a31b8990490366606694a2842 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/test/integration_ml/saved_state/test_no_op_edit.ml | jeffomatic/hhvm | afd1a0c089aff36a31b8990490366606694a2842 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2019-07-30T11:52:42.000Z | 2019-07-30T11:52:42.000Z | module Test = Integration_test_base
open Integration_test_base_types
open No_op_common
(* This test is the same as test_ide_open, except instead of no-op OPEN, we start
* with no-op EDIT. Nuclide does send didEdit without preceding didOpen sometimes (see T30353394) *)
let test () = No_op_common.go @@ fun env ->
let... | 42.1875 | 100 | 0.768889 |
af90c414317b5bf66dda536e8e7c926ad1bf57b7 | 225 | ml | OCaml | data/derived/comb/progs/unify/prog6432.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/prog1589.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog1589.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) =
let foo f b =
let result = f b in
if result = b then (result, false) else (result, true) in
wwhile (foo, b);;
| 25 | 79 | 0.564444 |
8a3ffb9a63ed1fe92114899f3bb4e73b5dbd398e | 3,126 | ml | OCaml | engine/notify.ml | bleepbloopsify/makecloud | 3a7e501872fcf3807f2bae3b640368ffc3f450e4 | [
"MIT"
] | 8 | 2019-10-16T19:47:32.000Z | 2021-04-12T11:17:05.000Z | engine/notify.ml | bleepbloopsify/makecloud | 3a7e501872fcf3807f2bae3b640368ffc3f450e4 | [
"MIT"
] | 4 | 2019-10-30T18:31:23.000Z | 2021-04-19T22:44:28.000Z | engine/notify.ml | bleepbloopsify/makecloud | 3a7e501872fcf3807f2bae3b640368ffc3f450e4 | [
"MIT"
] | 5 | 2020-02-13T19:01:57.000Z | 2022-01-08T18:26:03.000Z | let sprintf = Printf.sprintf
type run_start =
{ nodes : string list
; edges : (string * string) list } [@@deriving irmin, protocol ~driver:(module Protocol_conv_json.Json)]
type start_command =
{ ip_address : string
; secret_key : string } [@@deriving irmin, protocol ~driver:(module Protocol_conv_json.Json)]
... | 32.226804 | 146 | 0.666987 |
af6f1eeb67b5c06de667f00b8935ed095541f183 | 4,400 | ml | OCaml | tools/mproj.ml | csgordon/herdtools7 | 0b068a7e84eff5edcf3ed495c640d525cd65c545 | [
"CECILL-B"
] | null | null | null | tools/mproj.ml | csgordon/herdtools7 | 0b068a7e84eff5edcf3ed495c640d525cd65c545 | [
"CECILL-B"
] | null | null | null | tools/mproj.ml | csgordon/herdtools7 | 0b068a7e84eff5edcf3ed495c640d525cd65c545 | [
"CECILL-B"
] | null | null | null | (****************************************************************************)
(* the diy toolsuite *)
(* *)
(* Jade Alglave, University College London, UK. *)
(* L... | 30.555556 | 90 | 0.52 |
afec4743268c0b0f0e0b1b0ddd1f8d5d83f23263 | 8,285 | ml | OCaml | hphp/hack/test/unit/utils/file_content_test.ml | jmurret/hhvm | f005fa3ca2793291cf59e217db3e9ce074d22f71 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2020-01-17T02:24:38.000Z | 2020-01-17T02:24:38.000Z | hphp/hack/test/unit/utils/file_content_test.ml | jmurret/hhvm | f005fa3ca2793291cf59e217db3e9ce074d22f71 | [
"PHP-3.01",
"Zend-2.0"
] | 2 | 2020-10-11T22:54:12.000Z | 2021-07-20T22:12:10.000Z | hphp/hack/test/unit/utils/file_content_test.ml | jmurret/hhvm | f005fa3ca2793291cf59e217db3e9ce074d22f71 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | (*
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the "hack" directory of this source tree.
*
*
*)
open Core_kernel
open File_content
let expect_has_content fc content = content = fc
let test_basic_edit () =
... | 27.433775 | 80 | 0.613036 |
8a471e074a5cf665ba5be1027ea4bc73016e88de | 82 | ml | OCaml | src/ocaml-3.12.0/testsuite/tests/typing-recmod/t01bad.ml | mzp/coq-for-ipad | 4fb3711723e2581a170ffd734e936f210086396e | [
"MIT"
] | 1 | 2015-01-27T00:11:26.000Z | 2015-01-27T00:11:26.000Z | tests/typing-recmod/t01bad.ml | objmagic/synsyn | afad917e975fe16cb725e6cdd5a46e72ac8cb735 | [
"WTFPL"
] | null | null | null | tests/typing-recmod/t01bad.ml | objmagic/synsyn | afad917e975fe16cb725e6cdd5a46e72ac8cb735 | [
"WTFPL"
] | null | null | null | (* Bad (t = t) *)
module rec A : sig type t = A.t end = struct type t = A.t end;;
| 27.333333 | 63 | 0.536585 |
afa0ee0250b9351a24c6d284b3fffafc06a9d24b | 378 | ml | OCaml | benchmarks/lambda/lambda1/submissions/sub338.ml | kupl/TestML | 55a6200222303bc06349f3379894f5174d47df5d | [
"MIT"
] | 5 | 2019-08-26T05:41:41.000Z | 2020-05-03T03:58:50.000Z | benchmarks/lambda/lambda1/submissions/sub338.ml | kupl/TestML | 55a6200222303bc06349f3379894f5174d47df5d | [
"MIT"
] | null | null | null | benchmarks/lambda/lambda1/submissions/sub338.ml | kupl/TestML | 55a6200222303bc06349f3379894f5174d47df5d | [
"MIT"
] | 2 | 2020-02-06T00:36:38.000Z | 2020-07-27T09:53:35.000Z | type metro = STATION of name
| AREA of name * metro
| CONNECT of metro * metro
and name = string
let rec validMetro (m , names) =
match m with
| STATION name -> List.exists (fun x -> x = name) names
| AREA (name , m0) -> validMetro(m0,name::names)
| CONNECT (m1,m2) -> validMetro(m1,names) && validM... | 27 | 67 | 0.626984 |
8a34beb2fd3745369fd27a834ebe58c66d6d4ab1 | 139,735 | ml | OCaml | src/parser_utils/type_sig/type_sig_parse.ml | meandmax/flow | 452938fc9f557052ffaf88673f3e2761b4722da9 | [
"MIT"
] | null | null | null | src/parser_utils/type_sig/type_sig_parse.ml | meandmax/flow | 452938fc9f557052ffaf88673f3e2761b4722da9 | [
"MIT"
] | null | null | null | src/parser_utils/type_sig/type_sig_parse.ml | meandmax/flow | 452938fc9f557052ffaf88673f3e2761b4722da9 | [
"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.
*)
(* The parsing phase performs a single pass over the AST, building a parsed
* signature. The parsed signature includes unresolved ... | 34.78591 | 126 | 0.63521 |
f3556cd4125e9a6a3566d3a8127f3639e0c53e74 | 25,732 | ml | OCaml | src/ast/analyzing/diffast.ml | mstmhsmt/cca | 0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a | [
"Apache-2.0"
] | null | null | null | src/ast/analyzing/diffast.ml | mstmhsmt/cca | 0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a | [
"Apache-2.0"
] | null | null | null | src/ast/analyzing/diffast.ml | mstmhsmt/cca | 0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a | [
"Apache-2.0"
] | null | null | null | (*
Copyright 2012-2020 Codinuum Software Lab <https://codinuum.com>
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.apache.org/licenses/LICENSE-2.0
Unless required... | 39.956522 | 154 | 0.665436 |
af3cb4a23bd343b45190e8946301b55bd0bd394c | 932 | mli | OCaml | test/negative/t37.mli | paulpatault/gospel | 600b74ab53df67413003911efb558fd7e19e421e | [
"MIT"
] | null | null | null | test/negative/t37.mli | paulpatault/gospel | 600b74ab53df67413003911efb558fd7e19e421e | [
"MIT"
] | null | null | null | test/negative/t37.mli | paulpatault/gospel | 600b74ab53df67413003911efb558fd7e19e421e | [
"MIT"
] | null | null | null | (**************************************************************************)
(* *)
(* GOSPEL -- A Specification Language for OCaml *)
(* *)
(* Copyrigh... | 44.380952 | 76 | 0.306867 |
affb84c857b04b79de1c9cbe65b7506addf0e1e6 | 21,001 | mli | OCaml | src/Control.mli | rizo/control | c5567fb9d322677ee7595a987178a4f95a482234 | [
"0BSD"
] | 5 | 2018-02-23T14:43:17.000Z | 2019-09-15T07:03:31.000Z | src/Control.mli | odis-labs/control | c5567fb9d322677ee7595a987178a4f95a482234 | [
"0BSD"
] | null | null | null | src/Control.mli | odis-labs/control | c5567fb9d322677ee7595a987178a4f95a482234 | [
"0BSD"
] | null | null | null | (* Copyright (c) 2018 Rizo I <rizo@odis.io>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DIS... | 27.309493 | 88 | 0.560592 |
affa8bcc24cdf676e730ffb8976b2541873915d9 | 1,000 | ml | OCaml | query.ml | RBornat/Arsenic | e8fc9bca7ed666ab1c61c4c8ed0ca3a71d0b8a20 | [
"MIT"
] | null | null | null | query.ml | RBornat/Arsenic | e8fc9bca7ed666ab1c61c4c8ed0ca3a71d0b8a20 | [
"MIT"
] | null | null | null | query.ml | RBornat/Arsenic | e8fc9bca7ed666ab1c61c4c8ed0ca3a71d0b8a20 | [
"MIT"
] | null | null | null | open Formula
open Intfdesc
open Assign
(* This file is part of Arsenic, a proofchecker for New Lace logic.
Copyright (c) 2015 Richard Bornat.
Licensed under the MIT license (sic): see LICENCE.txt or
https://opensource.org/licenses/MIT
*)
type query =
| Qassert of formula * query
| Qtaut of formula
... | 37.037037 | 104 | 0.694 |
f3387d69e9a2a1785133be7c1b215419fd697053 | 149 | ml | OCaml | test/blackbox-tests/test-cases/byte-code-only.t/bin-with-build-info/print_version.ml | marsam/dune | 8a3d7f2f2015b71384caa07226d1a89dba9d6c25 | [
"MIT"
] | 1,056 | 2018-01-17T23:27:17.000Z | 2022-03-28T08:28:13.000Z | test/blackbox-tests/test-cases/byte-code-only.t/bin-with-build-info/print_version.ml | marsam/dune | 8a3d7f2f2015b71384caa07226d1a89dba9d6c25 | [
"MIT"
] | 3,824 | 2018-01-17T15:09:57.000Z | 2022-03-31T14:46:35.000Z | test/blackbox-tests/test-cases/byte-code-only.t/bin-with-build-info/print_version.ml | marsam/dune | 8a3d7f2f2015b71384caa07226d1a89dba9d6c25 | [
"MIT"
] | 314 | 2018-01-21T13:57:15.000Z | 2022-03-24T16:17:13.000Z | let () =
(match Build_info.Build_info_data.version with
| None -> print_endline "<version missing>"
| Some version -> print_endline version)
| 29.8 | 48 | 0.711409 |
af50ea0fff08d36ba62a8ab22e056e590e0f7fb7 | 5,950 | mli | OCaml | presentations/coq-workshop-2014-coq/plugins/romega/const_omega.mli | JasonGross/test-broken-tar | 6b52b8532879df53386b0f5413485888a1aa886a | [
"MIT"
] | null | null | null | presentations/coq-workshop-2014-coq/plugins/romega/const_omega.mli | JasonGross/test-broken-tar | 6b52b8532879df53386b0f5413485888a1aa886a | [
"MIT"
] | null | null | null | presentations/coq-workshop-2014-coq/plugins/romega/const_omega.mli | JasonGross/test-broken-tar | 6b52b8532879df53386b0f5413485888a1aa886a | [
"MIT"
] | null | null | null | (*************************************************************************
PROJET RNRT Calife - 2001
Author: Pierre Crégut - France Télécom R&D
Licence : LGPL version 2.1
*************************************************************************)
(** Coq objects used in romega *)
(* from Logic *)
val coq_... | 33.426966 | 77 | 0.737647 |
8a4eecf9e93ea0a63580e26fa16572aefe2d40a9 | 2,748 | mli | OCaml | src/control.mli | cfcs/ocaml-otr | 6f6d9a9d2d1a4b964b6363af118e50b653d7d9d0 | [
"BSD-2-Clause"
] | null | null | null | src/control.mli | cfcs/ocaml-otr | 6f6d9a9d2d1a4b964b6363af118e50b653d7d9d0 | [
"BSD-2-Clause"
] | null | null | null | src/control.mli | cfcs/ocaml-otr | 6f6d9a9d2d1a4b964b6363af118e50b653d7d9d0 | [
"BSD-2-Clause"
] | null | null | null | module type Monad =
sig
type 'a t
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
end
module type Monad_ext =
sig
type 'a t
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val ( >>= ) : 'a t -> ('a -> 'b t) -> 'b t
val ( >|= ) : 'a t -> ('a -> 'b) -... | 33.108434 | 61 | 0.403566 |
8a1c3a783290c16751333a611a570ab34472b0b3 | 6,520 | ml | OCaml | src/lib/shrink.ml | jobjo/popper | f59307129a5ee81f7e1f20862baee6fecfc5e4e7 | [
"0BSD"
] | 29 | 2021-05-07T12:49:28.000Z | 2021-11-27T11:26:11.000Z | src/lib/shrink.ml | jobjo/popper | f59307129a5ee81f7e1f20862baee6fecfc5e4e7 | [
"0BSD"
] | 17 | 2021-05-07T18:02:39.000Z | 2021-09-06T08:19:58.000Z | src/lib/shrink.ml | jobjo/popper | f59307129a5ee81f7e1f20862baee6fecfc5e4e7 | [
"0BSD"
] | 2 | 2021-06-13T16:45:33.000Z | 2021-09-12T21:08:55.000Z | module R = Random
open Random.Syntax
module IM = Map.Make (Int)
module IS = Set.Make (Int)
type result =
{ num_shrinks : int
; num_attempts : int
; pp : Format.formatter -> unit -> unit
; output : Proposition.t Output.t
}
type indexed =
| Value of int * Int32.t
| Empty
| Add of int * int * indexed * i... | 26.184739 | 78 | 0.58635 |
f3e7027e94b494bd1cf42d76864d291a1de2b3d4 | 6,761 | ml | OCaml | data/derived/comb/progs/unify/prog5954.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | 4 | 2017-07-04T22:30:05.000Z | 2021-03-29T14:44:52.000Z | data/derived/fa15/progs/unify/prog1088.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog1088.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX
*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXX*)
let rec sumList xs = match xs with
|[] -> 0
|(h::t) -> h + sumList(t);;
(*
XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... | 23.557491 | 94 | 0.619583 |
af8076e8728cd4bec32454756fecfa9034db0649 | 880 | mly | OCaml | ocaml/src/interface/parser.mly | cstolze/Bull-Subtyping2 | d919199351f7f3b59ff16b86a608acb5f159e537 | [
"MIT"
] | 1 | 2020-07-20T22:31:27.000Z | 2020-07-20T22:31:27.000Z | ocaml/src/interface/parser.mly | cstolze/Bull-Subtyping2 | d919199351f7f3b59ff16b86a608acb5f159e537 | [
"MIT"
] | null | null | null | ocaml/src/interface/parser.mly | cstolze/Bull-Subtyping2 | d919199351f7f3b59ff16b86a608acb5f159e537 | [
"MIT"
] | 1 | 2018-11-27T15:34:18.000Z | 2018-11-27T15:34:18.000Z | %{
open BDdL.BDdL
(* Hash function *)
let djb2 s = let rec foo n b
= try foo (n+1) ((Char.code (String.get s n))
+ 33*b) with
| Invalid_argument _ -> b
in foo 0 5381
%}
%token EOL
%token OPENP
%token CLOSP
%token... | 17.254902 | 68 | 0.486364 |
afbf7e9e27312cf65bbdfe96afef9c7ba9354aad | 1,950 | ml | OCaml | src/llvm2smt.ml | ziqiaozhou/llvm2smt | bf0b2fec59a0abb8c1b5541b056a728e53f9d0fa | [
"MIT"
] | 47 | 2015-12-03T08:56:42.000Z | 2021-11-11T15:26:24.000Z | src/llvm2smt.ml | ziqiaozhou/llvm2smt | bf0b2fec59a0abb8c1b5541b056a728e53f9d0fa | [
"MIT"
] | 1 | 2018-04-20T21:53:49.000Z | 2018-04-20T21:53:49.000Z | src/llvm2smt.ml | ziqiaozhou/llvm2smt | bf0b2fec59a0abb8c1b5541b056a728e53f9d0fa | [
"MIT"
] | 15 | 2015-12-29T07:28:25.000Z | 2022-02-11T06:56:44.000Z | (* Copyright (c) 2015, SRI International
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,
pu... | 36.111111 | 73 | 0.737436 |
f381f11e5e20e84a91099c6b54d6087c59b5b40a | 3,849 | ml | OCaml | lib/litmus_c/test/reify_stm.ml | MattWindsor91/c4f | 8939477732861789abc807c8c1532a302b2848a5 | [
"CECILL-B",
"MIT"
] | 7 | 2018-11-27T23:53:58.000Z | 2020-11-22T11:56:16.000Z | lib/litmus_c/test/reify_stm.ml | MattWindsor91/act | 8939477732861789abc807c8c1532a302b2848a5 | [
"CECILL-B",
"MIT"
] | 235 | 2018-10-03T16:37:36.000Z | 2020-11-22T16:26:51.000Z | lib/litmus_c/test/reify_stm.ml | MattWindsor91/c4f | 8939477732861789abc807c8c1532a302b2848a5 | [
"CECILL-B",
"MIT"
] | 1 | 2018-11-13T16:43:19.000Z | 2018-11-13T16:43:19.000Z | (* This file is part of c4f.
Copyright (c) 2018-2022 C4 Project
c4t itself is licensed under the MIT License. See the LICENSE file in the
project root for more information.
Parts of c4t are based on code from the Herdtools7 project
(https://github.com/herd/herdtools7) : see the LICENSE.herd file in th... | 34.061947 | 78 | 0.539361 |
f355576babcea593a45279ff6979264cd40b3787 | 21,971 | ml | OCaml | ocamllib/libbase/file.ml | Machiaweliczny/oppailang | 60ddea53e56babcc1e8954b5585150098b0e4d88 | [
"MIT"
] | 643 | 2015-01-02T23:57:37.000Z | 2022-03-18T18:50:24.000Z | ocamllib/libbase/file.ml | Machiaweliczny/oppailang | 60ddea53e56babcc1e8954b5585150098b0e4d88 | [
"MIT"
] | 52 | 2015-01-17T07:26:16.000Z | 2021-03-08T14:16:08.000Z | ocamllib/libbase/file.ml | Machiaweliczny/oppailang | 60ddea53e56babcc1e8954b5585150098b0e4d88 | [
"MIT"
] | 58 | 2015-01-02T23:57:42.000Z | 2022-03-02T12:44:42.000Z | (*
Copyright © 2011, 2012, 2013 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 us... | 31.981077 | 142 | 0.623322 |
8a1a483a013965ed745f5294abdbd9aeed880483 | 322 | ml | OCaml | feed_parser/operators.ml | Julow/feed_aggregator | daa1602629e673e94bf42d53c9b07f3f8b4bc903 | [
"MIT"
] | 18 | 2019-01-14T11:38:32.000Z | 2022-02-22T07:25:11.000Z | feed_parser/operators.ml | Julow/feed_aggregator | daa1602629e673e94bf42d53c9b07f3f8b4bc903 | [
"MIT"
] | 6 | 2019-05-09T20:54:36.000Z | 2020-07-10T17:17:28.000Z | feed_parser/operators.ml | Julow/feed_aggregator | daa1602629e673e94bf42d53c9b07f3f8b4bc903 | [
"MIT"
] | 3 | 2019-05-07T12:25:39.000Z | 2020-07-10T12:21:15.000Z | (** Various operators used here *)
let ( < ) node ?ns name = Xml.child ?ns name node
let ( << ) node ?ns name = Xml.children ?ns name node
let ( > ) nopt f = Option.map f nopt
let ( >$ ) nopt f = Option.bind nopt f
let ( >> ) nlst f = List.map f nlst
let ( >>$ ) nlst f = List.filter_map f nlst
let ( % ) f g x = f (g x... | 32.2 | 53 | 0.590062 |
8a068f9e286f359bd7f90ad97c2bab2a9675a28d | 20,378 | ml | OCaml | src/base/compute/owl_computation_optimiser.ml | syther-labs/owl | f43835e643ac31b6ecedeb2a32fcd99bcc003140 | [
"MIT"
] | null | null | null | src/base/compute/owl_computation_optimiser.ml | syther-labs/owl | f43835e643ac31b6ecedeb2a32fcd99bcc003140 | [
"MIT"
] | null | null | null | src/base/compute/owl_computation_optimiser.ml | syther-labs/owl | f43835e643ac31b6ecedeb2a32fcd99bcc003140 | [
"MIT"
] | null | null | null | (*
* OWL - OCaml Scientific and Engineering Computing
* Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz>
*)
open Owl_graph
(* Functor of making a Lazy engine to execute a computation graph. *)
module Make (Operator : Owl_computation_operator_sig.Sig) = struct
module Operator = Operator
open Operator.Symbo... | 31.790952 | 83 | 0.597311 |
af201eeb7799fe2ff042829038dbbbc901f4e7bf | 3,752 | ml | OCaml | CodeHawk/CHC/cchpre/cCHDsAssumption.ml | Databean/codehawk | 91bef3806d87d93b4371a4d1c22a7dc8648e2a16 | [
"MIT"
] | 17 | 2020-08-17T15:35:57.000Z | 2022-03-23T14:40:19.000Z | CodeHawk/CHC/cchpre/cCHDsAssumption.ml | Databean/codehawk | 91bef3806d87d93b4371a4d1c22a7dc8648e2a16 | [
"MIT"
] | 6 | 2020-07-17T05:43:51.000Z | 2021-01-06T03:41:46.000Z | CodeHawk/CHC/cchpre/cCHDsAssumption.ml | sipma/codehawk | e4eeb41fdea6a8467d1892b9467ec54ef04953b0 | [
"MIT"
] | 3 | 2020-08-13T23:18:39.000Z | 2021-12-11T11:10:06.000Z | (* =============================================================================
CodeHawk C Analyzer
Author: Henny Sipma
------------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2005-2019 Kestrel Technology LLC
Copyright (c) 2020 Henny ... | 32.344828 | 83 | 0.657516 |
8a5a7e8cac21ae1c53297887c9cb4649097fb306 | 33,248 | ml | OCaml | src/lib/transition_frontier/full_frontier/full_frontier.ml | arjundashrath/mina | 629c6d767fbf2fdb7ce1ebd04337960c6f5baf55 | [
"Apache-2.0"
] | null | null | null | src/lib/transition_frontier/full_frontier/full_frontier.ml | arjundashrath/mina | 629c6d767fbf2fdb7ce1ebd04337960c6f5baf55 | [
"Apache-2.0"
] | null | null | null | src/lib/transition_frontier/full_frontier/full_frontier.ml | arjundashrath/mina | 629c6d767fbf2fdb7ce1ebd04337960c6f5baf55 | [
"Apache-2.0"
] | null | null | null | open Core_kernel
open Mina_base
module Ledger = Mina_ledger.Ledger
open Mina_state
open Mina_transition
open Frontier_base
module Node = struct
type t =
{ breadcrumb : Breadcrumb.t
; successor_hashes : State_hash.t list
; length : int
}
[@@deriving sexp, fields]
type display =
{ length : int... | 38.615563 | 99 | 0.682176 |
af3f75f85b5485ed244bd5de7092e239626ea7c5 | 15,175 | ml | OCaml | src/transformFun.ml | Melyodas/metalang | 399a9f1a71402c979d7f8024d4f98f081c80e771 | [
"BSD-2-Clause"
] | 22 | 2017-04-24T10:00:45.000Z | 2021-04-01T10:11:05.000Z | src/transformFun.ml | Melyodas/metalang | 399a9f1a71402c979d7f8024d4f98f081c80e771 | [
"BSD-2-Clause"
] | 12 | 2017-03-26T18:34:21.000Z | 2019-03-21T19:13:03.000Z | src/transformFun.ml | Melyodas/metalang | 399a9f1a71402c979d7f8024d4f98f081c80e771 | [
"BSD-2-Clause"
] | 7 | 2017-10-14T13:33:33.000Z | 2021-03-18T15:18:50.000Z | (*
* Copyright (c) 2012, Prologin
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 45.029674 | 162 | 0.627743 |
afec4cb023273f16a225af7da3172e77a6e6c033 | 2,125 | ml | OCaml | src/lib/coda_lib/config.ml | paul-schaaf/coda | 2292aed8e1b3c495e1e9ec2a956e07f6d4ab57ba | [
"Apache-2.0"
] | null | null | null | src/lib/coda_lib/config.ml | paul-schaaf/coda | 2292aed8e1b3c495e1e9ec2a956e07f6d4ab57ba | [
"Apache-2.0"
] | null | null | null | src/lib/coda_lib/config.ml | paul-schaaf/coda | 2292aed8e1b3c495e1e9ec2a956e07f6d4ab57ba | [
"Apache-2.0"
] | null | null | null | open Core_kernel
open Async_kernel
open Auxiliary_database
open Signature_lib
(* TODO: Pass banlist to modules discussed in Ban Reasons issue: https://github.com/CodaProtocol/coda/issues/852 *)
module Snark_worker_config = struct
type t =
{ initial_snark_worker_key: Public_key.Compressed.t option
; shutdown... | 39.351852 | 115 | 0.776471 |
8a0ed70d6c7b22b33c9600d61d1e68de1010e2d7 | 11,536 | mli | OCaml | lib/node/_gen/vm.mli | tmattio/js-bindings | 109076fe682c84eb1cf01c7f38ee1f4163fb3a9a | [
"MIT"
] | 18 | 2021-04-14T02:52:09.000Z | 2021-11-14T17:08:09.000Z | lib/node/_gen/vm.mli | tmattio/ocaml-ecmascript | 109076fe682c84eb1cf01c7f38ee1f4163fb3a9a | [
"MIT"
] | 4 | 2021-04-14T16:23:13.000Z | 2021-05-22T00:00:55.000Z | lib/node/_gen/vm.mli | tmattio/ocaml-ecmascript | 109076fe682c84eb1cf01c7f38ee1f4163fb3a9a | [
"MIT"
] | 1 | 2021-04-14T15:29:24.000Z | 2021-04-14T15:29:24.000Z | [@@@ocaml.warning "-7-11-32-33-39"]
[@@@js.implem
[@@@ocaml.warning "-7-11-32-33-39"]
]
open Ts2ocaml_baselib
(*
unknown identifiers:
- Buffer
- NodeJS.Dict<T1>
- Promise<T1>
*)
[@@@js.stop]
module type Missing = sig
module Buffer : sig
type t_0
val t_0_to_js: t_0 -> Ojs.t
val t_0_of_js: Ojs.... | 44.030534 | 157 | 0.633755 |
8a44c51ca6950368e0070b99def12279a78eb769 | 8,310 | ml | OCaml | src/solvers/postSolver.ml | mengjianwei12345/analyzer | 38b8ef2fa14bacd19c73ee823c1ede5571e525bb | [
"MIT"
] | 1 | 2022-03-28T16:25:31.000Z | 2022-03-28T16:25:31.000Z | src/solvers/postSolver.ml | mengjianwei12345/analyzer | 38b8ef2fa14bacd19c73ee823c1ede5571e525bb | [
"MIT"
] | null | null | null | src/solvers/postSolver.ml | mengjianwei12345/analyzer | 38b8ef2fa14bacd19c73ee823c1ede5571e525bb | [
"MIT"
] | null | null | null | open Prelude
open Analyses
open GobConfig
(** Postsolver with hooks. *)
module type S =
sig
module S: EqConstrSys
module VH: Hashtbl.S with type key = S.v
val init: unit -> unit
val one_side: vh:S.Dom.t VH.t -> x:S.v -> y:S.v -> d:S.Dom.t -> unit
val one_constraint: vh:S.Dom.t VH.t -> x:S.v -> rhs:S.Dom.t -... | 29.572954 | 237 | 0.641757 |
8a624fb7cc479f93e1ec1e2aeaf3c0f67b57dc80 | 8,553 | ml | OCaml | src/stack-unix/udpv4v6_socket.ml | roburio/mirage-tcpip | 3ab30ab7b43dede75abf7b37838e051e0ddbb23a | [
"ISC"
] | null | null | null | src/stack-unix/udpv4v6_socket.ml | roburio/mirage-tcpip | 3ab30ab7b43dede75abf7b37838e051e0ddbb23a | [
"ISC"
] | null | null | null | src/stack-unix/udpv4v6_socket.ml | roburio/mirage-tcpip | 3ab30ab7b43dede75abf7b37838e051e0ddbb23a | [
"ISC"
] | null | null | null | (*
* Copyright (c) 2014 Anil Madhavapeddy <anil@recoil.org>
* Copyright (c) 2014 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 ... | 41.519417 | 148 | 0.583772 |
8a344e8e82d6786d0fa221d48d5bef12aaa510ee | 7,672 | ml | OCaml | data/derived/comb/progs/unify/prog5193.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | 4 | 2017-07-04T22:30:05.000Z | 2021-03-29T14:44:52.000Z | data/derived/fa15/progs/unify/prog0285.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog0285.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXX
XXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXX
XXXXXXXXXXXXXXX
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX
XXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX... | 26.095238 | 148 | 0.673879 |
af498bbe75afb58c6024219045e27afa0e640e0d | 1,250 | ml | OCaml | src/App/State.ml | Whoaa512/webpack-stats-explorer | b302c1a4a97919555a5058c1449a796254400cce | [
"MIT"
] | null | null | null | src/App/State.ml | Whoaa512/webpack-stats-explorer | b302c1a4a97919555a5058c1449a796254400cce | [
"MIT"
] | null | null | null | src/App/State.ml | Whoaa512/webpack-stats-explorer | b302c1a4a97919555a5058c1449a796254400cce | [
"MIT"
] | null | null | null | module NavigationPath = struct
module Segment = struct
type t = string * CompareKind.t;;
let make (kind : CompareKind.t) item = CompareEntry.(
match (item) with
| Entry(entry) -> (entry.id, kind)
| ModifiedEntry(modifiedEntry) -> (modifiedEntry.id, kind)
);;
let encode (id, kin... | 23.584906 | 91 | 0.576 |
8a3e1096af5ec58cc07f060efedcbbc8d8005e8f | 6,212 | ml | OCaml | upstream/ocaml_403/typing/stypes.ml | rvantonder/merlin | 09d6b2762f0be7129decae97bc2d87fc854bbbce | [
"MIT"
] | 961 | 2020-09-15T11:01:50.000Z | 2022-03-26T00:25:17.000Z | upstream/ocaml_403/typing/stypes.ml | rvantonder/merlin | 09d6b2762f0be7129decae97bc2d87fc854bbbce | [
"MIT"
] | 83 | 2020-09-27T18:51:24.000Z | 2022-03-08T10:57:53.000Z | upstream/ocaml_403/typing/stypes.ml | rvantonder/merlin | 09d6b2762f0be7129decae97bc2d87fc854bbbce | [
"MIT"
] | 26 | 2020-10-13T10:39:13.000Z | 2021-12-07T04:57:33.000Z | (**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* ... | 29.164319 | 78 | 0.573084 |
afae41925aca8063d7c06a85f8283c1fc95f2d56 | 11,140 | ml | OCaml | infer/src/IR/ProcAttributes.ml | dmitryvinn/infer | 3531b559617da68b6b9afa863212a9056bd34948 | [
"MIT"
] | 1 | 2022-02-10T10:51:26.000Z | 2022-02-10T10:51:26.000Z | infer/src/IR/ProcAttributes.ml | 0xgpapad/infer | e5ed762d819c0f040ad73064e0d928e73d5d830a | [
"MIT"
] | null | null | null | infer/src/IR/ProcAttributes.ml | 0xgpapad/infer | e5ed762d819c0f040ad73064e0d928e73d5d830a | [
"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.
*)
(** Attributes of a procedure. *)
open! IStd
module F = Format
(** Visibility modifiers. *)
type access = Default | Public | Priv... | 42.19697 | 101 | 0.721993 |
Subsets and Splits
HTML Code Excluding Scripts
The query retrieves a limited set of HTML content entries that are longer than 8 characters and do not contain script tags, offering only basic filtering with minimal analytical value.