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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3512b43301aed0abfe47a4bc86b84032f18d71b | 1,364 | mli | OCaml | src/lib_info.mli | prometheansacrifice/dune | 22fe0696ff01aaa10641eb44f5a4b6c83323111c | [
"MIT"
] | null | null | null | src/lib_info.mli | prometheansacrifice/dune | 22fe0696ff01aaa10641eb44f5a4b6c83323111c | [
"MIT"
] | null | null | null | src/lib_info.mli | prometheansacrifice/dune | 22fe0696ff01aaa10641eb44f5a4b6c83323111c | [
"MIT"
] | null | null | null | (** {1 Raw library descriptions} *)
open Stdune
module Status : sig
type t =
| Installed
| Public of Package.t
| Private of Dune_project.Name.t
val pp : t Fmt.t
val is_private : t -> bool
end
module Deps : sig
type t =
| Simple of (Loc.t * Lib_name.t) list
| Complex of Dune_file.Lib_d... | 25.259259 | 73 | 0.594575 |
f39ba5aaec1ab5ebe50d23ed1ca1a9ec8f46d28e | 9,516 | mly | OCaml | src/parsers/Tip_parser.mly | nunchaku-inria/nunchaku | 91e62687ba3dac692e25bcc1849a1c042f46ab21 | [
"BSD-2-Clause"
] | 39 | 2015-09-30T15:02:05.000Z | 2022-02-20T17:54:46.000Z | src/parsers/Tip_parser.mly | nunchaku-inria/nunchaku | 91e62687ba3dac692e25bcc1849a1c042f46ab21 | [
"BSD-2-Clause"
] | 36 | 2015-11-17T08:41:18.000Z | 2020-12-10T20:28:53.000Z | src/parsers/Tip_parser.mly | nunchaku-inria/nunchaku | 91e62687ba3dac692e25bcc1849a1c042f46ab21 | [
"BSD-2-Clause"
] | 3 | 2017-01-18T23:10:48.000Z | 2018-11-09T17:14:16.000Z |
(* This file is free software, part of tip-parser. See file "license" for more details. *)
(** {1 Parser for TIP} *)
(* vim:SyntasticToggleMode:
vim:set ft=yacc: *)
%{
open Nunchaku_core
module A = Tip_ast
module Res = A.Smbc_res
module Loc = Location
%}
%token EOI
%token LEFT_PAREN
%token RIGHT_PARE... | 25.929155 | 109 | 0.659521 |
f3ecadb4a405028ddf3ea7feb698ccd4cdac4622 | 56 | ml | OCaml | time.ml | a12n/rox6read | c2d8b61da482d3f79f17e21bc012c0e522d8958c | [
"MIT"
] | null | null | null | time.ml | a12n/rox6read | c2d8b61da482d3f79f17e21bc012c0e522d8958c | [
"MIT"
] | null | null | null | time.ml | a12n/rox6read | c2d8b61da482d3f79f17e21bc012c0e522d8958c | [
"MIT"
] | null | null | null | type t = {
h : int;
min : int;
s : int;
}
| 9.333333 | 14 | 0.339286 |
f3f5f7790a7c00c2f70585248cf4fd77fc972b0d | 1,369 | mli | OCaml | lib/Std_ast.mli | danielmercier/ocamlformat | 62d702a1b2cdc05040234ed920fcf1bd6203e06b | [
"MIT"
] | 499 | 2017-10-09T10:51:58.000Z | 2022-03-30T19:11:27.000Z | lib/Std_ast.mli | danielmercier/ocamlformat | 62d702a1b2cdc05040234ed920fcf1bd6203e06b | [
"MIT"
] | 1,392 | 2017-10-19T18:03:58.000Z | 2022-03-30T15:53:42.000Z | lib/Std_ast.mli | danielmercier/ocamlformat | 62d702a1b2cdc05040234ed920fcf1bd6203e06b | [
"MIT"
] | 118 | 2017-10-19T18:46:20.000Z | 2022-03-30T11:22:50.000Z | (**************************************************************************)
(* *)
(* OCamlFormat *)
(* *)
(* ... | 33.390244 | 76 | 0.394449 |
f30e96edd9690f29842ad8198fa64aab8da97f38 | 355 | ml | OCaml | result/cafe2/nat/sub1/patch.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | 9 | 2021-06-04T04:38:13.000Z | 2021-12-15T05:45:28.000Z | result/prog/nat/sub1/patch.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | null | null | null | result/prog/nat/sub1/patch.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | null | null | null | type nat = ZERO | SUCC of nat
let rec natadd (n1 : nat) (n2 : nat) : nat = ZERO
let rec natadd (q : nat) (w : nat) : nat =
match q with ZERO -> w | SUCC a -> natadd a (SUCC w)
let rec natmul (n1 : nat) (n2 : nat) : nat = ZERO
let rec natmul (q : nat) (w : nat) : nat =
match q with SUCC ZERO -> w | SUCC e -> na... | 27.307692 | 78 | 0.571831 |
f3471e0393c10fa45b84d1e854ff0869af7a5eed | 276 | mli | OCaml | src/dune_rules/foreign_rules.mli | jackprogramsjp/dune | a181b937c20c706f24ba1d17021593b0087ac574 | [
"MIT"
] | 1 | 2022-03-18T02:24:50.000Z | 2022-03-18T02:24:50.000Z | src/dune_rules/foreign_rules.mli | jackprogramsjp/dune | a181b937c20c706f24ba1d17021593b0087ac574 | [
"MIT"
] | null | null | null | src/dune_rules/foreign_rules.mli | jackprogramsjp/dune | a181b937c20c706f24ba1d17021593b0087ac574 | [
"MIT"
] | 1 | 2021-05-07T18:08:53.000Z | 2021-05-07T18:08:53.000Z | open! Dune_engine
open! Stdune
open Import
val build_o_files :
sctx:Super_context.t
-> foreign_sources:Foreign.Sources.t
-> dir:Path.Build.t
-> expander:Expander.t
-> requires:Lib.L.t Or_exn.t
-> dir_contents:Dir_contents.t
-> Path.Build.t Memo.Build.t list
| 21.230769 | 38 | 0.717391 |
f3c2c621b81c8fb92780c6f40c75f938d98e22df | 11,350 | ml | OCaml | src/csexp_rpc/csexp_rpc.ml | jvillard/dune | fb311f30925c2ffe433139c14e2cdc211618ce81 | [
"MIT"
] | 1,056 | 2018-01-17T23:27:17.000Z | 2022-03-28T08:28:13.000Z | src/csexp_rpc/csexp_rpc.ml | jvillard/dune | fb311f30925c2ffe433139c14e2cdc211618ce81 | [
"MIT"
] | 3,824 | 2018-01-17T15:09:57.000Z | 2022-03-31T14:46:35.000Z | src/csexp_rpc/csexp_rpc.ml | jvillard/dune | fb311f30925c2ffe433139c14e2cdc211618ce81 | [
"MIT"
] | 314 | 2018-01-21T13:57:15.000Z | 2022-03-24T16:17:13.000Z | open Stdune
open Fiber.O
module Log = Dune_util.Log
module Worker = struct
include Dune_engine.Scheduler.Worker
let task_exn t ~f =
let+ res = task t ~f in
match res with
| Error `Stopped -> assert false
| Error (`Exn e) -> Exn_with_backtrace.reraise e
| Ok s -> s
end
module Session_id = Id.M... | 28.163772 | 80 | 0.574185 |
f3c171962a6f72ff26e5294956db1bd928202eff | 2,428 | mli | OCaml | lib/delitmus/src/config.mli | c4-project/c4f | c2765061ad816d41d0545eabe3f3cd7c574383f4 | [
"CECILL-B",
"MIT"
] | 2 | 2021-06-09T22:28:00.000Z | 2021-06-30T18:08:22.000Z | lib/delitmus/src/config.mli | c4-project/c4f | c2765061ad816d41d0545eabe3f3cd7c574383f4 | [
"CECILL-B",
"MIT"
] | 13 | 2021-02-10T08:57:29.000Z | 2021-02-16T16:17:25.000Z | lib/delitmus/src/config.mli | c4-project/c4f | c2765061ad816d41d0545eabe3f3cd7c574383f4 | [
"CECILL-B",
"MIT"
] | 1 | 2021-06-09T22:28:01.000Z | 2021-06-09T22:28:01.000Z | (* This file is part of c4f.
Copyright (c) 2018-2021 C4 Project
c4t itself is licensed under the MIT License. See the LICENSE file in the
project root for more information.
Parts of c4t are based on code from the Herdtools7 project
(https://github.com/herd/herdtools7) : see the LICENSE.herd file in th... | 31.947368 | 77 | 0.709638 |
f3eea3661126b06b589e65020a56c2eab87fe64d | 4,547 | ml | OCaml | infer/src/istd/ImperativeUnionFind.ml | kupl/npex-analyzer | c9a6d60aa76f39bbab04af5186b0399bc4fcdb49 | [
"MIT"
] | null | null | null | infer/src/istd/ImperativeUnionFind.ml | kupl/npex-analyzer | c9a6d60aa76f39bbab04af5186b0399bc4fcdb49 | [
"MIT"
] | null | null | null | infer/src/istd/ImperativeUnionFind.ml | kupl/npex-analyzer | c9a6d60aa76f39bbab04af5186b0399bc4fcdb49 | [
"MIT"
] | null | null | null | (*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open! IStd
module type Set = sig
type elt [@@deriving compare]
type t
val create : elt -> t
val compare_size : t -> t -... | 28.597484 | 134 | 0.608313 |
f306da29adf9b02ab18b268e96459daa74bc2c6a | 1,797 | ml | OCaml | test/functoria/e2e/lib/e2e.ml | palainp/mirage | 09d3e17125e782c58aae92c8bb2f849b41fd2037 | [
"ISC"
] | null | null | null | test/functoria/e2e/lib/e2e.ml | palainp/mirage | 09d3e17125e782c58aae92c8bb2f849b41fd2037 | [
"ISC"
] | null | null | null | test/functoria/e2e/lib/e2e.ml | palainp/mirage | 09d3e17125e782c58aae92c8bb2f849b41fd2037 | [
"ISC"
] | null | null | null | open Functoria
module Key = Key
let warn_error =
let doc = "Enable -warn-error when compiling OCaml sources." in
let doc = Key.Arg.info ~docv:"BOOL" ~doc [ "warn-error" ] in
let key = Key.Arg.(opt ~stage:`Configure bool false doc) in
Key.create "warn_error" key
let vote =
let doc = "Vote." in
let doc = Ke... | 26.426471 | 80 | 0.632721 |
f3b54235e9375698ec3eedd8b673219fee9c3b1c | 2,260 | mli | OCaml | duniverse/cppo/src/cppo_types.mli | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 34 | 2018-12-15T08:52:32.000Z | 2022-01-22T14:31:54.000Z | duniverse/cppo/src/cppo_types.mli | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 16 | 2018-11-22T20:52:45.000Z | 2022-03-08T17:11:06.000Z | duniverse/cppo/src/cppo_types.mli | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 8 | 2019-03-26T18:14:33.000Z | 2021-09-29T11:30:18.000Z | type loc = Lexing.position * Lexing.position
exception Cppo_error of string
type bool_expr =
[ `True
| `False
| `Defined of string
| `Not of bool_expr (* not *)
| `And of (bool_expr * bool_expr) (* && *)
| `Or of (bool_expr * bool_expr) (* || *)
| `Eq of (arith_expr * arith_expr) (* = *)
... | 31.830986 | 72 | 0.566372 |
f3d73be499b7e453f9ea796ea9baac5c4c50c00f | 4,212 | mli | OCaml | src/proto_alpha/lib_protocol/test/helpers/op.mli | noclouds/tezos-master | 6c31af7ab3ea782f89f988e389e9b0860207a8d6 | [
"MIT"
] | null | null | null | src/proto_alpha/lib_protocol/test/helpers/op.mli | noclouds/tezos-master | 6c31af7ab3ea782f89f988e389e9b0860207a8d6 | [
"MIT"
] | null | null | null | src/proto_alpha/lib_protocol/test/helpers/op.mli | noclouds/tezos-master | 6c31af7ab3ea782f89f988e389e9b0860207a8d6 | [
"MIT"
] | null | null | null | (*****************************************************************************)
(* *)
(* Open Source License *)
(* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
... | 36.947368 | 79 | 0.603751 |
f3df40d50d0a6f265ab08e5a36f814df822f793e | 2,078 | ml | OCaml | src/lib/snarky_group_map/checked_map.ml | rahulmutt/coda | 7a7dbb04c4dafea860ac03e5f88e58637e8040d3 | [
"Apache-2.0"
] | null | null | null | src/lib/snarky_group_map/checked_map.ml | rahulmutt/coda | 7a7dbb04c4dafea860ac03e5f88e58637e8040d3 | [
"Apache-2.0"
] | null | null | null | src/lib/snarky_group_map/checked_map.ml | rahulmutt/coda | 7a7dbb04c4dafea860ac03e5f88e58637e8040d3 | [
"Apache-2.0"
] | null | null | null | module Make
(M : Snarky.Snark_intf.Run) (Params : sig
val a : M.Field.t
val b : M.Field.t
end) =
struct
module B =
Group_map.Make_group_map (struct
include M.Field
let t_of_sexp x = constant (Constant.t_of_sexp x)
let negate x = zero - x
end)
(Params)... | 28.081081 | 76 | 0.575072 |
f34bd911b99208601ddb5b9e0a40cd2d293d77e3 | 81 | ml | OCaml | benchmarks/C/sigma/sol444.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | 9 | 2021-06-04T04:38:13.000Z | 2021-12-15T05:45:28.000Z | benchmarks/C/sigma/sol444.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | null | null | null | benchmarks/C/sigma/sol444.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | null | null | null | let rec sigma f a b =
if a == b then
f a
else
(f a) + (sigma f (a+1) b)
| 13.5 | 30 | 0.481481 |
f3dda93229184cf98d4e2dcabdb723dd742b4971 | 8,375 | ml | OCaml | lib/archive.ml | aguillon/papiers | 2ae71e165753a7fad175ff7a4413d5a6aec7939c | [
"BSD-2-Clause"
] | 42 | 2015-02-27T18:13:42.000Z | 2021-07-03T22:28:52.000Z | lib/archive.ml | aguillon/papiers | 2ae71e165753a7fad175ff7a4413d5a6aec7939c | [
"BSD-2-Clause"
] | 4 | 2015-01-08T18:46:37.000Z | 2016-06-21T22:20:04.000Z | lib/archive.ml | aguillon/papiers | 2ae71e165753a7fad175ff7a4413d5a6aec7939c | [
"BSD-2-Clause"
] | 5 | 2016-01-20T19:33:26.000Z | 2021-04-09T19:00:56.000Z | (******************************************************************************)
(* Copyright (c) 2013-2014 Armaël Guéneau. *)
(* See the file LICENSE for copying permission. *)
(****************************************************************************... | 32.335907 | 80 | 0.611701 |
f3a54d6b42303d49a9e72ddcbd096f09cdaef448 | 8,646 | ml | OCaml | src/core/displayTypes.ml | vonagam/haxe | cdbea08560c6c8946460d4b5f7e36667ce9d7216 | [
"MIT"
] | null | null | null | src/core/displayTypes.ml | vonagam/haxe | cdbea08560c6c8946460d4b5f7e36667ce9d7216 | [
"MIT"
] | null | null | null | src/core/displayTypes.ml | vonagam/haxe | cdbea08560c6c8946460d4b5f7e36667ce9d7216 | [
"MIT"
] | 1 | 2021-09-28T15:13:28.000Z | 2021-09-28T15:13:28.000Z | open Globals
open Path
open Ast
open Type
open Json
open Genjson
module SymbolKind = struct
type t =
| Class
| Interface
| Enum
| TypeAlias
| Abstract
| Field
| Property
| Method
| Constructor
| Function
| Variable
| Struct
| EnumAbstract
| Operator
| EnumMember
| Constant
| Module
... | 24.988439 | 110 | 0.6743 |
f372e1d4973c42d67bc5b010d4c4638346aeea81 | 233 | ml | OCaml | duniverse/cmdliner/test/revolt.ml | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 11 | 2020-11-25T14:23:49.000Z | 2021-07-22T07:45:09.000Z | duniverse/cmdliner/test/revolt.ml | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 4 | 2018-07-25T14:23:10.000Z | 2020-02-03T20:19:24.000Z | duniverse/cmdliner/test/revolt.ml | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 5 | 2018-12-07T14:17:13.000Z | 2020-09-27T07:10:52.000Z | (* Example from the documentation, this code is in public domain. *)
let revolt () = print_endline "Revolt!"
open Cmdliner
let revolt_t = Term.(const revolt $ const ())
let () = Term.(exit @@ eval (revolt_t, Term.info "revolt"))
| 23.3 | 68 | 0.682403 |
d2f58c8125903089451d84ebb9e691f780a00168 | 1,952 | ml | OCaml | libraries/rds/lib/describeReservedDBInstances.ml | UnrealAkama/ocaml-aws | 6947ff1acc4c911702d25b462bb6640cd70997d4 | [
"BSD-3-Clause"
] | null | null | null | libraries/rds/lib/describeReservedDBInstances.ml | UnrealAkama/ocaml-aws | 6947ff1acc4c911702d25b462bb6640cd70997d4 | [
"BSD-3-Clause"
] | null | null | null | libraries/rds/lib/describeReservedDBInstances.ml | UnrealAkama/ocaml-aws | 6947ff1acc4c911702d25b462bb6640cd70997d4 | [
"BSD-3-Clause"
] | null | null | null | open Types
open Aws
type input = DescribeReservedDBInstancesMessage.t
type output = ReservedDBInstanceMessage.t
type error = Errors_internal.t
let service = "rds"
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)... | 30.984127 | 99 | 0.57582 |
f3eb3fbc6ae6ff0aea7025eaccacdec12c429b38 | 13,160 | ml | OCaml | hphp/hack/src/server/fileOutline.ml | enjmusic/hhvm | 5e931f1beea84a609fbe71872a8f2101ee516d86 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/server/fileOutline.ml | enjmusic/hhvm | 5e931f1beea84a609fbe71872a8f2101ee516d86 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/server/fileOutline.ml | enjmusic/hhvm | 5e931f1beea84a609fbe71872a8f2101ee516d86 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | (*
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the "hack" directory of this source tree.
*
*)
open Core_kernel
open Reordered_argument_collections
open SymbolDefinition
open Aast
module Parser = Full_fidelity_... | 28.859649 | 115 | 0.674012 |
d2d7e2fc601b54175b5edf00d879556c28ead11c | 9,666 | ml | OCaml | src/lib_rpc_http/RPC_client_errors.ml | blockchain-app12/cuprumMainnet | 089174cfc4f8ebce45e61107d090a7933b8dc9cd | [
"MIT"
] | null | null | null | src/lib_rpc_http/RPC_client_errors.ml | blockchain-app12/cuprumMainnet | 089174cfc4f8ebce45e61107d090a7933b8dc9cd | [
"MIT"
] | null | null | null | src/lib_rpc_http/RPC_client_errors.ml | blockchain-app12/cuprumMainnet | 089174cfc4f8ebce45e61107d090a7933b8dc9cd | [
"MIT"
] | null | null | null | (*****************************************************************************)
(* *)
(* Open Source License *)
(* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
... | 37.176923 | 81 | 0.540865 |
f33b73c9bbe888e937c7dd73c70a2f37c44e7c0c | 113 | ml | OCaml | data/derived/comb/progs/unify/prog6807.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/prog1988.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog1988.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null |
let rec digitsOfInt n =
match n <= 0 with
| true -> []
| false -> ((digitsOfInt n) / 10) @ (n mod 10);;
| 18.833333 | 51 | 0.513274 |
f3c8e925d3344faf8aa9df9610398603bef7e77c | 9,957 | ml | OCaml | src/bin_node/node_storage_command.ml | zshipko/tezos | c097112b0c0f19d93a8de4cc379cf33de9e07355 | [
"MIT"
] | null | null | null | src/bin_node/node_storage_command.ml | zshipko/tezos | c097112b0c0f19d93a8de4cc379cf33de9e07355 | [
"MIT"
] | null | null | null | src/bin_node/node_storage_command.ml | zshipko/tezos | c097112b0c0f19d93a8de4cc379cf33de9e07355 | [
"MIT"
] | null | null | null | (*****************************************************************************)
(* *)
(* Open Source License *)
(* Copyright (c) 2020 Tarides <contact@tarides.com> *)
... | 39.200787 | 80 | 0.618259 |
d2fa43486bed8942b3fc6b17a6b223695fc95ce9 | 454 | mli | OCaml | lib/pastry/msg.mli | orbitz/ocaml-pastry | 9a31bf0328ae44b4130d729845119b5bf0413b36 | [
"BSD-3-Clause"
] | 1 | 2015-05-09T17:56:16.000Z | 2015-05-09T17:56:16.000Z | lib/pastry/msg.mli | orbitz/ocaml-pastry | 9a31bf0328ae44b4130d729845119b5bf0413b36 | [
"BSD-3-Clause"
] | null | null | null | lib/pastry/msg.mli | orbitz/ocaml-pastry | 9a31bf0328ae44b4130d729845119b5bf0413b36 | [
"BSD-3-Clause"
] | null | null | null | module Announce : sig
type 'a t = 'a Node.t
end
module Announce_resp : sig
type 'a t = ('a Node.t * 'a Router.t) list
end
module Node_state : sig
type 'a t = 'a Router.t
end
module Payload : sig
type t = { key : Key.t
; payload : string
}
end
module All : sig
type 'a t =
| Announce o... | 16.814815 | 44 | 0.601322 |
f3e735f0e8d5ed9add7b0c1918f96475613f0513 | 20,705 | ml | OCaml | test/test_fs_unix.ml | CraigFe/mirage-fs-unix | ed3f4fa0634be06c18a1a079d99d2e5f7d0cd360 | [
"ISC"
] | null | null | null | test/test_fs_unix.ml | CraigFe/mirage-fs-unix | ed3f4fa0634be06c18a1a079d99d2e5f7d0cd360 | [
"ISC"
] | null | null | null | test/test_fs_unix.ml | CraigFe/mirage-fs-unix | ed3f4fa0634be06c18a1a079d99d2e5f7d0cd360 | [
"ISC"
] | null | null | null | (*
* Copyright (c) 2015 Mindy Preston <mindy@somerandomidiot.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 PROVIDE... | 40.757874 | 93 | 0.682927 |
f33b7792d6da5c27ed2cc539802cce6ab8378564 | 8,093 | ml | OCaml | data/derived/comb/progs/unify/prog8461.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/prog3675.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog3675.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.692063 | 148 | 0.638947 |
f3ed11e30a6ebf24964c7d9c857fe1cb78041853 | 1,145 | mli | OCaml | libraries/ec2/lib/describeVpcEndpointServiceConfigurations.mli | anmonteiro/ocaml-aws | 81cc543a76731177f6d1be8953537297212030d8 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T19:12:04.000Z | 2020-05-21T19:12:04.000Z | libraries/ec2/lib/describeVpcEndpointServiceConfigurations.mli | anmonteiro/ocaml-aws | 81cc543a76731177f6d1be8953537297212030d8 | [
"BSD-3-Clause"
] | null | null | null | libraries/ec2/lib/describeVpcEndpointServiceConfigurations.mli | anmonteiro/ocaml-aws | 81cc543a76731177f6d1be8953537297212030d8 | [
"BSD-3-Clause"
] | null | null | null | (** "<p>Describes the VPC endpoint service configurations in your account (your services).</p>" *)
open Types[@@ocaml.warning "-33"]
open Aws.BaseTypes[@@ocaml.warning "-33"]
module DescribeVpcEndpointServiceConfigurationsRequest :
sig
type t =
{
dry_run: Boolean.t option ;
service_ids: ValueStringList.t ... | 36.935484 | 98 | 0.722271 |
d2d3ef2d40c2fba608269652b96ee67383e8e055 | 389 | ml | OCaml | benchmarks/C/nat/sol366.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | 9 | 2021-06-04T04:38:13.000Z | 2021-12-15T05:45:28.000Z | benchmarks/C/nat/sol366.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | null | null | null | benchmarks/C/nat/sol366.ml | kupl/LearnML | 933f6c61f8a24493e1c2c8acf5c93827ee190d2a | [
"MIT"
] | null | null | null | type nat = ZERO | SUCC of nat
let rec natadd : nat -> nat -> nat
= fun n1 n2 ->
match n1 with
| ZERO -> n2
| SUCC n1 -> natadd n1 (SUCC n2);;
let rec natmul : nat -> nat -> nat
= fun n1 n2 ->
match n1 with
| ZERO -> ZERO
| SUCC n1 -> natadd n2 (natmul n1 n2);;
let two = SUCC (SUCC ZERO);;
let thre... | 19.45 | 41 | 0.580977 |
d2e80983c14a927dbd4ebd943b02a854d6062637 | 1,595 | ml | OCaml | hphp/hack/src/typing/typing_requirements.ml | muglug/hhvm | fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2022-03-11T02:25:37.000Z | 2022-03-11T02:25:37.000Z | hphp/hack/src/typing/typing_requirements.ml | muglug/hhvm | fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/typing/typing_requirements.ml | muglug/hhvm | fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd | [
"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
module TUtils = Typing_utils
module Cls = Decl_provider.Class
(* Only applied to classes. Checks th... | 30.09434 | 78 | 0.661442 |
f3573a57200bdbdccba29d26bb9ff85e7ea1e36d | 350 | ml | OCaml | bootstrap/test/basis/option/test_first_some.ml | cevans87/Hemlock | 448c17ba6a59064820f3c15e50b13a0323ea1aa0 | [
"MIT"
] | 1 | 2021-08-13T04:54:39.000Z | 2021-08-13T04:54:39.000Z | bootstrap/test/basis/option/test_first_some.ml | cevans87/Hemlock | 448c17ba6a59064820f3c15e50b13a0323ea1aa0 | [
"MIT"
] | 1 | 2020-02-14T19:21:40.000Z | 2020-02-14T19:21:40.000Z | bootstrap/test/basis/option/test_first_some.ml | cevans87/Hemlock | 448c17ba6a59064820f3c15e50b13a0323ea1aa0 | [
"MIT"
] | null | null | null | open! Basis.Rudiments
open! Basis
open Option
open Format
let test () =
printf "@[<h>";
List.iter [Some 42L; None] ~f:(fun o0 ->
List.iter [Some 13L; None] ~f:(fun o1 ->
printf "first_some (%a) (%a) -> %a\n"
(pp Uns.pp) o0
(pp Uns.pp) o1
(pp Uns.pp) (first_some o0 o1)
)
);
... | 18.421053 | 44 | 0.525714 |
f3eda444cf4e64607837039b9e15b830d0c1cd3d | 127 | ml | OCaml | data/derived/comb/progs/unify/prog5526.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/prog0638.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog0638.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null |
let pipe fs = let f a x = x a in List.fold_left f (fun x -> x) fs;;
let _ = pipe [(fun x -> x + x); (fun x -> x + 3)] 3;;
| 25.4 | 68 | 0.480315 |
f3580e0bcdecf3af8a34a998add65ad0e8432bf8 | 4,505 | mli | OCaml | src/dune_engine/dune_project.mli | ddickstein/dune | 08d27d547f09d86cf5d7230f8a5cbe027708f979 | [
"MIT"
] | null | null | null | src/dune_engine/dune_project.mli | ddickstein/dune | 08d27d547f09d86cf5d7230f8a5cbe027708f979 | [
"MIT"
] | null | null | null | src/dune_engine/dune_project.mli | ddickstein/dune | 08d27d547f09d86cf5d7230f8a5cbe027708f979 | [
"MIT"
] | null | null | null | (** dune-project files *)
open! Stdune
open Import
module Name : sig
(** Invariants: - Named s -> s <> "" and s does not contain '.' or '/' -
Anonymous p -> p is a local path in the source tree *)
type t = private
| Named of string
| Anonymous of Path.Source.t
val to_dyn : t -> Dyn.t
val equal... | 26.040462 | 80 | 0.679245 |
f3ca12adc2644b5cde9406b81a1f8cd8780157cc | 226 | mli | OCaml | libraries/cloudtrail/lib/putInsightSelectors.mli | anuragsoni/ocaml-aws | 4acdbcdc95449e7c5f08528f472d25986dd4f8a2 | [
"BSD-3-Clause"
] | 134 | 2016-01-11T19:35:49.000Z | 2022-02-19T15:57:41.000Z | libraries/cloudtrail/lib/putInsightSelectors.mli | anuragsoni/ocaml-aws | 4acdbcdc95449e7c5f08528f472d25986dd4f8a2 | [
"BSD-3-Clause"
] | 66 | 2016-01-12T00:32:47.000Z | 2022-03-31T03:34:49.000Z | libraries/cloudtrail/lib/putInsightSelectors.mli | anuragsoni/ocaml-aws | 4acdbcdc95449e7c5f08528f472d25986dd4f8a2 | [
"BSD-3-Clause"
] | 33 | 2016-01-11T23:13:26.000Z | 2022-03-28T23:49:11.000Z | open Types
type input = PutInsightSelectorsRequest.t
type output = PutInsightSelectorsResponse.t
type error = Errors_internal.t
include
Aws.Call with type input := input and type output := output and type error := error
| 20.545455 | 85 | 0.778761 |
f34c097f6bfecf8d3c9e7b05b596a011066a1cb8 | 40,590 | ml | OCaml | lib/substitution.ml | 0x4287/pi4 | 740516e9eedac9f9a69d589e80b765d7c4fca375 | [
"Apache-2.0"
] | null | null | null | lib/substitution.ml | 0x4287/pi4 | 740516e9eedac9f9a69d589e80b765d7c4fca375 | [
"Apache-2.0"
] | null | null | null | lib/substitution.ml | 0x4287/pi4 | 740516e9eedac9f9a69d589e80b765d7c4fca375 | [
"Apache-2.0"
] | null | null | null | open Core_kernel
open Syntax
open Formula
open HeapType
open Result
open Expression
open Let_syntax
module Log = (val Logs.src_log Logging.substitution_src : Logs.LOG)
module FormulaId = struct
module T = struct
type t =
| Valid of int * Instance.t * bool (* x.τ.valid *)
| InstEqual of int * I... | 34.224283 | 131 | 0.535058 |
f3d19cbda1e66d17d8cdc147d0f9e636338ef56c | 8,750 | mli | OCaml | ag_pathanalysis/batteries/src/batRandom.mli | BambooL/AutoGrader | f537d396605d1b943137b1b964c5a2ebecbf2aca | [
"MIT"
] | 2 | 2019-12-05T19:47:42.000Z | 2021-05-05T13:41:16.000Z | ag_pathanalysis/batteries/src/batRandom.mli | BambooL/AutoGrader | f537d396605d1b943137b1b964c5a2ebecbf2aca | [
"MIT"
] | null | null | null | ag_pathanalysis/batteries/src/batRandom.mli | BambooL/AutoGrader | f537d396605d1b943137b1b964c5a2ebecbf2aca | [
"MIT"
] | 2 | 2021-04-20T07:44:02.000Z | 2021-04-20T08:38:41.000Z | (*
* BatRandom - Additional randomization operations
* Copyright (C) 1996 Damien Doligez
* 2008 David Teller
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | 35.425101 | 79 | 0.648229 |
f344f49af78c9d51c1ce6de8232b8a5ba7bf97ec | 3,363 | ml | OCaml | src/lib_store/test/test_protocol_store.ml | g302ge/tezos | 18cb82485b100aebef3b8e8fad6bdf6d426bb0a1 | [
"MIT"
] | null | null | null | src/lib_store/test/test_protocol_store.ml | g302ge/tezos | 18cb82485b100aebef3b8e8fad6bdf6d426bb0a1 | [
"MIT"
] | null | null | null | src/lib_store/test/test_protocol_store.ml | g302ge/tezos | 18cb82485b100aebef3b8e8fad6bdf6d426bb0a1 | [
"MIT"
] | null | null | null | (*****************************************************************************)
(* *)
(* Open Source License *)
(* Copyright (c) 2020 Nomadic Labs, <contact@nomadic-labs.com> *)
... | 46.708333 | 79 | 0.555754 |
f3eb0aa97ac8af7db890b97e34f78b68fb57941e | 2,423 | ml | OCaml | src/bits_intf.ml | nickdecr/hardcaml | b1222bf55c927fa0c9200388068662ac32bfe24d | [
"MIT"
] | null | null | null | src/bits_intf.ml | nickdecr/hardcaml | b1222bf55c927fa0c9200388068662ac32bfe24d | [
"MIT"
] | null | null | null | src/bits_intf.ml | nickdecr/hardcaml | b1222bf55c927fa0c9200388068662ac32bfe24d | [
"MIT"
] | null | null | null | open Base
module type Bits = sig
type t [@@deriving compare, sexp_of]
include Comb.S with type t := t
include Comparator.S with type t := t
(** The number of bytes used to represent the data in [t]. This excludes
any bytes used to represent any associated metadata.
*)
val number_of_data_bytes : t -... | 29.192771 | 78 | 0.552621 |
f3f57ff08c71c2c7d776e3ba84f85e32e2566cb1 | 13,464 | ml | OCaml | wall.ml | jordwalke/wall | 62a2a01ecf77de40cf1b4481d122c44aced5a019 | [
"BSD-3-Clause"
] | 1 | 2021-03-12T10:46:43.000Z | 2021-03-12T10:46:43.000Z | wall.ml | jordwalke/wall | 62a2a01ecf77de40cf1b4481d122c44aced5a019 | [
"BSD-3-Clause"
] | null | null | null | wall.ml | jordwalke/wall | 62a2a01ecf77de40cf1b4481d122c44aced5a019 | [
"BSD-3-Clause"
] | null | null | null | (*
Copyright (c) 2015 Frédéric Bour <frederic.bour@lakaban.net>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any pur... | 30.530612 | 132 | 0.564617 |
f3459de6bfed23068aa3388bba75c64ee3927f9c | 2,874 | ml | OCaml | tools/teerex/mouse/mouse2trx.ml | Machiaweliczny/oppailang | 60ddea53e56babcc1e8954b5585150098b0e4d88 | [
"MIT"
] | 643 | 2015-01-02T23:57:37.000Z | 2022-03-18T18:50:24.000Z | tools/teerex/mouse/mouse2trx.ml | Machiaweliczny/oppailang | 60ddea53e56babcc1e8954b5585150098b0e4d88 | [
"MIT"
] | 52 | 2015-01-17T07:26:16.000Z | 2021-03-08T14:16:08.000Z | tools/teerex/mouse/mouse2trx.ml | Machiaweliczny/oppailang | 60ddea53e56babcc1e8954b5585150098b0e4d88 | [
"MIT"
] | 58 | 2015-01-02T23:57:42.000Z | 2022-03-02T12:44:42.000Z | (*
Copyright © 2011 MLstate
This file is part of Opa.
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... | 39.369863 | 464 | 0.665275 |
f3f3217879fbd5ba4f465de6db4907c09f196102 | 12,268 | mli | OCaml | src/core/CCArrayLabels.mli | bbc2/ocaml-containers | bfaffc5c39cdb1c1c5a4e6e10f01c07ce5835907 | [
"BSD-2-Clause"
] | 403 | 2015-03-04T09:50:16.000Z | 2022-03-31T07:15:26.000Z | src/core/CCArrayLabels.mli | bbc2/ocaml-containers | bfaffc5c39cdb1c1c5a4e6e10f01c07ce5835907 | [
"BSD-2-Clause"
] | 326 | 2015-01-01T06:30:20.000Z | 2022-03-23T13:02:47.000Z | src/core/CCArrayLabels.mli | bbc2/ocaml-containers | bfaffc5c39cdb1c1c5a4e6e10f01c07ce5835907 | [
"BSD-2-Clause"
] | 92 | 2015-01-10T22:07:33.000Z | 2022-01-25T17:03:55.000Z | (* This file is free software, part of containers. See file "license" for more details. *)
(** {1 Array utils} *)
type 'a iter = ('a -> unit) -> unit
(** Fast internal iterator.
@since 2.8 *)
type 'a gen = unit -> 'a option
type 'a equal = 'a -> 'a -> bool
type 'a ord = 'a -> 'a -> int
type 'a random_gen = Rando... | 38.578616 | 110 | 0.597408 |
f3f8fdd448ac6bd39647138ea54d41405d3e40c5 | 1,554 | ml | OCaml | source/interprocedural_analyses/taint/metrics.ml | zhuang-93/pyre-check | 460b4c7bd81b152f386d6867c963564e1b20f19c | [
"MIT"
] | 1 | 2021-05-17T23:13:52.000Z | 2021-05-17T23:13:52.000Z | source/interprocedural_analyses/taint/metrics.ml | zhuang-93/pyre-check | 460b4c7bd81b152f386d6867c963564e1b20f19c | [
"MIT"
] | 1 | 2021-08-16T12:11:37.000Z | 2021-08-16T12:11:37.000Z | source/interprocedural_analyses/taint/metrics.ml | zhuang-93/pyre-check | 460b4c7bd81b152f386d6867c963564e1b20f19c | [
"MIT"
] | 1 | 2021-05-13T13:30:24.000Z | 2021-05-13T13:30:24.000Z | (*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open Ast
let register_alarm callback = Sys.signal Sys.sigalrm (Sys.Signal_handle callback)
let start_alarm time = ignore (Unix.al... | 27.263158 | 84 | 0.673102 |
f3c7771a735367ea7043701016f15d67a84ff911 | 285 | ml | OCaml | test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/experimental/garrigue/variable-names.ml | dauletisataev/form-ppx | caa4311ab58b171950dce74def61133830d4740c | [
"MIT"
] | 9 | 2017-08-30T23:00:52.000Z | 2021-02-25T23:08:55.000Z | test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/experimental/garrigue/variable-names.ml | dauletisataev/form-ppx | caa4311ab58b171950dce74def61133830d4740c | [
"MIT"
] | null | null | null | test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/experimental/garrigue/variable-names.ml | dauletisataev/form-ppx | caa4311ab58b171950dce74def61133830d4740c | [
"MIT"
] | 1 | 2022-03-31T19:50:33.000Z | 2022-03-31T19:50:33.000Z | let f (x : < a:int; .. > as 'me1) = (x : < b:bool; .. > as 'me2);;
let f (x : < a:int; .. > as 'me1) = (x : < a:int; b:bool; .. > as 'me2);;
let f (x : [> `A of int] as 'me1) = (x : [> `B of bool] as 'me2);;
let f (x : [> `A of int] as 'me1) = (x : [`A of int | `B of 'me2] as 'me2);;
| 57 | 76 | 0.410526 |
f344d85d980d976f12ac91e6787a5b149dd0ee6c | 358 | mli | OCaml | CPU/ver2/compiler/new-mc/memAlloc.mli | yoshi-ki/BACHELOR | 65d01c62ab2ea4a6d2616a6b6c535bd4f1645630 | [
"MIT"
] | null | null | null | CPU/ver2/compiler/new-mc/memAlloc.mli | yoshi-ki/BACHELOR | 65d01c62ab2ea4a6d2616a6b6c535bd4f1645630 | [
"MIT"
] | null | null | null | CPU/ver2/compiler/new-mc/memAlloc.mli | yoshi-ki/BACHELOR | 65d01c62ab2ea4a6d2616a6b6c535bd4f1645630 | [
"MIT"
] | null | null | null | open KNormal
type data_t = I of int | F of float | IL of Id.t | FL of Id.t
type t = A of Id.l * int * data_t | T of Id.l * data_t list
type meminfo_t = { addr : int; tp : Type.t }
type memtbl_t = meminfo_t H.t
val lookup_addr : memtbl_t -> Id.l -> int
val lookup_tp : memtbl_t -> Id.l -> Type.t
val f : out_channe... | 22.375 | 61 | 0.639665 |
f38f994f065f566f49af0acda387636db1d22054 | 7,864 | ml | OCaml | data/derived/comb/progs/unify/prog7312.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/prog2500.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog2500.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.301003 | 148 | 0.690361 |
af056961915453f8945edeb22b99183d947ee7f6 | 143 | mli | OCaml | src/consensus/model/object_color.mli | bendiken/consensus | e03328ef1f0056b58e4ffe181a279a1dc776e094 | [
"Unlicense"
] | 2 | 2015-09-23T19:18:50.000Z | 2015-09-24T21:08:13.000Z | src/consensus/model/object_shape.mli | bendiken/consensus | e03328ef1f0056b58e4ffe181a279a1dc776e094 | [
"Unlicense"
] | 3 | 2015-09-24T20:38:41.000Z | 2015-09-26T21:26:49.000Z | src/consensus/model/object_shape.mli | bendiken/consensus | e03328ef1f0056b58e4ffe181a279a1dc776e094 | [
"Unlicense"
] | null | null | null | (* This is free and unencumbered software released into the public domain. *)
open Prelude
type t =
| Unknown
val to_string : t -> string
| 15.888889 | 77 | 0.713287 |
f389949c2f6727952d8cd0bfb968f50802a1fe70 | 4,182 | ml | OCaml | burst/src/EnumerativeVerifier.ml | VictorYYW/BurstArtifactEvaluation | b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc | [
"MIT"
] | 2 | 2022-02-17T02:18:55.000Z | 2022-03-02T22:54:52.000Z | burst/src/EnumerativeVerifier.ml | VictorYYW/BurstArtifactEvaluation | b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc | [
"MIT"
] | null | null | null | burst/src/EnumerativeVerifier.ml | VictorYYW/BurstArtifactEvaluation | b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc | [
"MIT"
] | 1 | 2021-12-06T23:14:05.000Z | 2021-12-06T23:14:05.000Z | open MyStdLib
open Lang
module T = struct
let _NUM_CHECKS_ = 4096
let _MAX_SIZE_ = 32
let num_nothing = ref 0
module TypeToGeneratorDict =
struct
module Generators =
struct
type t = Expr.t Sequence.t
[@@deriving ord]
let hash _ = failwith "dont"
let hash_fold_t _ = failwith... | 27.333333 | 169 | 0.516738 |
f3a44703a78e4e1ad1f9897d9ec02757892f2c50 | 20,537 | ml | OCaml | data/derived/comb/progs/unify/prog5293.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/prog0386.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog0386.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXX... | 33.124194 | 208 | 0.641622 |
f3b1a079727a58420930034f1ae0ef08e509b80a | 4,054 | ml | OCaml | src/ast/analyzing/common/GIDfragment.ml | mstmhsmt/cca | 0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a | [
"Apache-2.0"
] | null | null | null | src/ast/analyzing/common/GIDfragment.ml | mstmhsmt/cca | 0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a | [
"Apache-2.0"
] | null | null | null | src/ast/analyzing/common/GIDfragment.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... | 21.225131 | 75 | 0.586581 |
d2dc63b2a2394b1f1a2ca0e10ca5efb69718b57f | 5,076 | ml | OCaml | projection/project_context.ml | tsuyoshi2/Galax | 8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8 | [
"LPL-1.02"
] | 3 | 2016-05-03T23:32:16.000Z | 2019-07-04T10:29:09.000Z | projection/project_context.ml | tsuyoshi2/Galax | 8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8 | [
"LPL-1.02"
] | 1 | 2016-05-10T09:10:16.000Z | 2016-05-10T09:10:16.000Z | projection/project_context.ml | tsuyoshi2/Galax | 8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8 | [
"LPL-1.02"
] | 2 | 2019-05-08T16:29:48.000Z | 2020-02-20T21:44:11.000Z | (***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* ... | 34.530612 | 93 | 0.689322 |
d2ee053aeab9283d818ad64609ab7be0afd32754 | 264 | ml | OCaml | camlp4/code/ast_map.ml | mgttlinger/ocaml-book | 09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75 | [
"BSD-3-Clause"
] | 142 | 2015-01-12T16:45:40.000Z | 2022-01-15T00:47:37.000Z | camlp4/code/ast_map.ml | mgttlinger/ocaml-book | 09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75 | [
"BSD-3-Clause"
] | 1 | 2018-10-09T13:53:43.000Z | 2018-12-03T04:15:48.000Z | camlp4/code/ast_map.ml | mgttlinger/ocaml-book | 09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75 | [
"BSD-3-Clause"
] | 17 | 2015-02-10T18:12:15.000Z | 2021-06-21T06:57:32.000Z | type a =
| A of b
| C
and b =
| B of a
| D
class map = Camlp4MapGenerator.generated
let _ =
let v = object
inherit map as super
method! b x = match super#b x with
| D -> B C
| x -> x
end in
assert (v#b D = B (C))
| 11 | 40 | 0.492424 |
f3154b8e052513fb50d4e62d4b6415fa0d72572e | 1,937 | mli | OCaml | src/ordered_set_lang.mli | bluddy/dune | a0fc548eb65e9a11165f4a86bba609fa0b71a1be | [
"MIT"
] | null | null | null | src/ordered_set_lang.mli | bluddy/dune | a0fc548eb65e9a11165f4a86bba609fa0b71a1be | [
"MIT"
] | null | null | null | src/ordered_set_lang.mli | bluddy/dune | a0fc548eb65e9a11165f4a86bba609fa0b71a1be | [
"MIT"
] | null | null | null | (** [Ordered_set_lang.t] is a sexp-based representation for an ordered list of strings,
with some set like operations. *)
open Import
type t
val t : t Sexp.Of_sexp.t
(** Return the location of the set. [loc standard] returns [None] *)
val loc : t -> Loc.t option
(** Value parsed from elements in the DSL *)
modu... | 25.155844 | 88 | 0.647393 |
f3d2a25eaf284a86afff55597984a80f93033dce | 13,913 | ml | OCaml | src/main.ml | UnixJunkie/obuild | 731c6cd27a1f951459e264e541a20b2dc2129963 | [
"BSD-2-Clause"
] | null | null | null | src/main.ml | UnixJunkie/obuild | 731c6cd27a1f951459e264e541a20b2dc2129963 | [
"BSD-2-Clause"
] | null | null | null | src/main.ml | UnixJunkie/obuild | 731c6cd27a1f951459e264e541a20b2dc2129963 | [
"BSD-2-Clause"
] | null | null | null | open Printf
open Ext.Fugue
open Ext.Filepath
open Ext
open Obuild.Types
open Obuild.Helper
open Obuild.Gconf
open Obuild
let programName = "obuild"
let usageStr cmd = "\nusage: " ^ programName ^ " " ^ cmd ^ " <options>\n\noptions:\n"
let read_setup () =
FindlibConf.load ();
let setup = Dist.read_setup () in
(* ... | 40.444767 | 155 | 0.584705 |
f3e67da7037f6d094769131d5e49cc8e9cffa20a | 229 | ml | OCaml | lib/signal.ml | tov/shcaml | 43ae852a00e3a11520f90f2451baa71863409774 | [
"MIT"
] | 50 | 2015-01-30T17:10:43.000Z | 2021-11-20T16:35:01.000Z | lib/signal.ml | tov/shcaml | 43ae852a00e3a11520f90f2451baa71863409774 | [
"MIT"
] | 8 | 2015-01-03T12:41:32.000Z | 2019-08-16T18:25:12.000Z | lib/signal.ml | tov/shcaml | 43ae852a00e3a11520f90f2451baa71863409774 | [
"MIT"
] | 7 | 2016-04-03T22:41:25.000Z | 2020-08-20T00:33:28.000Z | open Util
exception Signal of int
let signal_protect which ?(exn = Signal which) thunk =
let old = Sys.signal which (Sys.Signal_handle (fun _ -> raise exn)) in
unwind_protect thunk (fun _ -> ignore @@ Sys.signal which old)
| 28.625 | 72 | 0.720524 |
af026b9ee23f1b5411940de9ef80b933b3783176 | 308 | mli | OCaml | src/dune/gen_rules.mli | progman1/dune | e937feef4fb03d83bd551489420a557a5a6fc1c0 | [
"MIT"
] | 4 | 2020-02-04T15:33:29.000Z | 2020-02-04T21:37:09.000Z | src/dune/gen_rules.mli | samoht/dune-mirage | bb2300c1859c452a4140fa33e3afb3c6b755350c | [
"MIT"
] | null | null | null | src/dune/gen_rules.mli | samoht/dune-mirage | bb2300c1859c452a4140fa33e3afb3c6b755350c | [
"MIT"
] | null | null | null | open! Stdune
open! Import
(* Generate rules. Returns evaluated Dune files per context names. *)
val gen :
contexts:Context.t list
-> ?external_lib_deps_mode:bool (* default: false *)
-> ?only_packages:Package.t Package.Name.Map.t
-> Dune_load.conf
-> Super_context.t Context_name.Map.t Fiber.t
| 28 | 69 | 0.720779 |
f378043429ffc74021adf85242428a09c5189fcc | 15,194 | ml | OCaml | meneame/src/topics/megam_0.92/cg.ml | albertfdp/dtu-data-mining | 62946de30c85d90c7006dfaf884a88b05d34744c | [
"Apache-2.0"
] | null | null | null | meneame/src/topics/megam_0.92/cg.ml | albertfdp/dtu-data-mining | 62946de30c85d90c7006dfaf884a88b05d34744c | [
"Apache-2.0"
] | null | null | null | meneame/src/topics/megam_0.92/cg.ml | albertfdp/dtu-data-mining | 62946de30c85d90c7006dfaf884a88b05d34744c | [
"Apache-2.0"
] | 2 | 2016-06-08T19:54:42.000Z | 2021-02-27T03:53:10.000Z | open Array
open Util
open Data
open Fastdot
module A = Arry
let useBias = ref true
let b2f = function 0 -> -1. | 1 -> 1. | x -> failwith ("b2f: " ^ string_of_int x)
let computeBeta gold uold g =
(*
let _J = A1.dim g in
let rec computeNumerator j acc =
if j >= _J then acc else
computeNumerator (j+1) (ac... | 34.610478 | 209 | 0.555022 |
d2e8bdf64a71d07d8b6d493580aeff4981305508 | 18,066 | ml | OCaml | x86/proofs/bignum_deamont_p384.ml | SalusaSecondus/s2n-bignum | bf33aba81577a72924a9add994cba61fbb146026 | [
"Apache-2.0"
] | 33 | 2021-03-11T16:12:01.000Z | 2022-03-06T17:01:18.000Z | x86/proofs/bignum_deamont_p384.ml | SalusaSecondus/s2n-bignum | bf33aba81577a72924a9add994cba61fbb146026 | [
"Apache-2.0"
] | 8 | 2021-09-06T12:58:47.000Z | 2022-01-03T16:43:09.000Z | x86/proofs/bignum_deamont_p384.ml | SalusaSecondus/s2n-bignum | bf33aba81577a72924a9add994cba61fbb146026 | [
"Apache-2.0"
] | 4 | 2021-03-11T19:28:16.000Z | 2021-12-12T23:40:44.000Z | (*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "LICENSE" file ... | 52.063401 | 155 | 0.536367 |
f3fcc3b150b91162675caa83b0fbf623e26923cf | 333 | ml | OCaml | src/html/odoc_html.ml | odis-labs/odoc | f0551b17f48bcbded11f6b89b989464a82fc9a56 | [
"0BSD"
] | 2 | 2022-03-03T01:38:24.000Z | 2022-03-03T01:54:36.000Z | src/html/odoc_html.ml | odis-labs/odoc | f0551b17f48bcbded11f6b89b989464a82fc9a56 | [
"0BSD"
] | 1 | 2021-11-08T19:54:28.000Z | 2021-11-08T19:54:28.000Z | src/html/odoc_html.ml | odis-labs/odoc | f0551b17f48bcbded11f6b89b989464a82fc9a56 | [
"0BSD"
] | 1 | 2022-03-02T19:35:36.000Z | 2022-03-02T19:35:36.000Z | module Tree = Tree
module Comment = Comment
module Targets = Targets
module Generator =
struct
module ML = ML
module Reason = Reason
end
(* Exposed as an unstable public API for third-party packages to "hack" on, see
https://github.com/ocaml/odoc/pull/252
https://github.com/ocaml/odoc/issues/236. *)
modu... | 20.8125 | 79 | 0.720721 |
f30b0ce2745c76ab79d775bb978f0bf3e17876d9 | 24,852 | ml | OCaml | src/parser/parser.ml | rlepigre/pml | 0c13a9834f79fcec97db9b8358dcbda1e0feb992 | [
"MIT"
] | 15 | 2017-12-22T12:10:16.000Z | 2021-12-17T18:31:08.000Z | src/parser/parser.ml | rlepigre/pml | 0c13a9834f79fcec97db9b8358dcbda1e0feb992 | [
"MIT"
] | 36 | 2017-11-01T16:27:45.000Z | 2020-02-08T09:43:31.000Z | src/parser/parser.ml | rlepigre/pml | 0c13a9834f79fcec97db9b8358dcbda1e0feb992 | [
"MIT"
] | 1 | 2019-07-18T22:03:24.000Z | 2019-07-18T22:03:24.000Z | (** Main parsing module. This module defines an [Earley] parser for the
language. *)
open Earley_core
open Earley
open Extra
open Pos
open Output
open Bindlib
open Typing
open Raw
open Priority
(** Exception raised in case of parse error. *)
exception No_parse of pos
exception Check_failed of Ast.prop * bool * A... | 32.025773 | 77 | 0.528046 |
f3ccab6fe263167a8d168ff14505752dac28a75c | 117,669 | ml | OCaml | hphp/hack/src/hackfmt/hack_format.ml | jmurret/hhvm | f005fa3ca2793291cf59e217db3e9ce074d22f71 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2020-01-17T02:24:38.000Z | 2020-01-17T02:24:38.000Z | hphp/hack/src/hackfmt/hack_format.ml | jmurret/hhvm | f005fa3ca2793291cf59e217db3e9ce074d22f71 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/hackfmt/hack_format.ml | jmurret/hhvm | f005fa3ca2793291cf59e217db3e9ce074d22f71 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | (*
* Copyright (c) 2018, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the "hack" directory of this source tree.
*
*)
open Core_kernel
module Env = Format_env
module SourceText = Full_fidelity_source_text
module Syntax = Full_fidelity... | 32.923615 | 98 | 0.561541 |
f357edfd8d292390a7c5706a737eb51e94bc16d4 | 15,436 | ml | OCaml | src/ir_commit.ml | emillon/irmin | a1c7f534b68b966b2e4e98b6d6f791a7269ea309 | [
"0BSD"
] | 2 | 2015-11-16T15:49:16.000Z | 2018-05-16T23:09:46.000Z | src/ir_commit.ml | emillon/irmin | a1c7f534b68b966b2e4e98b6d6f791a7269ea309 | [
"0BSD"
] | 5 | 2019-02-11T18:28:15.000Z | 2020-11-18T15:25:06.000Z | src/ir_commit.ml | emillon/irmin | a1c7f534b68b966b2e4e98b6d6f791a7269ea309 | [
"0BSD"
] | 1 | 2019-06-26T08:18:29.000Z | 2019-06-26T08:18:29.000Z | (*
* 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... | 34.68764 | 89 | 0.5837 |
f320384aee0cdaba73e7e4f6d7c0c804cf751fc9 | 54,462 | ml | OCaml | src/main/interpreter/interpreter.ml | ligolang/ligo-mirror | 8b491cbb5830071a8ef691f80148382eac1b2937 | [
"MIT"
] | null | null | null | src/main/interpreter/interpreter.ml | ligolang/ligo-mirror | 8b491cbb5830071a8ef691f80148382eac1b2937 | [
"MIT"
] | null | null | null | src/main/interpreter/interpreter.ml | ligolang/ligo-mirror | 8b491cbb5830071a8ef691f80148382eac1b2937 | [
"MIT"
] | null | null | null | open Simple_utils.Trace
open Simple_utils
open Ligo_interpreter.Types
open Ligo_interpreter.Combinators
include Ast_typed.Types
module Env = Ligo_interpreter.Environment
module Monad = Execution_monad
type interpreter_error = Errors.interpreter_error
let check_value value =
let open Monad in
match value with
| ... | 54.083416 | 268 | 0.609177 |
f376bdb54f70c8430cc9cbcb49c388ca9d6316b1 | 1,274 | ml | OCaml | infer/src/concurrency/ConcurrencyUtils.ml | Static-Analysis-Tools/infer | 2a920fc3e510384b51daad9e4e81ff7c6785ab4f | [
"MIT"
] | 14,499 | 2015-06-11T16:00:28.000Z | 2022-03-31T23:43:54.000Z | infer/src/concurrency/ConcurrencyUtils.ml | Static-Analysis-Tools/infer | 2a920fc3e510384b51daad9e4e81ff7c6785ab4f | [
"MIT"
] | 1,529 | 2015-06-11T16:55:30.000Z | 2022-03-27T15:59:46.000Z | infer/src/concurrency/ConcurrencyUtils.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.
*)
open! IStd
let get_java_class_initializer_summary_of {InterproceduralAnalysis.proc_desc; analyze_dependency} =
let procname = Pro... | 39.8125 | 99 | 0.72449 |
f3069ec28bf79f74a89b60bec50eb0b99aa25a0a | 1,342 | mli | OCaml | eval/sherrloc/easyocaml++/otherlibs/labltk/frx/frx_mem.mli | ucsd-progsys/nate | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | 9 | 2017-08-30T23:00:52.000Z | 2021-02-25T23:08:55.000Z | src/ocaml-3.12.0/otherlibs/labltk/frx/frx_mem.mli | mzp/coq-for-ipad | 4fb3711723e2581a170ffd734e936f210086396e | [
"MIT"
] | null | null | null | src/ocaml-3.12.0/otherlibs/labltk/frx/frx_mem.mli | mzp/coq-for-ipad | 4fb3711723e2581a170ffd734e936f210086396e | [
"MIT"
] | 1 | 2022-03-31T19:50:33.000Z | 2022-03-31T19:50:33.000Z | (***********************************************************************)
(* *)
(* MLTk, Tcl/Tk interface of Objective Caml *)
(* *)
(* Francois Rouaix, F... | 58.347826 | 75 | 0.416542 |
f3115122ff07adc799f1e06ed1b687c703e58681 | 3,504 | mll | OCaml | CSS_Lexer.mll | EchoTeam/ocaml-html-sanitizer | 6198b40ea8dbdb89bfe3a58629106f1266f0f2d6 | [
"BSD-2-Clause"
] | 4 | 2018-07-26T15:55:43.000Z | 2021-09-15T02:10:45.000Z | CSS_Lexer.mll | EchoTeam/ocaml-html-sanitizer | 6198b40ea8dbdb89bfe3a58629106f1266f0f2d6 | [
"BSD-2-Clause"
] | null | null | null | CSS_Lexer.mll | EchoTeam/ocaml-html-sanitizer | 6198b40ea8dbdb89bfe3a58629106f1266f0f2d6 | [
"BSD-2-Clause"
] | 2 | 2021-02-09T11:31:43.000Z | 2021-09-15T02:10:48.000Z | (*s A CSS 2.1 lexer, closely matching one at http://www.w3.org/TR/CSS21/grammar.html\#scanner *)
{
open CSS_Parser
}
let az = ['a' - 'z' 'A' - 'Z']
let h = ['0'-'9' 'a' - 'f' 'A' - 'F']
let stnrf = [ ' ' '\t' '\n' '\r' '\x0c' ]
let nl = '\n'|'\r' '\n'|'\r'|'\x0c'
let nonascii = ['\x80' - '\xff']
let unicode = '\... | 29.694915 | 116 | 0.446918 |
f3a31bca082d3e394e2d752d19078b15e15f8700 | 912 | mli | OCaml | vendor/virtual_dom/src/attrs.mli | chambart/memtrace_viewer_with_deps | 3ab670c89c934e445a1f470a2cc70c3bb17c0d20 | [
"MIT"
] | 8 | 2020-09-16T01:37:52.000Z | 2021-12-17T03:01:18.000Z | vendor/virtual_dom/src/attrs.mli | chambart/memtrace_viewer_with_deps | 3ab670c89c934e445a1f470a2cc70c3bb17c0d20 | [
"MIT"
] | 2 | 2020-11-02T15:17:31.000Z | 2021-01-08T10:29:59.000Z | vendor/virtual_dom/src/attrs.mli | chambart/memtrace_viewer_with_deps | 3ab670c89c934e445a1f470a2cc70c3bb17c0d20 | [
"MIT"
] | 5 | 2020-10-08T13:26:18.000Z | 2021-12-17T03:02:23.000Z | (** A collection of CSS attributes. *)
open Base
type t = Attr.t list
(** [merge_classes_and_styles] groups together the class attributes and style attributes
from the given list into a single style and class attribute, e.g.:
[ class="foo"; style="color:blue"; class="bar"; id="id"; style="margin:30px;" ]
... | 32.571429 | 88 | 0.671053 |
d2fd5ed038aedbf14819cecb16d4d6fbffa59dac | 40,674 | ml | OCaml | src/analyses/mCP.ml | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | null | null | null | src/analyses/mCP.ml | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | 27 | 2021-07-01T17:00:28.000Z | 2021-07-08T13:12:32.000Z | src/analyses/mCP.ml | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | null | null | null | (** Master Control Program *)
open Prelude.Ana
open GobConfig
open Analyses
module QuerySet = Set.Make (Queries.Any)
type spec_modules = { spec : (module MCPSpec)
; dom : (module Lattice.S)
; glob : (module Lattice.S)
; cont : (module Printable.S) }
let a... | 39.915604 | 171 | 0.542435 |
f394bca6e8e0f0afc41713c6e985666c24802738 | 5,323 | ml | OCaml | src/test/repl_test.ml | tezos-checker/ligo | a7fa6d848e09ca546331df827caa48b2d7925dff | [
"MIT"
] | null | null | null | src/test/repl_test.ml | tezos-checker/ligo | a7fa6d848e09ca546331df827caa48b2d7925dff | [
"MIT"
] | null | null | null | src/test/repl_test.ml | tezos-checker/ligo | a7fa6d848e09ca546331df827caa48b2d7925dff | [
"MIT"
] | null | null | null | open Test_helpers
open Trace
let dry_run_options = Proto_alpha_utils.Memory_proto_alpha.make_options ()
let init_state_cameligo = Repl.make_initial_state
Ligo_compile.Helpers.CameLIGO
Environment.Protocols.Edo
false dry_run_options
le... | 30.591954 | 88 | 0.498779 |
f3ef957be37f1c91e44649778988eb03fef6b014 | 139 | ml | OCaml | data/derived/comb/progs/unify/prog2268.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/prog2268.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/sp14/progs/unify/prog2268.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' = true then wwhile (f, b') else b';;
let fixpoint (f,b) = wwhile (((f b) <> b), b);;
| 23.166667 | 65 | 0.503597 |
f3085e294d7b626c7676675cefb974e1accf925d | 13,009 | ml | OCaml | hphp/hack/src/stubs/logging/hackEventLogger.ml | ianhoffman/hhvm | decc4e479e0e689c65f936f0828cb761d34075b1 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/stubs/logging/hackEventLogger.ml | ianhoffman/hhvm | decc4e479e0e689c65f936f0828cb761d34075b1 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/stubs/logging/hackEventLogger.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.
*
*)
module PerFileProfilingConfig = struct
type profile_decling =
| DeclingOff
| DeclingTopCounts
| Declin... | 20.748006 | 80 | 0.705435 |
f34041caf7c794e46bb3aa5d3af0632eec369cf1 | 168 | ml | OCaml | data/derived/comb/progs/unify/prog5760.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/prog0885.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog0885.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null |
let stringOfList f l =
match l with
| [] -> ""
| h::t ->
let f a x = (string_of_int a) ^ x in
let base = h in let l = t in List.fold_left f base l;;
| 21 | 60 | 0.52381 |
f372875c445bae055db8e61fcc64c521b1254800 | 16,483 | ml | OCaml | src/proto_alpha/lib_protocol/main.ml | daachi/tezos | 00118e91ff13bb54ff658907ed8ffc1c4d3d2266 | [
"MIT"
] | null | null | null | src/proto_alpha/lib_protocol/main.ml | daachi/tezos | 00118e91ff13bb54ff658907ed8ffc1c4d3d2266 | [
"MIT"
] | null | null | null | src/proto_alpha/lib_protocol/main.ml | daachi/tezos | 00118e91ff13bb54ff658907ed8ffc1c4d3d2266 | [
"MIT"
] | null | null | null | (*****************************************************************************)
(* *)
(* Open Source License *)
(* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
... | 37.891954 | 80 | 0.665716 |
f3f5ac11486151103f78d53d1f1460fdf6b386fe | 4,518 | ml | OCaml | src/char.ml | sangwoo-joh/base | 25e68e4a33c8339d95cb7e89485410d9be7f8771 | [
"MIT"
] | 4 | 2021-02-14T20:13:50.000Z | 2021-03-13T03:24:44.000Z | src/char.ml | sangwoo-joh/base | 25e68e4a33c8339d95cb7e89485410d9be7f8771 | [
"MIT"
] | null | null | null | src/char.ml | sangwoo-joh/base | 25e68e4a33c8339d95cb7e89485410d9be7f8771 | [
"MIT"
] | null | null | null | open! Import
module Array = Array0
module String = String0
include Char0
module T = struct
type t = char [@@deriving_inline compare, hash, sexp, sexp_grammar]
let compare = (compare_char : t -> t -> int)
let (hash_fold_t : Ppx_hash_lib.Std.Hash.state -> t -> Ppx_hash_lib.Std.Hash.state) =
hash_fold_char
... | 26.892857 | 91 | 0.638557 |
f3a31dd8355de8a670c9204c527ff1af66832ec7 | 32,938 | ml | OCaml | src/parsing/parsing_service_js.ml | comp615/flow | 7d24be3b20f995133b91500fe1b5294606f4b442 | [
"MIT"
] | null | null | null | src/parsing/parsing_service_js.ml | comp615/flow | 7d24be3b20f995133b91500fe1b5294606f4b442 | [
"MIT"
] | null | null | null | src/parsing/parsing_service_js.ml | comp615/flow | 7d24be3b20f995133b91500fe1b5294606f4b442 | [
"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 Sedlexing = Flow_sedlexing
module Ast = Flow_ast
open Utils_js
open Sys_utils
type result =
| Parse_ok of {
ast: (L... | 36.638487 | 103 | 0.65092 |
f3017bbb2158532185ec02ebee6dcbdaf49a2313 | 38 | mli | OCaml | flickr/conf.mli | camlspotter/ocamltter | a9b5b2780408760e4debba5f2a5dfd753d6967db | [
"MIT"
] | null | null | null | flickr/conf.mli | camlspotter/ocamltter | a9b5b2780408760e4debba5f2a5dfd753d6967db | [
"MIT"
] | null | null | null | flickr/conf.mli | camlspotter/ocamltter | a9b5b2780408760e4debba5f2a5dfd753d6967db | [
"MIT"
] | null | null | null | include OCamltter_oauth.Oauth_ex.Conf
| 19 | 37 | 0.894737 |
f3eca28dd9e3d54137f4488b3519ae0a1277d9ae | 1,048 | mli | OCaml | src/GeneralSemantics/Val.mli | proglang/JaVerT2.0 | 982ece931cfc30b7558e9079bd79d5212ac70b80 | [
"BSD-3-Clause"
] | 21 | 2019-02-06T19:16:12.000Z | 2021-03-02T16:45:24.000Z | src/GeneralSemantics/Val.mli | proglang/JaVerT2.0 | 982ece931cfc30b7558e9079bd79d5212ac70b80 | [
"BSD-3-Clause"
] | 1 | 2020-04-03T15:46:46.000Z | 2020-09-21T13:11:18.000Z | src/GeneralSemantics/Val.mli | proglang/JaVerT2.0 | 982ece931cfc30b7558e9079bd79d5212ac70b80 | [
"BSD-3-Clause"
] | 2 | 2018-12-21T21:56:22.000Z | 2020-04-22T20:03:43.000Z | (** Interface for JSIL Values *)
module type M =
sig
(** Type of JSIL values *)
type t
(** Type of substitutions for JSIL values *)
type st
(** Printer *)
val str : t -> string
val full_str : t -> string
(** Convert a value to a literal, if possible *)
val to_literal : t -... | 26.871795 | 94 | 0.612595 |
f3d69910f9a4c5815af235f5eb9d0e754bd5ca1a | 1,219 | ml | OCaml | optimizations/lib/fftw-3.3.4/genfft/unique.ml | albertsgrc/ftdock-opt | 3361d1f18bf529958b78231fdcf139b1c1c1f232 | [
"MIT"
] | 8 | 2015-04-30T07:53:21.000Z | 2018-09-13T22:06:40.000Z | optimizations/lib/fftw-3.3.4/genfft/unique.ml | albertsgrc/ftdock-opt | 3361d1f18bf529958b78231fdcf139b1c1c1f232 | [
"MIT"
] | 61 | 2017-04-02T05:50:44.000Z | 2017-11-22T02:32:43.000Z | optimizations/lib/fftw-3.3.4/genfft/unique.ml | albertsgrc/ftdock-opt | 3361d1f18bf529958b78231fdcf139b1c1c1f232 | [
"MIT"
] | 9 | 2017-08-20T00:06:46.000Z | 2021-09-23T06:50:15.000Z | (*
* Copyright (c) 1997-1999 Massachusetts Institute of Technology
* Copyright (c) 2003, 2007-14 Matteo Frigo
* Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... | 31.25641 | 81 | 0.71452 |
f34a115b243b3c370825ab8e38833c4929fd1beb | 8,525 | ml | OCaml | src/state/heaps/context/context_heaps.ml | TrionFlow/flow | c7450137a1b0897c558fff6ed3f06fc46ddf76d3 | [
"MIT"
] | 1 | 2019-05-17T11:06:58.000Z | 2019-05-17T11:06:58.000Z | src/state/heaps/context/context_heaps.ml | TrionFlow/flow | c7450137a1b0897c558fff6ed3f06fc46ddf76d3 | [
"MIT"
] | null | null | null | src/state/heaps/context/context_heaps.ml | TrionFlow/flow | c7450137a1b0897c558fff6ed3f06fc46ddf76d3 | [
"MIT"
] | null | null | null | (**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open Utils_js
(****************** shared context heap *********************)
module SigContextHeap = SharedMem_js.WithCache (Sha... | 33.964143 | 99 | 0.724575 |
d2d4acafb23d21c94b472f93a7cd4698b9a8ac51 | 1,602 | ml | OCaml | src/incremental/git.ml | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | 2 | 2021-04-15T17:38:12.000Z | 2021-06-17T10:09:04.000Z | src/incremental/git.ml | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | 27 | 2021-07-01T17:00:28.000Z | 2021-07-08T13:12:32.000Z | src/incremental/git.ml | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | null | null | null | open Unix
let buff_size = 1024
let execProgram (program: string) (callArray : string array) =
let git_in = openfile "/dev/null" [O_RDONLY] 0o640 in
let (fd_in, fd_out) = pipe () in
let args = callArray in
(* git should output to fdin *)
let _ = create_process program args git_in fd_out fd_out in
close fd_... | 31.411765 | 117 | 0.686017 |
af019ebabee64b26b8cba36a8682bfeb4af7a664 | 1,753 | ml | OCaml | hphp/hack/test/integration_ml/ide/test_ide_status.ml | sepatus/sepatus | 48ae001f2082a5335d64b2567941a8271153de05 | [
"PHP-3.01",
"Zend-2.0"
] | 2 | 2019-09-01T19:40:10.000Z | 2019-10-18T13:30:30.000Z | hphp/hack/test/integration_ml/ide/test_ide_status.ml | sepatus/sepatus | 48ae001f2082a5335d64b2567941a8271153de05 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2018-12-16T15:39:15.000Z | 2018-12-16T15:39:16.000Z | hphp/hack/test/integration_ml/ide/test_ide_status.ml | sepatus/sepatus | 48ae001f2082a5335d64b2567941a8271153de05 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2018-11-17T04:11:10.000Z | 2018-11-17T04:11:10.000Z | (**
* Copyright (c) 2016, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the "hack" directory of this source tree.
*
*
*)
module Test = Integration_test_base
let foo_name = "foo.php"
let foo_takes_int_contents = "<?hh // strict
func... | 27.825397 | 76 | 0.714775 |
f3ed5c2a05fa0b38a24bbca150df26f254483a73 | 29,554 | ml | OCaml | src/irmin-pack/inode.ml | TheLortex/irmin | ce58b43e54b1a57d66bbd5ff37f1a2d4edd086bf | [
"0BSD"
] | null | null | null | src/irmin-pack/inode.ml | TheLortex/irmin | ce58b43e54b1a57d66bbd5ff37f1a2d4edd086bf | [
"0BSD"
] | null | null | null | src/irmin-pack/inode.ml | TheLortex/irmin | ce58b43e54b1a57d66bbd5ff37f1a2d4edd086bf | [
"0BSD"
] | null | null | null | (*
* Copyright (c) 2013-2019 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... | 32.299454 | 80 | 0.541111 |
f3a65fb08adcaa87d43f4f61ddf35a39e3d0c034 | 20,448 | mli | OCaml | infer/src/IR/Typ.mli | kuailenanhai/infer | 74d3ab7684873f3a0599ff401fc11349a051e9ba | [
"MIT"
] | null | null | null | infer/src/IR/Typ.mli | kuailenanhai/infer | 74d3ab7684873f3a0599ff401fc11349a051e9ba | [
"MIT"
] | null | null | null | infer/src/IR/Typ.mli | kuailenanhai/infer | 74d3ab7684873f3a0599ff401fc11349a051e9ba | [
"MIT"
] | null | null | null | (*
* Copyright (c) 2009-2013, Monoidics ltd.
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(** The Smallfoot Intermediate Language: Types *)
open! IStd
module F = Format
(** Kinds of ... | 30.841629 | 130 | 0.658549 |
f3f2d2297be43932556b1d5166c8f0f78ee8e522 | 2,255 | mli | OCaml | src/UnionFind.mli | dwarfmaster/inferno | 22dd1de71bd330aa96f14305d4ff13298f62b0a0 | [
"MIT"
] | null | null | null | src/UnionFind.mli | dwarfmaster/inferno | 22dd1de71bd330aa96f14305d4ff13298f62b0a0 | [
"MIT"
] | null | null | null | src/UnionFind.mli | dwarfmaster/inferno | 22dd1de71bd330aa96f14305d4ff13298f62b0a0 | [
"MIT"
] | null | null | null | (******************************************************************************)
(* *)
(* Inferno *)
(* ... | 49.021739 | 80 | 0.506874 |
af04e25031e95fc779d79778c6275dee3f128b8b | 86 | ml | OCaml | data/derived/comb/progs/unify/prog5236.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/prog0328.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog0328.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null |
let rec digitsOfInt n =
if n < 0 then [] else ((digitsOfInt n) / 10) :: (n % 10);;
| 21.5 | 60 | 0.546512 |
f386ff2fe28596d879afc573bdded7d34d399ee6 | 10,181 | ml | OCaml | progress.ml | kensand/TypeSoundnessCertifier | fdebc954d6c859ecdd2ccfd80304245273253cc8 | [
"MIT"
] | null | null | null | progress.ml | kensand/TypeSoundnessCertifier | fdebc954d6c859ecdd2ccfd80304245273253cc8 | [
"MIT"
] | null | null | null | progress.ml | kensand/TypeSoundnessCertifier | fdebc954d6c859ecdd2ccfd80304245273253cc8 | [
"MIT"
] | null | null | null | open Topo
open Batteries
open Option
open Aux
open TypedLanguage
open Ldl
open ListManagement
open ListLemmas
open Proof
open CanonicalForms
open GenerateLambdaProlog
let dynamicSemantics = "step"
let toE i = "E" ^ (string_of_int i)
let toPrgsE i = "PrgsE" ^ (string_of_int i)
let toTypeOfE i = "TypeOfE" ^ (string_of_i... | 72.205674 | 272 | 0.758963 |
f3c56a0af34b55bdad8ab1d9864246ff161c85ab | 1,650 | mli | OCaml | lib/functoria/install.mli | TheLortex/mirage | 14207fa4f218666c1d09feda4c76350c333976b8 | [
"0BSD"
] | 1 | 2019-06-21T11:36:06.000Z | 2019-06-21T11:36:06.000Z | lib/functoria/install.mli | TheLortex/mirage | 14207fa4f218666c1d09feda4c76350c333976b8 | [
"0BSD"
] | 1 | 2021-05-01T14:13:41.000Z | 2021-05-03T09:09:44.000Z | lib/functoria/install.mli | TheLortex/mirage | 14207fa4f218666c1d09feda4c76350c333976b8 | [
"0BSD"
] | null | null | null | (*
* Copyright (c) 2013-2020 Thomas Gazagnaire <thomas@gazagnaire.org>
* Copyright (c) 2013-2020 Anil Madhavapeddy <anil@recoil.org>
* Copyright (c) 2015-2020 Gabriel Radanne <drupyog@zoho.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby grante... | 38.372093 | 79 | 0.704242 |
d2e3a35c191d7e5bb9db7dfdde99ff8b4c6d8c09 | 8,572 | ml | OCaml | data/derived/comb/progs/unify/prog8019.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/prog3226.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog3226.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.5387 | 148 | 0.675105 |
f3fd11c5fd607098bc67716b7471e48e6ab3d350 | 353 | ml | OCaml | data/derived/comb/progs/unify/prog2180.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/prog2180.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/sp14/progs/unify/prog2180.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null |
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));;
let padZero l1 l2 =
let length1 = List.fold_left (fun acc -> fun x -> acc + 1) 0 l1 in
let length2 = List.fold_left (fun acc -> fun x -> acc + 1) 0 l2 in
if length1 < length2
then clone (length2 - length1) 0
else if length2 < length1 th... | 35.3 | 70 | 0.611898 |
f3f5917975db1a16f09f439be58a237087cb83d4 | 106,262 | ml | OCaml | src/syntax.ml | input-output-hk/qeditas-egal | e34fd2cd6d4a33081b457bb8832135f9c75734e3 | [
"MIT"
] | 5 | 2017-03-08T19:34:28.000Z | 2021-09-01T22:55:14.000Z | src/syntax.ml | input-output-hk/qeditas-egal | e34fd2cd6d4a33081b457bb8832135f9c75734e3 | [
"MIT"
] | null | null | null | src/syntax.ml | input-output-hk/qeditas-egal | e34fd2cd6d4a33081b457bb8832135f9c75734e3 | [
"MIT"
] | 2 | 2019-03-24T20:04:07.000Z | 2020-06-22T23:09:57.000Z | (* Copyright (c) 2014 Chad E Brown *)
(* Copyright (c) 2015 The Qeditas developers *)
(* Distributed under the MIT software license, see the accompanying
file COPYING or http://www.opensource.org/licenses/mit-license.php. *)
(*** File: syntax.ml ***)
(*** Chad E. Brown ***)
(*** Jan 18 2014 ***)
open Big_int
let ... | 33.144729 | 290 | 0.609729 |
f32ace355cad9b50f7dd60a441a6df2c98b7c84f | 49 | mli | OCaml | hg/rev.mli | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | hg/rev.mli | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | hg/rev.mli | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | include module type of struct include Hg.Rev end
| 24.5 | 48 | 0.816327 |
af0927837858f5b8afdac3b37cf7c0097c11bf55 | 13,235 | mli | OCaml | hg/hg.mli | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | hg/hg.mli | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | hg/hg.mli | Rjected/iron | dfb106cb82abf5d16e548d4ee4f419d0994d3644 | [
"Apache-2.0"
] | null | null | null | open! Core
open! Async
open! Import
(** A 40-char hg node id, which uniquely identifies a revision. *)
module Node_hash : sig
(** The first 12 characters of a node hash. We prefer to use the full 40-char node id,
but hydra only has the 12-char hash. *)
module First_12 : sig
type t [@@deriving sexp_of]
... | 27.28866 | 90 | 0.666339 |
f36ac6b39abeeb6441393bb84145f05e57e73101 | 3,711 | ml | OCaml | dependencies/lowparse/LowParse_SLow_IfThenElse.ml | secure-foundations/vWasm | 6d9340c94cf0aa39be4173051fc8eeea373bd183 | [
"BSD-3-Clause"
] | null | null | null | dependencies/lowparse/LowParse_SLow_IfThenElse.ml | secure-foundations/vWasm | 6d9340c94cf0aa39be4173051fc8eeea373bd183 | [
"BSD-3-Clause"
] | null | null | null | dependencies/lowparse/LowParse_SLow_IfThenElse.ml | secure-foundations/vWasm | 6d9340c94cf0aa39be4173051fc8eeea373bd183 | [
"BSD-3-Clause"
] | null | null | null | open Prims
let (parse32_ifthenelse :
LowParse_Spec_IfThenElse.parse_ifthenelse_param ->
(LowParse_SLow_Base.bytes32 ->
(Obj.t * FStar_UInt32.t) FStar_Pervasives_Native.option)
->
(Obj.t -> Prims.bool) ->
(Prims.bool ->
LowParse_SLow_Base.bytes32 ->
(Obj.t * FStar... | 36.742574 | 76 | 0.46214 |
f3b14171679f5a4bac5b8cce5444c679446c3143 | 2,296 | ml | OCaml | examples/example_2.ml | maiste/equinoxe | a96bbc2d5acf8ed9f832d2465f0c00057d0c23c8 | [
"MIT"
] | 16 | 2021-12-21T18:33:52.000Z | 2022-01-06T15:59:02.000Z | examples/example_2.ml | maiste/equinoxe | a96bbc2d5acf8ed9f832d2465f0c00057d0c23c8 | [
"MIT"
] | 24 | 2021-12-22T14:27:25.000Z | 2022-03-28T12:43:58.000Z | examples/example_2.ml | maiste/equinoxe | a96bbc2d5acf8ed9f832d2465f0c00057d0c23c8 | [
"MIT"
] | 1 | 2022-01-12T10:31:19.000Z | 2022-01-12T10:31:19.000Z | (*****************************************************************************)
(* Open Source License *)
(* Copyright (c) 2021-present Étienne Marais <etienne@maiste.fr> *)
(* *)
... | 52.181818 | 79 | 0.522648 |
af0ee2bfdb7fe3c36859ff3345d0daf3655ae1ce | 1,374 | ml | OCaml | src/crc.ml | acatton/fork--janestreet--core | c125d07001e8a15a3b705e783e3da7e8e6413f25 | [
"Apache-2.0"
] | null | null | null | src/crc.ml | acatton/fork--janestreet--core | c125d07001e8a15a3b705e783e3da7e8e6413f25 | [
"Apache-2.0"
] | null | null | null | src/crc.ml | acatton/fork--janestreet--core | c125d07001e8a15a3b705e783e3da7e8e6413f25 | [
"Apache-2.0"
] | null | null | null | open! Import
external crc32 : string -> Int63.t = "core_crc_string_crc32"
external unsafe_bigstring_crc32 : Bigstring.t -> pos:int -> len:int -> Int63.t
= "core_crc_bigstring_crc32"
let bigstring_crc32 bstr ~pos ~len =
let length = Bigstring.length bstr in
Ordered_collection_common.check_pos_len_exn ~pos ~len ~... | 31.227273 | 86 | 0.651383 |
f3ca13808b8446bef4e16a859f0a2d7c25009c20 | 2,415 | mli | OCaml | test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/debugger/checkpoints.mli | dauletisataev/form-ppx | caa4311ab58b171950dce74def61133830d4740c | [
"MIT"
] | 20 | 2019-07-19T15:10:09.000Z | 2021-12-11T22:10:23.000Z | test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/debugger/checkpoints.mli | dauletisataev/form-ppx | caa4311ab58b171950dce74def61133830d4740c | [
"MIT"
] | null | null | null | test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/debugger/checkpoints.mli | dauletisataev/form-ppx | caa4311ab58b171950dce74def61133830d4740c | [
"MIT"
] | 2 | 2019-07-19T11:47:44.000Z | 2021-09-30T16:15:24.000Z | (**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* ... | 40.25 | 76 | 0.477847 |
f3f12307b7076d77df8ef51a2d2979b50caadfaf | 666 | ml | OCaml | data/derived/comb/progs/unify/prog3969.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/prog3969.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/sp14/progs/unify/prog3969.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null |
let rec clone x n =
match n with | 0 -> [] | a -> if a < 0 then [] else (clone x (n - 1)) @ [x];;
let padZero l1 l2 =
if (List.length l1) > (List.length l2)
then (l1, (List.append (clone 0 ((List.length l1) - (List.length l2))) l2))
else ((List.append (clone 0 ((List.length l2) - (List.length l1))) l1), l2);;... | 33.3 | 79 | 0.573574 |
af050b2208490f76b9d5b0daeede3a54a0dac9ba | 2,640 | mli | OCaml | bymc/src/poset.mli | konnov/bymc | 3cbd7416308f52a1737b544c11648dcba3a8c063 | [
"BSD-3-Clause"
] | 18 | 2017-07-13T21:56:26.000Z | 2022-01-31T06:16:13.000Z | bymc/src/poset.mli | konnov/bymc | 3cbd7416308f52a1737b544c11648dcba3a8c063 | [
"BSD-3-Clause"
] | null | null | null | bymc/src/poset.mli | konnov/bymc | 3cbd7416308f52a1737b544c11648dcba3a8c063 | [
"BSD-3-Clause"
] | 5 | 2017-06-14T09:47:59.000Z | 2021-08-30T15:49:00.000Z | (**
Operations on partially-ordered sets.
We generate all linearizations of a poset using the following algorithm:
E. Rodney Canfield, S. Gill Williamson. A loop-free algorithm for
generating the linear extensions of a poset, 1995, Volume 12,
Issue 1, pp 57-75.
@author Igor Konnov, 2016
*)
exceptio... | 24.444444 | 76 | 0.678788 |
d2e55964db16c8eddff454f0c12ca1d76d918e5b | 671 | mli | OCaml | src/json_channel.mli | stevebleazard/ocaml-json-of-jsonm | 595b90e19c5399316fcd013aa9ad6a2df48a3d73 | [
"MIT"
] | 7 | 2018-02-03T12:26:16.000Z | 2021-06-23T11:47:36.000Z | src/json_channel.mli | stevebleazard/ocaml-json-of-jsonm | 595b90e19c5399316fcd013aa9ad6a2df48a3d73 | [
"MIT"
] | 2 | 2018-02-11T16:43:30.000Z | 2018-02-11T17:06:07.000Z | src/json_channel.mli | stevebleazard/ocaml-json-of-jsonm | 595b90e19c5399316fcd013aa9ad6a2df48a3d73 | [
"MIT"
] | 1 | 2018-02-03T11:04:57.000Z | 2018-02-03T11:04:57.000Z | module Json_of_channel : Json_of_jsonm_monad.Json_encoder_decoder
with type 'a IO.t = 'a
type json = Json_of_channel.json
(** [json_of_channel] - decode a text stream from [in_channel] to a [json] type *)
val json_of_channel : in_channel -> (json, string) result
(** [json_of_channel_exn] - the same as [json_of_cha... | 39.470588 | 82 | 0.737705 |
f3d8416fa3725602ba2e40cdc374f0c6853815f6 | 122 | ml | OCaml | tester/testUtil.ml | pirapira/eth-isabelle | d0bb02b3e64a2046a7c9670545d21f10bccd7b27 | [
"Apache-2.0"
] | 252 | 2016-10-09T22:47:05.000Z | 2022-03-26T16:48:10.000Z | tester/testUtil.ml | mmalvarez/eth-isabelle | 9c0091f7f24f0e1a36061f0f7f56bf4341da172c | [
"Apache-2.0"
] | 352 | 2016-10-11T10:28:54.000Z | 2018-07-18T01:24:08.000Z | tester/testUtil.ml | pirapira/eth-isabelle | d0bb02b3e64a2046a7c9670545d21f10bccd7b27 | [
"Apache-2.0"
] | 42 | 2017-01-06T23:56:33.000Z | 2021-04-02T08:47:05.000Z | let to_list_allow_null (j : Yojson.Basic.json) =
if j = Yojson.Basic.(`Null) then []
else Yojson.Basic.Util.to_list j
| 30.5 | 48 | 0.704918 |
f30987ae11d4a988419abe324c889b499c468295 | 1,867 | mli | OCaml | ocaml-sources/middle_end/flambda/simplify_boxed_integer_ops_intf.mli | Naereen/ocaml-mots-cles-en-francais | 77b1d41e3277d0356e676330f2284b8c01ba14ee | [
"MIT"
] | 2 | 2021-03-03T15:31:36.000Z | 2021-03-05T16:01:39.000Z | ocaml-sources/middle_end/flambda/simplify_boxed_integer_ops_intf.mli | Naereen/ocaml-mots-cles-en-francais | 77b1d41e3277d0356e676330f2284b8c01ba14ee | [
"MIT"
] | 2 | 2021-03-03T16:08:23.000Z | 2021-03-03T19:31:03.000Z | ocaml-sources/middle_end/flambda/simplify_boxed_integer_ops_intf.mli | Naereen/ocaml-mots-cles-en-francais | 77b1d41e3277d0356e676330f2284b8c01ba14ee | [
"MIT"
] | null | null | null | (**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* ... | 40.586957 | 76 | 0.40707 |
f3bd94368727162a08376ce5609aab5a63d00fca | 3,213 | ml | OCaml | hphp/hack/src/server/serverArgs_sig.ml | Wilfred/hhvm | 87cea12a34ec7edb94111be6bfb9458aac7b1997 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2022-02-10T10:48:39.000Z | 2022-02-10T10:48:39.000Z | hphp/hack/src/server/serverArgs_sig.ml | Wilfred/hhvm | 87cea12a34ec7edb94111be6bfb9458aac7b1997 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/server/serverArgs_sig.ml | Wilfred/hhvm | 87cea12a34ec7edb94111be6bfb9458aac7b1997 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | (*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the "hack" directory of this source tree.
*
*)
module Abstract_types = struct
type options
end
module type S = sig
include module type of Abstract_types
include modu... | 26.775 | 80 | 0.57423 |
af0eb4533cea27c4d4bfc91b7d78d8833e6d06bf | 494 | ml | OCaml | tests/benchmarks_call/r_type/first/enc-zip_map.ml | LinerSu/DART_IT | 2bdd046f912d761278ee7387f487a2809053220e | [
"BSD-3-Clause"
] | 7 | 2020-06-12T09:32:16.000Z | 2020-10-05T09:04:07.000Z | tests/benchmarks_call/r_type/first/enc-zip_map.ml | nyu-acsys/drift2 | 2bdd046f912d761278ee7387f487a2809053220e | [
"BSD-3-Clause"
] | null | null | null | tests/benchmarks_call/r_type/first/enc-zip_map.ml | nyu-acsys/drift2 | 2bdd046f912d761278ee7387f487a2809053220e | [
"BSD-3-Clause"
] | 2 | 2021-04-05T12:25:11.000Z | 2021-05-14T09:31:24.000Z |
let rec loop (lx:unit) = loop lx
let rec zip (x:int) (y:int) =
if x = 0 then
if y = 0 then 0
else loop () (* Dead END! *)
else if y = 0 then loop () (* Dead END! *)
else 1 + zip (x - 1) (y - 1)
let rec map (mx:int) =
if mx = 0 then 0 else 1 + map (mx - 1)
let main_p (n:int) =
if n >= 0 then assert(... | 19 | 43 | 0.518219 |
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.