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
f389e855936783467c88f93fc1b914adb66c62fd
1,017
ml
OCaml
data/sp14/2753.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/2753.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/2753.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = if (List.length ()) = 0 then a ^ x else a ^ (x ^ sep) in let base = "" in let l = sl in List.fold_left f base l;; (* fix let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = if (List.length s...
15.179104
74
0.465093
f3446420b0c7f3884bc3d11ac75b0fda7755960b
6,689
ml
OCaml
data/derived/fa15/progs/unify/prog0659.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/prog0659.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0659.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX *) (*XXXXXXXXXXXXXXXXXXXXXXXXXXX*) let rec sumList xs = match xs with | [] -> 0 | h::t -> h + sumList t ;; let _ = sumList [1; 2; 3; 4] let _ = sumList [1; -2; 3; 5] let _ = sumList [1; 3; 5; 7; 9; 11] (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
24.061151
94
0.628495
f380b893f51b3d61eda00aed0725e4c9c938763d
1,717
ml
OCaml
test/deriver/gen_dune_rules.ml
CraigFe/ppx_irmin
06d764c6f1049131f1c4c7a3fbc59ff516c9d679
[ "BSD-2-Clause" ]
13
2019-07-08T23:04:21.000Z
2021-10-29T20:36:22.000Z
test/deriver/gen_dune_rules.ml
CraigFe/ppx_irmin
06d764c6f1049131f1c4c7a3fbc59ff516c9d679
[ "BSD-2-Clause" ]
5
2019-08-03T12:39:51.000Z
2020-01-09T18:29:30.000Z
test/deriver/gen_dune_rules.ml
CraigFe/ppx_irmin
06d764c6f1049131f1c4c7a3fbc59ff516c9d679
[ "BSD-2-Clause" ]
1
2019-08-10T10:07:48.000Z
2019-08-10T10:07:48.000Z
let global_stanzas () = Fmt.pr {|(env (_ (env-vars (OCAML_ERROR_STYLE "short") (OCAML_COLOR "never")))) |} let output_stanzas ~expect_failure filename = let base = Filename.remove_extension filename in let pp_library ppf base = if not expect_failure then Fmt.pf ppf "@[<v 1>(library@ (name ...
25.25
76
0.54339
f38c1f1f4599e2c4bffcf9d75bc8983d7c067cba
1,937
ml
OCaml
src/2018/day_02/solution.ml
lukaskollmer/advent-of-code
86ede2073f373994d57ac399397d11d5a8e86bd1
[ "MIT" ]
null
null
null
src/2018/day_02/solution.ml
lukaskollmer/advent-of-code
86ede2073f373994d57ac399397d11d5a8e86bd1
[ "MIT" ]
null
null
null
src/2018/day_02/solution.ml
lukaskollmer/advent-of-code
86ede2073f373994d57ac399397d11d5a8e86bd1
[ "MIT" ]
null
null
null
#use "topfind" ;; #require "extlib" ;; let input = open_in "input.txt" |> Std.input_list (* part 1 *) let get_chars s = let rec imp l = function | -1 -> l | i -> imp (s.[i] :: l) (i-1) in imp [] (String.length s - 1) let count_of e l = let rec imp acc = function [] -> acc | x::xs -> if x...
24.518987
111
0.597832
f393a169705789d626a9206b0c280d74a9064c4b
19,980
ml
OCaml
hphp/hack/src/typing/nastCheck.ml
tstarling/hhvm
6bc40a3d0c7e5f3162b7ce606be52ed7408db3c1
[ "PHP-3.01", "Zend-2.0" ]
1
2022-01-27T10:11:42.000Z
2022-01-27T10:11:42.000Z
hphp/hack/src/typing/nastCheck.ml
tstarling/hhvm
6bc40a3d0c7e5f3162b7ce606be52ed7408db3c1
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/nastCheck.ml
tstarling/hhvm
6bc40a3d0c7e5f3162b7ce606be52ed7408db3c1
[ "PHP-3.01", "Zend-2.0" ]
1
2021-03-24T20:14:38.000Z
2021-03-24T20:14:38.000Z
(** * 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. * *) (* This modu...
25.914397
85
0.564565
f36ab03f030046167099a23806e7c4704dc3ca6d
3,610
ml
OCaml
unikernel/server/unikernel.ml
TheLortex/paf-le-chien
cebe5c055b61c47743778f3b0508cf9b1add148b
[ "MIT" ]
null
null
null
unikernel/server/unikernel.ml
TheLortex/paf-le-chien
cebe5c055b61c47743778f3b0508cf9b1add148b
[ "MIT" ]
null
null
null
unikernel/server/unikernel.ml
TheLortex/paf-le-chien
cebe5c055b61c47743778f3b0508cf9b1add148b
[ "MIT" ]
null
null
null
open Lwt.Infix let ( <.> ) f g = fun x -> f (g x) let ( >>? ) = Lwt_result.bind let app = let open Rock in let handler _req = let resp = Response.make ~status:`OK ~body:(Body.of_string "Hello Rock!") () in Lwt.return resp in App.create ~handler () module Make (_ : Mirage_console.S) (Random : Mirage...
38
126
0.638227
f35e38f1ea9bd803c0c40f310b30bb20fc333d53
2,067
ml
OCaml
src/codegen/gencommon/classInstance.ml
wiltonlazary/haxe
4b46713050c78940abf6c1ce19c8337de3744203
[ "MIT" ]
4,753
2015-01-03T00:45:27.000Z
2022-03-31T07:41:28.000Z
src/codegen/gencommon/classInstance.ml
wiltonlazary/haxe
4b46713050c78940abf6c1ce19c8337de3744203
[ "MIT" ]
6,784
2015-01-01T01:06:28.000Z
2022-03-31T22:12:14.000Z
src/codegen/gencommon/classInstance.ml
wiltonlazary/haxe
4b46713050c78940abf6c1ce19c8337de3744203
[ "MIT" ]
641
2015-01-02T23:54:43.000Z
2022-03-30T07:44:13.000Z
(* The Haxe Compiler Copyright (C) 2005-2019 Haxe Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This prog...
35.637931
100
0.710692
f31f5bd075c87669dfacee9b398b5e97ec133126
343
ml
OCaml
lib/Std.ml
SaswatPadhi/ocaml-logicalform
6b1f1632772f73b89d1ab64047004284b4c4d489
[ "MIT" ]
1
2019-12-19T05:26:48.000Z
2019-12-19T05:26:48.000Z
lib/Std.ml
SaswatPadhi/ocaml-logicalform
6b1f1632772f73b89d1ab64047004284b4c4d489
[ "MIT" ]
null
null
null
lib/Std.ml
SaswatPadhi/ocaml-logicalform
6b1f1632772f73b89d1ab64047004284b4c4d489
[ "MIT" ]
null
null
null
module PPStyle = PrettyPrint.Style module Index = Index.Make(Base.Int) let id = Index.id let ( ?? ) = id module Literal = Literal.Make(Index) module Clause = Clause.Make(Literal) module Term = Term.Make(Literal) module CNF = CNF.Make(Clause) module DNF = DNF.Make(Term) module NNF = NNF.Make(Literal) module Un...
16.333333
36
0.717201
f32ea8eb2b5353149c2aae829685b1c640dfe914
378
mli
OCaml
hphp/hack/src/server/serverRemoteInit.mli
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
1
2019-11-01T13:46:07.000Z
2019-11-01T13:46:07.000Z
hphp/hack/src/server/serverRemoteInit.mli
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverRemoteInit.mli
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "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. * *) val init : MultiWorker.worker list option -> TypecheckerOptions.t -> worker_key:string -> check_id:string ->...
21
66
0.677249
f322866e957f7a67a988acf7ecd2074f8b5e2039
146
ml
OCaml
benchmarks/sigma/sigma1/submissions/sub95.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/sigma/sigma1/submissions/sub95.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/sigma/sigma1/submissions/sub95.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(* hw 1_1. *) let rec sigma (a, b, f) = if a = b then f a else f a + sigma((a + 1), b, f) (* let _ = sigma(1, 10, (function x -> 2 * x)) *)
14.6
36
0.458904
f335c9af2787e5026fd95157f097f2e4a044f76a
5,715
ml
OCaml
src/board.ml
akiradeveloper/computer-go
2194fb564a6cf0a71ce6d8f9035aecdba6d1badf
[ "Apache-2.0" ]
1
2021-05-15T05:01:24.000Z
2021-05-15T05:01:24.000Z
src/board.ml
akiradeveloper/computer-go
2194fb564a6cf0a71ce6d8f9035aecdba6d1badf
[ "Apache-2.0" ]
null
null
null
src/board.ml
akiradeveloper/computer-go
2194fb564a6cf0a71ce6d8f9035aecdba6d1badf
[ "Apache-2.0" ]
1
2021-05-15T05:01:30.000Z
2021-05-15T05:01:30.000Z
open Core.Std open Array type color = Black | White | Gray | (* Dame *) Empty | Outside type t = { matrix: color array array; mutable kou: (int * int) option; (* the last kou put *) agehama: int array; } let bw2int c = match c with | Black -> 0 ...
24.319149
92
0.524759
f3a094157315b4c6930237c89d1650f9e6c80c6b
875
mli
OCaml
lib/dom_dsl_core.mli
jchavarri/rroo
faa40a63ae158113305ed9fb610744d639dbb4f8
[ "MIT" ]
57
2019-02-17T17:56:20.000Z
2019-09-01T09:24:28.000Z
lib/dom_dsl_core.mli
ml-in-barcelona/jsoo-react
faa40a63ae158113305ed9fb610744d639dbb4f8
[ "MIT" ]
68
2021-11-25T10:01:50.000Z
2022-03-29T21:22:00.000Z
lib/dom_dsl_core.mli
ml-in-barcelona/jsoo-react
faa40a63ae158113305ed9fb610744d639dbb4f8
[ "MIT" ]
5
2021-12-28T21:19:57.000Z
2022-03-29T07:10:19.000Z
module Prop : sig type t val any : string -> _ -> t val string : string -> string -> t val bool : string -> bool -> t val int : string -> int -> t val float_ : string -> float -> t val event : string -> (_ Event.synthetic -> unit) -> t val maybe : ('a -> t) -> 'a option -> t val key : string -> t v...
25.735294
74
0.608
f3620455bb43e5c61d7748ed272db2e0451408d3
148
ml
OCaml
Camomile/toolslib/camomileconfig.ml
jpdeplaix/Camomile
06c2367d88bfafe095a17aa3ddb26117a0913e4f
[ "ICU" ]
null
null
null
Camomile/toolslib/camomileconfig.ml
jpdeplaix/Camomile
06c2367d88bfafe095a17aa3ddb26117a0913e4f
[ "ICU" ]
null
null
null
Camomile/toolslib/camomileconfig.ml
jpdeplaix/Camomile
06c2367d88bfafe095a17aa3ddb26117a0913e4f
[ "ICU" ]
null
null
null
(* configuration for tools *) let datadir = "./database" let localedir = "./locales" let charmapdir = "./charmaps" let unimapdir = "./mappings"
14.8
29
0.668919
d2ddc3762689e3bbe2f7827019fe422bcb6958be
2,264
mli
OCaml
src/irmin/node.mli
anmolsahoo25/irmin
652ad8029483fa912d5bef34edc3aedda8aa3e6f
[ "ISC" ]
null
null
null
src/irmin/node.mli
anmolsahoo25/irmin
652ad8029483fa912d5bef34edc3aedda8aa3e6f
[ "ISC" ]
null
null
null
src/irmin/node.mli
anmolsahoo25/irmin
652ad8029483fa912d5bef34edc3aedda8aa3e6f
[ "ISC" ]
null
null
null
(* * Copyright (c) 2013 Louis Gesbert <louis.gesbert@ocamlpro.com> * 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 ...
30.186667
76
0.651943
f320867708eaee75244e0d0446e395e3c871d2f8
1,353
ml
OCaml
src/vmm_json.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
src/vmm_json.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
src/vmm_json.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
(* this is copied from the example (in a comment) in jsonm *) (* type json = [ `Null | `Bool of bool | `Float of float| `String of string | `A of json list | `O of (string * json) list ] *) exception Escape of ((int * int) * (int * int)) * Jsonm.error let find_string_value k = function | `Null | `Bool _ | `Flo...
34.692308
71
0.563932
f30615ee6eff935d61af5ddd02c06ee79ad322ff
7,939
ml
OCaml
data/derived/comb/progs/unify/prog5517.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/prog0630.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0630.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.20132
148
0.689256
f35bb458b82a40216a9e4ba2e009aec88a0ac7a4
305
ml
OCaml
tests/lua_no_opt/match-split.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
1
2021-11-23T13:07:37.000Z
2021-11-23T13:07:37.000Z
tests/lua_no_opt/match-split.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
null
null
null
tests/lua_no_opt/match-split.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
null
null
null
let f1 p k = function | 0 when p () -> k 0 | _ -> k 3 (* Should be shared. *) let f2 p = function | 0 when p () -> 0 | _ -> 3 (* Should not be shared, as it is an atom. *) let f3 p k = function | 0, _ -> k 0 | 1, 2 -> k 1 | _, 1 when p () -> k 2 | _, _ -> k 3 (* Guard and pattern should be shared. *)
20.333333
54
0.514754
f35d2f039f4ac5f5ae057d0e7ecd475558dbb755
3,346
ml
OCaml
examples/shor/extraction/generate_circuit.ml
adrianleh/SQIR
584ca82250968cc255331ad3a61d9c1df0da6424
[ "MIT" ]
44
2019-11-14T00:56:31.000Z
2022-03-25T05:24:05.000Z
examples/shor/extraction/generate_circuit.ml
adrianleh/SQIR
584ca82250968cc255331ad3a61d9c1df0da6424
[ "MIT" ]
23
2020-02-09T01:55:11.000Z
2022-02-04T20:38:24.000Z
examples/shor/extraction/generate_circuit.ml
adrianleh/SQIR
584ca82250968cc255331ad3a61d9c1df0da6424
[ "MIT" ]
13
2020-04-02T09:30:47.000Z
2021-12-21T00:16:31.000Z
open Printf open AltGateSet open ShorExtr let rec sqir_to_qasm oc (u : coq_U ucom) k = match u with | Coq_useq (u1, u2) -> sqir_to_qasm oc u1 (fun _ -> sqir_to_qasm oc u2 k) | Coq_uapp (1, U_X, [a]) -> (fprintf oc "x q[%d];\n" a ; k ()) | Coq_uapp (1, U_H, [a]) -> (fprintf oc "h q[%d];\n" a ; k ()) | Coq_ua...
44.613333
112
0.56575
f357316b0a8a8f2cb759e7a51699e116537e9464
6,593
ml
OCaml
src_top/herd_based/litmus/CLang.ml
VarunKoyyalagunta/rmem
9de95224f6293acb3cd6022471219a0a01b9b260
[ "BSD-2-Clause" ]
37
2019-01-14T13:08:24.000Z
2022-02-14T20:57:12.000Z
src_top/herd_based/litmus/CLang.ml
VarunKoyyalagunta/rmem
9de95224f6293acb3cd6022471219a0a01b9b260
[ "BSD-2-Clause" ]
10
2019-07-26T09:34:35.000Z
2021-12-31T20:17:32.000Z
src_top/herd_based/litmus/CLang.ml
VarunKoyyalagunta/rmem
9de95224f6293acb3cd6022471219a0a01b9b260
[ "BSD-2-Clause" ]
12
2019-02-13T17:50:41.000Z
2021-12-31T19:08:00.000Z
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
33.130653
83
0.537691
f37c13deaee71e344846759b67414d994aebda55
2,572
ml
OCaml
src/lib/network.ml
oxheadalpha/tezos-contract-metadata
d57a103ba6b25be3a13a5417207b906a27fac055
[ "MIT" ]
null
null
null
src/lib/network.ml
oxheadalpha/tezos-contract-metadata
d57a103ba6b25be3a13a5417207b906a27fac055
[ "MIT" ]
2
2021-11-03T21:48:39.000Z
2022-02-04T17:25:46.000Z
src/lib/network.ml
oxheadalpha/tezos-contract-metadata
d57a103ba6b25be3a13a5417207b906a27fac055
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 TQ Tezos <contact@tqtezos.com> *) ...
54.723404
79
0.504666
f37da21c46b47e87080d2fdb20cffbbaade778bf
4,008
ml
OCaml
infer/src/backend/ClosuresSubstitution.ml
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "MIT" ]
1
2020-08-28T14:00:56.000Z
2020-08-28T14:00:56.000Z
infer/src/backend/ClosuresSubstitution.ml
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "MIT" ]
null
null
null
infer/src/backend/ClosuresSubstitution.ml
asadrockk1234/infer
06489dced05bd0e7d19015c0375721885d6f2c1c
[ "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 L = Logging (** value domain, with the following concretization function [gamma]: {[ gamma(VDom.top) ...
32.585366
102
0.6502
d2f47028b5293db9691c773823ae7a9bad69a117
2,797
ml
OCaml
CodeHawk/CHC/cchanalyze/cCHPOCheckCommonBase.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHC/cchanalyze/cCHPOCheckCommonBase.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHC/cchanalyze/cCHPOCheckCommonBase.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,...
33.297619
83
0.614945
d2e4f36bafc72204380bcfe596f7c55a2075c962
51,012
ml
OCaml
hphp/hack/src/server/serverMain.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverMain.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverMain.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open ServerEnv open Reordered_argument_collections open String_utils open Option.Monad_infix (****...
37.814678
112
0.689289
d2e7e88c64621c503aaa92f75eb7346bc0bf3304
600
ml
OCaml
sihl-user/test/user_mariadb.ml
econ-uzh/sihl
a0148d815146b28cd6745d087a976efe8334c5fa
[ "MIT" ]
330
2020-03-18T09:54:39.000Z
2022-03-02T15:51:38.000Z
sihl-user/test/user_mariadb.ml
econ-uzh/sihl
a0148d815146b28cd6745d087a976efe8334c5fa
[ "MIT" ]
272
2020-03-12T18:34:57.000Z
2022-03-31T15:21:22.000Z
sihl-user/test/user_mariadb.ml
econ-uzh/sihl
a0148d815146b28cd6745d087a976efe8334c5fa
[ "MIT" ]
12
2020-06-18T10:55:59.000Z
2021-09-11T06:43:25.000Z
let services = [ Sihl.Database.Migration.MariaDb.register []; Sihl_user.MariaDb.register () ] ;; module Test = User.Make (Sihl_user.MariaDb) let () = Sihl.Configuration.read_string "DATABASE_URL_TEST_MARIADB" |> Option.value ~default:"mariadb://admin:password@127.0.0.1:3306/dev" |> Unix.putenv "DATABASE_URL";...
33.333333
80
0.718333
f39040c54f0f4739e542101c761294f3cf647c85
26,855
ml
OCaml
src/domains/octagonMapDomain.ml
keremc/analyzer
9efcd909f5c1287bca3a9ade08f587d8607114a7
[ "MIT" ]
null
null
null
src/domains/octagonMapDomain.ml
keremc/analyzer
9efcd909f5c1287bca3a9ade08f587d8607114a7
[ "MIT" ]
3
2022-03-04T11:46:07.000Z
2022-03-30T11:27:57.000Z
src/domains/octagonMapDomain.ml
keremc/analyzer
9efcd909f5c1287bca3a9ade08f587d8607114a7
[ "MIT" ]
null
null
null
module B = Basetype module BV = B.Variables module OPT = BatOption module BI = IntOps.BigIntOps open OctagonDomain let min_int = INV.top () |> INV.minimal |> BatOption.get let max_int = INV.top () |> INV.maximal |> BatOption.get let cast varinfo inv = let get_ikind varinfo = match varinfo.Cil.vtype with | C...
35.150524
226
0.562465
f38df011723aed84354e0114806e741e15001d4f
27,951
ml
OCaml
src/lib/backend/DFSyntax.ml
PrincetonUniversity/lucid
3a8f1638858b180e009a914735e474b7cf01845f
[ "MIT" ]
12
2021-07-07T16:09:56.000Z
2022-03-09T14:49:38.000Z
src/lib/backend/DFSyntax.ml
PrincetonUniversity/lucid
3a8f1638858b180e009a914735e474b7cf01845f
[ "MIT" ]
7
2021-08-30T16:48:24.000Z
2022-02-28T21:19:34.000Z
src/lib/backend/DFSyntax.ml
PrincetonUniversity/lucid
3a8f1638858b180e009a914735e474b7cf01845f
[ "MIT" ]
2
2021-11-05T23:14:37.000Z
2022-03-14T02:10:32.000Z
(* DataFlow syntax -- extension of LLSyntax where table nodes are (eventually) arranged by dataflow rather than control flow. *) open LLSyntax open MiscUtils open Graph open Format open MiscUtils module CL = Caml.List exception Error of string let error s = raise (Error s) (* A graph-based representation of a prog...
27.923077
168
0.678473
f3a603754e8748e2f588fe120d2dc016a3926de8
8,499
mli
OCaml
source/procord_worker.mli
cryptosense/procord
3cc04f67932e023a0ff86f1c557c161f76686b06
[ "MIT" ]
7
2015-08-10T18:23:00.000Z
2017-10-30T05:40:19.000Z
source/procord_worker.mli
cryptosense/procord
3cc04f67932e023a0ff86f1c557c161f76686b06
[ "MIT" ]
null
null
null
source/procord_worker.mli
cryptosense/procord
3cc04f67932e023a0ff86f1c557c161f76686b06
[ "MIT" ]
null
null
null
(** Main function to run a Procord worker. *) (** Workers are external programs which can execute some tasks. The easiest way to build a worker is just to use [run]. If you prefer to handle command-line options yourself, use other [run_*] functions. *) (** Same as [Procord_task.worker_task], but allowing het...
38.986239
80
0.679492
f350286561b66029369541d8cb03e5d580b28c87
15,037
ml
OCaml
duniverse/opam-core.2.0.7+dune/src/tools/opam_installer.ml
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
duniverse/opam-core.2.0.7+dune/src/tools/opam_installer.ml
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
duniverse/opam-core.2.0.7+dune/src/tools/opam_installer.ml
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2013 OCamlPro *) (* *) (* All righ...
37.781407
119
0.597194
f3852fc2eec0d5c971e3065c81a3f94b1d954583
536
mli
OCaml
service/check.mli
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
null
null
null
service/check.mli
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
null
null
null
service/check.mli
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "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 Analysis type result = { module_tracker: ModuleTracker.t; ast_environment: Analysis.AstEnvironment.t; environment: TypeEnvironmen...
25.52381
66
0.748134
f370bd49aeea28dbaca203954f3fcb9ea016509d
8,184
mli
OCaml
srk/src/weightedGraph.mli
ruijiefang/duet-IW
42365dca17da7cbdcf7fb7e7ca1775298c454970
[ "MIT" ]
null
null
null
srk/src/weightedGraph.mli
ruijiefang/duet-IW
42365dca17da7cbdcf7fb7e7ca1775298c454970
[ "MIT" ]
null
null
null
srk/src/weightedGraph.mli
ruijiefang/duet-IW
42365dca17da7cbdcf7fb7e7ca1775298c454970
[ "MIT" ]
null
null
null
(** Operations for manipulating weighted graphs. A weighted graph is a graph where edges are labeled by elements of a regular algebra. *) type 'a weighted_graph type 'a t = 'a weighted_graph (** Regular algebra signature *) type 'a algebra = { mul : 'a -> 'a -> 'a; add : 'a -> 'a -> 'a; star : 'a ->...
37.2
96
0.631109
d2d42a82b8a994c990421de00d4c3d98e1c9cb85
7,638
ml
OCaml
data/derived/comb/progs/unify/prog4882.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/prog4882.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4882.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.989399
148
0.633805
d2e56987a8dc2d5c6a350d2741da7239859e61ab
29,240
ml
OCaml
src/monitor/flowServerMonitorServer.ml
ayshiff/flow
887103710b5e5ca5c2acc6af8adbf6d79d9cbc7b
[ "MIT" ]
null
null
null
src/monitor/flowServerMonitorServer.ml
ayshiff/flow
887103710b5e5ca5c2acc6af8adbf6d79d9cbc7b
[ "MIT" ]
17
2020-10-12T16:16:07.000Z
2021-08-07T04:38:39.000Z
src/monitor/flowServerMonitorServer.ml
Jankyboy/flow
f9839688acace8af5dbda39d808924347286862d
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (* The Flow server monitor will start one or more Flow servers over its lifetime. This module is how * the monitor interacts with ...
40.667594
102
0.672914
f3906d89ac34163304bccda2f4ccbe1f73a20f00
22,535
ml
OCaml
bench/irmin-pack/trace_stat_summary_utils.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "0BSD" ]
null
null
null
bench/irmin-pack/trace_stat_summary_utils.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "0BSD" ]
null
null
null
bench/irmin-pack/trace_stat_summary_utils.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2018-2021 Tarides <contact@tarides.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AN...
35.544164
80
0.613446
d2de84a66604bc119b685670e10dd0a7747beca9
27,077
ml
OCaml
src/environments.ml
tylergreen/bondi
30d7a1863ee1ea7f05888732d3cc98c54d0027ec
[ "BSD-3-Clause" ]
11
2015-10-15T15:33:03.000Z
2020-01-29T11:47:25.000Z
src/environments.ml
tylergreen/bondi
30d7a1863ee1ea7f05888732d3cc98c54d0027ec
[ "BSD-3-Clause" ]
null
null
null
src/environments.ml
tylergreen/bondi
30d7a1863ee1ea7f05888732d3cc98c54d0027ec
[ "BSD-3-Clause" ]
2
2020-01-27T22:43:22.000Z
2021-05-14T11:13:40.000Z
open List open Format open Datum open P_data module OrderedTyVars = struct type t = tyVar let compare v1 v2 = match v1,v2 with (TyVar x1,TyVar x2) -> compare x1 x2 | (TyVar _,_) -> 1 | (_,TyVar _) -> -1 | (MTypeVar x1,MTypeVar x2) -> compare x1 x2 end module TyVarSet =...
23.8985
111
0.572922
f387f3b8fbce3bdcc5596bced1c2bcfe8b31c39e
7,449
ml
OCaml
vendor/base_quickcheck/test/src/test_observer.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/base_quickcheck/test/src/test_observer.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/base_quickcheck/test/src/test_observer.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Import type 'a t = 'a Observer.t let create = Observer.create let observe = Observer.observe let%expect_test ("observe & create"[@tags "64-bits-only"]) = let obs = Observer.create (fun x ~size ~hash -> hash_fold_int hash (* make sure to use [size] so we can tell it is threaded in pr...
24.996644
88
0.675258
f369dd0ead10e45c074f7ec17edb22ebb6079af4
88,314
ml
OCaml
trained/NYSE-MS-day-2014-06-10-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
null
null
null
trained/NYSE-MS-day-2014-06-10-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
null
null
null
trained/NYSE-MS-day-2014-06-10-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
2
2020-05-03T11:14:09.000Z
2021-11-18T10:26:30.000Z
[BASIC] [BASIC:PARAMS] [BASIC:NETWORK] beginTraining=0 connectionLimit=0 contextTargetOffset=0,0,0 contextTargetSize=0,0,0 endTraining=2 hasContext=f inputCount=180 layerCounts=4,37,181 layerFeedCounts=4,36,180 layerContextCount=0,0,0 layerIndex=0,4,41 output=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
2,943.8
26,880
0.828804
f382b1d5146867f9abd472e749eea4cfcd058a16
76
ml
OCaml
interpreter/lib/program.ml
logsem/cerise
978056f40b3ff7db9a30f4724625ea57f7d5c926
[ "BSD-3-Clause" ]
12
2020-10-15T08:59:19.000Z
2022-03-21T19:09:55.000Z
interpreter/lib/program.ml
logsem/cerise
978056f40b3ff7db9a30f4724625ea57f7d5c926
[ "BSD-3-Clause" ]
13
2020-11-30T13:30:44.000Z
2021-12-26T21:41:33.000Z
interpreter/lib/program.ml
logsem/cerise
978056f40b3ff7db9a30f4724625ea57f7d5c926
[ "BSD-3-Clause" ]
1
2021-05-06T12:37:47.000Z
2021-05-06T12:37:47.000Z
let parse (_filename: string): (Ast.t, string) Result.t = failwith "todo"
25.333333
57
0.684211
f315d38802894a8e1c0b3e1b7fefd6d893b2148d
596
mli
OCaml
src/inuit_format.mli
let-def/inuit
fdea894112fa804e32d4ae230b172d17997db49d
[ "0BSD" ]
16
2016-05-20T13:43:03.000Z
2021-06-25T06:20:27.000Z
src/inuit_format.mli
def-lkb/inuit
fdea894112fa804e32d4ae230b172d17997db49d
[ "0BSD" ]
4
2016-06-16T16:17:36.000Z
2020-01-20T07:45:50.000Z
src/inuit_format.mli
def-lkb/inuit
fdea894112fa804e32d4ae230b172d17997db49d
[ "0BSD" ]
3
2016-11-08T17:41:07.000Z
2019-12-04T21:53:05.000Z
module Make (M : sig type flag end) : sig type cursor = M.flag Inuit.cursor val null_formatter : Format.formatter val formatter_of_cursor : cursor -> Format.formatter val push_cursor : (cursor -> cursor) -> Format.formatter -> unit val push_flags : (M.flag list -> M.flag list) -> Format.formatter -> unit ...
29.8
75
0.63255
d2ed5b47cf104842df27cafd95e3dd5aa1c8fe91
1,244
ml
OCaml
data/derived/comb/progs/unify/prog2672.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/prog2672.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2672.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = match n with | n when n <= 0 -> [] | _ -> x :: (clone x (n - 1));; let rec padZero l1 l2 = if (List.length l1) > (List.length l2) then (l1, ((clone 0 ((List.length l1) - (List.length l2))) @ l2)) else (((clone 0 ((List.length l2) - (List.length l1))) @ l1), l2);; let rec removeZero l = ...
31.897436
77
0.5
f33249cf2bb58d24835ec57c9185f88fa28cfef3
492
mli
OCaml
service/check.mli
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "MIT" ]
1
2020-08-12T14:33:46.000Z
2020-08-12T14:33:46.000Z
service/check.mli
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "MIT" ]
null
null
null
service/check.mli
fabiomassimo/pyre-check
e2f2be7c14a4125d19158b265aebcc666fdd0600
[ "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 Analysis type result = { module_tracker: ModuleTracker.t; ast_environment: Analysis.AstEnvironment.t; environment: TypeEnvironmen...
24.6
66
0.745935
f3866fc5dd0dd10e11bf14cf54afa050c0f63e52
223
mli
OCaml
ocaml/beer_song.mli
codecop/99bottles
3b00f08066a03240a7844ac697efbb0e8660bd0d
[ "MIT" ]
9
2017-11-07T19:12:06.000Z
2020-09-09T21:58:22.000Z
ocaml/beer_song.mli
codecop/99bottles
3b00f08066a03240a7844ac697efbb0e8660bd0d
[ "MIT" ]
4
2017-12-16T14:14:31.000Z
2018-02-28T11:01:13.000Z
ocaml/beer_song.mli
codecop/99bottles
3b00f08066a03240a7844ac697efbb0e8660bd0d
[ "MIT" ]
6
2017-10-30T18:24:14.000Z
2018-03-23T09:11:30.000Z
(** Beer-song exercise *) (** Return a single beer song verse. *) val verse : int -> string (** Return multiple verses, concatenated, from [from] until [until] (inclusive). *) val lyrics : from:int -> until:int -> string
27.875
83
0.663677
f317827a4f28a4ad09580c4db31202e077228131
12,287
ml
OCaml
experiments/ownership-inference/infer/infer/src/unit/analyzerTester.ml
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/unit/analyzerTester.ml
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/unit/analyzerTester.ml
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
17
2019-06-28T14:40:41.000Z
2021-03-11T19:26:13.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format (** utilities for writing abstract domains/transfer function tests *) (** structured language that m...
40.417763
99
0.697241
f398d3751cc769a66461cc60f889d8a23d0ee577
6,633
mli
OCaml
ag_pathanalysis/zarith/q.mli
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2019-12-05T19:47:42.000Z
2021-05-05T13:41:16.000Z
ag_pathanalysis/zarith/q.mli
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
null
null
null
ag_pathanalysis/zarith/q.mli
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2021-04-20T07:44:02.000Z
2021-04-20T08:38:41.000Z
(** Rationals. This modules builds arbitrary precision rationals on top of arbitrary integers from module Z. This file is part of the Zarith library http://forge.ocamlcore.org/projects/zarith . It is distributed under LGPL 2 licensing, with static linking exception. See the LICENSE file include...
24.566667
79
0.619629
f3938e3fef5bd8c0d82b57ea498713073bbe5bcd
92,690
ml
OCaml
CodeHawk/CHB/bchlibx86/bCHTranslateToCHIF.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHB/bchlibx86/bCHTranslateToCHIF.ml
static-analysis-engineering/codehawk
063ca988b0ce8222633d32873bee223d7094fd1f
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHB/bchlibx86/bCHTranslateToCHIF.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-2021 H...
43.701084
105
0.600874
f368ce2224babd730b566030455738ebd77a612a
1,576
ml
OCaml
ocaml/symbol.ml
nilern/centring
d0cf9e30813fc962c93209ccd9f7611e7c202eb7
[ "BSD-3-Clause" ]
1
2021-05-31T18:18:00.000Z
2021-05-31T18:18:00.000Z
ocaml/symbol.ml
nilern/centring
d0cf9e30813fc962c93209ccd9f7611e7c202eb7
[ "BSD-3-Clause" ]
null
null
null
ocaml/symbol.ml
nilern/centring
d0cf9e30813fc962c93209ccd9f7611e7c202eb7
[ "BSD-3-Clause" ]
null
null
null
open Core.Std module T = struct type t = Symbol of string | Gensym of string * int let of_string s = Symbol s let to_string = function | Symbol s -> s | Gensym (s, i) -> s ^ Int.to_string i let t_of_sexp = function | Sexp.Atom s -> of_string s | Sexp.List _ -> failwith "Cannot parse ...
23.522388
70
0.58566
d2fbfbe5a2027393d8603df898b2c3adc998707d
22,511
ml
OCaml
parallel/src/lib/state.ml
Yagotzirck/whilelang-reverse
81c49ce2340a9eb9b62e8a959568707de703e664
[ "MIT" ]
null
null
null
parallel/src/lib/state.ml
Yagotzirck/whilelang-reverse
81c49ce2340a9eb9b62e8a959568707de703e664
[ "MIT" ]
null
null
null
parallel/src/lib/state.ml
Yagotzirck/whilelang-reverse
81c49ce2340a9eb9b62e8a959568707de703e664
[ "MIT" ]
null
null
null
(** Implementation of the state and the functions acting on it.*) open Ast;; exception Last_executed_stmt_not_found;; exception Last_executed_thread_not_found;; (** [state] is a type consisting of a tuple including: + running_threads (the list of threads currently executing); + waiting_threads (the list of ...
52.473193
180
0.741282
f32c876d6aa5618ec95a3ec490479d2ce715e5ee
2,330
ml
OCaml
src/shot.ml
icefoxen/games-starmaze
3180a967e7b15f00cea644c179a1f0d9957953a1
[ "MIT" ]
null
null
null
src/shot.ml
icefoxen/games-starmaze
3180a967e7b15f00cea644c179a1f0d9957953a1
[ "MIT" ]
null
null
null
src/shot.ml
icefoxen/games-starmaze
3180a967e7b15f00cea644c179a1f0d9957953a1
[ "MIT" ]
null
null
null
(* shot.ml A gameobj that deals damage to whatever hits it and has a limited lifespan. ...make this part of the particles? Well. We probably WILL want it to scatter particles all over at one point or another, for impact effects or such. Simon Heath 4/11/2006 *) open Util;; let drawNothing scr...
25.053763
84
0.641202
f30e1851bfde7a32c5a738375b283754421de974
19,991
ml
OCaml
hphp/hack/src/server/serverConfig.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverConfig.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverConfig.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "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. * *) (** * Parses and gathers information from the .hhconfig in the repo. *) open Hh_prelude open Config_file.Getters ...
39.121331
80
0.744335
d2fc1f084b7720c10fa6c4aefd6446229a2c3002
5,437
mli
OCaml
infer/src/IR/Localise.mli
smorimoto/infer
374c09c6c7f16e039455fe23cb82ad9eab1094c8
[ "MIT" ]
1
2019-11-23T14:35:34.000Z
2019-11-23T14:35:34.000Z
infer/src/IR/Localise.mli
imbsky/infer
374c09c6c7f16e039455fe23cb82ad9eab1094c8
[ "MIT" ]
null
null
null
infer/src/IR/Localise.mli
imbsky/infer
374c09c6c7f16e039455fe23cb82ad9eab1094c8
[ "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 (** Support for localisation *) module Tags : sig type t end (** descrip...
32.363095
95
0.748023
f3745b53beb5a27c39743e75d420aa6116d18ff5
2,416
ml
OCaml
src/bits0.ml
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
null
null
null
src/bits0.ml
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
null
null
null
src/bits0.ml
nickdecr/hardcaml
b1222bf55c927fa0c9200388068662ac32bfe24d
[ "MIT" ]
null
null
null
open Base module T = struct open Bin_prot.Std module For_sexp = struct type t = { width : int ; data : bytes } [@@deriving sexp] end type t = bytes [@@deriving compare, bin_io] let width t = Int64.to_int_trunc (Bytes.unsafe_get_int64 t 0) let offset_for_data = 8 let sexp_of_...
25.431579
88
0.690397
f365316a82ddcd259efa4790d60072fd7fe82b22
1,885
ml
OCaml
dist/gcc-compatible/lib/Hacl_HPKE_P256_CP32_SHA256_bindings.ml
sthagen/project-everest-hacl-star
e3d49b426ee14b10d2f4ba2dcf77891149f23169
[ "Apache-2.0" ]
201
2016-07-09T18:09:42.000Z
2018-06-21T05:31:11.000Z
dist/gcc-compatible/lib/Hacl_HPKE_P256_CP32_SHA256_bindings.ml
sthagen/project-everest-hacl-star
e3d49b426ee14b10d2f4ba2dcf77891149f23169
[ "Apache-2.0" ]
98
2016-11-06T16:31:06.000Z
2018-06-13T16:39:49.000Z
dist/gcc-compatible/lib/Hacl_HPKE_P256_CP32_SHA256_bindings.ml
sthagen/project-everest-hacl-star
e3d49b426ee14b10d2f4ba2dcf77891149f23169
[ "Apache-2.0" ]
19
2016-07-03T02:44:27.000Z
2018-05-03T09:03:01.000Z
open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F module Hacl_HPKE_Interface_Hacl_Impl_HPKE_Hacl_Meta_HPKE_applied = (Hacl_HPKE_Interface_Hacl_Impl_HPKE_Hacl_Meta_HPKE_bindings.Bindings)(Hacl_HPKE_Interface_Hacl_Impl_HPKE_Hacl_Meta_HPKE_stubs) open Hacl_HPKE_Interface_Hacl_Impl_HPKE_Hacl...
42.840909
132
0.543767
d2eae777082b500c8c521d7af52669bab8dd7d6e
7,794
ml
OCaml
service/test/environmentTest.ml
tholiao/pyre-check
f5705fb5dae6a78623a058e5972461e89e283634
[ "MIT" ]
null
null
null
service/test/environmentTest.ml
tholiao/pyre-check
f5705fb5dae6a78623a058e5972461e89e283634
[ "MIT" ]
null
null
null
service/test/environmentTest.ml
tholiao/pyre-check
f5705fb5dae6a78623a058e5972461e89e283634
[ "MIT" ]
null
null
null
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open Ast open Analysis open Service.EnvironmentSharedMemory open Test open OUnit2 module Handler = Service.Environment.SharedHandle...
33.886957
99
0.692712
f37c106ae02d7b20cf21f8d4f332d5874111984d
58,152
ml
OCaml
duniverse/ppxlib/ast/pprintast.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ppxlib/ast/pprintast.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ppxlib/ast/pprintast.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
37.348748
80
0.527824
f3ac345cea598fb04d4e641e02b40b5814b71b57
1,741
ml
OCaml
src/paraminv/Premise.ml
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
7
2016-08-31T19:50:12.000Z
2019-01-21T04:51:07.000Z
src/paraminv/Premise.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
src/paraminv/Premise.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
(***********************************************************************) (* *) (* LEAP *) (* *) (* Alejan...
60.034483
73
0.298679
f302cb1ef8338b9bf7a24ffb565ec069e02c8621
1,693
ml
OCaml
hphp/hack/test/unit/heap/test_removed.ml
Wilfred/hhvm
87cea12a34ec7edb94111be6bfb9458aac7b1997
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/test/unit/heap/test_removed.ml
Wilfred/hhvm
87cea12a34ec7edb94111be6bfb9458aac7b1997
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/test/unit/heap/test_removed.ml
Wilfred/hhvm
87cea12a34ec7edb94111be6bfb9458aac7b1997
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.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. * * *) type key = OpaqueDigest.t module IntVal = struct type t = int let description = "Test_IntVal" end let test...
26.046154
81
0.595983
f323a13a2f0abd8f3f5c703f66b8879b79feb382
23,412
ml
OCaml
bin/gdfuse.ml
boonedoggle/google-drive-ocamlfuse
bf0459ff8ac1f2a910f91fb3b2c13a9a8408f0ba
[ "MIT" ]
1
2021-07-29T01:55:40.000Z
2021-07-29T01:55:40.000Z
bin/gdfuse.ml
boonedoggle/google-drive-ocamlfuse
bf0459ff8ac1f2a910f91fb3b2c13a9a8408f0ba
[ "MIT" ]
null
null
null
bin/gdfuse.ml
boonedoggle/google-drive-ocamlfuse
bf0459ff8ac1f2a910f91fb3b2c13a9a8408f0ba
[ "MIT" ]
null
null
null
open GapiUtils.Infix open GapiLens.Infix let default_fs_label = "default" let client_id = "564921029129.apps.googleusercontent.com" let redirect_uri = GaeProxy.gae_proxy_url ^ "/oauth2callback" (* Authorization *) let get_authorization_url request_id = GapiOAuth2.authorization_code_url ~redirect_uri ~scope...
32.203576
80
0.652998
f337ddd0fb774abe5afe54ba11ae09c3ea812864
4,122
ml
OCaml
lib/bus/bus.ml
smorimoto/CAMLBOY
0bb0beff0337e17a6450c3b9c8b3f1be7416c0b2
[ "MIT" ]
358
2021-11-23T23:21:24.000Z
2022-03-31T02:54:28.000Z
lib/bus/bus.ml
smorimoto/CAMLBOY
0bb0beff0337e17a6450c3b9c8b3f1be7416c0b2
[ "MIT" ]
1
2021-12-11T16:57:45.000Z
2021-12-11T17:04:57.000Z
lib/bus/bus.ml
smorimoto/CAMLBOY
0bb0beff0337e17a6450c3b9c8b3f1be7416c0b2
[ "MIT" ]
17
2021-11-24T00:35:03.000Z
2022-03-31T03:07:35.000Z
open Uints module Make (Cartridge : Addressable_intf.S) = struct type t = { cartridge : Cartridge.t; wram : Ram.t; shadow_ram : Shadow_ram.t; gpu : Gpu.t; zero_page : Ram.t; joypad : Joypad.t; serial_port : Serial_port.t; ic : Interrupt_controller.t;...
40.019417
120
0.64362
f34e3a39435af8f955a53a31cf56ee90a3abb03d
1,267
mli
OCaml
ocaml-sources/ocamltest/modifier_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/modifier_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/modifier_parser.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
60.333333
76
0.325967
f326f667ac437d412df3233f6053caf3005e95ca
5,306
ml
OCaml
test/tree/test.ml
ulugbekna/ocaml-git
170b59e5dff89bcbd8d3ca2c2cec5aaec1b48797
[ "0BSD" ]
null
null
null
test/tree/test.ml
ulugbekna/ocaml-git
170b59e5dff89bcbd8d3ca2c2cec5aaec1b48797
[ "0BSD" ]
null
null
null
test/tree/test.ml
ulugbekna/ocaml-git
170b59e5dff89bcbd8d3ca2c2cec5aaec1b48797
[ "0BSD" ]
null
null
null
external random_seed : unit -> int array = "caml_sys_random_seed" let seed = "4EygbdYh+v35vvrmD9YYP4byT5E3H7lTeXJiIj+dQnc=" let seed = Base64.decode_exn seed let seed = let res = Array.make (String.length seed / 2) 0 in for i = 0 to (String.length seed / 2) - 1 do res.(i) <- (Char.code seed.[i * 2] lsl 8) lor...
33.371069
93
0.63023
f3af86c77a9be7c1cb52f96d0f172856119625fa
3,853
ml
OCaml
extraction/aggregation-dynamic/ocaml/TreeAggregationArrangement.ml
DistributedComponents/verdi-aggregation
c81681555d63d4a3db225119600833868caf4607
[ "BSD-2-Clause" ]
2
2016-11-22T19:33:29.000Z
2020-04-14T13:00:33.000Z
extraction/aggregation-dynamic/ocaml/TreeAggregationArrangement.ml
DistributedComponents/verdi-aggregation
c81681555d63d4a3db225119600833868caf4607
[ "BSD-2-Clause" ]
1
2017-02-24T19:32:56.000Z
2017-02-24T19:32:56.000Z
extraction/aggregation-dynamic/ocaml/TreeAggregationArrangement.ml
DistributedComponents/verdi-aggregation
c81681555d63d4a3db225119600833868caf4607
[ "BSD-2-Clause" ]
null
null
null
open TreeAggregation open TreeAggregationNames module type Serializer = sig val deserializeInput : string -> string -> coq_Input option val serializeOutput : coq_Output -> string * string val debugSerializeInput : coq_Input -> string val debugSerializeMsg : coq_Msg -> string end module type Params = sig val...
35.348624
122
0.704386
f37d82ce857d91e8cb2eab8562b657254e366a9c
2,059
ml
OCaml
hphp/hack/src/providers/db_path_provider.ml
emptyIIknowledge/hhvm
64834993b347f3d6b1973817a702a8a4ec86b055
[ "PHP-3.01", "Zend-2.0" ]
7
2021-09-20T18:47:18.000Z
2021-09-20T23:02:22.000Z
hphp/hack/src/providers/db_path_provider.ml
emptyIIknowledge/hhvm
64834993b347f3d6b1973817a702a8a4ec86b055
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/db_path_provider.ml
emptyIIknowledge/hhvm
64834993b347f3d6b1973817a702a8a4ec86b055
[ "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 Hh_prelude (** This sharedmem is used only for the Shared_memory backend *) module Shared_db_settings = SharedMem.NoCa...
35.5
81
0.745993
f353c3a9c7ed41aaa896c9136ef21fc9293a4681
32,241
ml
OCaml
src/passes/04-tree_abstraction/reasonligo/compiler.ml
emacsmirror/ligo-mode
e3e3d6b30b291b1a83af88e4b96b6006011a4fb6
[ "MIT" ]
2
2021-03-06T12:11:41.000Z
2021-11-21T13:54:18.000Z
src/passes/04-tree_abstraction/reasonligo/compiler.ml
emacsmirror/ligo-mode
e3e3d6b30b291b1a83af88e4b96b6006011a4fb6
[ "MIT" ]
null
null
null
src/passes/04-tree_abstraction/reasonligo/compiler.ml
emacsmirror/ligo-mode
e3e3d6b30b291b1a83af88e4b96b6006011a4fb6
[ "MIT" ]
null
null
null
open Errors open Trace open Function module CST = Cst.Reasonligo module AST = Ast_imperative open AST let nseq_to_list (hd, tl) = hd :: tl let npseq_to_list (hd, tl) = hd :: (List.map ~f:snd tl) let npseq_to_ne_list (hd, tl) = hd, (List.map ~f:snd tl) let pseq_to_list = function | None -> [] | Some lst -> nps...
40.656999
132
0.638907
f38bfcbffc6e0b3bd55a15a5fefac1b04976cf42
6,180
mli
OCaml
src/commands/config/flowConfig.mli
ekmixon/flow
5a96aebea6d1173f2fb02dce37ee0d3b337b5aa1
[ "MIT" ]
null
null
null
src/commands/config/flowConfig.mli
ekmixon/flow
5a96aebea6d1173f2fb02dce37ee0d3b337b5aa1
[ "MIT" ]
null
null
null
src/commands/config/flowConfig.mli
ekmixon/flow
5a96aebea6d1173f2fb02dce37ee0d3b337b5aa1
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) type file_watcher = | NoFileWatcher | DFind | Watchman type lazy_mode = | Lazy | Non_lazy | Watchman_DEPRECATED (**...
24.235294
99
0.760032
f367bd7e6b8e955f50f7875a1b8bc28c3d70da0d
72,531
ml
OCaml
src/lib/mina_net2/mina_net2.ml
kobigurk/mina
585c76fc631616a65c1c8eb067c625376d498ad2
[ "Apache-2.0" ]
1
2021-11-03T09:42:09.000Z
2021-11-03T09:42:09.000Z
src/lib/mina_net2/mina_net2.ml
kobigurk/mina
585c76fc631616a65c1c8eb067c625376d498ad2
[ "Apache-2.0" ]
null
null
null
src/lib/mina_net2/mina_net2.ml
kobigurk/mina
585c76fc631616a65c1c8eb067c625376d498ad2
[ "Apache-2.0" ]
1
2022-03-29T04:23:52.000Z
2022-03-29T04:23:52.000Z
open Core open Async open Async_unix open Deferred.Let_syntax open Pipe_lib open Network_peer module Timeout = Timeout_lib.Core_time_ns module Validation_callback = struct type validation_result = [ `Accept | `Reject | `Ignore ] [@@deriving equal] type t = { expiration : Time_ns.t option; signal : validation_resu...
34.505709
221
0.566958
f35b3f6469f082b8a123b0606c5711a12a644076
1,590
mli
OCaml
infer/src/eradicate/typeState.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
infer/src/eradicate/typeState.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
infer/src/eradicate/typeState.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2014 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) open! Util...
33.125
88
0.626415
d2f449277a41ab9296cf4ef3b6326104acd4137c
7,969
ml
OCaml
hphp/hack/test/integration_ml/test_infer_type.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-21T09:08:35.000Z
2019-07-21T09:08:35.000Z
hphp/hack/test/integration_ml/test_infer_type.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/test_infer_type.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-30T11:52:42.000Z
2019-07-30T11:52:42.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. * * *) open Hh_core module Test = Integration_test_base let id = "<?hh // strict function id(int $x): int { return ...
21.596206
82
0.560171
f345b4bad5e8b08af0538d3aa375d7e139955294
14,814
ml
OCaml
hphp/hack/src/parser/full_fidelity_operator.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_operator.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_operator.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Full_fid...
31.121849
89
0.7661
f32f28e531eda29820e8127123013dfa2744d7dc
14,121
ml
OCaml
duniverse/markup/test/test_kstream.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/markup/test/test_kstream.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/markup/test/test_kstream.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(* This file is part of Markup.ml, released under the BSD 2-clause license. See doc/LICENSE for details, or visit https://github.com/aantron/markup.ml. *) open OUnit2 open Test_support open Markup__Common open Markup__Kstream let exn = Failure "failure" let then_exn l = let s = of_list l in (fun throw _ k ->...
36.488372
79
0.606543
f3917cfe0cd92223713a03204d9cc25ebda4418f
6,772
ml
OCaml
data/seminal/20060403-21:25:44-455f9320f05e875d718926bbafb03dd9.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/seminal/20060403-21:25:44-455f9320f05e875d718926bbafb03dd9.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/seminal/20060403-21:25:44-455f9320f05e875d718926bbafb03dd9.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
3
2016-10-11T21:36:24.000Z
2021-12-08T21:52:40.000Z
(****** Note: Problem 1 does not use Caml; see the assignment *****) exception Unimplemented exception RuntimeTypeError exception BadSourceProgram exception BadPrecomputation (* ############################################################### *) (* ######################################## *) let empty_set = [...
31.351852
80
0.363113
f3ac48062d626fd164de98bf968a759059929ff8
2,693
ml
OCaml
src/lib/hash_prefixes/hash_prefixes.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/hash_prefixes/hash_prefixes.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/hash_prefixes/hash_prefixes.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
let length_in_bytes = 20 module T : sig type t = private string val create : string -> t end = struct type t = string let padding_char = '*' let create s : t = let string_length = String.length s in assert (string_length <= length_in_bytes) ; let diff = length_in_bytes - string_length in l...
24.261261
74
0.783513
f399e759f11ae324d17092745379c38806322d1a
957
ml
OCaml
libraries/ec2/lib/disableVgwRoutePropagation.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/disableVgwRoutePropagation.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/disableVgwRoutePropagation.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal open Aws type input = DisableVgwRoutePropagationRequest.t type output = unit type error = Errors_internal.t let service = "ec2" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) (List....
30.870968
84
0.630094
f397cef84843493ab4b4037f25ab50a3830c3f1e
217
mli
OCaml
libraries/route53/lib/changeTagsForResource.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/changeTagsForResource.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/changeTagsForResource.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal type input = ChangeTagsForResourceRequest.t type output = unit type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
31
74
0.751152
d2d44e0506233d59d8475d4f2188aa31446ac0fe
3,679
ml
OCaml
libraries/cloudwatch/lib/describeInsightRules.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/cloudwatch/lib/describeInsightRules.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudwatch/lib/describeInsightRules.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 DescribeInsightRulesInput = struct type t = { next_token: String.t option [@ocaml.doc "<p>Reserved for future use.</p>"]; max_results: Integer.t option [@ocaml.doc "<p>This param...
35.375
148
0.588747
d2e0b21ef961efcc637c3b6cd8123bf97e75367a
36,139
ml
OCaml
ocaml-sources/middle_end/flambda/simple_value_approx.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/middle_end/flambda/simple_value_approx.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/middle_end/flambda/simple_value_approx.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
35.430392
79
0.684247
f3a941897cbdc4b44c751436e71dac1378150c88
762
ml
OCaml
benchmarks/C/formula/sol206.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/formula/sol206.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/formula/sol206.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
(* Exercise 2 *) type formula = True | False | Not of formula | AndAlso of formula * formula | OrElse of formula * formula | Imply of formula * formula | Equal of exp * exp and exp = Num of int | Plus of exp * exp | Minus o...
25.4
50
0.468504
d2ed61311616ce4ed0ebe711518dc5e8a84b82a4
936
ml
OCaml
HW_1/src/hw1_10.ml
zheedong/Korea-Univ.-COSE212-2_1
5263d9eaf32bbdc51a50220e54a3a3290016ad9f
[ "MIT" ]
null
null
null
HW_1/src/hw1_10.ml
zheedong/Korea-Univ.-COSE212-2_1
5263d9eaf32bbdc51a50220e54a3a3290016ad9f
[ "MIT" ]
null
null
null
HW_1/src/hw1_10.ml
zheedong/Korea-Univ.-COSE212-2_1
5263d9eaf32bbdc51a50220e54a3a3290016ad9f
[ "MIT" ]
null
null
null
type formula = | True | False | Not of formula | AndAlso of formula * formula | OrElse of formula * formula | Imply of formula * formula | Equal of exp * exp and exp = | Num of int | Plus of exp * exp | Minus of exp * exp let rec eval_exp : exp -> int = fun e -> match e with | Num i -> i |...
25.297297
81
0.587607
f3315a18f49f73aef5afd4d017cb1e440e0e798c
546
ml
OCaml
data/fa15_min/1157.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/1157.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/1157.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = a ^ (sep ^ h) in let base = "" in let l = sepConcat t in List.fold_left f base l;; (* fix let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = a ^ (sep ^ h) in let base = "" in let l = ...
14
71
0.481685
f3a2aa97bc62c2b76e7ee6991b61f874d2c4b567
15,717
ml
OCaml
src/util/goblintutil.ml
sim642/goblint
eb0b3fd7f9bf56896576b091681d98102a84a46e
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/util/goblintutil.ml
sim642/goblint
eb0b3fd7f9bf56896576b091681d98102a84a46e
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/util/goblintutil.ml
sim642/goblint
eb0b3fd7f9bf56896576b091681d98102a84a46e
[ "BSD-3-Clause", "MIT" ]
null
null
null
(** Globally accessible flags and utility functions. *) open Cil open Pretty open GobConfig open Json open JsonParser open JsonLexer (** command port for eclipse debuger support *) let command_port = ref (-1) (** event port for eclipse debuger support *) let event_port = ref (-1) let command_socket = Unix.socket (Un...
35.965675
273
0.578355
f37d1e422c9ee948d85870ecd892da942dd584ac
1,643
mli
OCaml
libraries/rds/lib/describeReservedDBInstances.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/rds/lib/describeReservedDBInstances.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/describeReservedDBInstances.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Returns information about reserved DB instances for this account, or about a specified reserved DB instance.</p>" *) open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] module DescribeReservedDBInstancesMessage : sig type t = { reserved_d_b_instance_id: String.t option ; re...
39.119048
124
0.668898
f303067fa1729de840a168a20b8a7a3f8116e9fd
1,036
mli
OCaml
src/lsp/lspErrors.mli
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/lsp/lspErrors.mli
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/lsp/lspErrors.mli
tbergq/flow
8c866379d12dc32c6a0e129739148c8cd9169db8
[ "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 val empty : t val set_live_parse_errors_and_send : (Hh_json.json -> unit) -> Lsp.DocumentUri.t -> Lsp.PublishDiagnostics...
34.533333
97
0.73166
d2dc391e41fcb8b32e72523377748cd9ffa0a116
17,987
ml
OCaml
src/lib/genesis_ledger_helper/lib/genesis_ledger_helper_lib.ml
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
2
2021-07-11T21:51:34.000Z
2021-07-29T14:33:45.000Z
src/lib/genesis_ledger_helper/lib/genesis_ledger_helper_lib.ml
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
null
null
null
src/lib/genesis_ledger_helper/lib/genesis_ledger_helper_lib.ml
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
null
null
null
open Core open Signature_lib open Mina_base module Accounts = struct module Single = struct let to_account_with_pk : Runtime_config.Accounts.Single.t -> Mina_base.Account.t Or_error.t = fun t -> let open Or_error.Let_syntax in let%bind pk = match t.pk with | Some pk -> ...
37.39501
84
0.590426
f32e23c769933a02c65b953392d7585e1f2fbe67
3,233
ml
OCaml
data/sp14/0801.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0801.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0801.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 rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine e' -> sin (eval (e', x, y)) | Cosine e' -> cos (eval (e', x, y)) | Average (e1,e2)...
18.369318
70
0.480977
f36c3769f66733c3cfae40256b27662f14d8249c
26,680
mli
OCaml
src/soup.mli
aantron/lambdasoup
a6871f9fd970c55f861cce4535cb8a20b5531e79
[ "MIT" ]
133
2018-11-28T05:11:45.000Z
2022-03-15T11:17:17.000Z
src/soup.mli
aantron/lambdasoup
a6871f9fd970c55f861cce4535cb8a20b5531e79
[ "MIT" ]
28
2018-11-21T05:41:23.000Z
2022-02-14T14:57:40.000Z
src/soup.mli
aantron/lambdasoup
a6871f9fd970c55f861cce4535cb8a20b5531e79
[ "MIT" ]
11
2019-03-13T12:28:00.000Z
2022-02-07T19:42:00.000Z
(* This file is part of Lambda Soup, released under the MIT license. See LICENSE.md for details, or visit https://github.com/aantron/lambdasoup. *) (** Easy functional HTML scraping and manipulation. Lambda Soup is an HTML data extraction and analysis library. It supports CSS selectors, DOM traversals, mut...
37.951636
90
0.676762
f347e9afb16df7e2f2b7a296640a560920133157
379
ml
OCaml
1_Ndarray/map_mirage/config.ml
jzstark/js-mirage-eval
e1fd8c7d43c2ea19ef2232898772e2ac102756bc
[ "MIT" ]
null
null
null
1_Ndarray/map_mirage/config.ml
jzstark/js-mirage-eval
e1fd8c7d43c2ea19ef2232898772e2ac102756bc
[ "MIT" ]
null
null
null
1_Ndarray/map_mirage/config.ml
jzstark/js-mirage-eval
e1fd8c7d43c2ea19ef2232898772e2ac102756bc
[ "MIT" ]
null
null
null
open Mirage let key = let doc = Key.Arg.info ~doc:"Ndarray Dims" ["params"] in Key.(create "params" Arg.(opt string "100 100" doc)) let main = foreign ~keys:[Key.abstract key] ~packages:[package "owl_base"; package "str"] (* ~packages:[package "owl"; package "str"] *) "Unikernel.MAP" (time @-> j...
23.6875
58
0.62533
f3b5a93a4752f640a5bc81de050e9e6122238183
8,552
ml
OCaml
RedBook-Samples/polyoff.ml
rahenri/glMLite
38f6be99584b2d498eba98eee55ea762f53191d1
[ "MIT" ]
12
2015-02-05T18:13:49.000Z
2021-04-23T22:04:12.000Z
RedBook-Samples/polyoff.ml
rahenri/glMLite
38f6be99584b2d498eba98eee55ea762f53191d1
[ "MIT" ]
2
2015-02-05T18:13:43.000Z
2019-05-02T06:59:50.000Z
RedBook-Samples/polyoff.ml
rahenri/glMLite
38f6be99584b2d498eba98eee55ea762f53191d1
[ "MIT" ]
2
2016-08-16T13:21:59.000Z
2020-12-30T06:01:19.000Z
(* Copyright (c) 1993-1997, Silicon Graphics, Inc. * ALL RIGHTS RESERVED * Permission to use, copy, modify, and distribute this software for * any purpose and without fee is hereby granted, provided that the above * copyright notice appear in all copies and that both the copyright notice * and this permission noti...
27.947712
83
0.663821
f3949183a3cba8fdd6f2a29d9f5bc462cf3c8e69
752
ml
OCaml
bitstring_lib/bitstring.ml
dankrad/snarky
4f21bb852f759607f1802a7d90301c7e4de83f3c
[ "MIT" ]
null
null
null
bitstring_lib/bitstring.ml
dankrad/snarky
4f21bb852f759607f1802a7d90301c7e4de83f3c
[ "MIT" ]
null
null
null
bitstring_lib/bitstring.ml
dankrad/snarky
4f21bb852f759607f1802a7d90301c7e4de83f3c
[ "MIT" ]
null
null
null
open Core_kernel module type S = sig type 'a t = private 'a list include Container.S1 with type 'a t := 'a t val of_list : 'a list -> 'a t val init : int -> f:(int -> 'a) -> 'a t val map : 'a t -> f:('a -> 'b) -> 'b t end module T = struct include List let of_list bs = bs end module Msb_first = st...
16.711111
48
0.551862
f3122795b5de73da9882c3aefdc4916cb21bdb41
2,031
ml
OCaml
src/lib/consensus/slot.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/consensus/slot.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/consensus/slot.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
open Core_kernel open Snark_params open Unsigned module T = Mina_numbers.Nat.Make32 () include (T : module type of T with module Checked := T.Checked) let in_seed_update_range ~(constants : Constants.t) (slot : t) = let open UInt32.Infix in let third_epoch = constants.slots_per_epoch / UInt32.of_int 3 in asser...
32.758065
78
0.694239
d2fb5ee5d67734bd62a3ab8e2638341c8f1c9c21
3,539
ml
OCaml
lib/owl_dataset.ml
superbobry/owl
0c478d101ff2dcb64ef46d280fbf4049850af64c
[ "MIT" ]
null
null
null
lib/owl_dataset.ml
superbobry/owl
0c478d101ff2dcb64ef46d280fbf4049850af64c
[ "MIT" ]
null
null
null
lib/owl_dataset.ml
superbobry/owl
0c478d101ff2dcb64ef46d280fbf4049850af64c
[ "MIT" ]
1
2018-10-14T17:32:20.000Z
2018-10-14T17:32:20.000Z
(* * OWL - an OCaml numerical library for scientific computing * Copyright (c) 2016-2017 Liang Wang <liang.wang@cl.cam.ac.uk> *) (** [ Dataset module provides an easy way to access various datasets for experiment ] *) let remote_data_path () = "https://github.com/ryanrhymes/owl_dataset/raw/master/" let local_dat...
40.678161
96
0.713761
f3242ea37e95c862f38976ef1e257a03821f60a1
1,787
ml
OCaml
libraries/ec2/lib/describeSnapshots.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeSnapshots.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeSnapshots.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeSnapshotsRequest.t type output = DescribeSnapshotsResult.t type error = Errors_internal.t let service = "ec2" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) (Li...
30.810345
97
0.570229
f37175be7b66d535109db5d53621c6a9254854c8
584
ml
OCaml
bootstrap/test/basis/ordset/test_hash_fold.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/test/basis/ordset/test_hash_fold.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/test/basis/ordset/test_hash_fold.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open! Basis.Rudiments open! Basis open! OrdsetTest open Ordset let test () = let rec fn = function | [] -> () | arr :: arrs' -> begin let ordset = of_array (module Uns) arr in File.Fmt.stdout |> Fmt.fmt "hash_fold (of_array (module Uns) " |> (Array.pp Uns.pp) arr |> Fm...
19.466667
72
0.494863
f38513981999aa6610977ff003d968330ace6c14
218
ml
OCaml
src/frontend/main.ml
egydiopacheco/C-minus-compiler
a5c29a14b7ff9ebd1f69e804994216dad1bdb19d
[ "MIT" ]
null
null
null
src/frontend/main.ml
egydiopacheco/C-minus-compiler
a5c29a14b7ff9ebd1f69e804994216dad1bdb19d
[ "MIT" ]
null
null
null
src/frontend/main.ml
egydiopacheco/C-minus-compiler
a5c29a14b7ff9ebd1f69e804994216dad1bdb19d
[ "MIT" ]
null
null
null
open Pp let parse = print_string "AST - PrettyPrinting \n\n"; let prog = open_in Sys.argv.(1) in let lexbuf = Lexing.from_channel prog in let ast = Parser.program Lexer.token lexbuf in pretty_print ast
24.222222
48
0.706422
d2ebe939d0989cd1126eeb294630c3c1b707a3fc
5,038
ml
OCaml
src/base/compute/owl_computation_symbol_sig.ml
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
src/base/compute/owl_computation_symbol_sig.ml
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
src/base/compute/owl_computation_symbol_sig.ml
syther-labs/owl
f43835e643ac31b6ecedeb2a32fcd99bcc003140
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz> *) (* Functor of making the symbols of a computation graph. *) module type Sig = sig module Shape : Owl_computation_shape_sig.Sig open Shape open Type open Device (** {5 Core functions} *) va...
22.491071
79
0.620683
f33bffba1cf15200c837616459372e00d5b77dbe
1,061
mll
OCaml
astlib/pp/pp_rewrite.mll
LexiFi/ppxlib
b3d7bca1e72cf2767de8d6cee6b0e1cf7a0b08cd
[ "MIT" ]
179
2018-03-13T16:22:57.000Z
2022-03-23T20:30:12.000Z
astlib/pp/pp_rewrite.mll
LexiFi/ppxlib
b3d7bca1e72cf2767de8d6cee6b0e1cf7a0b08cd
[ "MIT" ]
222
2018-03-13T15:44:22.000Z
2022-03-26T08:56:14.000Z
astlib/pp/pp_rewrite.mll
LexiFi/ppxlib
b3d7bca1e72cf2767de8d6cee6b0e1cf7a0b08cd
[ "MIT" ]
52
2018-03-15T19:14:22.000Z
2022-03-22T14:40:58.000Z
rule rewrite is_current ocaml_version = parse | "(*IF_CURRENT " ([^'*']* as s) "*)" { let chunk = if is_current then " " ^ s ^ " " else Lexing.lexeme lexbuf in print_string chunk; rewrite is_current ocaml_version lexbuf } | "(*IF_AT_L...
32.151515
93
0.479736
f35e8e2b89d1a9188146daecebb71edad1877840
763
ml
OCaml
Assignment 1/examples.ml
ankurshaswat/COL226
4fea1825d1e5599bd1e56f7c56351a40f6e908ea
[ "MIT" ]
null
null
null
Assignment 1/examples.ml
ankurshaswat/COL226
4fea1825d1e5599bd1e56f7c56351a40f6e908ea
[ "MIT" ]
null
null
null
Assignment 1/examples.ml
ankurshaswat/COL226
4fea1825d1e5599bd1e56f7c56351a40f6e908ea
[ "MIT" ]
1
2020-04-06T10:12:40.000Z
2020-04-06T10:12:40.000Z
#use "assignment1_final.ml";; let alphabet=["1"; "2"; "a"; "b"; "c"; "A"];; let empty = create "";; let a = create "a";; let abc = create "abc";; let one2 = create "12";; let one = create "1";; let oneA = create "1A";; lgh empty;; lgh a;; lgh abc;; lgh one2;; nonempty empty;; nonempty a;; nonempty one2;; print (co...
15.571429
45
0.633028
f301cc27dba494aac82ca5726a525d0019def6cc
4,258
mli
OCaml
driver/ctypes_helpers.mli
cryptosense/pkcs11
5f4357d235fc8674fa6bc13d03174f9236fabe34
[ "BSD-2-Clause" ]
22
2016-09-22T13:40:51.000Z
2021-08-05T10:50:19.000Z
driver/ctypes_helpers.mli
cryptosense/pkcs11
5f4357d235fc8674fa6bc13d03174f9236fabe34
[ "BSD-2-Clause" ]
42
2016-10-03T13:10:21.000Z
2021-08-12T10:04:10.000Z
driver/ctypes_helpers.mli
cryptosense/pkcs11
5f4357d235fc8674fa6bc13d03174f9236fabe34
[ "BSD-2-Clause" ]
5
2016-09-28T06:34:29.000Z
2021-08-05T07:48:52.000Z
type ulong = Unsigned.ULong.t module Reachable_ptr : sig (** Pointers with a GC link from the structure they are in. These are like [Ctypes.ptr] except that [setf] will add a link (through a finalizer) from the structure to the pointer to prevent its early collection. *) type 'a t val typ : '...
31.776119
80
0.630343
f3035e5510d7e0929b79562ddd3532603e3c82ae
33,191
ml
OCaml
src/heap/sharedMem.ml
gorakong/flow
9ec1c380829ee46d387c2595e45e019384366bd9
[ "MIT" ]
null
null
null
src/heap/sharedMem.ml
gorakong/flow
9ec1c380829ee46d387c2595e45e019384366bd9
[ "MIT" ]
null
null
null
src/heap/sharedMem.ml
gorakong/flow
9ec1c380829ee46d387c2595e45e019384366bd9
[ "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 Hh_core (* Don't change the ordering of this record without updating hh_shared_init in * hh_shared.c, which indexes into con...
29.767713
101
0.642463
d2fdab444c5f5043cb4ef3a2cea5686d91e22f38
9,441
ml
OCaml
src/lib/gossip_net/fake.ml
arjundashrath/mina
629c6d767fbf2fdb7ce1ebd04337960c6f5baf55
[ "Apache-2.0" ]
null
null
null
src/lib/gossip_net/fake.ml
arjundashrath/mina
629c6d767fbf2fdb7ce1ebd04337960c6f5baf55
[ "Apache-2.0" ]
null
null
null
src/lib/gossip_net/fake.ml
arjundashrath/mina
629c6d767fbf2fdb7ce1ebd04337960c6f5baf55
[ "Apache-2.0" ]
null
null
null
open Async_kernel open Core open Pipe_lib open Network_peer (* TODO: Implement RPC version translations (documented in Async_rpc_kernel). * This code currently only supports the latest version of RPCs. *) module type S = sig include Intf.Gossip_net_intf type network val create_network : Peer.t list -> networ...
32.78125
86
0.615613
d2f844149520f02b3634307ec68cca927fd12c72
998
ml
OCaml
data/derived/comb/progs/unify/prog5633.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/prog0750.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0750.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr | OneOver of expr | OneOverAvg of 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...
27.722222
77
0.4499
f373ba3caadd51c6a60de01a2b7ca10fe1c05bf4
7,885
ml
OCaml
data/derived/comb/progs/unify/prog6572.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/prog1735.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1735.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
25.435484
148
0.663412
d2f9ab639de9e777528fb0cee06c9aeb934f0c7a
3,099
ml
OCaml
src/dune/format_dune_lang.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/format_dune_lang.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/format_dune_lang.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
open! Stdune open! Import type dune_file = | OCaml_syntax of Loc.t | Sexps of Dune_lang.Cst.t list let parse_lexbuf lb = if Dune_lexer.is_script lb then OCaml_syntax (Loc.of_lexbuf lb) else Sexps (Dune_lang.Parser.parse lb ~mode:Cst) let parse_file path_opt = match path_opt with | Some path -> Io...
28.962617
80
0.644724