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
8ae372cb4ae045109476524393a047cbcf39ce94
2,508
mli
OCaml
otherlibs/dune-rpc/private/exported_types.mli
CallumMoseley/dune
f3564db95e776f94d3cfcbb1f529f28c8c3b1197
[ "MIT" ]
null
null
null
otherlibs/dune-rpc/private/exported_types.mli
CallumMoseley/dune
f3564db95e776f94d3cfcbb1f529f28c8c3b1197
[ "MIT" ]
null
null
null
otherlibs/dune-rpc/private/exported_types.mli
CallumMoseley/dune
f3564db95e776f94d3cfcbb1f529f28c8c3b1197
[ "MIT" ]
1
2021-06-16T19:59:32.000Z
2021-06-16T19:59:32.000Z
(** Types exposed to end-user consumers of [dune_rpc.mli]. *) module Loc : sig type t = Stdune.Loc.t = { start : Lexing.position ; stop : Lexing.position } val start : t -> Lexing.position val stop : t -> Lexing.position val sexp : (t, Conv.values) Conv.t end module Target : sig type t = ...
16.392157
61
0.573365
8a5b0f687930dfa15bafdd97295b7a5e759bf740
32,840
ml
OCaml
hphp/hack/src/decl/decl_folded_class.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_folded_class.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_folded_class.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "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 used to declare class type...
33.751285
87
0.673021
8a6c5a441f07d23b26961d0918665f101c117ca4
16,333
ml
OCaml
src/irmin-unix/resolver.ml
AntouanK/test-irmin
07c8378acb835281d0fd2e4f492b84b0fc3b5588
[ "0BSD" ]
null
null
null
src/irmin-unix/resolver.ml
AntouanK/test-irmin
07c8378acb835281d0fd2e4f492b84b0fc3b5588
[ "0BSD" ]
null
null
null
src/irmin-unix/resolver.ml
AntouanK/test-irmin
07c8378acb835281d0fd2e4f492b84b0fc3b5588
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2013-2017 Thomas Gazagnaire <thomas@gazagnaire.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDE...
31.349328
81
0.599155
8acffdef4a7cc7199ffc97f7184060ba690d0503
264
ml
OCaml
result/func/iter/sub14/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/func/iter/sub14/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/func/iter/sub14/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let iter ((n : int), (f : 'a -> 'a)) : 'b -> 'a = let rec iter_sub ((m : int), (g : 'b -> 'a), (f' : 'a -> 'a)) : 'b -> 'a = if m = 0 then fun __s9 -> __s9 else if m = 1 then g else iter_sub (m - 1, fun x -> (f' (g x), f')) in iter_sub (n, f, f)
33
76
0.412879
440b1c8217cb26361851f470e498c00218140cd2
1,195
ml
OCaml
2017/hw1/test1.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
36
2017-09-18T07:34:58.000Z
2021-04-12T10:51:15.000Z
2017/hw1/test1.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
4
2019-09-10T07:21:43.000Z
2019-09-19T11:07:31.000Z
2017/hw1/test1.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
4
2017-09-28T11:37:48.000Z
2022-03-07T03:08:30.000Z
(* Exercise 1. merge *) open Ex1 open Testlib module TestEx1: TestEx = struct type testcase = | MERGE of int list * int list * int list let testcases: testcase list = [ MERGE ([3;2;1], [6;5;4], [6;5;4;3;2;1]) ; MERGE ([-1;-2;-3;-4;-5], [5;3;0;-6], [5;3;0;-1;-2;-3;-4;-5;-6]) ; MERGE (...
31.447368
131
0.512134
8ae3d1e6f187e6cf119eae81f37469639d66a1da
7,285
mli
OCaml
src/lib_rpc/RPC_directory.mli
Shikanime/Tezos
3f4be780d80337454518b7fed424520c1a0a5c3c
[ "MIT" ]
1
2021-11-03T08:21:08.000Z
2021-11-03T08:21:08.000Z
src/lib_rpc/RPC_directory.mli
Shikanime/Tezos
3f4be780d80337454518b7fed424520c1a0a5c3c
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/lib_rpc/RPC_directory.mli
Ngoguey42/tezos
68f0f84ed58f3c72b1bf3e732d8ee385461a2d14
[ "MIT" ]
4
2021-04-27T15:00:34.000Z
2021-09-26T21:50:01.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
32.234513
79
0.496637
443e5469edbebbad4cac9c964e81ea3153686f16
562
mli
OCaml
src/item_marker.mli
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
4
2015-03-14T10:53:27.000Z
2020-09-12T01:13:00.000Z
src/item_marker.mli
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
null
null
null
src/item_marker.mli
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
null
null
null
open Oif_lib type t (** the type of item marker *) val equal : t -> t -> bool (** [equal v1 v2] is equal [v1] and [v2] *) val empty : t (** [empty] get instance of [t] *) val is_empty : t -> bool (** [is_empty t] get empty or not [t] *) val toggle_mark : Candidate.t -> t -> t (** [toggle_mark candidate t] toggle m...
24.434783
71
0.626335
8a5d0cb22ee480776538a6b97b7675cd60186ef9
3,711
ml
OCaml
src/proto_alpha/lib_protocol/test/test_helpers_rpcs.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/test_helpers_rpcs.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/test_helpers_rpcs.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs, <contact@nomadic-labs.com> *) ...
53.014286
93
0.56831
442f5bcaed7f61c4cc5575639659c4185d7a45f4
7,116
ml
OCaml
src/kernel/dot_merlin.ml
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
null
null
null
src/kernel/dot_merlin.ml
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
null
null
null
src/kernel/dot_merlin.ml
art-w/merlin
7d34d0af1749d27deb6a47bdf5b4d0796528905a
[ "MIT" ]
null
null
null
(* {{{ COPYING *( This file is part of Merlin, an helper for ocaml editors Copyright (C) 2013 - 2014 Frédéric Bour <frederic.bour(_)lakaban.net> Thomas Refis <refis.thomas(_)gmail.com> Simon Castellan <simon.castellan(_)iuwt.fr> Permission is hereby...
34.047847
88
0.658657
8adccfa71344a093c6ca8d0fa17d9d3ae9fb2fe8
7,126
ml
OCaml
src/lib/pickles/intf.ml
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
2
2020-11-14T20:16:02.000Z
2021-08-19T12:44:52.000Z
src/lib/pickles/intf.ml
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
11
2021-09-02T10:10:36.000Z
2022-02-27T08:56:41.000Z
src/lib/pickles/intf.ml
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Pickles_types open Import module Sponge_lib = Sponge module Snarkable = struct module type S1 = sig type _ t val typ : ('var, 'value, 'f) Snarky.Typ.t -> ('var t, 'value t, 'f) Snarky.Typ.t end module type S2 = sig type (_, _) t val typ : ('var1, 'value1, '...
23.287582
79
0.553186
4404082fe9839f7b454d5f165a6f504a8504da3e
1,478
ml
OCaml
src/server_types.ml
mseri/comby
bb8a9de5a5812ef799f8a3787b8b44c6da6fc8d1
[ "Apache-2.0" ]
1
2021-03-28T22:59:18.000Z
2021-03-28T22:59:18.000Z
src/server_types.ml
deepanprabhu/comby
df1491cb9609a0a921a0d1f72745c176f6462c06
[ "Apache-2.0" ]
null
null
null
src/server_types.ml
deepanprabhu/comby
df1491cb9609a0a921a0d1f72745c176f6462c06
[ "Apache-2.0" ]
null
null
null
open Core open Comby open Match module In = struct type substitution_request = { rewrite_template : string [@key "rewrite"] ; environment : Environment.t ; id : int } [@@deriving yojson] type match_request = { source : string ; match_template : string [@key "match"] ; rule : string ...
19.447368
55
0.612314
8a2f88c343ed2fc1535a6cec5dd459fd60545156
8,270
ml
OCaml
src/base/pedersen.ml
tyler-smith/snarky
d929a483ad4eca9029231dc4355cb7ef553b973b
[ "MIT" ]
null
null
null
src/base/pedersen.ml
tyler-smith/snarky
d929a483ad4eca9029231dc4355cb7ef553b973b
[ "MIT" ]
null
null
null
src/base/pedersen.ml
tyler-smith/snarky
d929a483ad4eca9029231dc4355cb7ef553b973b
[ "MIT" ]
null
null
null
open Core_kernel open Bitstring_lib open Tuple_lib let local_function ~negate quad (b0, b1, b2) = let t = Quadruple.get quad (Four.of_bits_lsb (b0, b1)) in if b2 then negate t else t module Make (Impl : Snark_intf.S) (Weierstrass_curve : sig type var = Impl.Field.Var.t * Impl.Field.Var.t type t [...
29.119718
105
0.583434
8ac7d32a11f615b8b548c94c538348f901c2383e
615
ml
OCaml
duniverse/yojson/test/test_write.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
130
2018-11-23T15:50:19.000Z
2022-03-24T15:05:42.000Z
duniverse/yojson/test/test_write.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
57
2018-11-22T22:13:08.000Z
2022-03-23T21:55:34.000Z
duniverse/yojson/test/test_write.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
28
2018-11-22T21:49:50.000Z
2022-03-04T21:13:58.000Z
let to_string () = Alcotest.(check string) __LOC__ Fixtures.json_string (Yojson.Safe.to_string Fixtures.json_value) let to_file () = let output_file = Filename.temp_file "test_yojson_to_file" ".json" in Yojson.Safe.to_file output_file Fixtures.json_value; let file_content = let ic = open_in output_file in ...
29.285714
98
0.739837
8ae8df2f34015c19c6862d4de1bd4b924b0b3de2
9,095
mli
OCaml
src/lib.mli
Khady/dune
9afd3d215759f65d52c74def6992b2771def3363
[ "MIT" ]
1
2018-09-14T10:47:11.000Z
2018-09-14T10:47:11.000Z
src/lib.mli
nandor/shmap
6a730de81a1e8568a61ac0f53af3aebabde8e58b
[ "MIT" ]
null
null
null
src/lib.mli
nandor/shmap
6a730de81a1e8568a61ac0f53af3aebabde8e58b
[ "MIT" ]
null
null
null
open Import (** {1 Generals} *) (** Representation of a library *) type t (** For libraries defined in the workspace, this is the [public_name] if present or the [name] if not. *) val name : t -> string (* CR-someday diml: this should be [Path.t list], since some libraries have multiple source directories be...
26.286127
78
0.616712
444134ae3cce38d72e95a53f31fde2c0fa70fbf9
1,279
ml
OCaml
data/fa15/repaired/rite/0159.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/repaired/rite/0159.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15/repaired/rite/0159.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec wwhile = fun (f , b) -> match f b with | (x , false) -> x | (y , true) -> wwhile (f , y) let fixpoint = fun (f , b) -> (let __var_1__ = fun __var_2__ -> __var_2__ in (b , (b , true))) (* -------------------------------------- *) let rec wwhile = fun (f , b) -> match f b...
17.520548
65
0.426896
8af2e9eae35e2a108c4f43123f9d536f6c09c53a
1,217
ml
OCaml
src/config.ml
j3fsantos/IFlowJaVerT
c9ecdda52dd284c14a8e314ff806f8ce3d96c5a8
[ "BSD-3-Clause" ]
null
null
null
src/config.ml
j3fsantos/IFlowJaVerT
c9ecdda52dd284c14a8e314ff806f8ce3d96c5a8
[ "BSD-3-Clause" ]
null
null
null
src/config.ml
j3fsantos/IFlowJaVerT
c9ecdda52dd284c14a8e314ff806f8ce3d96c5a8
[ "BSD-3-Clause" ]
null
null
null
(* ./src/config.ml * * Copyright (C) 2016 Imperial College London * All rights reserved. * * This software is distributed under the BSD license. * See the LICENSE file for details. *) open Localconfig open Xml exception UnknownConfigParameter let logic_dirs = ref [] let smt_path = ref "" let smt_enabled = ref...
27.044444
95
0.647494
443bd84749573362ecc3a25515e01e3747af7f48
1,048
mli
OCaml
duniverse/core_kernel/src/univ.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/core_kernel/src/univ.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/core_kernel/src/univ.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(** An extensible "universal" variant type. Every type id ([Type_equal.Id.t]) corresponds to one branch of the variant type. *) open! Import type t [@@deriving sexp_of] val type_id_name : t -> string val type_id_uid : t -> Type_equal.Id.Uid.t val create : 'a Type_equal.Id.t -> 'a -> t (** [does_match t id] ret...
30.823529
90
0.663168
8a9f455b228c354bd362e97e5ea2f85aaad423cd
87,655
ml
OCaml
infer/src/biabduction/SymExec.ml
yangshun/infer
5e7b0caaef0555bd0e66e2a4b18abf4f0903aadf
[ "MIT" ]
null
null
null
infer/src/biabduction/SymExec.ml
yangshun/infer
5e7b0caaef0555bd0e66e2a4b18abf4f0903aadf
[ "MIT" ]
null
null
null
infer/src/biabduction/SymExec.ml
yangshun/infer
5e7b0caaef0555bd0e66e2a4b18abf4f0903aadf
[ "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. *) open! IStd (** Symbolic Execution *) module L = Logging module F = Format let rec fld...
43.137303
114
0.662951
8a0e854498559a220c85d76200dc868c2cdff225
3,821
mli
OCaml
lib/preface_make/alternative.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
lib/preface_make/alternative.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
lib/preface_make/alternative.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
(** Building a {!module:Preface_specs.Alternative} *) (** {1 Using the minimal definition} *) (** {2 Using pure, apply, neutral and combine} Build a {!module-type:Preface_specs.ALTERNATIVE} using {!module-type:Preface_specs.Alternative.WITH_APPLY}. Standard method, using the minimal definition of an alt...
33.517544
82
0.720492
8af533cb5c6ab9c7e5ac46beb68e65ccaf0d0dd7
165
ml
OCaml
lib/protocol/capabilities/server/textDocumentSyncOptions.ml
giltho/ocaml-lsplib
64ad0532bba22c0baacba04e83d5e760f9466934
[ "MIT" ]
null
null
null
lib/protocol/capabilities/server/textDocumentSyncOptions.ml
giltho/ocaml-lsplib
64ad0532bba22c0baacba04e83d5e760f9466934
[ "MIT" ]
2
2018-11-19T18:03:17.000Z
2019-04-01T16:41:18.000Z
lib/protocol/capabilities/server/textDocumentSyncOptions.ml
giltho/ocaml-lsp-implementation
64ad0532bba22c0baacba04e83d5e760f9466934
[ "MIT" ]
null
null
null
type t = { openClose : bool; change : TextDocumentSyncKind.t; willSave : bool; willSaveWaitUntil : bool; save : SaveOptions.t option } [@@deriving yojson]
18.333333
34
0.690909
44446d1d6a0d56079be730551fe7d43436c9b2f4
1,488
ml
OCaml
src/unix/osc_unix.ml
Leonidas-from-XIV/ocaml-osc
6822e77fe9a0b7e30bdb1dd1094a3be34e4a457a
[ "MIT" ]
23
2016-01-07T17:42:05.000Z
2022-01-24T15:54:16.000Z
src/unix/osc_unix.ml
Leonidas-from-XIV/ocaml-osc
6822e77fe9a0b7e30bdb1dd1094a3be34e4a457a
[ "MIT" ]
11
2015-02-19T11:27:38.000Z
2022-01-24T09:15:55.000Z
src/unix/osc_unix.ml
Leonidas-from-XIV/ocaml-osc
6822e77fe9a0b7e30bdb1dd1094a3be34e4a457a
[ "MIT" ]
8
2018-05-19T23:34:13.000Z
2022-01-10T20:26:51.000Z
module Io = struct type 'a t = 'a let (>>=) x f = f x let (>|=) x f = f x let return x = x end module UdpTransport = struct module Io = Io type sockaddr = Unix.sockaddr module Client = struct type t = { socket: Unix.file_descr; } let create () = let socket = Unix.socket ...
22.208955
80
0.620296
8ae1115d99714a119d6d141282cfc8b308cef693
475
ml
OCaml
projects/miragesdk/examples/https-unikernel/src/store_main.ml
0xhwang/linuxkit
177d931144591339fdf777f078579c55561bcc72
[ "Apache-2.0" ]
1
2021-07-01T05:22:38.000Z
2021-07-01T05:22:38.000Z
projects/miragesdk/examples/https-unikernel/src/store_main.ml
0xhwang/linuxkit
177d931144591339fdf777f078579c55561bcc72
[ "Apache-2.0" ]
null
null
null
projects/miragesdk/examples/https-unikernel/src/store_main.ml
0xhwang/linuxkit
177d931144591339fdf777f078579c55561bcc72
[ "Apache-2.0" ]
null
null
null
open Lwt.Infix let () = Common.init_logging () let main store_socket = Lwt_main.run begin Lwt_switch.with_switch @@ fun switch -> Store.service () >>= fun store -> Common.listen ~switch ~offer:store store_socket end open Cmdliner let store = let doc = "The database store to serve" in Arg.(requir...
21.590909
74
0.656842
afeec7903ddde61c784e75006f6fff8bc0bd4bcb
1,888
ml
OCaml
hphp/hack/src/hh_oxidize/convert_longident.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-17T02:24:38.000Z
2020-01-17T02:24:38.000Z
hphp/hack/src/hh_oxidize/convert_longident.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_oxidize/convert_longident.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "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. * *) open Core_kernel open Longident open Utils open Output type flattened_longident = | FLident of string list | FLdot of fla...
29.5
76
0.625
442a642d996ab7570decb08f0b83221fffba708b
10,959
ml
OCaml
duniverse/menhir/lib/InspectionTableInterpreter.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
duniverse/menhir/lib/InspectionTableInterpreter.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
duniverse/menhir/lib/InspectionTableInterpreter.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
(******************************************************************************) (* *) (* Menhir *) (* ...
35.351613
80
0.600511
441e4ae85c3b127b50c8995472fc80fda3e7b130
622
ml
OCaml
hphp/hack/src/stubs/state_loader.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/stubs/state_loader.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/stubs/state_loader.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
type native_load_result = { saved_state_fn : string; corresponding_rev : Hg.rev; is_cached : bool; state_distance : int; deptable_fn : string; dirty_files : (string list) Future.t; } type mini_state_handle = { mini_state_for_rev : Hg.rev; mini_state_everstore_handle : string; } let error_string _ = ""...
19.4375
91
0.737942
8ab628d60c62ee317634e5bae057f5e6b2f90440
2,162
ml
OCaml
data/fa15/0467.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/0467.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/0467.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec wwhile (f,b) = let res = f b in match res with | (x,y) when y = true -> wwhile (f, x) | (x,y) -> x;; let fixpoint (f,b) = let gs x = let isFPoint s = ((f s) - s) < 0 in let iterate (t,y) = t y in let rec go r = if isFPoint r then (r, true) else go ((iterate (x, r)), false) in go x ...
15.553957
73
0.47271
443b842b9e0a048f9b40748fadc2c88a29f91b69
12,035
ml
OCaml
src/nonconsensus/signature_lib/checked.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
src/nonconsensus/signature_lib/checked.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
src/nonconsensus/signature_lib/checked.ml
LukasGerm/coda
443d87f510f618263a927e1052e1d6a53b0f6264
[ "Apache-2.0" ]
null
null
null
[%%import "/src/config.mlh"] module Bignum_bigint = Bigint open Core_kernel module type Message_intf = sig type field type t type curve type curve_scalar val derive : t -> private_key:curve_scalar -> public_key:curve -> curve_scalar val hash : t -> public_key:curve -> r:field -> curve_scalar [...
26.106291
95
0.613793
8a356d1e9a65198b74d7b40cd8510142862a1b5a
3,106
ml
OCaml
services/api/ocaml-impl/src/main.ml
rvaddeman/lagoon
b3e71caf4b591778cb7ac199320cf7c27ee6f2b8
[ "Apache-2.0" ]
1
2019-03-06T17:27:25.000Z
2019-03-06T17:27:25.000Z
services/api/ocaml-impl/src/main.ml
rvaddeman/lagoon
b3e71caf4b591778cb7ac199320cf7c27ee6f2b8
[ "Apache-2.0" ]
10
2018-10-12T15:27:50.000Z
2019-03-25T18:36:24.000Z
services/api/ocaml-impl/src/main.ml
rvaddeman/lagoon
b3e71caf4b591778cb7ac199320cf7c27ee6f2b8
[ "Apache-2.0" ]
null
null
null
open Lwt module C = Cohttp_lwt_unix open Graphql_lwt type role = User | Admin type sshKey = { id: int; name: string; key: string; keyType: string; created: string; } type customer = { id: int; name: string; comment: string; privateKey: string; created: string; } type openshift = { id: int; ...
19.658228
115
0.558596
8aa7c36cb80fcb0974298da8b661fd760e8bea07
546
mli
OCaml
lib/node.mli
XnuKernPoll/mirage-balancers
9d41bc2cc1929aaeb09ca73fb958a9200c32a779
[ "MIT" ]
12
2018-08-08T03:54:05.000Z
2022-02-13T03:29:34.000Z
lib/node.mli
XnuKernPoll/mirage-balancers
9d41bc2cc1929aaeb09ca73fb958a9200c32a779
[ "MIT" ]
null
null
null
lib/node.mli
XnuKernPoll/mirage-balancers
9d41bc2cc1929aaeb09ca73fb958a9200c32a779
[ "MIT" ]
1
2019-09-09T13:45:24.000Z
2019-09-09T13:45:24.000Z
(** Type of node, the id should be a hash of the nodes host : port tuple, by default it uses a 64 bit FNV1A implementation*) type t = { id: Cstruct.t; host: string; port: int } [@@deriving fields] val to_string: t -> string val of_string: string -> t val to_cstruct: t -> Cstruct.t val of_cstruct: Cstr...
28.736842
124
0.5
8adbc9aef9a13b1f59ef8e34ec2ecb22d0b9b48c
20,408
ml
OCaml
CodeHawk/CHB/bchlibx86/bCHPredefinedUtil.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHB/bchlibx86/bCHPredefinedUtil.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHB/bchlibx86/bCHPredefinedUtil.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Binary Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2020 Kestrel Technology LLC Copyright (c) 2020 H...
34.648557
93
0.690073
8aa86d4f3f3aaee3cf207a76e877f3896d3c0066
18,380
ml
OCaml
src/queryMapping.ml
faddeenkov/syntactical_analyzer
9b9a43d29ff9661afc01f8e3866ee2d8a28c5f05
[ "MIT" ]
null
null
null
src/queryMapping.ml
faddeenkov/syntactical_analyzer
9b9a43d29ff9661afc01f8e3866ee2d8a28c5f05
[ "MIT" ]
null
null
null
src/queryMapping.ml
faddeenkov/syntactical_analyzer
9b9a43d29ff9661afc01f8e3866ee2d8a28c5f05
[ "MIT" ]
1
2020-10-20T09:07:44.000Z
2020-10-20T09:07:44.000Z
open Cil open JsonParser (* Default output if the input-query is not supported *) let loc_default = { line = -1; file = ""; byte = -1 } let rec delete_elem (name1, loc1, typ1, id1) list = match list with | (name2, loc2, typ2, id2) :: xs -> if String.compare name1 name2 = 0 && loc1.line = loc...
35.620155
80
0.666757
8a0c2ccb18501a468f6a20373df364f361a03db8
4,726
ml
OCaml
infer/src/labs/04_interprocedural/ResourceLeaks.ml
avery-laird/term-project
00bcd0a3dca5ef7247c6758747d04e5c51d51f64
[ "MIT" ]
1
2019-11-23T14:35:34.000Z
2019-11-23T14:35:34.000Z
infer/src/labs/04_interprocedural/ResourceLeaks.ml
avery-laird/term-project
00bcd0a3dca5ef7247c6758747d04e5c51d51f64
[ "MIT" ]
null
null
null
infer/src/labs/04_interprocedural/ResourceLeaks.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 module L = Logging (* Boilerplate to write/read our summaries alongside the summaries of other analyz...
39.383333
100
0.705671
8ad6a16c150f05c3888bfba16554098d62123905
9,359
ml
OCaml
vendor/timezone/test/test_zone.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/timezone/test/test_zone.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/timezone/test/test_zone.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open Core_kernel open Poly module Time = struct include Time let sexp_of_t x = Sexp.Atom (Time.to_string x) end let%test _ = let open Timezone.Private.Zone_cache in init (); let result = Option.is_some (find "America/New_York") in (* keep this test from contaminating tests later in the file *) the_one_...
33.187943
93
0.644406
8a9cea3d4b1f05d925a044fe719f3e6555092794
58
ml
OCaml
myocamlbuild.ml
alexozer/notty
13dce58165e5cf25d1a88ce9fb606498057f7c84
[ "ISC" ]
19
2019-03-01T16:39:11.000Z
2021-11-04T10:04:47.000Z
myocamlbuild.ml
pqwy/unmark
b0cc8f002df3b9d8ae3f292e12607cd9000530dd
[ "0BSD" ]
null
null
null
myocamlbuild.ml
pqwy/unmark
b0cc8f002df3b9d8ae3f292e12607cd9000530dd
[ "0BSD" ]
null
null
null
open Ocamlbuild_plugin let () = dispatch Ocb_stubblr.init
19.333333
34
0.810345
af5920be99bf20d1845a8e72fc2bbf1401f1ddd1
10,138
ml
OCaml
hphp/hack/src/typing/typing_sequencing.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/hack/src/typing/typing_sequencing.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/hack/src/typing/typing_sequencing.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) (* Pass to ch...
37.687732
88
0.691063
8aed9de06a53bf7eacd03fb96256cffa45ee0ab8
179
ml
OCaml
benchmarks/C/sigma/sol65.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/sigma/sol65.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/sigma/sol65.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
(* PL HW1-1 "씨그마" 2007-11738 알렉산더 *) (* sigma: int * int * (int->int) -> int *) let rec sigma func a b = if a>b then 0 else (func a) + (sigma func (a+1) b)
19.888889
44
0.497207
442f46f0ff154d1590217788592d2d8cafc52aed
216
mli
OCaml
libraries/elasticache/lib/addTagsToResource.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticache/lib/addTagsToResource.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/elasticache/lib/addTagsToResource.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = AddTagsToResourceMessage.t type output = TagListMessage.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
30.857143
74
0.74537
8a52c3b589b79b8d95a513efc176ac7c23dacdfa
8,619
ml
OCaml
jingle/PPCArch_jingle.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
jingle/PPCArch_jingle.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
jingle/PPCArch_jingle.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
34.338645
78
0.489268
afa1f89887fbdfed26ddef1139f699ee6b3ecdfe
1,006
mli
OCaml
src/owl/sparse/owl_sparse_dok_matrix.mli
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
src/owl/sparse/owl_sparse_dok_matrix.mli
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
src/owl/sparse/owl_sparse_dok_matrix.mli
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz> *) type ('a, 'b) t type ('a, 'b) kind = ('a, 'b) Bigarray.kind (** {5 Create sparse matrices} *) val zeros : ?density:float -> ('a, 'b) kind -> int -> int -> ('a, 'b) t (** {5 Obtain the basic properties...
20.530612
71
0.511928
8a17cb8a702797a24878dddff34c51a7740580ad
271
ml
OCaml
data/derived/comb/progs/unify/prog6951.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/prog2135.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2135.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec wwhile (f,b) = let res = f b in match res with | (x,y) when y = true -> wwhile (f, x) | (x,y) -> x;; let fixpoint (f,b) = let funt b = f b in wwhile (funt, b);; let fs x = if x = 0 then 0 else if x > 1 then x - 1 else x + 1;; let _ = fixpoint (fs, 100);;
24.636364
70
0.538745
44398d1dc6f4497062a2a7d8c6a0c27ab99e7f3c
3,338
ml
OCaml
muk/net.ml
icefoxen/mustard
f0e55d48fe5903ee4d98b2b12aafc9c83db836ee
[ "MIT" ]
null
null
null
muk/net.ml
icefoxen/mustard
f0e55d48fe5903ee4d98b2b12aafc9c83db836ee
[ "MIT" ]
null
null
null
muk/net.ml
icefoxen/mustard
f0e55d48fe5903ee4d98b2b12aafc9c83db836ee
[ "MIT" ]
null
null
null
(* ALL RIGHT. Let's abstract, bitches. * We're going to have a list of net objects. Each one will have an index, a * network connection, and eventually a reference to the player/whatever that it * is connected to. * Roight. * * XXX: We might want to make the sockets non-blocking. We might also need * either a...
34.770833
80
0.650689
8a42fec743afcb58b513ebacdc84bd866666fbec
9,616
ml
OCaml
source/buck/test/buildMapTest.ml
plan-do-break-fix/pyre-check
a3939f90c42cec81994569d0b08c5c95d630f927
[ "MIT" ]
null
null
null
source/buck/test/buildMapTest.ml
plan-do-break-fix/pyre-check
a3939f90c42cec81994569d0b08c5c95d630f927
[ "MIT" ]
null
null
null
source/buck/test/buildMapTest.ml
plan-do-break-fix/pyre-check
a3939f90c42cec81994569d0b08c5c95d630f927
[ "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 Base open OUnit2 (* Create aliases to private modules so we could test their internal APIs. *) module BuildMap = Buck__BuildM...
36.562738
100
0.638727
8a2a626b9bf6982604718fcf234a36509a51bd21
7,585
ml
OCaml
src/solvers/theory/PairsSolver.ml
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
7
2016-08-31T19:50:12.000Z
2019-01-21T04:51:07.000Z
src/solvers/theory/PairsSolver.ml
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
src/solvers/theory/PairsSolver.ml
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
(***********************************************************************) (* *) (* LEAP *) (* *) (* Alejan...
39.300518
84
0.52762
442e672817a005089f2f9f9838dceed5abdabb01
6,479
ml
OCaml
lib/k_means.ml
igarnier/clustering
4c20f9a253abeeeb6a0f05430d5d72957942ef1e
[ "MIT" ]
17
2017-11-27T09:13:05.000Z
2020-11-06T18:27:58.000Z
lib/k_means.ml
igarnier/k-means
4c20f9a253abeeeb6a0f05430d5d72957942ef1e
[ "MIT" ]
1
2017-11-27T09:26:31.000Z
2017-11-27T09:29:33.000Z
lib/k_means.ml
igarnier/k-means
4c20f9a253abeeeb6a0f05430d5d72957942ef1e
[ "MIT" ]
null
null
null
open Batteries (* We require elements to have the structure of a metric space and to support the computing of geometric means. *) module type Element = sig type t (* This should be a proper distance function (symmetric, zero on the diagonal, verifying the triangular inequality). *) val dist : t -> t ->...
33.744792
109
0.647322
afed7092df825c35f9e5c807af1d231a4ad62448
1,019
mli
OCaml
compiler/qmlpasses/pass_GenerateServerAst.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
compiler/qmlpasses/pass_GenerateServerAst.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
compiler/qmlpasses/pass_GenerateServerAst.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
58
2015-01-02T23:57:42.000Z
2022-03-02T12:44:42.000Z
(* Copyright © 2011, 2012 MLstate This file is part of Opa. Opa is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3, as published by the Free Software Foundation. Opa is distributed in the hope that it will be useful, ...
32.870968
78
0.718351
441e75d05efbb88ec0f495ef043f90870cc4404e
1,365
mli
OCaml
src-cmark/brzo_cmark.mli
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
5
2019-10-02T20:04:19.000Z
2021-11-04T10:04:53.000Z
src-cmark/brzo_cmark.mli
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
src-cmark/brzo_cmark.mli
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2018 The brzo programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) (** CommonMark domain. ...
48.75
79
0.586813
8a346912fc95673924bfb60dc0fe2e1edeb4d33b
244
mli
OCaml
libraries/elasticache/lib/createReplicationGroup.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticache/lib/createReplicationGroup.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticache/lib/createReplicationGroup.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal type input = CreateReplicationGroupMessage.t type output = CreateReplicationGroupResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
34.857143
74
0.77459
440840e9acccc27688ff0d54b50bf00ba1074fd4
2,797
ml
OCaml
libraries/cloudtrail/lib/getInsightSelectors.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/cloudtrail/lib/getInsightSelectors.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudtrail/lib/getInsightSelectors.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 GetInsightSelectorsRequest = struct type t = { trail_name: String.t [@ocaml.doc "<p>Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the followin...
44.396825
765
0.651412
4435893729f3a061d0aad6ed4566438ceb12774c
2,770
ml
OCaml
duniverse/dune_/src/dune_rules/blang.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/dune_/src/dune_rules/blang.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/dune_/src/dune_rules/blang.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
open! Dune_engine open! Stdune open Import module Op = struct type t = | Eq | Gt | Gte | Lte | Lt | Neq let eval t (x : Ordering.t) = match (t, x) with | (Eq | Gte | Lte), Eq | (Neq | Lt | Lte), Lt | (Neq | Gt | Gte), Gt -> true | _, _ -> false let to_dyn = ...
25.181818
78
0.559928
8a6335e3b97cf9434e5a0eed8a36c420f853d44d
81,042
ml
OCaml
hphp/hack/src/format/format_hack.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/format/format_hack.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/format/format_hack.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) (*************...
28.515834
82
0.553367
443715228d7ab553ff86f8d15ffd9ffcb5402d91
1,248
ml
OCaml
src/ocaml-3.12.0/asmcomp/hppa/reload.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
1
2015-01-27T00:11:26.000Z
2015-01-27T00:11:26.000Z
src/ocaml-3.12.0/asmcomp/hppa/reload.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/asmcomp/hppa/reload.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
32
73
0.395833
8acc620dec910e7fa288b8b69a57d3e83d04952d
9,163
ml
OCaml
hphp/hack/src/typing/tast_check/void_return_check.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/void_return_check.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/void_return_check.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "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 Aast open Hh_prelude (* This check enforces 3 properties related to return statements and functions' return ty...
36.799197
103
0.673797
af7473fd13b475e05ba24fb09219f7baf5932678
7,775
ml
OCaml
hphp/hack/src/search/localSearchService.ml
jie-pan/hhvm
41853383c5b53a69ac2c67f9d3cce5e38c6eafa5
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/search/localSearchService.ml
jie-pan/hhvm
41853383c5b53a69ac2c67f9d3cce5e38c6eafa5
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-21T07:48:37.000Z
2021-08-21T07:48:37.000Z
hphp/hack/src/search/localSearchService.ml
LaudateCorpus1/hhvm
15914f0afb9dc408fe56949d5871a46ffa103b44
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2019, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open SearchUtils (* How many locally changed files are in this env? *) let count_local_fileinfos ~(s...
33.951965
79
0.662122
8a82012e38bd2ae2f80b3cf37d15b4be8b5ebf66
5,273
ml
OCaml
player_test.ml
grant-olson/c3a
4f203751807221a2039a093bfbdf361d25efbfdb
[ "BSD-3-Clause" ]
3
2015-12-05T17:33:28.000Z
2021-09-01T02:55:45.000Z
player_test.ml
grant-olson/c3a
4f203751807221a2039a093bfbdf361d25efbfdb
[ "BSD-3-Clause" ]
null
null
null
player_test.ml
grant-olson/c3a
4f203751807221a2039a093bfbdf361d25efbfdb
[ "BSD-3-Clause" ]
null
null
null
(* Copyright 2007, Grant T. Olson. See LICENSE file for license terms and conditions *) let m = Player.load_player "./pak0/models/players/mynx/" let m_state = ref (Player.init_player_anim_state (111,128,111,20) (95,134,95,15)) let s = Player.load_player "./pak0/models/players/sarge/" let s_s...
29.132597
76
0.628105
f36b8be6f28029bbcbd1050a639a4820096b502e
150
ml
OCaml
src/bool_vector.ml
dankrad/snarky
4f21bb852f759607f1802a7d90301c7e4de83f3c
[ "MIT" ]
null
null
null
src/bool_vector.ml
dankrad/snarky
4f21bb852f759607f1802a7d90301c7e4de83f3c
[ "MIT" ]
null
null
null
src/bool_vector.ml
dankrad/snarky
4f21bb852f759607f1802a7d90301c7e4de83f3c
[ "MIT" ]
null
null
null
open Ctypes include Vector.Make (struct let prefix = "camlsnark_bool_vector" type t = bool let typ = bool let schedule_delete _ = () end)
12.5
38
0.693333
8a548731521f8b9c30ffbbb50358713d37fb73e9
32,103
ml
OCaml
src/services/code_action/code_action_service.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
1
2021-09-20T07:39:05.000Z
2021-09-20T07:39:05.000Z
src/services/code_action/code_action_service.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
null
null
null
src/services/code_action/code_action_service.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "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 Types_js_types let add_missing_imports_kind = Lsp.CodeActionKind.kind_of_string "source.addMissingImports.flow" let include_...
36.563781
101
0.64374
d2fa37447bf6cc252084b0a988b0fb551f19410c
3,947
ml
OCaml
herd/AArch64Arch_herd.ml
jmadiot/herdtools7
b58a26946e2012a40ad280c3a11f2d251824a3ae
[ "CECILL-B" ]
null
null
null
herd/AArch64Arch_herd.ml
jmadiot/herdtools7
b58a26946e2012a40ad280c3a11f2d251824a3ae
[ "CECILL-B" ]
null
null
null
herd/AArch64Arch_herd.ml
jmadiot/herdtools7
b58a26946e2012a40ad280c3a11f2d251824a3ae
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
31.07874
78
0.472764
44380f046fe16eee9a4cabde5957067085115383
1,489
ml
OCaml
src/parser_utils/output/__tests__/layout_test.ml
https-justin3687-business-site/flow
e19583bb56f7cb385941f0f9cc34e5d09c38d222
[ "MIT" ]
null
null
null
src/parser_utils/output/__tests__/layout_test.ml
https-justin3687-business-site/flow
e19583bb56f7cb385941f0f9cc34e5d09c38d222
[ "MIT" ]
null
null
null
src/parser_utils/output/__tests__/layout_test.ml
https-justin3687-business-site/flow
e19583bb56f7cb385941f0f9cc34e5d09c38d222
[ "MIT" ]
1
2019-11-30T03:40:04.000Z
2019-11-30T03:40:04.000Z
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open OUnit2 open Layout open Layout_test_utils let tests = "layout" >::: [ ( "fuse_list" >:: fun ctxt -> ...
33.088889
83
0.56548
8aa2b95043d1382a416aa2e51ea36cef82a9d781
7,530
ml
OCaml
src/lib/integration_test_lib/dsl.ml
mobileink/coda
0612b142738c68155e9a9bba16cd3787bba4feed
[ "Apache-2.0" ]
1
2021-03-03T20:21:52.000Z
2021-03-03T20:21:52.000Z
src/lib/integration_test_lib/dsl.ml
mobileink/coda
0612b142738c68155e9a9bba16cd3787bba4feed
[ "Apache-2.0" ]
1
2021-03-06T14:52:32.000Z
2021-03-06T14:52:32.000Z
src/lib/integration_test_lib/dsl.ml
obazl/mina
0612b142738c68155e9a9bba16cd3787bba4feed
[ "Apache-2.0" ]
3
2021-03-14T18:19:04.000Z
2021-03-25T16:37:07.000Z
open Async_kernel open Core_kernel open Pipe_lib module Timeout = Timeout_lib.Core_time let broadcast_pipe_fold_until_with_timeout reader ~timeout_duration ~timeout_result ~init ~f = let timed_out = ref false in let result = ref None in let acc = ref init in let read_deferred = Broadcast_pipe.Reader.it...
35.186916
102
0.634794
f31ca2013ee63eebe7b56b5de3ab5fd60b40cc3e
1,429
ml
OCaml
hphp/hack/test/integration_ml/coverage/test_coverage_levels_multi.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/coverage/test_coverage_levels_multi.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/coverage/test_coverage_levels_multi.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) 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 Integration_test_base_types module Test = Integration_test_base let foo_contents = "<?hh function g(strin...
24.637931
74
0.650805
443b1858c691c7fb1ba0cf5916277555f0975142
1,315
ml
OCaml
lib/values.ml
ALANVF/star-vm
db8ad18404e9d05d6b30824461c34950fd645d08
[ "MIT" ]
4
2020-10-10T00:07:16.000Z
2020-12-09T01:06:51.000Z
lib/values.ml
ALANVF/star-vm
db8ad18404e9d05d6b30824461c34950fd645d08
[ "MIT" ]
null
null
null
lib/values.ml
ALANVF/star-vm
db8ad18404e9d05d6b30824461c34950fd645d08
[ "MIT" ]
1
2021-04-26T02:58:03.000Z
2021-04-26T02:58:03.000Z
open Base open Util.BetterStdint open Types type tvalue = | VClass of tclass * class_value | VValueKind of tvalue_kind * uint8 | VMultiValueKind of tvalue_kind * uint64 | VTaggedKind of ttagged_kind * tagged_kind_value | VMultiTaggedKind of ttagged_kind * multi_tagged_kind_value | VNative of tn...
25.784314
75
0.672243
8a8985151e3c201ab779411db23b3961d005e187
1,135
ml
OCaml
src/stdune/path_intf.ml
sinancepel/dune
4c659dce13f982736a24952bd29172b4c21440c4
[ "MIT" ]
null
null
null
src/stdune/path_intf.ml
sinancepel/dune
4c659dce13f982736a24952bd29172b4c21440c4
[ "MIT" ]
null
null
null
src/stdune/path_intf.ml
sinancepel/dune
4c659dce13f982736a24952bd29172b4c21440c4
[ "MIT" ]
null
null
null
module type S = sig type t val hash : t -> int val to_string : t -> string val of_string : string -> t val parse_string_exn : loc:Loc0.t -> string -> t val pp : Format.formatter -> t -> unit (** a directory is smaller than its descendants *) include Comparable.S with type t := t include Comparabl...
23.163265
72
0.630837
8aaf0085c5b42d31cbb9f54e0befd105c7627355
21,311
ml
OCaml
interprocedural_analyses/taint/domains.ml
GreyElaina/pyre-check
abcb5daa64c38a25aed9ab238bb61290444ab06c
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/domains.ml
GreyElaina/pyre-check
abcb5daa64c38a25aed9ab238bb61290444ab06c
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/domains.ml
GreyElaina/pyre-check
abcb5daa64c38a25aed9ab238bb61290444ab06c
[ "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 Core open Ast module type TAINT_SET = sig include Abstract.Domain.S type element [@@deriving compare] val element : e...
31.950525
101
0.657266
8ac3054832b3acbf0b2b5e2182ae2ec49e52c36b
2,745
ml
OCaml
hphp/hack/src/typing/typing_requirements.ml
mshen63/hhvm
93180906138ea86bb972ccef1858a1ca6a9d5856
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_requirements.ml
mshen63/hhvm
93180906138ea86bb972ccef1858a1ca6a9d5856
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_requirements.ml
mshen63/hhvm
93180906138ea86bb972ccef1858a1ca6a9d5856
[ "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...
31.918605
79
0.649909
8ac994507ce53b5b1bdec7a0cd737709c553b16e
4,662
ml
OCaml
src/bin/throttle_fstrim.ml
rbjorklin/throttle-fstrim
9a3e3706448c3e5db03a4b0768c7908bf452a921
[ "MIT" ]
null
null
null
src/bin/throttle_fstrim.ml
rbjorklin/throttle-fstrim
9a3e3706448c3e5db03a4b0768c7908bf452a921
[ "MIT" ]
null
null
null
src/bin/throttle_fstrim.ml
rbjorklin/throttle-fstrim
9a3e3706448c3e5db03a4b0768c7908bf452a921
[ "MIT" ]
null
null
null
type mount = { device : string; path : string; filesystem : string; } type diskstat = { device : string; io_time : int; } module StringMap = Map.Make (String) let getline ic = input_line ic |> String.split_on_char ' ' |> List.filter (fun s -> s <> "") let read_mounts () = let mounts_ic = open_in "/pro...
35.318182
104
0.574217
8ae09509804adb5cd3af7acc3358a82498ba85d5
8,394
ml
OCaml
src/types.ml
octo-lang/octo-lang
9d102869443e6f7789102916192ca0f425842ca9
[ "BSD-2-Clause" ]
1
2020-04-03T17:35:52.000Z
2020-04-03T17:35:52.000Z
src/types.ml
Yul3n/octo-lang
9d102869443e6f7789102916192ca0f425842ca9
[ "BSD-2-Clause" ]
null
null
null
src/types.ml
Yul3n/octo-lang
9d102869443e6f7789102916192ca0f425842ca9
[ "BSD-2-Clause" ]
null
null
null
open Syntax open Utils exception Type_error of string (* Return the list of all free type variables in the type t. *) let rec ftv t = match t with TOth _ -> [] | TVar v -> [v] | TFun (l, r) -> (ftv l) @ (ftv r) | TLazy t | TList t -> ftv t | TPair (l, r) -> (ftv l) @ (ftv r) let ftv...
38.154545
93
0.540505
8aa65ab4f81f76c6036ef9f2b0a2afc940d0759e
1,928
ml
OCaml
libraries/sdb/lib/getAttributes.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/sdb/lib/getAttributes.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/sdb/lib/getAttributes.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal open Aws type input = GetAttributesRequest.t type output = GetAttributesResult.t type error = Errors_internal.t let service = "sdb" 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))) (L...
31.096774
93
0.587656
f34664005fd20fd5bfe076e3ae9c4a980508d993
2,825
mli
OCaml
eval/sherrloc/easyocaml++/stdlib/queue.mli
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/stdlib/queue.mli
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/stdlib/queue.mli
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
35.759494
79
0.511858
8af30211f46b8a3f4a9cbf89c94f01a44309134a
1,916
ml
OCaml
libraries/sts/lib/decodeAuthorizationMessage.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/sts/lib/decodeAuthorizationMessage.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/sts/lib/decodeAuthorizationMessage.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DecodeAuthorizationMessageRequest.t type output = DecodeAuthorizationMessageResponse.t type error = Errors_internal.t let service = "sts" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service reg...
27.768116
90
0.629436
afbbe14f83bb45651d06c431658188a718d0fade
5,292
ml
OCaml
src/parser/parser_common.ml
segmentationfaulter/flow
3dddd0603fef8034949c3a04b24688125d1a2d71
[ "MIT" ]
1
2022-02-06T01:14:40.000Z
2022-02-06T01:14:40.000Z
src/parser/parser_common.ml
villesau/flow
81272dd05d96d0c7547eb00859020ebfc6aee4da
[ "MIT" ]
null
null
null
src/parser/parser_common.ml
villesau/flow
81272dd05d96d0c7547eb00859020ebfc6aee4da
[ "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 Parser_env open Flow_ast module Error = Parse_error type pattern_errors = { if_expr: (Loc.t * Parse_error.t) list; if_pa...
33.923077
114
0.647959
8aa99e88e14f2293e013666a61f25f243f0ea239
1,227
mli
OCaml
experiments/ownership-inference/infer/infer/src/IR/Cfg.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
30
2019-06-28T15:20:25.000Z
2021-08-25T11:37:30.000Z
experiments/ownership-inference/infer/infer/src/IR/Cfg.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
39
2019-06-28T15:08:12.000Z
2020-07-17T01:44:33.000Z
experiments/ownership-inference/infer/infer/src/IR/Cfg.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
17
2019-06-28T14:40:41.000Z
2021-03-11T19:26:13.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 (** Control Flow Graph for Interprocedural Analysis *) (** A control-flow g...
32.289474
97
0.709861
443782c20133e68bbd02185f595a93773d197c1a
1,060
ml
OCaml
src/parser/relativeLoc.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/parser/relativeLoc.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/parser/relativeLoc.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
2,338
2015-01-05T03:28:26.000Z
2022-03-26T20:40:56.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) type t = | Same_line of { start: Loc.position; column_offset: int; } | Diff_line of { start: Loc.position...
29.444444
88
0.642453
8adea2c2444117ed8d347e815852856fc3fef47a
1,395
ml
OCaml
src/repo/learnocaml_lesson.ml
Aleridia/learn-ocaml
69ebd09c3235813e3cdf1e7762e986c8e067dab1
[ "MIT" ]
219
2017-09-21T12:24:25.000Z
2022-03-27T03:02:29.000Z
src/repo/learnocaml_lesson.ml
Aleridia/learn-ocaml
69ebd09c3235813e3cdf1e7762e986c8e067dab1
[ "MIT" ]
355
2018-04-18T10:04:03.000Z
2022-03-31T09:32:28.000Z
src/repo/learnocaml_lesson.ml
Aleridia/learn-ocaml
69ebd09c3235813e3cdf1e7762e986c8e067dab1
[ "MIT" ]
59
2018-04-06T12:34:55.000Z
2022-03-22T12:36:33.000Z
(* This file is part of Learn-OCaml. * * Copyright (C) 2019 OCaml Software Foundation. * Copyright (C) 2016-2018 OCamlPro. * * Learn-OCaml is distributed under the terms of the MIT license. See the * included LICENSE file for details. *) type lesson = { lesson_title : string ; lesson_steps : step list } an...
31
78
0.553405
443499bea46e7ef9ff169c3dceec75e8f471e7b5
8,705
mll
OCaml
src_top/herd_based/lib/RISCVLexer.mll
VarunKoyyalagunta/rmem
9de95224f6293acb3cd6022471219a0a01b9b260
[ "BSD-2-Clause" ]
103
2016-11-28T10:00:41.000Z
2022-03-08T05:06:00.000Z
src_top/herd_based/lib/RISCVLexer.mll
VarunKoyyalagunta/rmem
9de95224f6293acb3cd6022471219a0a01b9b260
[ "BSD-2-Clause" ]
193
2017-02-28T19:04:04.000Z
2022-03-25T14:33:24.000Z
src_top/herd_based/lib/RISCVLexer.mll
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...
35.971074
78
0.514417
4440ccc1dfb0ea00c3fc3ea9e6e393a93b3fac7f
135
ml
OCaml
hackerrank/fp/recursion/fib.ml
corvinusy/ocaml-toys
57222fc1e0ca28a49857aab57a587e943081c909
[ "Apache-2.0" ]
null
null
null
hackerrank/fp/recursion/fib.ml
corvinusy/ocaml-toys
57222fc1e0ca28a49857aab57a587e943081c909
[ "Apache-2.0" ]
null
null
null
hackerrank/fp/recursion/fib.ml
corvinusy/ocaml-toys
57222fc1e0ca28a49857aab57a587e943081c909
[ "Apache-2.0" ]
null
null
null
let rec fib n = match n with | 1 -> 0 | 2 -> 1 | _ -> fib (n-1) + fib (n-2) let () = print_int (fib (read_int()))
15
32
0.42963
f30aead6a0bd193e63b17eaf03d5efce7cf6b7f0
1,568
mli
OCaml
hphp/hack/src/typing/typing_return.mli
sagas1416/hhvm
253b620b7e49580463a76934b5d815721fa51c28
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_return.mli
sagas1416/hhvm
253b620b7e49580463a76934b5d815721fa51c28
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_return.mli
sagas1416/hhvm
253b620b7e49580463a76934b5d815721fa51c28
[ "PHP-3.01", "Zend-2.0" ]
1
2018-11-17T04:11:10.000Z
2018-11-17T04:11:10.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. * *) module Env = Typing_env (** Typing code concerned with return types. *) val make_info: Ast_defs.fun_kind -> N...
25.704918
74
0.721939
4448257024d4ac64a8077a4ad62817a7a1c3709e
5,850
ml
OCaml
universo/solving/solver.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
universo/solving/solver.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
universo/solving/solver.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
module B = Kernel.Basic module C = Common.Constraints module E = Parsers.Entry module F = Common.Files module L = Common.Log module M = Api.Meta module O = Common.Oracle module P = Parsers.Parser module R = Kernel.Rule module S = Kernel.Signature module T = Kernel.Term module U = Common.Universes open Utils (** [from_...
34.011628
207
0.633333
8a9a44f50444af57d6b5f2bd5d9ebe2ff620c9b6
1,250
ml
OCaml
vendor/core_kernel/src/make_substring_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core_kernel/src/make_substring_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core_kernel/src/make_substring_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Import module type Base = sig type t val create : int -> t val length : t -> int val blit : (t, t) Blit.blito val blit_to_bytes : (t, bytes) Blit.blito val blit_to_bigstring : (t, bigstring) Blit.blito val blit_from_string : (string, t) Blit.blito val blit_from_bigstring : (bigstring, t) Blit.bl...
26.595745
66
0.6752
af37738deb0956126cf02e288d7b536380943b4c
1,885
ml
OCaml
data/sp14/1312.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/1312.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/1312.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let rec padZero l1 l2 = let diffsize = (List.length l1) - (List.length l2) in if diffsize > 0 then (l1, (List.append (clone 0 diffsize) l2)) else ((List.append (clone 0 ((-1) * diffsize)) l1), l2);; let rec removeZero l = match l with | []...
23.271605
78
0.523607
8a78740c725c6da7a8ae1b5f4083b3d5b2078114
7,799
ml
OCaml
data/derived/comb/progs/unify/prog8358.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/prog3569.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3569.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.171141
148
0.689191
f3ec2d08f29a9003229a61a18592fbd9c1b80b9b
19,460
ml
OCaml
data/derived/comb/progs/unify/prog2428.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/prog2428.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2428.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
34.08056
208
0.647328
442caebd36c2ee263477e3e439817322bca60c4b
1,554
ml
OCaml
II rok/I semestr/PF/Zajecia 05/Pracownia/Zadanie1.ml
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
II rok/I semestr/PF/Zajecia 05/Pracownia/Zadanie1.ml
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
II rok/I semestr/PF/Zajecia 05/Pracownia/Zadanie1.ml
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
type 'a llist = LNil | LCons of 'a * (unit -> 'a llist);; let lhd = function LNil -> failwith "lhd" | LCons (x, _) -> x;; let ltl = function LNil -> failwith "ltl" | LCons (_, xf) -> xf();; let rec lfrom k = LCons (k, function () -> lfrom (k+1));; let rec ltake = function (0,_) -> [] | (_, LNil) -> [...
29.884615
99
0.507722
442e766e0e50c408f586c7e80511dc4ef564595c
1,822
mli
OCaml
src/dune_engine/foreign_language.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
null
null
null
src/dune_engine/foreign_language.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
1
2019-09-17T12:49:47.000Z
2019-09-17T12:49:47.000Z
src/dune_engine/foreign_language.mli
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
null
null
null
open Import (* CR-soon cwong: I am deeply unsatisfied with the refactoring that lead to the existence of this module, and would like to delete it. This module (and the last three functions) were initially part of [Foreign], but needed to be split separately to keep [Foreign] cleanly in the front-end. However,...
27.19403
80
0.631175
d2f4a607f8fa61c1a706cb2bc8deee367c1f740f
91,952
ml
OCaml
lib/knowledge/bap_knowledge.ml
BinaryAnalysisPlatform/bap
9f7d1ba0d9302e5802f401cd003f563d649228cb
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
lib/knowledge/bap_knowledge.ml
BinaryAnalysisPlatform/bap
9f7d1ba0d9302e5802f401cd003f563d649228cb
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
lib/knowledge/bap_knowledge.ml
BinaryAnalysisPlatform/bap
9f7d1ba0d9302e5802f401cd003f563d649228cb
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
open Core_kernel open Monads.Std module Unix = Caml_unix type ('a,'b) eq = ('a,'b) Type_equal.t = T : ('a,'a) eq module Order = struct type partial = LT | EQ | GT | NC [@@deriving sexp, equal] module type S = sig type t val order : t -> t -> partial end end type conflict = exn = .. module Conflict = ...
29.163337
89
0.552691
44411846c6042a9d196b67d8642acf17179532e2
638
ml
OCaml
data/sp14/1535.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/1535.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/1535.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let sqsum xs = let f a x = a * a in let base = f xs xs in List.fold_left f base xs;; (* fix let sqsum xs = let f a x = a * a in let base = f 8 xs in List.fold_left f base xs;; *) (* changed spans (3,36)-(3,38) *) (* type error slice (3,2)-(3,69) (3,8)-(3,19) (3,14)-(3,15) (3,14)-(3,19) (3,34)-(3,35) (3,34)-(...
13.020408
71
0.482759
442c4f75b8566132cdcafac5ff17ea0f131e12fc
12,207
ml
OCaml
litmus/top_klitmus.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
litmus/top_klitmus.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
litmus/top_klitmus.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
32.293651
106
0.536905
8ac9ed4d7023ed4ec4101575e072580d52f177d2
34
mli
OCaml
src/git-unix/fs.mli
linse/ocaml-git
57475a1fc5f55f138dc8fa6ec7fedd93ee3a266a
[ "ISC" ]
null
null
null
src/git-unix/fs.mli
linse/ocaml-git
57475a1fc5f55f138dc8fa6ec7fedd93ee3a266a
[ "ISC" ]
null
null
null
src/git-unix/fs.mli
linse/ocaml-git
57475a1fc5f55f138dc8fa6ec7fedd93ee3a266a
[ "ISC" ]
null
null
null
include Git.FS with type t = unit
17
33
0.735294
444ae6e70784c1f82cffb8bc7a1926192df62b78
908
ml
OCaml
src/main.ml
airobert/holide
4f9bdc9368c0a94e4f387b8a58e9df2d428e284c
[ "CECILL-B" ]
null
null
null
src/main.ml
airobert/holide
4f9bdc9368c0a94e4f387b8a58e9df2d428e284c
[ "CECILL-B" ]
null
null
null
src/main.ml
airobert/holide
4f9bdc9368c0a94e4f387b8a58e9df2d428e284c
[ "CECILL-B" ]
null
null
null
let version = "0.2.0" let show_version () = Printf.printf "Holide HOL to Dedukti translator, version %s\n" version; exit 0 let options = Arg.align [ "--just-check", Arg.Set(Output.just_check), " Just check, do not translate"; "-o", Arg.String(Output.set_output), "<file> Set output filename"; "--quiet"...
30.266667
80
0.670705
8a757f2d8da552daad4268a6c54784ef560f1720
42
ml
OCaml
bin/run.ml
hse-spb-2021-fp/bot
acf4ddd44ac807421d28c66dc223ed7f578d282a
[ "MIT" ]
null
null
null
bin/run.ml
hse-spb-2021-fp/bot
acf4ddd44ac807421d28c66dc223ed7f578d282a
[ "MIT" ]
null
null
null
bin/run.ml
hse-spb-2021-fp/bot
acf4ddd44ac807421d28c66dc223ed7f578d282a
[ "MIT" ]
null
null
null
let () = Core.Command.run Bot.Run.command
21
41
0.714286
8ae66122eee67be58931365ddea66e087ea66660
17,676
ml
OCaml
src/monitor/fileWatcher.ml
tgevaert/flow
da8a01134f77ff23d78a3b596ea5c55d99a385c0
[ "MIT" ]
null
null
null
src/monitor/fileWatcher.ml
tgevaert/flow
da8a01134f77ff23d78a3b596ea5c55d99a385c0
[ "MIT" ]
null
null
null
src/monitor/fileWatcher.ml
tgevaert/flow
da8a01134f77ff23d78a3b596ea5c55d99a385c0
[ "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 Logger = FlowServerMonitorLogger exception FileWatcherDied of exn (* TODO - Push-based API for dfind. While the FileWatche...
38.426087
101
0.609697
443b425edbecceaa68211f0acdf174db3ab92256
541
mli
OCaml
infer/src/backend/dotty.mli
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
1
2019-09-11T13:16:25.000Z
2019-09-11T13:16:25.000Z
infer/src/backend/dotty.mli
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
null
null
null
infer/src/backend/dotty.mli
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "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. *) open! IStd (** Pretty printing functions in dot format. *) (** {2 Contol-Flow Graph} *...
24.590909
92
0.689464
4448e79df05c75c203b489b5716c1b37ca221941
3,863
ml
OCaml
src/passes/09.5-inference/compare_types.ml
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
src/passes/09.5-inference/compare_types.ml
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
src/passes/09.5-inference/compare_types.ml
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
open Ast_core open Trace open Typer_common.Errors let rec assert_type_expression_eq ~raise (a, b: (type_expression * type_expression)) : unit = match (a.type_content, b.type_content) with | T_app {type_operator=ta;arguments=lsta}, T_app {type_operator=tb;arguments=lstb} -> ( let () = Assert.assert_true ~raise (d...
47.109756
245
0.65286
8abfb3ad53558cbee2da8b1024e4b96e5928f959
745
mli
OCaml
src/typing/env.mli
kit-ty-kate/labrys
ffa21b27f2557942073bcdfbe37af96b8bd53902
[ "MIT" ]
65
2018-08-10T11:51:20.000Z
2022-03-25T10:44:56.000Z
src/typing/env.mli
kit-ty-kate/cervoise
568bddf46d147df062e6a7cd045966cc0a279c22
[ "MIT" ]
3
2021-12-26T01:37:08.000Z
2022-01-03T14:39:17.000Z
src/typing/env.mli
kit-ty-kate/cervoise
568bddf46d147df062e6a7cd045966cc0a279c22
[ "MIT" ]
5
2020-12-30T14:50:11.000Z
2022-03-25T10:30:29.000Z
(* Copyright (c) 2013-2017 The Labrys developers. *) (* See the LICENSE file at the top-level directory. *) val empty : TypedEnv.env val union : TypedEnv.env -> TypedEnv.env -> TypedEnv.env val diff : TypedEnv.env -> TypedEnv.env -> TypedEnv.env val get_untyped_values : TypedEnv.env -> LIdent.t EnvMap.Value.t val che...
33.863636
64
0.720805
8ade8dc34fceb647b38cfa4c8d364655c9d00827
51
ml
OCaml
test/blackbox-tests/test-cases/workspaces.t/targets-native/foo.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
test/blackbox-tests/test-cases/workspaces.t/targets-native/foo.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
test/blackbox-tests/test-cases/workspaces.t/targets-native/foo.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
print_endline "message from targets-native test";;
25.5
50
0.803922
8a4e58b72215a289c8ee975bbb15eb9405dbbb45
6,296
mly
OCaml
src/passes/02-parsing/reasonligo/ParToken.mly
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
src/passes/02-parsing/reasonligo/ParToken.mly
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
src/passes/02-parsing/reasonligo/ParToken.mly
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
(* Note: All external symbols here should be unqualified because this file is used by [menhir] that does not always insert the [%{..%}] header. So we work around it by the [-open Module] option in [dune] but symbols should be unqualified. Also, keep in mind that [ParToken.mly] and [...
56.720721
95
0.625794
4445efa1efc14553886eb081ff0ef8dbb7dde723
2,852
ml
OCaml
data/sp14/2637.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/2637.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/2637.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine e' -> sin (pi *. (eval (e', x, y))) | Cosine e' -> cos...
17.825
70
0.490884
442b9ef38902466e040ec0513eb6561764da571d
6,157
mli
OCaml
hashtbl2.mli
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
1
2020-11-02T04:11:52.000Z
2020-11-02T04:11:52.000Z
hashtbl2.mli
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
hashtbl2.mli
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
(** This module provides a kind of hash tables where each key is present only once in the table, as opposed to the naive usage of the standard [Hashtbl] module. Its main purpose is to provide efficient implementation of functions such as [list_keys] with enhanced safety over the direct use of an [('a, 'b list ref) Ha...
41.601351
77
0.65324
8abea47d3b20eaeefec86b9fb902375b174b72f8
5,570
ml
OCaml
bin/main.ml
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
null
null
null
bin/main.ml
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
null
null
null
bin/main.ml
bobzhang/dune
5d690c55085c036b72003f89daec5ad273311a9c
[ "MIT" ]
null
null
null
open! Stdune open Import let run_build_command ~log ~common ~targets = let once () = let open Fiber.O in let* setup = Main.setup ~log common in do_build setup (targets setup) in if common.watch then begin let once () = Utils.Cached_digest.invalidate_cached_timestamps (); once () i...
30.271739
87
0.617953
aff682a9f3615809b4415b7160cfc5fbadda8e59
717
ml
OCaml
data/fa15/1607.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/1607.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/1607.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec digitsOfInt n = if n < 0 then [] else ((digitsOfInt n) / 10) @ ([] @ [n mod 10]);; (* fix let rec digitsOfInt n = if n < 0 then [] else [] @ [n mod 10];; *) (* changed spans (3,24)-(3,46) (3,25)-(3,40) (3,26)-(3,37) (3,38)-(3,39) (3,43)-(3,45) (3,49)-(3,66) (3,53)-(3,54) *) (* type error slice (2,3)-(3...
13.036364
68
0.454672
4435ac6b206ee573e87f2321d6b8044244815f39
330
ml
OCaml
src/lib/consensus/consensus.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
src/lib/consensus/consensus.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
src/lib/consensus/consensus.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
[%%import "../../config.mlh"] module Constants = Constants include Intf [%%if consensus_mechanism = "proof_of_signature"] include Proof_of_signature [%%elif consensus_mechanism = "proof_of_stake"] include Proof_of_stake [%%else] [%%show consesus_mechanism] [%%error "invalid value for \"consensus_mechanism\""] ...
12.692308
44
0.733333