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
1790739a812b0937caad34a5aa15132b31893228
8,307
ml
OCaml
fp_rci_analysis/fp_rci_initial.ml
liangjs/relay
de123b8474c3485abaedcbc52be437d0d27c131d
[ "BSD-3-Clause" ]
2
2019-10-05T04:17:01.000Z
2021-03-08T14:30:34.000Z
fp_rci_analysis/fp_rci_initial.ml
liangjs/relay
de123b8474c3485abaedcbc52be437d0d27c131d
[ "BSD-3-Clause" ]
null
null
null
fp_rci_analysis/fp_rci_initial.ml
liangjs/relay
de123b8474c3485abaedcbc52be437d0d27c131d
[ "BSD-3-Clause" ]
3
2017-07-04T11:06:22.000Z
2022-02-25T05:55:27.000Z
(** Sets up initial state (global and local). Have functions to set up input states for all the "root" functions *) open Cil open Fstructs open Callg open Type_utils open Fp_rci_types open Fp_rci_lattice_ops open Fp_rci_slicer open Fp_rci_store open Fp_rci_summary open Fp_rci_defaults open Fp_rci_globals open Fp...
29.98917
79
0.583725
17a7d4cfb4eea2c1986e991983cd78aaeb1198d5
17,149
ml
OCaml
duniverse/opam-core.2.0.7+dune/src/format/opamFormula.ml
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
duniverse/opam-core.2.0.7+dune/src/format/opamFormula.ml
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
duniverse/opam-core.2.0.7+dune/src/format/opamFormula.ml
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2012-2015 OCamlPro *) (* Copyright 2012 INRIA *) (* ...
30.899099
80
0.570004
171900f4247f4085d27f0153c8caecf291f6308d
8,649
ml
OCaml
src/Typecheck.ml
amiltner/Burst
e574005f1ad35847dd9c995d048fdc534872769e
[ "MIT" ]
null
null
null
src/Typecheck.ml
amiltner/Burst
e574005f1ad35847dd9c995d048fdc534872769e
[ "MIT" ]
null
null
null
src/Typecheck.ml
amiltner/Burst
e574005f1ad35847dd9c995d048fdc534872769e
[ "MIT" ]
null
null
null
open CoreAndMore open Lang let type_equiv (tc:Context.Types.t) (t1:Type.t) (t2:Type.t) : bool = let rec type_equiv_internal (tc1:Context.Types.t) (tc2:Context.Types.t) (t1:Type.t) (t2:Type.t) : bool = let replace_with_definition (tc:Context.Types.t) (v:Id...
27.810289
83
0.530928
aafaf4799d5d4b39a0b00fce3316264e5e0da7c1
6,948
mli
OCaml
analysis/globalResolution.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
analysis/globalResolution.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
analysis/globalResolution.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
1
2021-02-20T13:09:30.000Z
2021-02-20T13:09:30.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 open Statement type t val create : ?dependency:SharedMemoryKeys.DependencyKey.registered -> AnnotatedGlobalEnvironm...
27.140625
100
0.736039
17a055627e868c18295e09d8aa81bb535077d4d6
710
ml
OCaml
examples/markers.ml
slegrand45/jsoo_google_maps
02a232e592a14e9ce129e65618b7dbbe35d80fee
[ "MIT" ]
4
2015-12-22T08:44:47.000Z
2015-12-22T22:43:38.000Z
examples/markers.ml
slegrand45/jsoo_google_maps
02a232e592a14e9ce129e65618b7dbbe35d80fee
[ "MIT" ]
null
null
null
examples/markers.ml
slegrand45/jsoo_google_maps
02a232e592a14e9ce129e65618b7dbbe35d80fee
[ "MIT" ]
null
null
null
module GM = GoogleMaps let demo doc = let element = Js.Opt.get (doc##getElementById(Js.string "demo_markers")) (fun () -> assert false) in let lat_lng = new%js GM.latLng (Js.number_of_float (-25.363)) (Js.number_of_float 131.044) Js.undefined in let options = GM.emptyMapOptions() in let () = optio...
35.5
108
0.659155
17d18b40d308beb9c76136b051eed0a792ca3525
1,586
ml
OCaml
day12/part1/solution.ml
mrattfeldt/advent-of-code-2017
481be01b4e1b382cc1474a08db008a5f78a97005
[ "MIT" ]
null
null
null
day12/part1/solution.ml
mrattfeldt/advent-of-code-2017
481be01b4e1b382cc1474a08db008a5f78a97005
[ "MIT" ]
null
null
null
day12/part1/solution.ml
mrattfeldt/advent-of-code-2017
481be01b4e1b382cc1474a08db008a5f78a97005
[ "MIT" ]
null
null
null
(* Day 12: Digital Plumber *) (* ocamlbuild -use-ocamlfind -pkgs core,str -tag thread solution.native *) (* ./solution.native < <input-file> *) open Core let (>>) f g x = g(f(x)) module Connections = Map.Make(Int) module IntSet = Set.Make(Int) let count prog connections = let rec collect seen prog = Connecti...
28.321429
91
0.578815
17b12ebbbb2229912d33eff735f60a31c71b1e17
2,071
ml
OCaml
src/generators/policyiter/stratimprgenerators.ml
tcsprojects/pgsolver
88202c9452ccdcd4092280b4e76c31a16085d14c
[ "BSD-3-Clause" ]
28
2016-04-03T22:53:46.000Z
2022-03-20T20:53:38.000Z
src/generators/policyiter/stratimprgenerators.ml
tcsprojects/pgsolver
88202c9452ccdcd4092280b4e76c31a16085d14c
[ "BSD-3-Clause" ]
17
2015-03-28T15:29:29.000Z
2019-09-22T16:48:34.000Z
src/generators/policyiter/stratimprgenerators.ml
tcsprojects/pgsolver
88202c9452ccdcd4092280b4e76c31a16085d14c
[ "BSD-3-Clause" ]
17
2015-01-06T10:32:50.000Z
2022-03-22T15:58:23.000Z
open Tcsset open Paritygame open Mdp module SymbolicParityGame = struct open Tcsset open Tcsgraph type 'a symbolic_paritygame = ('a, int) Hashtbl.t * dynamic_paritygame let create_new x = (Hashtbl.create 10, DynamicGraph.make ()) let to_paritygame (ht, gr) = let pg = pg_create (Hashtbl.length ht) in Has...
28.369863
83
0.725736
aabdf1bd7cbc3d4ed8884472afb5e3f1275acf20
432
ml
OCaml
src/lib/test_genesis_ledger/test_five_even_stakes.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/test_genesis_ledger/test_five_even_stakes.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/test_genesis_ledger/test_five_even_stakes.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
open Functor.With_private open Core (* TODO: generate new keypairs before public testnet *) include Make (struct let accounts = lazy (let keypairs = Lazy.force Coda_base.Sample_keypairs.keypairs in let balances = [1_000_000; 1_000_000; 1_000_000; 1_000_000; 1_000_000; 1_000] in ...
28.8
71
0.655093
cd2235a03d11a3304e7d94d6a39d4380c0115735
12,227
mli
OCaml
ocaml_version.mli
Octachron/ocaml-version
7d3f12f1aa0b645c6563944888625a40e2d7b8c8
[ "0BSD" ]
null
null
null
ocaml_version.mli
Octachron/ocaml-version
7d3f12f1aa0b645c6563944888625a40e2d7b8c8
[ "0BSD" ]
null
null
null
ocaml_version.mli
Octachron/ocaml-version
7d3f12f1aa0b645c6563944888625a40e2d7b8c8
[ "0BSD" ]
null
null
null
(* Copyright (c) 2017-2018 Anil Madhavapeddy <anil@recoil.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS"...
32.780161
122
0.675799
17ba8af4e70b4ccb59f3885fd5ffb54dd2a14b4e
5,326
ml
OCaml
node_modules/bs-platform/lib/ocaml/gc.ml
huylg/reasonml-tutorial
4467316f53ab0ea5192206a15b51e7903311ddf1
[ "Apache-2.0" ]
null
null
null
node_modules/bs-platform/lib/ocaml/gc.ml
huylg/reasonml-tutorial
4467316f53ab0ea5192206a15b51e7903311ddf1
[ "Apache-2.0" ]
null
null
null
node_modules/bs-platform/lib/ocaml/gc.ml
huylg/reasonml-tutorial
4467316f53ab0ea5192206a15b51e7903311ddf1
[ "Apache-2.0" ]
null
null
null
[@@@bs.config { flags = [|"-bs-no-cross-module-opt"; |]}] (**************************************************************************) (* *) (* OCaml *) (* ...
32.47561
76
0.586557
179414f8efb787befae877091b6499ee0c6cb1f5
340
ml
OCaml
fpat/realFormula.ml
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
32
2019-10-30T10:09:56.000Z
2022-03-28T07:15:04.000Z
fpat/realFormula.ml
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
1
2021-04-14T19:19:15.000Z
2021-04-15T02:03:56.000Z
fpat/realFormula.ml
li-xin-yi/MoCHi
5fe401323e64ca2dd0235729e705d836f3068751
[ "Apache-2.0" ]
5
2019-11-08T07:49:00.000Z
2022-03-01T18:09:57.000Z
open Util open Combinator (** Formulas on reals *) let eq = Formula.eq Type.mk_real let neq = Formula.neq Type.mk_real let eq_tt = Formula.eq_tt let gt = NumFormula.gt Type.mk_real let lt = NumFormula.lt Type.mk_real let geq = NumFormula.geq Type.mk_real let leq = NumFormula.leq Type.mk_real let within = NumFormula....
22.666667
43
0.767647
1763efb3b5324b89500898989b6282ee182a7108
62,792
ml
OCaml
libraries/rds/lib/createDBInstance.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/rds/lib/createDBInstance.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/createDBInstance.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 CreateDBInstanceMessage = struct type t = { d_b_name: String.t option [@ocaml.doc "<p>The meaning of this parameter differs according to the database engine you use.</p> <p> <b>MySQL</b> </p> ...
79.483544
2,694
0.550643
cd184ce28fd50956c18db72a5ebff0a5aa7c9fd3
153
mli
OCaml
server/tokenLib/i.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
5
2015-01-30T06:16:32.000Z
2020-04-14T09:08:49.000Z
server/tokenLib/i.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
server/tokenLib/i.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
(* © 2014 RunOrg *) include Id.PHANTOM module Assert : sig val server_admin : 'a id -> [`ServerAdmin] id val person : 'a id -> [`Person] id end
17
48
0.620915
177253c9814f7f92b2fe487d718c763adecea288
247
ml
OCaml
OCaml from the Very Beginning/Chapter 11/example01.ml
johnwhitington/ocamli
28da5d87478a51583a6cb792bf3a8ee44b990e9f
[ "BSD-3-Clause" ]
100
2017-09-08T09:49:08.000Z
2022-03-10T12:12:50.000Z
OCaml from the Very Beginning/Chapter 11/example01.ml
johnwhitington/ocamli
28da5d87478a51583a6cb792bf3a8ee44b990e9f
[ "BSD-3-Clause" ]
1
2020-01-31T15:47:28.000Z
2020-02-01T11:54:44.000Z
OCaml from the Very Beginning/Chapter 11/example01.ml
johnwhitington/ocamli
28da5d87478a51583a6cb792bf3a8ee44b990e9f
[ "BSD-3-Clause" ]
null
null
null
type 'a tree = Br of 'a * 'a tree * 'a tree | Lf let rec size tr = match tr with Br (_, l, r) -> 1 + size l + size r | Lf -> 0 let rec total tr = match tr with Br (x, l, r) -> x + total l + total r | Lf -> 0
16.466667
42
0.45749
17da16868810198927a41f9ffb5f2d507f8dde3c
2,222
ml
OCaml
examples/pretty.ml
tmattio/lwd
2a28fd4f6ad28e9147122c6e7016a888ea4570fc
[ "MIT" ]
null
null
null
examples/pretty.ml
tmattio/lwd
2a28fd4f6ad28e9147122c6e7016a888ea4570fc
[ "MIT" ]
null
null
null
examples/pretty.ml
tmattio/lwd
2a28fd4f6ad28e9147122c6e7016a888ea4570fc
[ "MIT" ]
null
null
null
open Nottui module P = Nottui_pretty let string ?attr text = P.ui (Nottui_widgets.string ?attr text) let (^^) = P.(^^) let (^/^) a b = P.(a ^^ break 1 ^^ b) let spring = P.ui (Ui.resize ~sw:1 Ui.empty) let selector text f choices = Nottui_widgets.main_menu_item text (fun () -> Lwd.pure @@ Ui.vcat ( ...
29.236842
81
0.544104
17ed20f321e9df0637fa250a4ba8648547524c50
6,179
ml
OCaml
test/test_hardcaml_verilator.ml
janestreet/hardcaml_verilator
bb24d93658a8553960a98bdd0de4b28c3c5fd43c
[ "MIT" ]
5
2020-08-18T13:30:00.000Z
2021-12-17T02:50:07.000Z
test/test_hardcaml_verilator.ml
janestreet/hardcaml_verilator
bb24d93658a8553960a98bdd0de4b28c3c5fd43c
[ "MIT" ]
null
null
null
test/test_hardcaml_verilator.ml
janestreet/hardcaml_verilator
bb24d93658a8553960a98bdd0de4b28c3c5fd43c
[ "MIT" ]
1
2021-12-17T02:50:59.000Z
2021-12-17T02:50:59.000Z
open Core open Hardcaml open Signal module Unix = Core_unix let set_input (handle : Hardcaml_verilator.t) name = snd (List.find_exn ~f:(fun (a, _) -> String.equal name a) handle.input_setters) ;; let get_output (handle : Hardcaml_verilator.t) name = snd (List.find_exn ~f:(fun (a, _) -> String.equal name a) handle...
33.581522
94
0.629552
1795679e99c26bef2325b8847cdf3ad67bb382ba
1,738
mli
OCaml
CodeHawk/CHC/cchlib/cCHMachineSizes.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cchlib/cCHMachineSizes.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cchlib/cCHMachineSizes.mli
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk C Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2019 Kestrel Technology LLC Permission is hereby granted,...
44.564103
83
0.659954
cd0d3061db60c4752a5af9730f8bf85e668e87bf
1,110
mli
OCaml
d04/ex00/Color.mli
ygarrot/piscine_ocaml
b7bd6fe657be2c2d9ae232440ed821c738d9682c
[ "MIT" ]
null
null
null
d04/ex00/Color.mli
ygarrot/piscine_ocaml
b7bd6fe657be2c2d9ae232440ed821c738d9682c
[ "MIT" ]
null
null
null
d04/ex00/Color.mli
ygarrot/piscine_ocaml
b7bd6fe657be2c2d9ae232440ed821c738d9682c
[ "MIT" ]
null
null
null
(* ************************************************************************** *) (* *) (* ::: :::::::: *) (* Color.mli :+: :+: :+: ...
55.5
80
0.191892
cd11f43e6e3d26510f249fb73cdddbcc251c4b35
734
ml
OCaml
hphp/hack/src/utils/random_id.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
10
2016-07-28T20:02:37.000Z
2021-01-28T05:48:11.000Z
hphp/hack/src/utils/random_id.ml
h4ck3rm1k3/hhvm
79e045f3ad1cbe079ff15c163131eb184db025f9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/random_id.ml
h4ck3rm1k3/hhvm
79e045f3ad1cbe079ff15c163131eb184db025f9
[ "PHP-3.01", "Zend-2.0" ]
5
2017-02-06T11:42:23.000Z
2021-01-11T12:10:08.000Z
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) let () = Rand...
26.214286
80
0.671662
173d3d6b0e4926c0b8ac1254f0e34571b645b992
1,890
mli
OCaml
ReWeb/Form.mli
adrianmcli/re-web
f53cdb778c5a26135d7ea7c5290352b20d223749
[ "MIT" ]
null
null
null
ReWeb/Form.mli
adrianmcli/re-web
f53cdb778c5a26135d7ea7c5290352b20d223749
[ "MIT" ]
null
null
null
ReWeb/Form.mli
adrianmcli/re-web
f53cdb778c5a26135d7ea7c5290352b20d223749
[ "MIT" ]
null
null
null
(** Use {!make} (see below) to create a www form that can be decoded to custom types using the form validation rules defined in fields. *) type 'a decoder = string -> ('a, string) result (** A decoder is a function that takes an encoded value and returns a result of decoding the value. *) module Field : sig ...
36.346154
75
0.621693
17df76239f8bd839dcb352e2a296ad8c256be96b
145
mli
OCaml
src/lib/cparser/Tuples.mli
letonchanh/Coeus
21d417a56a80d6c9014cbb6ed86b329d522fd9a3
[ "Apache-2.0" ]
3
2019-10-06T12:05:37.000Z
2020-04-16T11:40:50.000Z
src/lib/cparser/Tuples.mli
letonchanh/Coeus
21d417a56a80d6c9014cbb6ed86b329d522fd9a3
[ "Apache-2.0" ]
null
null
null
src/lib/cparser/Tuples.mli
letonchanh/Coeus
21d417a56a80d6c9014cbb6ed86b329d522fd9a3
[ "Apache-2.0" ]
2
2020-06-12T00:18:56.000Z
2020-10-09T23:35:38.000Z
type __ = Obj.t type 'x arrows_left = __ type 'x arrows_right = __ type tuple = __ val uncurry : __ list -> 'a1 arrows_left -> tuple -> 'a1
13.181818
56
0.648276
aad4876cf920540f0fce3ed76de182b1d4746424
4,343
ml
OCaml
hphp/hack/src/parser/full_fidelity_operator_generated.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/src/parser/full_fidelity_operator_generated.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/src/parser/full_fidelity_operator_generated.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.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. An additional * directory. * ** * * THIS FILE IS @generated; DO NOT EDIT IT * To regenerate this file, run * * buc...
25.25
74
0.728989
175e6858221b6f3111cc2d899194179423c1e629
3,517
mll
OCaml
sunrisec3/lex.mll
icefoxen/old-sunrise
c0374abde458a4544b41f9ffae49bf9ea6e2bdb4
[ "MIT" ]
null
null
null
sunrisec3/lex.mll
icefoxen/old-sunrise
c0374abde458a4544b41f9ffae49bf9ea6e2bdb4
[ "MIT" ]
null
null
null
sunrisec3/lex.mll
icefoxen/old-sunrise
c0374abde458a4544b41f9ffae49bf9ea6e2bdb4
[ "MIT" ]
null
null
null
(* lex.mll A lexer for Sunrise. Ocamllex. Good stuff. Simon Heath 18/4/2005 *) { open Parse open ErrorReport exception Eof exception Lexer_error let inComment = ref 0;; (* Abbreviation for the func that returns the string being lexed. *) let gs = Lexing.lexeme;; (* Advances the position of the erro...
25.302158
75
0.495309
177fcbaacdfa3ac12efcbbfb374c5bce97b96856
1,057
ml
OCaml
src/execution_context.ml
Leonidas-from-XIV/async_kernel
8e74f62594bf0b3b4c848fe1c5546ecc51195dff
[ "MIT" ]
null
null
null
src/execution_context.ml
Leonidas-from-XIV/async_kernel
8e74f62594bf0b3b4c848fe1c5546ecc51195dff
[ "MIT" ]
null
null
null
src/execution_context.ml
Leonidas-from-XIV/async_kernel
8e74f62594bf0b3b4c848fe1c5546ecc51195dff
[ "MIT" ]
null
null
null
open! Core_kernel open! Import module Monitor = Monitor0 type t = Types.Execution_context.t = { monitor : Monitor.t ; priority : Priority.t ; local_storage : Univ_map.t ; backtrace_history : Backtrace.t list } [@@deriving fields, sexp_of] let invariant (_ : t) = () let main = { ...
27.102564
83
0.673605
17b2a20a1ac2bb27d8a76c249a23b0ad24063500
1,491
ml
OCaml
import.ml
trilis/1ml
5b850e875e9ae06d3ce8e90a22cedbabcf0f33ca
[ "Apache-2.0" ]
null
null
null
import.ml
trilis/1ml
5b850e875e9ae06d3ce8e90a22cedbabcf0f33ca
[ "Apache-2.0" ]
null
null
null
import.ml
trilis/1ml
5b850e875e9ae06d3ce8e90a22cedbabcf0f33ca
[ "Apache-2.0" ]
null
null
null
module S = Set.Make(String) let imports = ref S.empty let std_dir = Filename.dirname (Lib.Filename.canonic Sys.executable_name) let mod_ext = ".1ml" let sig_ext = ".1mls" let index_file = "index" let modules_dir = "node_modules" let finish path = if Lib.Sys.file_exists_at path || Lib.Sys.file_exists_at (Lib....
28.673077
78
0.683434
17b1efe18e7d9935312b57040ff0f58012a51e44
148
ml
OCaml
data/derived/comb/progs/unify/prog6696.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/prog1872.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1872.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let stringOfList f l = "[" ^ ((List.fold_left f "" l) ^ "]");; let _ = stringOfList (stringOfList string_of_int) [[1; 2; 3]; [4; 5]; [6]; []];;
24.666667
74
0.533784
aa7b1a2c7ef3e0570fb810eceb61115e6f20d759
2,626
ml
OCaml
lib/linear_algebra.ml
lyrm/bechamel
941676f2a91ff5990a98aaa7fe97d1099523e828
[ "MIT" ]
null
null
null
lib/linear_algebra.ml
lyrm/bechamel
941676f2a91ff5990a98aaa7fe97d1099523e828
[ "MIT" ]
null
null
null
lib/linear_algebra.ml
lyrm/bechamel
941676f2a91ff5990a98aaa7fe97d1099523e828
[ "MIT" ]
null
null
null
(* Code under Apache License 2.0 but without owner. * I believe owner is Jane Street Group, LLC <opensource@janestreet.com> *) let col_norm a column = let acc = ref 0. in for i = 0 to Array.length a - 1 do let entry = a.(i).(column) in acc := !acc +. (entry *. entry) done ; sqrt !acc let col_inner_p...
26.26
76
0.536938
cd2ef1d5c9f5996a14b0aa4f81f16369ca1dc06c
1,614
ml
OCaml
Assignment 7/Prolog.ml
ankurshaswat/COL226
4fea1825d1e5599bd1e56f7c56351a40f6e908ea
[ "MIT" ]
null
null
null
Assignment 7/Prolog.ml
ankurshaswat/COL226
4fea1825d1e5599bd1e56f7c56351a40f6e908ea
[ "MIT" ]
null
null
null
Assignment 7/Prolog.ml
ankurshaswat/COL226
4fea1825d1e5599bd1e56f7c56351a40f6e908ea
[ "MIT" ]
1
2020-04-06T10:12:40.000Z
2020-04-06T10:12:40.000Z
let parse_string_goals str = let lb = Lexing.from_string str in PrologParser.atomicformulalist PrologLexer.token lb let parse_string_program str = let lb = Lexing.from_string str in PrologParser.clauselist PrologLexer.token lb let parse_channel_program= let lb = Lexing.from_channel (open_in Sys.argv.(1)) in...
29.345455
92
0.701363
17995f963b53859fd482d31090f0da7bc07b1941
325
mli
OCaml
ocaml-sources/ocamltest/tsl_parser.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/ocamltest/tsl_parser.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/ocamltest/tsl_parser.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
type token = | TSL_BEGIN_C_STYLE | TSL_END_C_STYLE | TSL_BEGIN_OCAML_STYLE | TSL_END_OCAML_STYLE | COMMA | TEST_DEPTH of (int) | EQUAL | PLUSEQUAL | INCLUDE | SET | WITH | IDENTIFIER of (string) | STRING of (string) val tsl_block : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Tsl_ast.tsl_b...
18.055556
65
0.670769
17d27a3eb30401d152ad394138d110192f62c210
24
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/tool-ocamldep-modalias/B.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/tool-ocamldep-modalias/B.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/tool-ocamldep-modalias/B.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
open Packed let g = A.f
8
11
0.666667
171b76d4ebb064d9ee892c60d076a215eb8240b2
25,787
ml
OCaml
duniverse/parsexp/src/parser_automaton_internal.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/parsexp/src/parser_automaton_internal.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/parsexp/src/parser_automaton_internal.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
open Import open Ppx_sexp_conv_lib module Public = struct type stack = | Empty | Open of stack | Sexp of Sexp.t * stack let empty_stack = Empty type stack_cst = (* at top-level *) | Empty (* after the given sexp or comment *) | T_or_comment of Cst.t_or_comment * stack_cst (* a...
32.559343
92
0.637957
cd29fafd4897d942399defbaff49a870affb5b7a
4,133
ml
OCaml
examples/auth/oauth2Flow.ml
pdonadeo/gapi-ocaml
920977e242f49f1ed9909cfca8194ff3c4d69743
[ "MIT" ]
null
null
null
examples/auth/oauth2Flow.ml
pdonadeo/gapi-ocaml
920977e242f49f1ed9909cfca8194ff3c4d69743
[ "MIT" ]
null
null
null
examples/auth/oauth2Flow.ml
pdonadeo/gapi-ocaml
920977e242f49f1ed9909cfca8194ff3c4d69743
[ "MIT" ]
null
null
null
open GapiLens.Infix (* Load the configuration file and read the OAuth2 values *) let test_config = Config.parse () let get = Config.get test_config let client_id = get "oa2_id" let client_secret = get "oa2_secret" let redirect_uri = get "oa2_uri" (* Obtain an Access Token from the Google Authorization Server *) let g...
36.901786
105
0.622792
cd25217f3a528bad358f84d2f82ddf32032b0ca9
11,783
ml
OCaml
CodeHawk/CHJ/jchlib/jCHArrayInstantiation.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHJ/jchlib/jCHArrayInstantiation.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHJ/jchlib/jCHArrayInstantiation.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Java Analyzer Author: Arnaud Venet ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2020 Kestrel Technology LLC Permission is her...
33.956772
103
0.616991
17cdc9d351a25209b43b06ebe792e04b9022de05
1,989
ml
OCaml
lib/int32Constant.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
null
null
null
lib/int32Constant.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
null
null
null
lib/int32Constant.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
40.591837
78
0.491202
173bd98c49372ffa324b7455a00598d9f3bdd98a
2,897
ml
OCaml
vendor/ppx_hash/runtime-lib/test/allocation.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/ppx_hash/runtime-lib/test/allocation.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/ppx_hash/runtime-lib/test/allocation.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open Core_kernel let words_of_float = if Sys.word_size = 64 then 2 else 3 let check_allocation : expect:int -> (unit -> 'a) -> 'a = fun ~expect f -> (* It costs 23 words of allocation to discover the allocation! *) let fudge = 17 + 3 * words_of_float in let n0 = Int.of_float ((Gc.stat()).Gc.Stat.minor_words) in...
24.550847
85
0.646876
17a3a4a51ed8b59fdc0e2dad63980bb3ad0fc167
834
ml
OCaml
data/derived/comb/progs/unify/prog5541.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/prog0654.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0654.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = if n <= 0 then [] else (let y = clone x (n - 1) in x :: y);; let rec mulByDigit i l = if i <= 0 then [] else (let f a x = let (m,n) = a in let x = (x * i) + m in if x > 9 then let y = let rec helper num carry = if num < 10 th...
26.903226
73
0.444844
17dad3ba38abaa495a9824cc7c9eb066f3115b8a
1,765
ml
OCaml
libraries/cloudformation/lib/detectStackDrift.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/cloudformation/lib/detectStackDrift.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/cloudformation/lib/detectStackDrift.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = DetectStackDriftInput.t type output = DetectStackDriftOutput.t type error = Errors_internal.t let service = "cloudformation" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpo...
26.742424
88
0.619263
17b0bece32de970cf1a5c8d7e94dc1ba30e138c5
561
ml
OCaml
data/sp14/3526.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/3526.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/3526.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)) mod 10];; (* fix let rec digitsOfInt n = if n < 0 then [] else digitsOfInt (n / 10);; *) (* changed spans (2,46)-(2,77) (2,47)-(2,76) (2,74)-(2,76) *) (* type error slice (2,3)-(2,79) (2,20)-(2,77) (2,24)-(2,77) (2,46)-(2,77) (2,47)-(2,69) (2,...
13.046512
79
0.486631
bc5415db40046dd1913dcbfe14955e504c50eaba
2,196
ml
OCaml
vendor/dune/bin/compute.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/bin/compute.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/bin/compute.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
open Stdune open Import let doc = "Compute internal function." let man = [ `S "DESCRIPTION" ; `P {|Run a registered memoize function with the given input and print the output. |} ; `P {|This should only be used for debugging dune.|} ; `Blocks Common.help_secs ] let info = Term.info "compute" ~do...
26.780488
70
0.556922
cd0a5c8709df5572d7f1f14b0a5c71e9a36b16ab
31,600
ml
OCaml
shmup_gn.ml
fccm/ocaml-shmups
585f57b1564bb06f158129ee9c3301672f1c20a0
[ "Zlib" ]
1
2020-07-19T22:26:08.000Z
2020-07-19T22:26:08.000Z
shmup_gn.ml
fccm/ocaml-shmups
585f57b1564bb06f158129ee9c3301672f1c20a0
[ "Zlib" ]
null
null
null
shmup_gn.ml
fccm/ocaml-shmups
585f57b1564bb06f158129ee9c3301672f1c20a0
[ "Zlib" ]
null
null
null
(* A Simple Abstract Shmup Game Copyright (C) 2019 Florent Monnier 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 and associated e...
25.320513
96
0.528354
cd2ea6c40a8049f4ad308940f186f0aad78243b1
410
ml
OCaml
data/derived/comb/progs/unify/prog1906.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/prog1906.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1906.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec digitsOfInt n = if ((n mod 2) = 0) && (n > 0) then let rec loop input = if input = 0 then [] else (loop (input / 10)) @ [input mod 10] in loop n else [];; let digits n = digitsOfInt (abs n);; let rec sumList xs = if xs = [] then 0 else (let h::t = xs in h + (sumList t));; let rec addit...
24.117647
71
0.585366
cd1481d29f40ee175e89591965316dab6ff6a3b7
618
ml
OCaml
tests/tool-ocaml/t092-pushacc7.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
1
2016-05-17T14:29:13.000Z
2016-05-17T14:29:13.000Z
tests/tool-ocaml/t092-pushacc7.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
tests/tool-ocaml/t092-pushacc7.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
open Lib;; let x = false in let y = true in let z = true in let a = true in let b = true in let c = true in let d = true in let e = true in if x then raise Not_found ;; (** 0 CONSTINT 42 2 PUSHACC0 3 MAKEBLOCK1 0 5 POP 1 7 SETGLOBAL Lib 9 CONST0 10 PUSHCONST1 11 PU...
16.702703
32
0.57767
aa8a6286f2d10b2224b80874a7292142bff10679
12,055
ml
OCaml
piqic-ocaml/piqic_ocaml_in.ml
alavrik/piqi-ocaml
50b73dd13ca5ff0d9a5ffe3ff0179ffcbe916327
[ "Apache-2.0" ]
32
2015-06-10T08:34:29.000Z
2021-11-04T18:55:58.000Z
piqic-ocaml/piqic_ocaml_in.ml
alavrik/piqi-ocaml
50b73dd13ca5ff0d9a5ffe3ff0179ffcbe916327
[ "Apache-2.0" ]
11
2015-04-28T22:47:12.000Z
2021-09-29T15:07:56.000Z
piqic-ocaml/piqic_ocaml_in.ml
alavrik/piqi-ocaml
50b73dd13ca5ff0d9a5ffe3ff0179ffcbe916327
[ "Apache-2.0" ]
8
2015-06-27T15:11:40.000Z
2020-06-08T16:45:31.000Z
(* Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2017 Anton Lavrik Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless req...
31.976127
88
0.618167
aa8498550073b694080c03d7426d15efbd37fce9
4,385
ml
OCaml
src/stdune/dyn.ml
phink/dune
19556d65ba63c28b4b99021a86bd50ca34268b1a
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
src/stdune/dyn.ml
phink/dune
19556d65ba63c28b4b99021a86bd50ca34268b1a
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
src/stdune/dyn.ml
phink/dune
19556d65ba63c28b4b99021a86bd50ca34268b1a
[ "MIT" ]
1
2017-12-07T21:21:12.000Z
2017-12-07T21:21:12.000Z
module Array = Stdlib.ArrayLabels module List = Stdlib.ListLabels module String = Stdlib.StringLabels module Bytes = Stdlib.Bytes type t = | Opaque | Unit | Int of int | Int64 of int64 | Bool of bool | String of string | Bytes of bytes | Char of char | Float of float | Option of t option | List o...
25.794118
80
0.553706
1779ceb67cb3b33d545b9d33a8a15f694fed2ac7
461
ml
OCaml
bootstrap/test/basis/either/test_value_map.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
1
2021-08-13T04:54:39.000Z
2021-08-13T04:54:39.000Z
bootstrap/test/basis/either/test_value_map.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
1
2020-02-14T19:21:40.000Z
2020-02-14T19:21:40.000Z
bootstrap/test/basis/either/test_value_map.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
null
null
null
open! Basis.Rudiments open! Basis open Either open Format let test () = printf "@[<h>"; let rec fn = function | [] -> () | either :: eithers' -> begin printf "value_map %a -> %a@\n" (pp Uns.pp Uns.pp) either Uns.pp (value_map ~first:(fun x -> x + 2L) ~second:(fun x -> x + 4L) ei...
18.44
80
0.520607
cd2e39cf8571ea04b0d8e82272c729c656db1623
773
mli
OCaml
presentations/coq-workshop-2014-coq/library/kindops.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
presentations/coq-workshop-2014-coq/library/kindops.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
presentations/coq-workshop-2014-coq/library/kindops.mli
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2015 *) (* \VV/ **************************************************************) (* // * Th...
48.3125
74
0.467012
17f2b759931f942ca73e4ed3637d4a77522decba
1,296
ml
OCaml
runtime/value.ml
ebresafegaga/tina
555e44a77fee234492013644428cb46fbd625440
[ "MIT" ]
3
2021-08-13T11:04:47.000Z
2021-08-15T13:50:40.000Z
runtime/value.ml
ebresafegaga/tina
555e44a77fee234492013644428cb46fbd625440
[ "MIT" ]
null
null
null
runtime/value.ml
ebresafegaga/tina
555e44a77fee234492013644428cb46fbd625440
[ "MIT" ]
1
2021-08-20T12:39:43.000Z
2021-08-20T12:39:43.000Z
open Syntax open Naming type value = | VUnit | VInteger of int | VString of string | VFloat of float | VBool of bool | VTuple of value list | VClosure of (value list -> (value, string) result) | VRecord of DataName.t * (FieldName.t * value) list | VVariant of VarName.t * value li...
34.105263
115
0.588735
aaef84a98430f3ec8356ce7f7f0901ead9bdf5aa
3,573
ml
OCaml
data/sp14/1867.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/1867.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/1867.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 | Acossin of expr* expr | Crazy of expr* expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine e' -> ...
18.512953
72
0.482228
cd362e568bdcb713a07c7d76128402d3d527595f
16,363
ml
OCaml
src/core/ast.ml
matijapretnar/aeff
3af50c51e452df0a1c40d53e7749fd7f085eff19
[ "MIT" ]
9
2020-03-04T15:05:04.000Z
2022-01-26T10:22:53.000Z
src/core/ast.ml
matijapretnar/aeff
3af50c51e452df0a1c40d53e7749fd7f085eff19
[ "MIT" ]
1
2020-12-02T10:14:16.000Z
2020-12-02T12:42:34.000Z
src/core/ast.ml
matijapretnar/aeff
3af50c51e452df0a1c40d53e7749fd7f085eff19
[ "MIT" ]
2
2020-08-17T17:40:15.000Z
2021-08-22T10:55:43.000Z
open Utils module TyName = Symbol.Make () type ty_name = TyName.t module TyNameMap = Map.Make (TyName) let bool_ty_name = TyName.fresh "bool" let int_ty_name = TyName.fresh "int" let unit_ty_name = TyName.fresh "unit" let string_ty_name = TyName.fresh "string" let float_ty_name = TyName.fresh "float" let list_...
36.936795
81
0.652753
17bd3e9f201c7d03c226c65221baf276cddfdce4
598
ml
OCaml
src/ocaml-3.12.0/otherlibs/lablGL/gluTess.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/otherlibs/lablGL/gluTess.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/otherlibs/lablGL/gluTess.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(* $Id: gluTess.ml,v 1.7 2004/07/13 07:55:18 garrigue Exp $ *) (* Code contributed by Jon Harrop *) type winding_rule = [`odd|`nonzero|`positive|`negative|`abs_geq_two] type vertices = (float * float * float) list external tesselate : ?winding:winding_rule -> ?boundary_only:bool -> ?tolerance:float -> verti...
31.473684
75
0.700669
173f3cd624ad67cae10d4d9f291e242700b2e183
215
ml
OCaml
src/tokens.ml
baguette/grammarck
0e30a0b45e4def19049a783e8b817fbe4f2222f1
[ "MIT" ]
null
null
null
src/tokens.ml
baguette/grammarck
0e30a0b45e4def19049a783e8b817fbe4f2222f1
[ "MIT" ]
null
null
null
src/tokens.ml
baguette/grammarck
0e30a0b45e4def19049a783e8b817fbe4f2222f1
[ "MIT" ]
null
null
null
open Parser let token_repr tok = match tok with | Ident(s) -> "Ident(" ^ s ^ ")" | Colon -> "Colon" | Pipe -> "Pipe" | Semi -> "Semi" | Sep -> "Sep" | Ptoken -> "Ptoken"
17.916667
35
0.437209
17e5f91c20908457f5c9fec825fd6b8702820b67
5,648
ml
OCaml
legacy/lib/c/src/bandpass_nifti/FFTW/fftw-3.1.2/genfft-k7/twiddle.ml
deyingli/Standalone_Ooi2022_MMP
74fdb28cb1c26a3088144ced720fc69351ffa5ab
[ "MIT" ]
null
null
null
legacy/lib/c/src/bandpass_nifti/FFTW/fftw-3.1.2/genfft-k7/twiddle.ml
deyingli/Standalone_Ooi2022_MMP
74fdb28cb1c26a3088144ced720fc69351ffa5ab
[ "MIT" ]
null
null
null
legacy/lib/c/src/bandpass_nifti/FFTW/fftw-3.1.2/genfft-k7/twiddle.ml
deyingli/Standalone_Ooi2022_MMP
74fdb28cb1c26a3088144ced720fc69351ffa5ab
[ "MIT" ]
1
2022-03-12T08:21:59.000Z
2022-03-12T08:21:59.000Z
(* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * Copyright (c) 2003, 2006 Matteo Frigo * Copyright (c) 2003, 2006 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 published b...
29.726316
76
0.625708
179a5a1989516f9d0471b79f5618125e5cecabcc
80
ml
OCaml
driver/pkcs11_CK_OBJECT_HANDLE.ml
cryptosense/pkcs11
5f4357d235fc8674fa6bc13d03174f9236fabe34
[ "BSD-2-Clause" ]
22
2016-09-22T13:40:51.000Z
2021-08-05T10:50:19.000Z
driver/pkcs11_CK_SLOT_ID.ml
cryptosense/pkcs11
5f4357d235fc8674fa6bc13d03174f9236fabe34
[ "BSD-2-Clause" ]
42
2016-10-03T13:10:21.000Z
2021-08-12T10:04:10.000Z
driver/pkcs11_CK_OBJECT_HANDLE.ml
cryptosense/pkcs11
5f4357d235fc8674fa6bc13d03174f9236fabe34
[ "BSD-2-Clause" ]
5
2016-09-28T06:34:29.000Z
2021-08-05T07:48:52.000Z
type t = P11_ulong.t [@@deriving eq, ord, show, yojson] let typ = Ctypes.ulong
20
55
0.6875
17f4f5f263674d80c49ed0acad1a75cb5dd49a72
6,567
ml
OCaml
src/util/sarifRules.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
null
null
null
src/util/sarifRules.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
7
2022-02-23T17:37:19.000Z
2022-03-30T16:23:06.000Z
src/util/sarifRules.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
null
null
null
type categoryInformation = { name:string; ruleId:string; helpText:string; shortDescription:string; helpUri:string; longDescription:string; } let unknownRule = { name="Unknown"; ruleId="GO000"; helpText=""; shortDescription=""; helpUri="https://goblint.in.tum.de/home"; longDescription=""; } let...
33.505102
314
0.685244
17b328a4e80ce6d497a3538a295a114e2efe5412
2,642
ml
OCaml
2IMA/Graphes/Projet/dag.ml
LagOussama/enseeiht
d3247880c66cd3754d0bd29781ab1ddec9f6536f
[ "FTL" ]
1
2021-02-26T11:38:34.000Z
2021-02-26T11:38:34.000Z
2IMA/Graphes/Projet/dag.ml
LagOussama/enseeiht
d3247880c66cd3754d0bd29781ab1ddec9f6536f
[ "FTL" ]
null
null
null
2IMA/Graphes/Projet/dag.ml
LagOussama/enseeiht
d3247880c66cd3754d0bd29781ab1ddec9f6536f
[ "FTL" ]
1
2021-04-10T11:39:01.000Z
2021-04-10T11:39:01.000Z
(* Cree les graphes de test dag1 ... dag5 et genere les fichiers .dot associes. Pour visualiser les graphes : dot dag.dot -Tps -o dag.ps evince dag.ps *) module Dag = struct module Vertex = struct type t = string*int*float*float ref let compare : t -> t -> int = Pervasives.compare let hash = Hashtbl.has...
33.871795
140
0.638153
aa2d6526d26aba9c1c82c2f4487dc19dc58788e4
3,282
ml
OCaml
src/rel.ml
MattWindsor91/memalloy
e562f89ce14fdadfda5cf4a604a4d22d32972c0d
[ "MIT" ]
20
2016-09-25T12:36:19.000Z
2021-04-20T18:44:26.000Z
src/rel.ml
MattWindsor91/memalloy
e562f89ce14fdadfda5cf4a604a4d22d32972c0d
[ "MIT" ]
23
2017-02-19T13:14:57.000Z
2019-07-25T16:57:59.000Z
src/rel.ml
MattWindsor91/memalloy
e562f89ce14fdadfda5cf4a604a4d22d32972c0d
[ "MIT" ]
7
2016-11-01T22:57:42.000Z
2019-07-11T13:45:12.000Z
(* MIT License Copyright (c) 2017 by John Wickerson. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ...
39.071429
166
0.686472
175d716cc665e94b7ee4202bbd15b7fae0c6ef8f
1,162
ml
OCaml
vm/stack.ml
minishrink/stack_vm
0ba85fecf5d6c32ea7dfd0b5bf834ff25d9a70a4
[ "MIT" ]
null
null
null
vm/stack.ml
minishrink/stack_vm
0ba85fecf5d6c32ea7dfd0b5bf834ff25d9a70a4
[ "MIT" ]
null
null
null
vm/stack.ml
minishrink/stack_vm
0ba85fecf5d6c32ea7dfd0b5bf834ff25d9a70a4
[ "MIT" ]
null
null
null
module Make (V : Machine.Value) = struct let stack = object val mutable s : V.t list = [] method get = s method set t = s <- t method pop = match s with | hd :: tl -> s <- tl; Some hd | [] -> None method push x = s <- x::s method peek = match s with | hd...
19.04918
49
0.528399
aaa0c5e336630868664afec84fd03947020de26c
6,678
ml
OCaml
src/constraint.ml
ucsc-proglang/sage
c62165999833fb044d2d86ffb0710b917b1ddacd
[ "Apache-2.0" ]
7
2015-01-18T14:34:40.000Z
2020-03-11T02:06:09.000Z
src/constraint.ml
ucsc-proglang/sage
c62165999833fb044d2d86ffb0710b917b1ddacd
[ "Apache-2.0" ]
null
null
null
src/constraint.ml
ucsc-proglang/sage
c62165999833fb044d2d86ffb0710b917b1ddacd
[ "Apache-2.0" ]
null
null
null
open Support.Pervasive open Support.Error open Syntax open Primitives open Format open Print open Term type constraint_t = info * context * term * term let star fi = TmPrimitive(fi, "*", []) let rec type_constraints ctx t = match t with | TmPlaceHolder (fi, name, subst) -> star fi, [] | TmVar (fi, index, ...
33.898477
77
0.596137
177ef33fcd6118ab8d31aab33a9b7f8473852a28
479
ml
OCaml
lib/uint32.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
3
2017-06-25T12:49:34.000Z
2019-11-07T21:13:50.000Z
lib/uint32.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
null
null
null
lib/uint32.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
null
null
null
open Sexplib.Std type t = int64 [@@deriving sexp] module Ast = struct type t = Z.t let asn = Asn.S.integer end (* convert out of range values to random in range values *) let ast_of_t t = if t < 0L || t > 4294967295L then Random.int64 4294967296L |> Z.of_int64 else Z.of_int64 t (* convert out of range va...
20.826087
59
0.676409
bcc8b530350b6123f1e5f6eeb9bc0cceb9f61186
200
ml
OCaml
benchmarks/filter/filter/submissions/sub39.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/filter/filter/submissions/sub39.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/filter/filter/submissions/sub39.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(*********************) (* Problem 1: filter *) (*********************) let rec filter pred lst = match lst with [] -> [] | h::t -> if(pred h) then h::(filter pred t) else filter pred t
25
66
0.425
aafc48e2eb576f66f5f5075757915470794028e7
213
ml
OCaml
examples/obj/fun_class.ml
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
75
2015-10-23T10:31:57.000Z
2021-09-08T11:08:33.000Z
examples/obj/fun_class.ml
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
10
2017-10-18T11:04:30.000Z
2019-10-03T12:42:28.000Z
examples/obj/fun_class.ml
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
9
2015-11-09T16:10:05.000Z
2019-10-01T08:38:09.000Z
class c () = object method m1 = () method m2 = () method m3 = () method m4 = () end let f o = o#m1 let () = let obj = new c () in obj # m2; f obj; let o = (new c () :> <m4:unit>) in ignore (o)
13.3125
36
0.478873
44a81d12820718ee358c16a323516ad13e0fdf00
12,689
ml
OCaml
Definitional_interpreter_for_calculator.ml
shreshthtuli/OCaml-codes
2d8d845be0b0c42fe1c2aef3485f5d1eb290c5c0
[ "MIT" ]
null
null
null
Definitional_interpreter_for_calculator.ml
shreshthtuli/OCaml-codes
2d8d845be0b0c42fe1c2aef3485f5d1eb290c5c0
[ "MIT" ]
null
null
null
Definitional_interpreter_for_calculator.ml
shreshthtuli/OCaml-codes
2d8d845be0b0c42fe1c2aef3485f5d1eb290c5c0
[ "MIT" ]
2
2018-04-21T18:33:23.000Z
2020-08-10T14:59:56.000Z
(* COL226 - Assignment 2. Shreshth Tuli - 2016CS10680 *) type exp = Const of int | Abs of exp | Neg of exp | Var of string | Add of exp * exp | Sub of exp * exp | Mul of exp * exp | Div of exp * exp | Mod of exp * exp | Exponent of exp * exp | T | F | Not of exp | And of exp * exp | Or of exp * exp | Implies o...
37.877612
121
0.508157
cd08da957e7cdf8276dec2bb141c15f159147d09
7,282
ml
OCaml
src/pure/message.ml
yawaramin/dream
257f0e0d41828d7eefa1e41f2de05dbb8ef9ed7b
[ "MIT" ]
null
null
null
src/pure/message.ml
yawaramin/dream
257f0e0d41828d7eefa1e41f2de05dbb8ef9ed7b
[ "MIT" ]
null
null
null
src/pure/message.ml
yawaramin/dream
257f0e0d41828d7eefa1e41f2de05dbb8ef9ed7b
[ "MIT" ]
null
null
null
(* This file is part of Dream, released under the MIT license. See LICENSE.md for details, or visit https://github.com/aantron/dream. Copyright 2021 Anton Bachin *) (* Type abbreviations and modules used in defining the primary types *) type 'a promise = 'a Lwt.t type 'a field_metadata = { name : string o...
23.642857
79
0.695825
17193f724784e97eacf350a06d8f35b8c7aa86c6
36,475
ml
OCaml
hphp/hack/src/typing/typing_defs_core.ml
Mu-L/hhvm
972dcfd068c41f18ba5eadd1b833750917817225
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_defs_core.ml
Mu-L/hhvm
972dcfd068c41f18ba5eadd1b833750917817225
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_defs_core.ml
Mu-L/hhvm
972dcfd068c41f18ba5eadd1b833750917817225
[ "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 Reason = Typing_reason type pos_id = Reason.pos_id [@@deriving eq, ord, show] type ce_visib...
32.307352
103
0.632378
cd088bbedbcf411998d4e8706767a02bcadbad4b
1,301
ml
OCaml
src/tsdl_top.ml
kxcteam/tsdl
9e089594f3f85757df2deab396cf11e894feaf4e
[ "0BSD" ]
74
2015-03-13T11:52:26.000Z
2022-03-23T04:31:54.000Z
src/tsdl_top.ml
kxcteam/tsdl
9e089594f3f85757df2deab396cf11e894feaf4e
[ "0BSD" ]
62
2015-03-13T12:30:42.000Z
2022-03-27T08:36:17.000Z
src/tsdl_top.ml
kxcteam/tsdl
9e089594f3f85757df2deab396cf11e894feaf4e
[ "0BSD" ]
26
2015-01-15T06:21:33.000Z
2022-03-03T02:11:23.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2013 The tsdl programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) let () = ignore (Toploop...
56.565217
79
0.584935
17849ec2620202cd340b3cad504fa65c7d1748c4
4,068
ml
OCaml
meja/src/ast_build.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
418
2018-03-02T05:08:51.000Z
2022-03-31T07:29:14.000Z
meja/src/ast_build.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
174
2018-03-02T21:54:45.000Z
2022-03-10T16:42:24.000Z
meja/src/ast_build.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
74
2018-03-02T01:43:50.000Z
2022-03-26T13:06:24.000Z
open Core_kernel open Ast_types open Parsetypes module Loc = struct let mk ?(loc = Location.none) (x : 'a) : 'a Location.loc = Location.mkloc x loc let map x ~f = {Location.loc= x.Location.loc; txt= f x.Location.txt} let of_prim = Ast_types.loc_of_prim let of_pos (loc_start, loc_end) = {Location.loc...
28.055172
80
0.648476
17736e0b703efa0242c943acdf8161a25aeb6f55
2,565
ml
OCaml
src/display.ml
ilikeheaps/small-shogi
9176a729e657e1d0fb0b4caf5a5f872c7ff0bcf4
[ "MIT" ]
null
null
null
src/display.ml
ilikeheaps/small-shogi
9176a729e657e1d0fb0b4caf5a5f872c7ff0bcf4
[ "MIT" ]
null
null
null
src/display.ml
ilikeheaps/small-shogi
9176a729e657e1d0fb0b4caf5a5f872c7ff0bcf4
[ "MIT" ]
null
null
null
open Lwt open LTerm_widget open Extensions let string_of_field (field : Shogi.field) : string = match field with | Some (piece, _ (*player*)) -> Shogi.string_of_piece piece | None -> " " let button_matrix mat on_click = let vbox = Array.fold_left (* didn't work without explicit type for vbox ...
22.304348
73
0.613645
17bb45ddf8892d2da886a613a7bff4aed02185ff
203
ml
OCaml
tests/test10/add_test.ml
mingboiz/OCaMOSS
57a12181bb785cc20d558ef38bdfea9a1a393d56
[ "MIT" ]
11
2020-05-09T22:22:10.000Z
2022-02-22T05:23:01.000Z
tests/test10/add_test.ml
mingboiz/OCaMOSS
57a12181bb785cc20d558ef38bdfea9a1a393d56
[ "MIT" ]
3
2019-11-02T07:25:12.000Z
2021-11-26T16:19:43.000Z
tests/test10/add_test.ml
mingboiz/OCaMOSS
57a12181bb785cc20d558ef38bdfea9a1a393d56
[ "MIT" ]
5
2019-12-02T19:23:12.000Z
2022-01-06T13:19:25.000Z
open OUnit open Add let tests = "test suite for add" >::: [ "onetwo" >:: (fun _ -> assert_equal 3 (add 1 2)); "sevone" >:: (fun _ -> assert_equal 8 (add 7 1)); ] let _ = run_test_tt_main tests
20.3
53
0.591133
1736d7d34eccea7875c64d28b2ec4f28b57a6a47
6,519
ml
OCaml
vendor/core_kernel/test/src/test_string_id.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core_kernel/test/src/test_string_id.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core_kernel/test/src/test_string_id.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Core_kernel open! Import open! String_id open! Int.Replace_polymorphic_compare module Unit_tests_util = struct let to_bin_str t ~bin_writer_t ~bin_size_t = let write = bin_writer_t.Bin_prot.Type_class.write in let size = bin_size_t t in let buf = Bigstring.create size in let len = write buf ~po...
28.099138
91
0.671269
178ce91f96bc075641eff2c9db8b3b8fb42aff10
14,616
ml
OCaml
CodeHawk/CHC/cchlib/cCHBasicTypesXml.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cchlib/cCHBasicTypesXml.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cchlib/cCHBasicTypesXml.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk C Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2019 Kestrel Technology LLC Permission is hereby granted,...
39.184987
97
0.715859
17e4d1d30080efa6eaacce267f6dbd965994b35f
3,713
ml
OCaml
vendor/re/src/cset.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
vendor/re/src/cset.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
vendor/re/src/cset.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
(* RE - A regular expression library Copyright (C) 2001 Jerome Vouillon email: Jerome.Vouillon@pps.jussieu.fr 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, with linking...
23.5
79
0.521411
aa24b803a44c7b57d83dc5ba37a7b8534b072f5e
2,207
mli
OCaml
src-driver/b0d_sexp_descr.mli
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
src-driver/b0d_sexp_descr.mli
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
src-driver/b0d_sexp_descr.mli
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2017 The b0 programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (*...
40.127273
79
0.628455
cd1a5408efcb0d051157ae127d990a0603475de3
3,720
ml
OCaml
src/ast.ml
jdrprod/lisp_interpreter
5c0bc1d2a8af0d5d04fe93f5518553421e43f674
[ "MIT" ]
null
null
null
src/ast.ml
jdrprod/lisp_interpreter
5c0bc1d2a8af0d5d04fe93f5518553421e43f674
[ "MIT" ]
null
null
null
src/ast.ml
jdrprod/lisp_interpreter
5c0bc1d2a8af0d5d04fe93f5518553421e43f674
[ "MIT" ]
null
null
null
(* ============================ *) (* UTILS for AST manipulation *) (* ============================ *) type sexpr = | Num of int | Sym of string | Pair of sexpr * sexpr | Nil (* ============================ *) (* Printing *) (* ============================ *) let rec ppast a = match a...
25.833333
81
0.46129
cd36dd948bbe11c8047a44367103e0e26c342fa6
1,135
mli
OCaml
actors.mli
bobzhang/MariOCaml
d1a429e3e9f465739a2404a039e4ea92a30be355
[ "MIT" ]
49
2017-04-28T20:17:34.000Z
2021-08-10T20:06:56.000Z
actors.mli
bobzhang/MariOCaml
d1a429e3e9f465739a2404a039e4ea92a30be355
[ "MIT" ]
null
null
null
actors.mli
bobzhang/MariOCaml
d1a429e3e9f465739a2404a039e4ea92a30be355
[ "MIT" ]
8
2017-04-29T00:51:47.000Z
2018-06-30T05:10:53.000Z
type dir_1d = | Left | Right type dir_2d = | North | South | East | West val eq_dir_1d : dir_1d -> dir_1d -> bool (* Generic xy record for easy position access *) type xy = { mutable x: float; mutable y: float; } (* Controls correspond to keyboard input *) type controls = | CLeft | CRight | CUp | CDown (...
14.551282
48
0.639648
173d71fd1502c7667790883dd14e800cacfc3a9c
2,681
mli
OCaml
src/typing/type_annotation.mli
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
src/typing/type_annotation.mli
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
src/typing/type_annotation.mli
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (** services for producing types from annotations, called during AST traversal. *) val convert: Context.t -> Type.t SMap.t -> ...
30.816092
111
0.681462
17e57406e6c1f1918b66cccb56777bf4d6152f55
429
ml
OCaml
test/testprogram.ml
0x0f0f0f/gobba
61092207438fb102e36245c46c27a711b8f357cb
[ "MIT" ]
33
2020-01-17T18:55:53.000Z
2021-07-27T20:47:08.000Z
test/testprogram.ml
0x0f0f0f/gobba
61092207438fb102e36245c46c27a711b8f357cb
[ "MIT" ]
7
2020-01-17T18:33:28.000Z
2020-01-24T21:16:51.000Z
test/testprogram.ml
0x0f0f0f/gobba
61092207438fb102e36245c46c27a711b8f357cb
[ "MIT" ]
1
2020-02-03T20:59:17.000Z
2020-02-03T20:59:17.000Z
open Gobba.Types open Util module A = Alcotest let test_fibonacci () = checkprogram "fibonacci.gob" (EvtInt 55) let test_matrix () = checkprogram "matrixmult.gob" (EvtList [EvtList [EvtInt 9; EvtInt 12; EvtInt 15]; EvtList [EvtInt 19; EvtInt 26; EvtInt 33]; EvtList [EvtInt 29; EvtInt 40; EvtInt 51]]) let test_suite...
28.6
76
0.734266
17dca8a2f1f5d709e57b5c05251b035249f9e8a2
32,291
ml
OCaml
src/proto_013_PtJakart/lib_protocol/constants_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_013_PtJakart/lib_protocol/constants_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_013_PtJakart/lib_protocol/constants_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
40.978426
83
0.63064
cd2815b33d683997628171c7186d36d30f1fce96
1,747
ml
OCaml
examples/visitorJava/formule.ml
beaCarre/OJacare2
b1081e26a29f6528916951add92a5d4adf346afa
[ "Beerware" ]
2
2015-03-20T11:50:27.000Z
2019-11-18T21:10:44.000Z
OJacare2/examples/visitorJava/formule.ml
hnrgrgr/OJacare2
61234066f2016ab70e9294c26008b60ef77a6a0b
[ "Beerware" ]
null
null
null
OJacare2/examples/visitorJava/formule.ml
hnrgrgr/OJacare2
61234066f2016ab70e9294c26008b60ef77a6a0b
[ "Beerware" ]
2
2015-06-08T20:06:37.000Z
2020-11-02T01:31:35.000Z
open Visiteur let string_of_formule f = let rec output buf f = match f with | `Cst true -> Buffer.add_string buf "true" | `Cst false -> Buffer.add_string buf "false" | `Var nom -> Buffer.add_string buf nom | `Non sf -> Buffer.add_string buf "!("; output buf sf; Buffer.a...
26.876923
61
0.595879
aacc7b876f75740437e36639de38713fdf64473e
1,593
ml
OCaml
tests/test_redis_multi_db.ml
tategakibunko/ocaml-redis
684c510dd73efc1e82dda0434794668255517222
[ "BSD-3-Clause" ]
10
2015-09-17T05:47:35.000Z
2021-08-03T15:07:34.000Z
tests/test_redis_multi_db.ml
tategakibunko/ocaml-redis
684c510dd73efc1e82dda0434794668255517222
[ "BSD-3-Clause" ]
null
null
null
tests/test_redis_multi_db.ml
tategakibunko/ocaml-redis
684c510dd73efc1e82dda0434794668255517222
[ "BSD-3-Clause" ]
2
2015-02-20T18:53:46.000Z
2016-03-17T18:14:32.000Z
(* Copyright (C) 2011 Rory Geoghegan - r.geoghegan@gmail.com Released under the BSD license. See the LICENSE.txt file for more info. Tests for "Commands operating on multiple db" *) open Script;; let test_select () = let test_func connection = Redis.select 1 connection in use_test_script ...
26.55
74
0.559322
1759ec6e371930465bc7c4ac01c48b77de107d4d
20,305
mli
OCaml
hphp/hack/src/typing/typing_defs_core.mli
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_defs_core.mli
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
3
2022-02-17T04:00:03.000Z
2022-03-24T03:45:33.000Z
hphp/hack/src/typing/typing_defs_core.mli
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
1
2022-01-06T04:58:57.000Z
2022-01-06T04:58:57.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 Reason = Typing_reason type pos_id = Reason.pos_id [@@deriving eq, ord, show] type ce_visibility = | Vpub...
33.178105
90
0.699778
cd2bcafc72153fde979c1fa88c74c6779f1e4bd9
222
mli
OCaml
libraries/route53/lib/updateHealthCheck.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/route53/lib/updateHealthCheck.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/route53/lib/updateHealthCheck.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 = UpdateHealthCheckRequest.t type output = UpdateHealthCheckResponse.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
20.181818
85
0.774775
17940f1c512dfbfeff59bbfa092eefd93bdbf2f8
2,761
ml
OCaml
src/help.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
245
2016-08-29T14:21:13.000Z
2022-03-12T04:08:52.000Z
src/help.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
13
2016-08-29T14:55:35.000Z
2021-07-30T04:25:32.000Z
src/help.ml
andersfugmann/ecaml
c1bb0fb79f314c4de2e7664d62ad2b0b57b6ad6c
[ "MIT" ]
13
2016-08-30T00:53:52.000Z
2021-12-17T02:51:25.000Z
open! Core open! Import let get_text_of_help ~invoke_help = Echo_area.inhibit_messages Sync invoke_help; let help_buf = Buffer.find ~name:"*Help*" |> Option.value_exn in Current_buffer.set_temporarily Sync help_buf ~f:(fun () -> Current_buffer.contents () |> Text.to_utf8_bytes |> String.split_lines ...
28.463918
90
0.661355
aa1c76d7cb529a32c868567af0fb9253b95b951c
229
mli
OCaml
libraries/sqs/lib/getQueueAttributes.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/sqs/lib/getQueueAttributes.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/sqs/lib/getQueueAttributes.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types type input = GetQueueAttributesRequest.t type output = GetQueueAttributesResult.t type error = Errors_internal.t include (Aws.Call with type input := input and type output := output and type error := error)
32.714286
75
0.751092
cd37dd827f1d248b889d971bb10c329b5d747a88
2,537
ml
OCaml
benchmarks/crazy2add/crazy2add/submissions/sub158.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/crazy2add/crazy2add/submissions/sub158.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/crazy2add/crazy2add/submissions/sub158.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type crazy2 = NIL | ZERO of crazy2 | ONE of crazy2 | MONE of crazy2 let rec crazy2add (pc : crazy2 * crazy2) : crazy2 = match pc with | (NIL, b) -> b | (ZERO c, NIL) -> ZERO c | (ZERO c, ZERO d) -> ZERO (crazy2add (c, d)) | (ZERO c, ONE d) -> ONE (crazy2add (c, d)) | (ZE...
48.788462
158
0.620024
cd10d21a2ee0c00a7fdd873b1d1a9726fa55175e
7,273
ml
OCaml
base-LIG/LoopInvGen+HE/src/IntegerComponents.ml
SaswatPadhi/2019_CAV_Artifact_100
50b4b2c94a3d8b26b91c9dc8d42905c5e591b1c9
[ "MIT" ]
null
null
null
base-LIG/LoopInvGen+HE/src/IntegerComponents.ml
SaswatPadhi/2019_CAV_Artifact_100
50b4b2c94a3d8b26b91c9dc8d42905c5e591b1c9
[ "MIT" ]
null
null
null
base-LIG/LoopInvGen+HE/src/IntegerComponents.ml
SaswatPadhi/2019_CAV_Artifact_100
50b4b2c94a3d8b26b91c9dc8d42905c5e591b1c9
[ "MIT" ]
null
null
null
open Base open Expr let is_constant expr = let rec helper = function | Const _ -> () | Var _ -> raise Caml.Exit | FCall (_, exprs) -> List.iter ~f:helper exprs in try helper expr ; true with Caml.Exit -> false let pos_div x y = (x - (x % y)) / y let (=/=) = fun x y -> (not (Expr.equal x y)) le...
40.18232
98
0.412622
cd3beb12d8f71bd2aef93d4b11f17a72a57e22cd
1,546
mli
OCaml
hack/utils/relative_path.mli
mourner/flow
8bb9d4ef01786d18b9033f16fb0c6eec21f4b0eb
[ "MIT" ]
1
2019-05-17T11:06:58.000Z
2019-05-17T11:06:58.000Z
hack/utils/relative_path.mli
TrionFlow/flow
c7450137a1b0897c558fff6ed3f06fc46ddf76d3
[ "MIT" ]
null
null
null
hack/utils/relative_path.mli
TrionFlow/flow
c7450137a1b0897c558fff6ed3f06fc46ddf76d3
[ "MIT" ]
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 Reordered_argument_collections type prefix = | Root | Hhi | Dummy | Tmp [@@deriving show, enum] va...
25.344262
79
0.680466
cd252425ab8c35d5dcbefd193aa675cfe2a00982
35,082
ml
OCaml
src/dbCache.ml
dogeared/google-drive-ocamlfuse
664ac23814d68565f5fb5653528dadde90890318
[ "MIT" ]
1
2020-03-19T07:37:23.000Z
2020-03-19T07:37:23.000Z
src/dbCache.ml
SeppPenner/google-drive-ocamlfuse
a3800921678869842c7be3668028faad138b2185
[ "MIT" ]
null
null
null
src/dbCache.ml
SeppPenner/google-drive-ocamlfuse
a3800921678869842c7be3668028faad138b2185
[ "MIT" ]
null
null
null
open GapiUtils.Infix open GapiLens.Infix (* Helpers *) let fail rc = failwith ("Sqlite3 error: " ^ (Sqlite3.Rc.to_string rc)) let expect expected rc = if rc <> expected then fail rc let fail_if_not_ok = expect Sqlite3.Rc.OK let get_result rc result = fail_if_not_ok rc; !result let wrap_exec_not_null_no_hea...
29.630068
91
0.62582
17e70a31c91148cd42af96e2df0b86693490edb4
30,400
ml
OCaml
infer/src/clang/CType_decl.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "MIT" ]
4
2021-11-19T02:07:46.000Z
2022-03-24T06:03:50.000Z
infer/src/clang/CType_decl.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "MIT" ]
1
2021-04-05T15:19:58.000Z
2021-12-16T04:22:26.000Z
infer/src/clang/CType_decl.ml
rompic/infer
9013e38594ad377e068555761829ac5e4f1eabf9
[ "MIT" ]
1
2019-10-24T14:47:52.000Z
2019-10-24T14:47:52.000Z
(* * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd (** Processes types and record declarations by adding them to the tenv *) module BuildMethodSignature = struct let get_cla...
38.6277
100
0.718355
177b5cf6f7a969eefd478ab6ff6d00fea2737be0
2,943
ml
OCaml
wp/lib/bap_wp/src/z3_utils.ml
DieracDelta/cbat_tools
df8edf34010b6ba4aa220997e3eb54bbac23d614
[ "MIT" ]
null
null
null
wp/lib/bap_wp/src/z3_utils.ml
DieracDelta/cbat_tools
df8edf34010b6ba4aa220997e3eb54bbac23d614
[ "MIT" ]
null
null
null
wp/lib/bap_wp/src/z3_utils.ml
DieracDelta/cbat_tools
df8edf34010b6ba4aa220997e3eb54bbac23d614
[ "MIT" ]
null
null
null
(***************************************************************************) (* *) (* Copyright (C) 2018/2019 The Charles Stark Draper Laboratory, Inc. *) (* *) (* This...
39.77027
130
0.576962
cd1a285312777f271351f6359fe6e3473ea7f4a5
161
ml
OCaml
result/fixml/iter/sub31/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/iter/sub31/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/iter/sub31/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec iter : int * (int -> int) -> int -> int = fun (n, f) -> let f1 x = if n = 0 then f (x - 2) else f (x + 2) in if n = 0 then f1 else iter (n - 1, f1)
32.2
54
0.484472
aa59d281039c76643eb2d8ac8e8691781bb0351f
112,579
ml
OCaml
source/analysis/test/integration/annotationTest.ml
PulkitMishra/pyre-check
44a9707d4a43ec98ea1833ce42e36998e41bca68
[ "MIT" ]
null
null
null
source/analysis/test/integration/annotationTest.ml
PulkitMishra/pyre-check
44a9707d4a43ec98ea1833ce42e36998e41bca68
[ "MIT" ]
2
2021-08-21T07:50:23.000Z
2022-02-27T21:33:33.000Z
source/analysis/test/integration/annotationTest.ml
PulkitMishra/pyre-check
44a9707d4a43ec98ea1833ce42e36998e41bca68
[ "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 OUnit2 open IntegrationTest let test_check_undefined_type context = let assert_type_errors = assert_type_errors ~context in...
30.600435
139
0.58582
cd13f4a403e40771ef19af8aac7d75a628c88f8c
11,133
ml
OCaml
src/lib/snarkette/fields.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/lib/snarkette/fields.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/lib/snarkette/fields.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Fold_lib open Tuple_lib module type Intf = sig type t [@@deriving eq, bin_io, sexp] val gen : t Quickcheck.Generator.t val one : t val zero : t val ( + ) : t -> t -> t val ( * ) : t -> t -> t val ( - ) : t -> t -> t val ( / ) : t -> t -> t val negate : t -> t val inv ...
23.339623
79
0.55313
cd1a6d65ee26d9b6011bb316e693cb5a6067ee02
28,642
ml
OCaml
infer/src/bufferoverrun/itv.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/bufferoverrun/itv.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/bufferoverrun/itv.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2016 - present * * Programming Research Laboratory (ROPAS) * Seoul National University, Korea * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can ...
27.998045
85
0.544375
bc9173502c99aba878db1dd5fc361941cf1581b7
1,890
ml
OCaml
command/test/queryTest.ml
mzlee/pyre-check
e31eedeedd88aa92890ffe38afdc6063d8b21ef8
[ "MIT" ]
null
null
null
command/test/queryTest.ml
mzlee/pyre-check
e31eedeedd88aa92890ffe38afdc6063d8b21ef8
[ "MIT" ]
null
null
null
command/test/queryTest.ml
mzlee/pyre-check
e31eedeedd88aa92890ffe38afdc6063d8b21ef8
[ "MIT" ]
null
null
null
(** Copyright (c) 2016-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open OUnit2 open Analysis open ServerProtocol open Pyre let fake_root = Path.create_absolute "/tmp" let assert_parses serialized query =...
26.619718
100
0.684656
17bea46f246831dfac01794236b9d5715bb250e7
4,100
ml
OCaml
parser/qd_based/Wasm_Parse_Aux_call_indirect.ml
secure-foundations/vWasm
6d9340c94cf0aa39be4173051fc8eeea373bd183
[ "BSD-3-Clause" ]
null
null
null
parser/qd_based/Wasm_Parse_Aux_call_indirect.ml
secure-foundations/vWasm
6d9340c94cf0aa39be4173051fc8eeea373bd183
[ "BSD-3-Clause" ]
null
null
null
parser/qd_based/Wasm_Parse_Aux_call_indirect.ml
secure-foundations/vWasm
6d9340c94cf0aa39be4173051fc8eeea373bd183
[ "BSD-3-Clause" ]
null
null
null
open Prims type aux_call_indirect = { x: Wasm_Parse_Typeidx.typeidx ; z: Wasm_Parse_Aux_constbyte0.aux_constbyte0 } let (__proj__Mkaux_call_indirect__item__x : aux_call_indirect -> Wasm_Parse_Typeidx.typeidx) = fun projectee -> match projectee with | { x; z;_} -> x let (__proj__Mkaux_call_indirect__item__z : ...
40.594059
79
0.68
cd1c5174d0a7d7b38c853dce7717256d586afbeb
36,364
ml
OCaml
src/gen_ops/op_def_piqi.ml
fishyfriend/tensorflow-ocaml
52c5f1dec1a8b7dc9bc6ef06abbc07da6cd90d39
[ "Apache-2.0" ]
313
2016-03-22T01:28:59.000Z
2022-02-15T19:49:27.000Z
src/gen_ops/op_def_piqi.ml
fishyfriend/tensorflow-ocaml
52c5f1dec1a8b7dc9bc6ef06abbc07da6cd90d39
[ "Apache-2.0" ]
30
2016-04-15T07:31:21.000Z
2020-02-02T01:23:56.000Z
src/gen_ops/op_def_piqi.ml
fishyfriend/tensorflow-ocaml
52c5f1dec1a8b7dc9bc6ef06abbc07da6cd90d39
[ "Apache-2.0" ]
31
2016-03-23T23:06:42.000Z
2021-11-19T20:50:34.000Z
module rec Op_def_piqi : sig type uint64 = int64 type float32 = float type float64 = float type protobuf_int64 = int64 type protobuf_int32 = int32 type binary = string type data_type = [ `dt_invalid | `dt_float | `dt_double | `dt_int32 | `dt_uint8 | `dt_int16 | `dt_int8 | ...
33.701576
89
0.743098
17d4573522bb20e01b18fc4b2e78bf7bcd2eaa59
779
mli
OCaml
src/services/get_def/findRefsUtils.mli
ostera/flow
5006818684fe3210edb57c07fbb978287fdd225f
[ "MIT" ]
1
2019-07-15T20:48:46.000Z
2019-07-15T20:48:46.000Z
src/services/get_def/findRefsUtils.mli
wgao19/flow
8e6b768fd787c5a1b5f7025fbf8b3b00111671de
[ "MIT" ]
null
null
null
src/services/get_def/findRefsUtils.mli
wgao19/flow
8e6b768fd787c5a1b5f7025fbf8b3b00111671de
[ "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. *) type ast_info = (Loc.t, Loc.t) Flow_ast.program * File_sig.With_Loc.t * Docblock.t val compute_docblock: File_key.t -> string (* ...
24.34375
82
0.693196
cd39ddc24ae461e83e5450a310ec3bde1d7b162e
1,573
ml
OCaml
src/parser_utils/signature_utils.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
null
null
null
src/parser_utils/signature_utils.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-04-16T12:04:57.000Z
2021-04-16T12:04:57.000Z
src/parser_utils/signature_utils.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-05-12T18:13:36.000Z
2021-05-12T18:13:36.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Flow_ast_visitor module Procedure_decider = struct class decider = object (this) inherit [bool, Loc.t] visitor ~i...
30.843137
97
0.647807
bc9b78802f669f82b88005f67195eee46c9e18be
8,277
ml
OCaml
src/frontend/action.ml
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
null
null
null
src/frontend/action.ml
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
null
null
null
src/frontend/action.ml
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
null
null
null
(* * frontend/action.ml * The action frontend is responsible on transforming obligations containing * actions to purely first-order obligations * 1) expend definitions of UNCHANGED, [A]_v and <<A>>_v * 2) distribute primes over constant operators * 3) for a leibniz non-constant operator op, distribute primes over...
33.240964
86
0.634167
17d9958bf9e9fce022a380636dcce99e58dcd2cc
1,003
ml
OCaml
src/typing/tvar.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2020-07-11T17:49:59.000Z
2020-07-11T17:49:59.000Z
src/typing/tvar.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
src/typing/tvar.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2019-11-30T03:40:04.000Z
2019-11-30T03:40:04.000Z
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) let mk_no_wrap cx reason = let tvar = Reason.mk_id () in let graph = Context.graph cx in Context.add_tvar cx tvar (Constrain...
30.393939
80
0.716849