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
f38e81627fb509a6827da44f574e6c6d0a079fa9
2,331
ml
OCaml
src/dune_engine/import.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
null
null
null
src/dune_engine/import.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
null
null
null
src/dune_engine/import.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
null
null
null
include Stdune module Log = Dune_util.Log module Re = Dune_re module Stringlike = Dune_util.Stringlike module Stringlike_intf = Dune_util.Stringlike_intf module Persistent = Dune_util.Persistent module Value = Dune_util.Value module Ml_kind = Dune_util.Ml_kind module Dune_rpc = Dune_rpc_private module Config = Dune_uti...
24.030928
79
0.777349
af63c878a7e54efd7f20cef8d222f4905c245e08
572
mli
OCaml
hphp/hack/src/options/declParserOptions.mli
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/options/declParserOptions.mli
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/options/declParserOptions.mli
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "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. * *) type t = { auto_namespace_map: (string * string) list; disable_xhp_element_mangling: bool; interpret_soft_types_as_like_...
23.833333
66
0.744755
f3f77075287636d6acb07ba876999140bae708dc
24,771
ml
OCaml
ast/test/statementTest.ml
pwgraham91/pyre-check
5cb1367e2c6c4792e0e8895fccc5af8af18372db
[ "MIT" ]
null
null
null
ast/test/statementTest.ml
pwgraham91/pyre-check
5cb1367e2c6c4792e0e8895fccc5af8af18372db
[ "MIT" ]
null
null
null
ast/test/statementTest.ml
pwgraham91/pyre-check
5cb1367e2c6c4792e0e8895fccc5af8af18372db
[ "MIT" ]
null
null
null
(** Copyright (c) 2016-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Ast open Analysis open Expression open Pyre open PyreParser open Statement open Test let test_is_method _ = ...
25.250765
99
0.57749
afd6ceb7fb5369e957446e8ef4d58453c04b43cf
249
ml
OCaml
99-problems/ocaml/61.ml
Luc-Saccoccio/coding-contests
64a6929b9c053024f1a63b7a442014bfe01ed5a3
[ "WTFPL" ]
1
2021-08-01T09:11:10.000Z
2021-08-01T09:11:10.000Z
99-problems/ocaml/61.ml
Luc-Saccoccio/coding-contests
64a6929b9c053024f1a63b7a442014bfe01ed5a3
[ "WTFPL" ]
null
null
null
99-problems/ocaml/61.ml
Luc-Saccoccio/coding-contests
64a6929b9c053024f1a63b7a442014bfe01ed5a3
[ "WTFPL" ]
null
null
null
type 'a binary_tree = | Empty | Node of 'a * 'a binary_tree * 'a binary_tree;; let rec count_leaves = function | Empty -> 0 | Node (_, Empty, Empty) -> 1 | Node (_, l, r) -> count_leaves l + count_leaves r;;
27.666667
61
0.534137
afbe4f654833b8e9f6ddf24b16bf88e6c191c435
5,134
ml
OCaml
src/util/jsonSchema.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
src/util/jsonSchema.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
src/util/jsonSchema.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
open Prelude module JS = Json_schema.Make (Json_repr.Yojson) module JE = Json_encoding.Make (Json_repr.Yojson) module JQ = Json_query.Make (Json_repr.Yojson) let schema_to_yojson schema = JS.to_json schema let schema_of_yojson json = JS.of_json json let erase: type t. t Json_encoding.encoding -> unit Json_encoding.e...
35.902098
172
0.696143
af39033b9f623c55e5d90d683f568dc4ec39f3d5
401
ml
OCaml
tests/lint/nested_match.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
1
2021-11-23T13:07:37.000Z
2021-11-23T13:07:37.000Z
tests/lint/nested_match.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
null
null
null
tests/lint/nested_match.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
null
null
null
external val (+) : int -> int -> int = "" type option 'a = None | Some of 'a let consume_none = function | None, _ -> 1 | _, None -> 2 | Some 0, Some 0 -> 3 | Some _, Some _ -> 4 let consume_one = function | None, _ -> 1 | _, None -> 2 | Some 0, Some 0 -> 3 | Some x, Some _ -> x let consume_many = function ...
19.095238
41
0.531172
f3cd34bc9ae464059b1f6f039b994ea3cf94262a
2,124
ml
OCaml
hphp/hack/test/integration_ml/saved_state/test_similar_files.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/saved_state/test_similar_files.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/saved_state/test_similar_files.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
open Core_kernel module Test = Integration_test_base (* test.php depends on foo.php. foo.php will change, but remain similar. *) let foo_name = "foo.php" let foo_contents = {|<?hh // strict /** * foo docblock */ function foo() : void { 1 + 1 == 2; } /** * Bar docblock */ class Bar { /** * Bar::$x docbl...
18.310345
80
0.620056
af9c7e2526f54ffb85be11e8b3fbeaf01312d44e
2,793
ml
OCaml
src/refmt/reason_implementation_printer.ml
greglockwood/reason
698f5374d332e8ea3ce9d6994c963016d3d62079
[ "MIT" ]
null
null
null
src/refmt/reason_implementation_printer.ml
greglockwood/reason
698f5374d332e8ea3ce9d6994c963016d3d62079
[ "MIT" ]
null
null
null
src/refmt/reason_implementation_printer.ml
greglockwood/reason
698f5374d332e8ea3ce9d6994c963016d3d62079
[ "MIT" ]
null
null
null
open Migrate_parsetree open Ast_404 type q = Parsetree.structure_item type t = Parsetree.structure let err = Printer_maker.err (* Note: filename should only be used with .ml files. See reason_toolchain. *) let defaultImplementationParserFor use_stdin filename = let open Reason_toolchain in let (theParser, parsedA...
41.686567
96
0.725743
f3ae909b63e5e6dee17475f43ce9792df446d89a
570
ml
OCaml
bootstrap/test/hmc/scan/test_rstring.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
1
2021-08-13T04:54:39.000Z
2021-08-13T04:54:39.000Z
bootstrap/test/hmc/scan/test_rstring.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
1
2020-02-14T19:21:40.000Z
2020-02-14T19:21:40.000Z
bootstrap/test/hmc/scan/test_rstring.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
null
null
null
open! Basis.Rudiments open! Basis open! Hmc open! ScanTest open Format let test () = printf "@[<h>"; scan_str {|""|}; scan_str {|````|}; scan_str {|`` ``|}; scan_str {|`` ``|}; scan_str {|`` ``|}; scan_str {|``a b``|}; scan_str {|`` a b ``|}; scan_str {|``a``|}; scan_str {|`aoeu_``htns`gcrl`htns...
13.571429
46
0.494737
af6243bd9dbe6c11c4850992fd02d101cc4a3ac8
6,034
ml
OCaml
hphp/hack/src/server/serverArgs.ml
robocoder/hhvm
b5fe4eec09c160f4a291faf55629b4b9bbffe661
[ "PHP-3.01", "Zend-2.0" ]
1
2015-02-12T07:24:28.000Z
2015-02-12T07:24:28.000Z
hphp/hack/src/server/serverArgs.ml
robocoder/hhvm
b5fe4eec09c160f4a291faf55629b4b9bbffe661
[ "PHP-3.01", "Zend-2.0" ]
3
2020-12-31T09:08:34.000Z
2021-09-28T05:42:02.000Z
hphp/hack/src/server/serverArgs.ml
robocoder/hhvm
b5fe4eec09c160f4a291faf55629b4b9bbffe661
[ "PHP-3.01", "Zend-2.0" ]
1
2020-10-09T15:14:18.000Z
2020-10-09T15:14:18.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. * *) (************...
38.189873
80
0.51591
afe70a6ff5e642ce89753f31b4f1226a30a4516e
3,595
ml
OCaml
gen/nexts.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
103
2016-11-28T10:00:41.000Z
2022-03-08T05:06:00.000Z
gen/nexts.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
193
2017-02-28T19:04:04.000Z
2022-03-25T14:33:24.000Z
gen/nexts.ml
AymenQ/herdtools7
9dc22b11334f7c40810349e8223f0bfe5f46326d
[ "CECILL-B" ]
39
2016-12-14T23:10:34.000Z
2022-03-22T21:35:17.000Z
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
29.958333
78
0.510431
afa60ae58f711e9a6a1350c189100b2a8b631012
7,910
ml
OCaml
data/derived/comb/progs/unify/prog5346.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/prog0442.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0442.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...
24.641745
148
0.613527
d2e2115dfa064b7bfe86d5a543f6b34bfd17df6d
7,646
ml
OCaml
ocaml_modules/opam-core/src/core/opamUrl.ml
samoht/opam-monorepo
77309015d51a321f88ee42ecb14af5e31649efd5
[ "0BSD" ]
null
null
null
ocaml_modules/opam-core/src/core/opamUrl.ml
samoht/opam-monorepo
77309015d51a321f88ee42ecb14af5e31649efd5
[ "0BSD" ]
null
null
null
ocaml_modules/opam-core/src/core/opamUrl.ml
samoht/opam-monorepo
77309015d51a321f88ee42ecb14af5e31649efd5
[ "0BSD" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2012-2015 OCamlPro *) (* Copyright 2012 INRIA *) (* ...
28.214022
87
0.529035
af88549b5dc410ba70d16efc0e50bdd7e9d762be
10,310
ml
OCaml
hphp/hack/src/server/serverRpc.ml
escherlat/hhvm
7814b9842f3d15876884e6e3b62f2d00821c1c17
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverRpc.ml
escherlat/hhvm
7814b9842f3d15876884e6e3b62f2d00821c1c17
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverRpc.ml
escherlat/hhvm
7814b9842f3d15876884e6e3b62f2d00821c1c17
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * 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. * *) open Core ope...
44.059829
80
0.663725
afd9d056166003c5eef5af9ac40ce0183585ba2a
4,994
mli
OCaml
src/b0caml_script.mli
b0-system/b0caml
38d212b61a8080fd8177ab8604c00ec4f5fa599e
[ "0BSD" ]
15
2019-10-02T20:16:46.000Z
2021-11-04T10:04:54.000Z
src/b0caml_script.mli
b0-system/b0caml
38d212b61a8080fd8177ab8604c00ec4f5fa599e
[ "0BSD" ]
null
null
null
src/b0caml_script.mli
b0-system/b0caml
38d212b61a8080fd8177ab8604c00ec4f5fa599e
[ "0BSD" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2019 The b0caml programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) (** OCaml scripts *) ...
40.601626
79
0.676211
afd3f25c9b5517a5c79115b1c108543f9a543e05
3,020
ml
OCaml
src/lib_stdlib/utils.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/lib_stdlib/utils.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/lib_stdlib/utils.ml
Ngoguey42/tezos
68f0f84ed58f3c72b1bf3e732d8ee385461a2d14
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
51.186441
79
0.520861
afc8166a2fda25cfeac4742ff6b01933c3eacd16
452
ml
OCaml
tests/lib-threads/beat.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
1
2016-05-17T14:29:13.000Z
2016-05-17T14:29:13.000Z
tests/lib-threads/beat.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
tests/lib-threads/beat.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
(* Test Thread.delay and its scheduling *) open Printf let tick (delay, count) = while true do Thread.delay delay; incr count done let _ = let c1 = ref 0 and c2 = ref 0 in ignore (Thread.create tick (0.333333333, c1)); ignore (Thread.create tick (0.5, c2)); Thread.delay 3.0; let n1 = !c1 and n2...
22.6
49
0.597345
af2b753d594290487d76ab1ef5f3d6868eaf19fa
14,825
ml
OCaml
examples/auto/neighbors.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
examples/auto/neighbors.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
examples/auto/neighbors.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
(* KNeighborsClassifier *) (* >>> X = [[0], [1], [2], [3]] >>> y = [0, 0, 1, 1] >>> from sklearn.neighbors import KNeighborsClassifier >>> neigh = KNeighborsClassifier(n_neighbors=3) >>> neigh.fit(X, y) KNeighborsClassifier(...) >>> print(neigh.predict([[1.1]])) [0] >>> print(neigh.predict_proba([[0.9]])) [[0.66666667 ...
32.298475
125
0.589275
af8e1632a2a524fa9d38dca63da29f21c23c1d0b
880
mli
OCaml
infer/src/clang/cArithmetic_trans.mli
vaginessa/infer
553d39eb7d7663fb8762d368feb3b824416f37a1
[ "BSD-3-Clause" ]
null
null
null
infer/src/clang/cArithmetic_trans.mli
vaginessa/infer
553d39eb7d7663fb8762d368feb3b824416f37a1
[ "BSD-3-Clause" ]
null
null
null
infer/src/clang/cArithmetic_trans.mli
vaginessa/infer
553d39eb7d7663fb8762d368feb3b824416f37a1
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2013 - Facebook. * All rights reserved. *) (** Utility module for translating unary and binary operations and compound assignments *) val bin_op_to_string : Clang_ast_t.binary_operator_info -> string val binary_operation_instruction : CContext.t -> Clang_ast_t.binary_operator_info -> Sil.exp -> Si...
41.904762
144
0.734091
afee714f4e930a881ebe9a41043777e1639db122
16,245
ml
OCaml
interprocedural/test/dependencyGraphTest.ml
thatch/pyre-check
31278b71081ec3a3636f0d94da91dc0e4273ece9
[ "MIT" ]
null
null
null
interprocedural/test/dependencyGraphTest.ml
thatch/pyre-check
31278b71081ec3a3636f0d94da91dc0e4273ece9
[ "MIT" ]
null
null
null
interprocedural/test/dependencyGraphTest.ml
thatch/pyre-check
31278b71081ec3a3636f0d94da91dc0e4273ece9
[ "MIT" ]
null
null
null
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Analysis open Ast open Interprocedural open Statement open Test let setup ?(update_environment_with = []) ~contex...
27.627551
100
0.594214
af51ef02348cdc7fe34a607ce7ba50aee2b44b9a
36,636
ml
OCaml
src/generators/genas3.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
4
2017-06-12T17:34:18.000Z
2018-10-13T14:13:22.000Z
src/generators/genas3.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
null
null
null
src/generators/genas3.ml
shohei909/haxe
1a7ba9ea20dffe86bdfcdc1424af4952c647cecb
[ "MIT" ]
null
null
null
(* The Haxe Compiler Copyright (C) 2005-2018 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...
28.488336
208
0.607899
d2d87fb5a5bcec9014d1a2863c57505d11ffa567
3,563
mli
OCaml
src/Storage.mli
eucpp/relcppmem
259cc4bdced70933bb5929f4bdf8873acd0450ef
[ "Apache-2.0" ]
null
null
null
src/Storage.mli
eucpp/relcppmem
259cc4bdced70933bb5929f4bdf8873acd0450ef
[ "Apache-2.0" ]
9
2016-11-14T09:22:12.000Z
2017-06-19T13:54:26.000Z
src/Storage.mli
eucpp/relcppmem
259cc4bdced70933bb5929f4bdf8873acd0450ef
[ "Apache-2.0" ]
null
null
null
(* Copyright (c) 2016-2018 * Evgenii Moiseenko and Anton Podkopaev * St.Petersburg State University, JetBrains Research * * 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....
41.430233
158
0.567219
f352749cab306cbc235cce12cc6af2bd53e9446f
2,655
ml
OCaml
srk/test/test_quantifier.ml
anvayg/duet
b7cadaf486dc81a911189f582a53d4eee8ef69b9
[ "MIT" ]
1
2021-12-14T06:46:12.000Z
2021-12-14T06:46:12.000Z
srk/test/test_quantifier.ml
anvayg/duet
b7cadaf486dc81a911189f582a53d4eee8ef69b9
[ "MIT" ]
null
null
null
srk/test/test_quantifier.ml
anvayg/duet
b7cadaf486dc81a911189f582a53d4eee8ef69b9
[ "MIT" ]
null
null
null
open OUnit open Quantifier open Test_pervasives let simsat_ground () = assert_equal `Sat (simsat srk (Ctx.mk_leq x y)) let simsat_forward_ground () = assert_equal `Sat (simsat_forward srk (Ctx.mk_leq x y)) let simsat1 () = let phi = Ctx.mk_forall ~name:"r" `TyReal (Ctx.mk_exists ~name:"s" `TyReal ...
25.528846
71
0.573258
afccb9d575af1600e3ad3ea8c5f8ad03d4d4c977
2,034
ml
OCaml
lib/plumbing/test/input.ml
MattWindsor91/c4f
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
7
2018-11-27T23:53:58.000Z
2020-11-22T11:56:16.000Z
lib/plumbing/test/input.ml
MattWindsor91/act
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
235
2018-10-03T16:37:36.000Z
2020-11-22T16:26:51.000Z
lib/plumbing/test/input.ml
MattWindsor91/c4f
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
1
2018-11-13T16:43:19.000Z
2018-11-13T16:43:19.000Z
(* This file is part of c4f. Copyright (c) 2018-2022 C4 Project c4t itself is licensed under the MIT License. See the LICENSE file in the project root for more information. Parts of c4t are based on code from the Herdtools7 project (https://github.com/herd/herdtools7) : see the LICENSE.herd file in th...
30.358209
79
0.627827
f3eb50bd2d1a389cceeabeab8f828b7bd1a7eae8
2,353
ml
OCaml
src/app/cli/src/coda_process.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
1
2022-03-21T15:43:42.000Z
2022-03-21T15:43:42.000Z
src/app/cli/src/coda_process.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
src/app/cli/src/coda_process.ml
jl777/coda
62472b5212aefee52c9b6c0d6c9b5f7abb16125d
[ "Apache-2.0" ]
null
null
null
open Core open Async open Coda_worker open Coda_base open Coda_main open Pipe_lib type t = Coda_worker.Connection.t * Process.t * Coda_worker.Input.t let spawn_exn (config : Coda_worker.Input.t) = let%bind conn, process = Coda_worker.spawn_in_foreground_exn ~env:config.env ~on_failure:Error.raise ~cd:conf...
32.232877
86
0.717807
afd5452dfe5184ee0f6689ed28d2b33bd4cdaf83
1,218
ml
OCaml
src/core/Res.ml
Gbury/benchpress
19ecfca231112c053d41ae4d045e5e4a683b36dc
[ "BSD-2-Clause" ]
15
2019-12-13T22:53:20.000Z
2021-08-15T17:18:28.000Z
src/core/Res.ml
Gbury/benchpress
19ecfca231112c053d41ae4d045e5e4a683b36dc
[ "BSD-2-Clause" ]
29
2019-12-17T02:38:05.000Z
2022-01-05T22:57:01.000Z
src/core/Res.ml
Gbury/benchpress
19ecfca231112c053d41ae4d045e5e4a683b36dc
[ "BSD-2-Clause" ]
2
2020-06-07T21:58:46.000Z
2021-09-23T11:39:15.000Z
(* This file is free software. See file "license" for more details. *) module Fmt = CCFormat type t = | Sat | Unsat | Unknown | Timeout | Error | Tag of string let to_string = function | Sat -> "sat" | Unsat -> "unsat" | Unknown -> "unknown" | Timeout -> "timeout" | Error -> "error" | Tag s -...
22.145455
70
0.574713
afef57a5dce011aa69f8469fb8f6651df8cd9d36
5,224
ml
OCaml
main.ml
MrSunshyne/scfgc
13bb80dd2633df5faf2068d7fdc9a50f44675618
[ "MIT" ]
1
2020-04-05T13:04:40.000Z
2020-04-05T13:04:40.000Z
main.ml
MrSunshyne/scfgc
13bb80dd2633df5faf2068d7fdc9a50f44675618
[ "MIT" ]
null
null
null
main.ml
MrSunshyne/scfgc
13bb80dd2633df5faf2068d7fdc9a50f44675618
[ "MIT" ]
null
null
null
open Core_kernel.Std open Lexing open Types let print_sexp sx = print_endline (Sexp.to_string_hum ~indent:2 sx) let print_prog parse_tree = parse_tree |> sexp_of_parse_tree |> print_sexp let print_cprog cprog = print_sexp (sexp_of_cprog cprog) let print_iprog iprog = let rprog = BackEnd.rprog_of_iprog ...
32.65
94
0.661945
af287590d03c0b2c59aad1eb772e7b0b3f254a99
201
ml
OCaml
fold_consts/utils.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
fold_consts/utils.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
fold_consts/utils.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
open Core_kernel.Std open Bap.Std let mem_elt_size arch = let module Target = (val target_of_arch arch) in match Var.typ Target.CPU.mem with | Type.Imm _ -> assert false | Type.Mem (_,s) -> s
22.333333
50
0.701493
f3c76686d39a476203a5d0aad8d74796bc00e780
29,951
ml
OCaml
source/command/startCommand.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
null
null
null
source/command/startCommand.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
null
null
null
source/command/startCommand.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
1
2021-05-13T13:30:24.000Z
2021-05-13T13:30:24.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open Pyre open Network open Scheduler open Server open State open Socket open Protocol module Time = Core_kernel.Time_ns....
39.409211
102
0.643484
afb9f1c92ab30ca68b41a85b24baf57758212854
959
ml
OCaml
src/ftype.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
4
2018-09-07T01:10:59.000Z
2021-02-17T07:33:47.000Z
src/ftype.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
9
2018-07-02T13:38:09.000Z
2018-08-17T08:17:39.000Z
src/ftype.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
1
2020-10-14T20:26:28.000Z
2020-10-14T20:26:28.000Z
open Ast_helper open Asttypes open Parsetree type t = Parsetree.core_type option let option_map2 f o1 o2 = match o1, o2 with | Some x, Some y -> Some (f x y) | _, _ -> None let arrow = option_map2 (Typ.arrow Nolabel) let get_arg_type = function | {ppat_desc = Ppat_constraint (_, ty)} -> Some ty | _ -> Non...
25.918919
82
0.666319
f38e72e5978c0a2ef5ce20b00567e20347982541
22,514
ml
OCaml
analysis/annotatedSignature.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
analysis/annotatedSignature.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
analysis/annotatedSignature.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "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 Expression open Statement open Pyre module Annotation = AnalysisAnnotation module Resolution = AnalysisResolution ...
37.585977
98
0.499112
afadc52ec8fdb11264922611072804e03889fb81
6,103
ml
OCaml
src/optimization/test/inline_function_test.ml
raugfer/LambdaS5
f0bf5c7baf1daa4ead4e398ba7d430bedb7de9cf
[ "BSD-3-Clause" ]
null
null
null
src/optimization/test/inline_function_test.ml
raugfer/LambdaS5
f0bf5c7baf1daa4ead4e398ba7d430bedb7de9cf
[ "BSD-3-Clause" ]
null
null
null
src/optimization/test/inline_function_test.ml
raugfer/LambdaS5
f0bf5c7baf1daa4ead4e398ba7d430bedb7de9cf
[ "BSD-3-Clause" ]
null
null
null
open Prelude open Util open OUnit2 open Ljs_inline_function let suite = let cmp before after = cmp before inline_function after in let no_change code = no_change code inline_function in "Test Function Inlining Test" >::: [ "inlining for prim arg" >:: (cmp "func(x){prim('+', x, 1)}(2)" ...
27.615385
77
0.374734
afb6011c9fb0152b03f70aebe7098ac4f0e9b0fa
4,187
ml
OCaml
test/test_rand.ml
dune-universe/ptime
9530f8b73907c5f7cf6e76d81ed1e18cdd3b5369
[ "ISC" ]
null
null
null
test/test_rand.ml
dune-universe/ptime
9530f8b73907c5f7cf6e76d81ed1e18cdd3b5369
[ "ISC" ]
null
null
null
test/test_rand.ml
dune-universe/ptime
9530f8b73907c5f7cf6e76d81ed1e18cdd3b5369
[ "ISC" ]
1
2022-02-11T13:54:56.000Z
2022-02-11T13:54:56.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2015 The ptime programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) open Testing let strf ...
33.496
80
0.621686
afefb0bf25cc07e4122429ed64ef3fcaa894591c
15,539
ml
OCaml
src/syntax/ppx_sedlex.ml
bobzhang/sedlex
2ce5034a92630450d941bfd5ccd89e9e70a191f1
[ "MIT" ]
null
null
null
src/syntax/ppx_sedlex.ml
bobzhang/sedlex
2ce5034a92630450d941bfd5ccd89e9e70a191f1
[ "MIT" ]
null
null
null
src/syntax/ppx_sedlex.ml
bobzhang/sedlex
2ce5034a92630450d941bfd5ccd89e9e70a191f1
[ "MIT" ]
null
null
null
(* The package sedlex is released under the terms of an MIT-like license. *) (* See the attached LICENSE file. *) (* Copyright 2005, 2013 by Alain Frisch and LexiFi. *) open Ppxlib open Ast_builder.Default (* let ocaml_version = Versions.ocaml_408 *) modu...
33.854031
153
0.592445
f3cb5322f2bd86df6d2fd878abccb2d075ef1abd
168
ml
OCaml
data/derived/comb/progs/unify/prog6391.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/prog1547.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1547.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec digitsOfInt n = match n < 0 with | true -> [] | false -> if (n / 10) = 0 then [n mod 10] else [digitsOfInt (n / 10)] :: (n mod 10);;
18.666667
49
0.464286
afb9589a5c65bc7f8bd935139736bab38102d6e8
1,366
ml
OCaml
src/server/tag.eml.ml
fkrull/dream
9df46cb32989c853f2280e4ef78d574532e7a48e
[ "MIT" ]
830
2021-04-04T11:10:55.000Z
2022-03-28T21:41:35.000Z
src/server/tag.eml.ml
fkrull/dream
9df46cb32989c853f2280e4ef78d574532e7a48e
[ "MIT" ]
205
2021-04-04T11:44:46.000Z
2022-03-31T20:45:39.000Z
src/server/tag.eml.ml
fkrull/dream
9df46cb32989c853f2280e4ef78d574532e7a48e
[ "MIT" ]
60
2021-04-04T11:28:44.000Z
2022-03-26T07:31:18.000Z
(* 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 *) module Dream = struct include Dream_pure include Dream_pure.Formats end (* This slightly awkward simulation of the overall Dream module using...
26.784314
78
0.669839
afc5447abaf2e4275f518ee4083c0bbe46877dc7
730
mli
OCaml
coq/ide/coqide_ui.mli
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/ide/coqide_ui.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/ide/coqide_ui.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* <O___,, * (see CREDITS file for the list of authors) *) (* \VV/ *********...
56.153846
74
0.375342
afa6ef40323827698b71de470c12dbea591c2a2b
10,463
ml
OCaml
src/dune_rules/ordered_set_lang.ml
snowleopard/dune
dcf921ca5cd825ddb054682809bc4032e0d92ebc
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
src/dune_rules/ordered_set_lang.ml
snowleopard/dune
dcf921ca5cd825ddb054682809bc4032e0d92ebc
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
src/dune_rules/ordered_set_lang.ml
snowleopard/dune
dcf921ca5cd825ddb054682809bc4032e0d92ebc
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
open! Stdune open! Dune_engine open Import module Ast = struct [@@@warning "-37"] type expanded = Expanded type unexpanded = Unexpanded type ('a, _) t = | Element : 'a -> ('a, _) t | Standard : ('a, _) t | Union : ('a, 'b) t list -> ('a, 'b) t | Diff : ('a, 'b) t * ('a, 'b) t -> ('a, 'b) t ...
27.975936
80
0.561694
f3c1b6c4f943b846f8f3891da773eef6c7d54401
1,126
ml
OCaml
data/derived/comb/progs/unify/prog5354.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/prog0450.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0450.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = let difference = (List.length l1) - (List.length l2) in if difference > 0 then (l1, ((clone 0 difference) @ l2)) else if difference < 0 then (((clone 0 ((-1) * difference)) @ l1), l2) else (l1, l2);; let rec r...
30.432432
79
0.544405
af272151c60d1c3d11d192abbbc25ae02451d858
2,884
mli
OCaml
lib/aux.mli
yallop/metaocaml-frex
22cef50e68fab06206ad97d80c42c9290c45ec18
[ "MIT" ]
14
2018-05-24T15:38:10.000Z
2020-09-21T19:51:21.000Z
lib/aux.mli
frex-project/metaocaml-frex
22cef50e68fab06206ad97d80c42c9290c45ec18
[ "MIT" ]
1
2019-08-14T08:03:03.000Z
2019-08-14T08:13:55.000Z
lib/aux.mli
yallop/metaocaml-frex
22cef50e68fab06206ad97d80c42c9290c45ec18
[ "MIT" ]
null
null
null
open Algebra (* Note: Setoid = Map.OrderedType *) module type Setoid = sig include TYPE val compare : t -> t -> int end type _ var val var : 'a code -> 'a var val cd_of_var : 'a var -> 'a code module Var (A: sig type t end) : Setoid with type t = A.t var module Bag (A: Setoid) : sig include CMONOID with type ...
22.53125
78
0.554785
f3b0b2821648c40f8586703135a791dfd0d38830
102
ml
OCaml
benchmarks/sigma/sigma1/submissions/sub358.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/sigma/sigma1/submissions/sub358.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/sigma/sigma1/submissions/sub358.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
let rec sigma (a, b, f) = if a > b then 0 else (f a) + sigma (a + 1, b, f);;
14.571429
37
0.372549
aff7b525ac64ff954c6526ddc30b91ab385772f2
18,934
ml
OCaml
data/derived/comb/progs/unify/prog8545.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/prog3760.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3760.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.814558
208
0.655752
af32fcae52faec16d69bfab87518c4bba3d8d24a
1,863
mli
OCaml
src/dinfer.mli
chrisvrose/deputy-old-mirror
657350639cfd358ff14090d31813473885c44c7e
[ "BSD-3-Clause" ]
null
null
null
src/dinfer.mli
chrisvrose/deputy-old-mirror
657350639cfd358ff14090d31813473885c44c7e
[ "BSD-3-Clause" ]
null
null
null
src/dinfer.mli
chrisvrose/deputy-old-mirror
657350639cfd358ff14090d31813473885c44c7e
[ "BSD-3-Clause" ]
null
null
null
(* * * Copyright (c) 2006, * Jeremy Condit <jcondit@cs.berkeley.edu> * Matthew Harren <matth@cs.berkeley.edu> * George C. Necula <necula@cs.berkeley.edu> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
43.325581
75
0.756307
af4606cb33d907ac5c595620d1f54f4ce95c6ab8
8,328
ml
OCaml
src/lib_signer_backends/unix/remote.ml
Engil/tezos
cca83908754e611c3a7e2a9cbd85aaf6185ff802
[ "MIT" ]
3
2021-12-16T20:28:56.000Z
2022-01-21T01:37:49.000Z
src/lib_signer_backends/unix/remote.ml
Engil/tezos
cca83908754e611c3a7e2a9cbd85aaf6185ff802
[ "MIT" ]
5
2022-01-20T21:30:24.000Z
2022-03-11T14:43:56.000Z
src/lib_signer_backends/unix/remote.ml
Decentralized-Pictures/T4L3NT
3a9265949d50d2e925b5d6b3df21f283211df6a2
[ "MIT" ]
1
2021-07-19T07:00:37.000Z
2021-07-19T07:00:37.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
39.098592
80
0.598583
afc74f8b502c3184850c2d199d02c4a6deebbae5
11,259
ml
OCaml
compiler/scalc/compile_from_lambda.ml
pnmadelaine/catala
d301e0f434e744fe0557fcd612b841c448eeeaf6
[ "Apache-2.0" ]
null
null
null
compiler/scalc/compile_from_lambda.ml
pnmadelaine/catala
d301e0f434e744fe0557fcd612b841c448eeeaf6
[ "Apache-2.0" ]
null
null
null
compiler/scalc/compile_from_lambda.ml
pnmadelaine/catala
d301e0f434e744fe0557fcd612b841c448eeeaf6
[ "Apache-2.0" ]
null
null
null
(* This file is part of the Catala compiler, a specification language for tax and social benefits computation rules. Copyright (C) 2021 Inria, contributor: Denis Merigoux <denis.merigoux@inria.fr> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance...
41.7
100
0.606892
aff7a1c453ab0bd81cf5a19165f3e1156e120b0c
2,511
mli
OCaml
source/pyrePath.mli
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
5,975
2018-05-11T15:54:32.000Z
2022-03-31T14:38:00.000Z
source/pyrePath.mli
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
524
2018-05-11T16:47:20.000Z
2022-03-22T17:43:06.000Z
source/pyrePath.mli
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
501
2018-05-11T16:46:29.000Z
2022-03-19T04:41:57.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 Core type path = string [@@deriving compare, eq, show, sexp, hash] module AbsolutePath : sig type t [@@deriving compare, e...
21.834783
85
0.692553
afe3571bc43df9c2ffaaea47c2c36c5019208661
163
ml
OCaml
data/derived/comb/progs/unify/prog7351.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/prog2541.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2541.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec mulByDigit i l = match l with | [] -> [] | x::x'::x'' -> [(x * i) / 10] @ ([((x * i) mod 10) + x'] @ ((mulByDigit i [x']) @ [x'']));;
20.375
67
0.343558
afd0ddc3d858413e7618f560e8e8694757d5dc9e
1,106
mli
OCaml
client/mirage/dhcp_ipv4.mli
samoht/charrua
2f1a9ed12aef1389902a5e2d5a900398d28a5054
[ "ISC" ]
null
null
null
client/mirage/dhcp_ipv4.mli
samoht/charrua
2f1a9ed12aef1389902a5e2d5a900398d28a5054
[ "ISC" ]
null
null
null
client/mirage/dhcp_ipv4.mli
samoht/charrua
2f1a9ed12aef1389902a5e2d5a900398d28a5054
[ "ISC" ]
null
null
null
(* * Copyright (c) 2010 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" A...
50.272727
155
0.751356
aff602257eff48efe1b6fd160bd665ba6d19e420
5,544
mli
OCaml
duniverse/base/src/validate.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
1
2019-09-11T00:04:16.000Z
2019-09-11T00:04:16.000Z
duniverse/base/src/validate.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/base/src/validate.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(** A module for organizing validations of data structures. Allows standardized ways of checking for conditions, and keeps track of the location of errors by keeping a path to each error found. Thus, if you were validating the following datastructure: {[ { foo = 3; bar = { snoo = 34.5; ...
31.5
90
0.62013
afcc292f5b8600a8a99502777f915859a1e114f5
151
ml
OCaml
pkg/pkg.ml
jonahbeckford/ansi-parse
5c3e70b86ccfc1cbb60af1463d438d6caedc4892
[ "ISC" ]
null
null
null
pkg/pkg.ml
jonahbeckford/ansi-parse
5c3e70b86ccfc1cbb60af1463d438d6caedc4892
[ "ISC" ]
null
null
null
pkg/pkg.ml
jonahbeckford/ansi-parse
5c3e70b86ccfc1cbb60af1463d438d6caedc4892
[ "ISC" ]
null
null
null
#!/usr/bin/env ocaml #use "topfind" #require "topkg" open Topkg let () = Pkg.describe "ansi-parse" @@ fun c -> Ok [ Pkg.mllib "ansiparse.mllib" ]
16.777778
39
0.635762
afc8282c3ea769056ae39aabcf1c4ba242ceb955
1,016
mli
OCaml
original/lib/fftw-2.1.3/gensrc/schedule.mli
albertsgrc/ftdock-opt
3361d1f18bf529958b78231fdcf139b1c1c1f232
[ "MIT" ]
null
null
null
original/lib/fftw-2.1.3/gensrc/schedule.mli
albertsgrc/ftdock-opt
3361d1f18bf529958b78231fdcf139b1c1c1f232
[ "MIT" ]
null
null
null
original/lib/fftw-2.1.3/gensrc/schedule.mli
albertsgrc/ftdock-opt
3361d1f18bf529958b78231fdcf139b1c1c1f232
[ "MIT" ]
null
null
null
(* * Copyright (c) 1997-1999 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 by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versio...
36.285714
76
0.729331
afa693e831421b0d9087a543c6d4aa76b82f3a64
157
ml
OCaml
data/derived/comb/progs/unify/prog5715.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/prog0838.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0838.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec wwhile (f,b) = let (b',c') = f b in if c' then wwhile (f, b') else b';; let _ = let f x = let xx = (x * x) * x in (xx xx) < 100 in wwhile (f, 2);;
31.4
79
0.503185
afd8c328a8d7ffa60285a8085937b5c6994f3846
3,505
mli
OCaml
src/dune_engine/package.mli
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
src/dune_engine/package.mli
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
src/dune_engine/package.mli
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
(** Information about a package defined in the workspace *) open Import module Name : sig type t val opam_fn : t -> string val version_fn : t -> string include Interned_intf.S with type t := t include Dune_lang.Conv.S with type t := t module Infix : Comparator.OPS with type t = t include Stringlik...
18.743316
73
0.613695
afeefa94735fc8a22d2677cb6ddc8b43d219e6a8
33,603
ml
OCaml
src/lib/runtime_config/runtime_config.ml
Vrrinderjit/mina
1d9ef9cc8c14f6965e7b9c835c8127acbbd2a045
[ "Apache-2.0" ]
null
null
null
src/lib/runtime_config/runtime_config.ml
Vrrinderjit/mina
1d9ef9cc8c14f6965e7b9c835c8127acbbd2a045
[ "Apache-2.0" ]
null
null
null
src/lib/runtime_config/runtime_config.ml
Vrrinderjit/mina
1d9ef9cc8c14f6965e7b9c835c8127acbbd2a045
[ "Apache-2.0" ]
null
null
null
open Core_kernel module Fork_config = struct type t = { previous_state_hash : string ; previous_length : int ; previous_global_slot : int } [@@deriving yojson, dhall_type, bin_io_unversioned] end let yojson_strip_fields ~keep_fields = function | `Assoc l -> `Assoc (List.filter l ~f...
31.113889
82
0.615034
af7c5244b86ac32d5c2ef2d79e9b4d9a60bcef2b
8,493
ml
OCaml
src/se2gis/Main.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
2
2022-01-12T16:50:30.000Z
2022-01-28T16:14:40.000Z
src/se2gis/Main.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
src/se2gis/Main.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
open Base open Common open Env open ProblemDefs open Lang open Term open Syguslib.Sygus open Utils let rec refinement_loop ?(major = true) ~(ctx : env) (p : PsiDef.t) (t_lstate_in : refinement_loop_state Lwt.t) : solver_response segis_response Lwt.t = (* Check there is no termination order. *) ...
36.140426
100
0.635229
afbf808fb34d0e53a6420be6a775b10d3383e8af
3,410
ml
OCaml
02-exercises/19-list_operations/problem.ml
ghuntley/learn-ocaml-workshop
17ba08609a1a28ce2bd123b63ae8bfa489761acf
[ "Apache-2.0" ]
4
2018-05-21T00:40:36.000Z
2022-01-26T08:55:54.000Z
02-exercises/19-list_operations/problem.ml
ghuntley/learn-ocaml-workshop
17ba08609a1a28ce2bd123b63ae8bfa489761acf
[ "Apache-2.0" ]
null
null
null
02-exercises/19-list_operations/problem.ml
ghuntley/learn-ocaml-workshop
17ba08609a1a28ce2bd123b63ae8bfa489761acf
[ "Apache-2.0" ]
3
2018-05-21T00:40:50.000Z
2018-09-26T04:57:48.000Z
open! Base (* It is common in all programming languages to want to store and operate on collections of the same data type. As you have seen in previous exercises, we can achieve this in OCaml using the ['a list] type (e.g. int list, bool list, string list list). When you first learn to program in languages...
28.898305
90
0.63783
f38b0f6ef3911a759c14351aeb250fdcc284986a
8,264
ml
OCaml
lib/respd.ml
jeffa5/ocaml-h2
e92be081d775011cc791c35538a33a5334eaa96a
[ "BSD-3-Clause" ]
null
null
null
lib/respd.ml
jeffa5/ocaml-h2
e92be081d775011cc791c35538a33a5334eaa96a
[ "BSD-3-Clause" ]
null
null
null
lib/respd.ml
jeffa5/ocaml-h2
e92be081d775011cc791c35538a33a5334eaa96a
[ "BSD-3-Clause" ]
null
null
null
(*---------------------------------------------------------------------------- * Copyright (c) 2019 António Nuno Monteiro * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redi...
34.00823
81
0.667352
af9d49710326dd13de5eb89556a4c58b5a9681e8
4,674
mli
OCaml
infer/src/base/Utils.mli
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
null
null
null
infer/src/base/Utils.mli
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
2
2020-11-13T19:42:27.000Z
2020-11-13T19:49:19.000Z
infer/src/base/Utils.mli
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2009 - 2013 Monoidics ltd. * Copyright (c) 2013 - 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...
41.362832
115
0.701113
afd475413fc317288d077b94f2a0eb63432fae04
17,348
ml
OCaml
code_selection/code/code_group_order.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
3
2016-05-03T23:32:16.000Z
2019-07-04T10:29:09.000Z
code_selection/code/code_group_order.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
1
2016-05-10T09:10:16.000Z
2016-05-10T09:10:16.000Z
code_selection/code/code_group_order.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
2
2019-05-08T16:29:48.000Z
2020-02-20T21:44:11.000Z
(***********************************************************************) (* *) (* GALAX *) (* XQuery Engine *) (* ...
34.489066
143
0.668953
afc3092b0fbbf0798f53657ca8217fa5b840f6c9
605
ml
OCaml
src/lib/coda_base/state_hash.ml
nireno/coda
40c1957c788a021c7bc25cf1e0b8ea8d5770d2d9
[ "Apache-2.0" ]
null
null
null
src/lib/coda_base/state_hash.ml
nireno/coda
40c1957c788a021c7bc25cf1e0b8ea8d5770d2d9
[ "Apache-2.0" ]
null
null
null
src/lib/coda_base/state_hash.ml
nireno/coda
40c1957c788a021c7bc25cf1e0b8ea8d5770d2d9
[ "Apache-2.0" ]
null
null
null
(* state_hash.ml -- defines the type for the protocol state hash *) include Data_hash.Make_full_size () module Base58_check = Codable.Make_base58_check (struct include Stable.Latest let description = "State hash" end) [%%define_locally Base58_check.(to_base58_check, of_base58_check, of_base58_check_exn)] [%%de...
23.269231
69
0.808264
f3b5a40ae6e94381ab7a889e16e92cf72f11f7cc
601
ml
OCaml
data/fa15/2702.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2702.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2702.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec wwhile (f,b) = let x = f b in match x with | h::t -> if t then wwhile (f, h) else h;; (* fix let rec wwhile (f,b) = let x = f b in match x with | (x,y) -> if y = false then x else wwhile (f, x);; *) (* changed spans (3,17)-(3,70) (3,43)-(3,44) (3,50)-(3,63) (3,61)-(3,62) (3,69)-(3,70) *) (* type er...
13.355556
72
0.477537
af1460b35793548a9110da93717722bca172ea25
2,218
mli
OCaml
compiler/libqmlcompil/qmlRenamingMap.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
compiler/libqmlcompil/qmlRenamingMap.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
compiler/libqmlcompil/qmlRenamingMap.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
58
2015-01-02T23:57:42.000Z
2022-03-02T12:44:42.000Z
(* Copyright © 2011, 2012 MLstate This file is part of Opa. Opa is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3, as published by the Free Software Foundation. Opa is distributed in the hope that it will be useful, ...
33.606061
78
0.693868
afd572cd36e1f3f94d1f6e133462d15cdd97dfc8
10,084
mli
OCaml
lib/ezcmdliner.mli
NathanReb/ezcmdliner
c961181c8d7aba03ead27583d4ca3f992a5ea3e7
[ "Apache-2.0" ]
null
null
null
lib/ezcmdliner.mli
NathanReb/ezcmdliner
c961181c8d7aba03ead27583d4ca3f992a5ea3e7
[ "Apache-2.0" ]
null
null
null
lib/ezcmdliner.mli
NathanReb/ezcmdliner
c961181c8d7aba03ead27583d4ca3f992a5ea3e7
[ "Apache-2.0" ]
null
null
null
(** Easier interface to Cmdliner. [Cmdliner] is a great command line factory but composing binaries definitions is quite painful. This library adds a small layer upon [Cmdliner] to target this issue. {1 Quickstart} To define a new command line interface (CLI) to a function, you must create a ...
34.067568
90
0.652717
af27ec2e2e93a1d7600c6f979e3d8f0592156643
9,197
ml
OCaml
src/proto_alpha/lib_protocol/test/helpers/lqt_fa12_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/helpers/lqt_fa12_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/helpers/lqt_fa12_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021-2022 Nomadic Labs <contact@nomadic-labs.com> *) ...
36.208661
88
0.579102
afb29451ea56dc565ecbaf7968fb2788c78991fa
5,339
ml
OCaml
src/lib/work_selector/test.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/work_selector/test.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/work_selector/test.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
open Core_kernel open Async open Currency open Pipe_lib module Make_test (Make_selection_method : Intf.Make_selection_method_intf) = struct module T = Inputs.Test_inputs let reassignment_wait = 2000 module Lib = Work_lib.Make (T) module Selection_method = Make_selection_method (T) (Lib) let gen_staged_led...
36.319728
80
0.603109
f3e2e324d1bb10179acb271d640ba28eb26a5368
3,628
ml
OCaml
source/domains/abstractFlatDomain.ml
rcramblit/pyre-check
fa15d2021ab1bf5b52aae8c09d1520e2b7bcf6c9
[ "MIT" ]
null
null
null
source/domains/abstractFlatDomain.ml
rcramblit/pyre-check
fa15d2021ab1bf5b52aae8c09d1520e2b7bcf6c9
[ "MIT" ]
null
null
null
source/domains/abstractFlatDomain.ml
rcramblit/pyre-check
fa15d2021ab1bf5b52aae8c09d1520e2b7bcf6c9
[ "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 AbstractDomainCore module type ELEMENT = sig type t val name : string val show : t -> string end module Make (Elemen...
21.595238
78
0.551268
af9c1f1ed0764954fc6e27109a778cc33699b023
808
mli
OCaml
codegen/tf_lib.mli
fyquah95/fyp-worker-dispatcher
1ebf764e41202d18ccd1013ec2270caa6c44565a
[ "RSA-MD", "CECILL-B" ]
null
null
null
codegen/tf_lib.mli
fyquah95/fyp-worker-dispatcher
1ebf764e41202d18ccd1013ec2270caa6c44565a
[ "RSA-MD", "CECILL-B" ]
null
null
null
codegen/tf_lib.mli
fyquah95/fyp-worker-dispatcher
1ebf764e41202d18ccd1013ec2270caa6c44565a
[ "RSA-MD", "CECILL-B" ]
null
null
null
type 'a t = | Mat of 'a array array | Vec of 'a array | Scalar of 'a | Nothing val of_float : float -> float t val of_int : int -> int t (* boolean ops *) val bool_not : bool t -> bool t val eval_bool : bool t -> bool val shape : 'a t -> int array val randomuniform : int array -> float t (* neural net ...
26.064516
49
0.585396
afc53a021009fde18c69b7c54b0aec97836d2aa3
1,644
mli
OCaml
CodeHawk/CHB/bchlibx86/bCHFnX86Dictionary.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHB/bchlibx86/bCHFnX86Dictionary.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHB/bchlibx86/bCHFnX86Dictionary.mli
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-2019 Kestrel Technology LLC Permission is hereby gra...
43.263158
83
0.647202
f3bfc7e5ef9471dd5a65a1ff68d0d9533bf6e6d3
1,031
ml
OCaml
data/fa15/1478.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/1478.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/1478.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec wwhile (f,b) = match f b with | (h,t) -> if t = true then wwhile (f, h) else h;; let fixpoint (f,b) = wwhile (((wwhile (f, b)), b), b);; (* fix let rec wwhile (f,b) = match f b with | (h,t) -> if t = true then wwhile (f, h) else h;; let fixpoint (f,b) = wwhile ((let g b = let t = f b in if b = t...
14.521127
77
0.463628
afb37fd82a964af164a4ad4866b334e4f15f6724
173,333
ml
OCaml
parser/test/generatorTest.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-08-08T16:01:55.000Z
2020-08-08T16:01:55.000Z
parser/test/generatorTest.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
4
2022-02-15T02:42:33.000Z
2022-02-28T01:30:07.000Z
parser/test/generatorTest.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-11-22T12:08:51.000Z
2020-11-22T12:08:51.000Z
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Ast open Expression open Statement open Test let assert_parsed_equal source statements = let handle = "test.py"...
31.208678
102
0.400697
f3bdc37504a19af639a8ab3799ea244559be43e3
8,198
ml
OCaml
data/derived/comb/progs/unify/prog8252.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/prog3462.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3462.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.025397
148
0.629422
afdbc6829a401ecdbf4c511b0be1e80c2aed524e
7,606
ml
OCaml
src/lib/snarky_taylor/snarky_taylor.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/lib/snarky_taylor/snarky_taylor.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/lib/snarky_taylor/snarky_taylor.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
open Core_kernel open Snarky_integer open Util module Floating_point = Floating_point (* Given p / q = 0.b1 b2 b3 ... 2^k p / q = b1 b2 b3 bk . b_{k+1} ... *) let bignum_as_fixed_point k x = let p, q = Bignum.(num_as_bigint x, den_as_bigint x) in B.(shift_left p k / q) let least ~such_that = let ...
30.546185
110
0.604917
af4a8d1a7f0343f8d7e4481168c289417562a76d
9,414
ml
OCaml
src/compiler.ml
edukera/cml-lang
8ab5e634c04543c294f82f72000e4f21b305d3c2
[ "MIT" ]
2
2019-02-08T18:50:07.000Z
2019-03-02T18:23:52.000Z
src/compiler.ml
edukera/cml-lang
8ab5e634c04543c294f82f72000e4f21b305d3c2
[ "MIT" ]
57
2019-01-24T13:32:12.000Z
2019-04-10T15:25:09.000Z
src/compiler.ml
edukera/cml-lang
8ab5e634c04543c294f82f72000e4f21b305d3c2
[ "MIT" ]
null
null
null
open Archetype open Compile open Core (* -------------------------------------------------------------------- *) let close dispose channel = if dispose then close_in channel let set_margin i = Format.pp_set_margin Format.std_formatter i; Format.pp_set_margin Format.err_formatter i (* ------------------------...
47.786802
217
0.582324
f35c91d1c12c8b4cd1f83e60b0de0539f4e53661
5,649
ml
OCaml
analysis/test/integration/asyncTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/test/integration/asyncTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/test/integration/asyncTest.ml
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "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 IntegrationTest let test_check_async context = let assert_type_errors = assert_type_errors ~context in let assert_defau...
28.386935
99
0.566649
d2dd184509ef8c237b04aa8eb16da22c0b697783
6,029
ml
OCaml
vendor/menhir/src/cmly_write.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/menhir/src/cmly_write.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/menhir/src/cmly_write.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
(******************************************************************************) (* *) (* Menhir *) (* ...
34.255682
83
0.598275
afcdc8cf7ab62d474b2cc219afd09082262c1165
2,374
mli
OCaml
src/lib/mina_base/fee_transfer.mli
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
2
2021-07-11T21:51:34.000Z
2021-07-29T14:33:45.000Z
src/lib/mina_base/fee_transfer.mli
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
null
null
null
src/lib/mina_base/fee_transfer.mli
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Import module Single : sig module Stable : sig module V1 : sig type t = private { receiver_pk: Public_key.Compressed.Stable.V1.t ; fee: Currency.Fee.Stable.V1.t ; fee_token: Token_id.Stable.V1.t } [@@deriving bin_io, sexp, compare, eq, yojson, version, ha...
23.50495
67
0.664701
af63f93a197af55c3e3816a5107704cdd9e19c6e
1,637
ml
OCaml
src/katbv/compiler.ml
netkat-lang/netkat
5822459fbfae0f0e9e0622843ebe30208f8bf189
[ "MIT" ]
1
2019-11-27T16:43:14.000Z
2019-11-27T16:43:14.000Z
src/katbv/compiler.ml
netkat-lang/netkat
5822459fbfae0f0e9e0622843ebe30208f8bf189
[ "MIT" ]
null
null
null
src/katbv/compiler.ml
netkat-lang/netkat
5822459fbfae0f0e9e0622843ebe30208f8bf189
[ "MIT" ]
null
null
null
open Base open Ast let ba : Katbb_lib.Ast.bexp Kat.Hom.ba = { ctrue = Kat.Ast.True; cfalse = Kat.Ast.False; conj = (fun a b -> Kat.Ast.Conj (a,b)); disj = (fun a b -> Kat.Ast.Disj (a,b)); neg = (fun a -> Kat.Ast.Neg a); } let kat : (Katbb_lib.Ast.exp, Katbb_lib.Ast.bexp) Kat.Hom.kat = { ba = ba; assrt =...
28.224138
79
0.64325
f385b6cf61be8263aea8d5dcd3def55210976f0d
204
ml
OCaml
Task/Even-or-odd/Standard-ML/even-or-odd.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/Even-or-odd/Standard-ML/even-or-odd.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
Task/Even-or-odd/Standard-ML/even-or-odd.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
fun even n = n mod 2 = 0; fun odd n = n mod 2 <> 0; (* bitwise and *) type werd = Word.word; fun evenbitw(w: werd) = Word.andb(w, 0w2) = 0w0; fun oddbitw(w: werd) = Word.andb(w, 0w2) <> 0w0;
12.75
27
0.558824
afbb64de1e684281afd22ca1f75c83ac6d095316
10,150
ml
OCaml
exports/xml_exp.ml
whirm/mlorg
a4cc46889ab5ed151af8df5d2cb9153775052b24
[ "BSD-2-Clause" ]
3
2018-12-01T23:14:30.000Z
2022-01-23T08:33:26.000Z
exports/xml_exp.ml
whirm/mlorg
a4cc46889ab5ed151af8df5d2cb9153775052b24
[ "BSD-2-Clause" ]
null
null
null
exports/xml_exp.ml
whirm/mlorg
a4cc46889ab5ed151af8df5d2cb9153775052b24
[ "BSD-2-Clause" ]
1
2018-09-11T09:46:18.000Z
2018-09-11T09:46:18.000Z
open Timestamp open Prelude open Entity open Batteries open Inline open Block open Document open Plugin open Config open Xml module E = struct let name = "xml" let config = Config.create () let concatmap f l = List.concat (List.map f l) let assoc l s = try List.assoc s l with _ -> "" let opt_attr name = fun...
44.911504
105
0.551724
afb6530e8a0c82f38e5997135afef08515b873fe
38,796
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/bytecomp/bytegen.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2020-09-24T05:03:32.000Z
2020-09-24T05:03:32.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/bytecomp/bytegen.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/bytecomp/bytegen.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
38.373887
87
0.599804
af1e63e9675a5926cba5596dba56b2b9679df3c7
38,749
ml
OCaml
src/proto_009_PsFLoren/lib_plugin/plugin.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_009_PsFLoren/lib_plugin/plugin.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_009_PsFLoren/lib_plugin/plugin.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Nomadic Development. <contact@tezcore.com> *) ...
38.214004
97
0.591138
af899e34d71814acd1a22ad6d7b3c8c0749678ac
15,227
ml
OCaml
captions/src/srt.ml
yingted/ytcc2
ece2ae8006274d7cd4aed5ac3b694f778cc9ad10
[ "Apache-2.0" ]
1
2021-08-25T03:18:21.000Z
2021-08-25T03:18:21.000Z
captions/src/srt.ml
yingted/ytcc2
ece2ae8006274d7cd4aed5ac3b694f778cc9ad10
[ "Apache-2.0" ]
null
null
null
captions/src/srt.ml
yingted/ytcc2
ece2ae8006274d7cd4aed5ac3b694f778cc9ad10
[ "Apache-2.0" ]
1
2021-08-25T03:18:13.000Z
2021-08-25T03:18:13.000Z
(** Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
35.085253
118
0.563144
afda63f5da15d809f60ff7c5014514b54b60a827
897
ml
OCaml
src/ocaml_windows.ml
yannl35133/vscode-ocaml-platform
7950499683599b821f1a3d5b801e910d7f692a00
[ "ISC" ]
264
2020-01-28T10:27:38.000Z
2022-03-31T09:51:44.000Z
src/ocaml_windows.ml
yannl35133/vscode-ocaml-platform
7950499683599b821f1a3d5b801e910d7f692a00
[ "ISC" ]
515
2020-01-28T08:47:34.000Z
2022-03-31T13:01:53.000Z
src/ocaml_windows.ml
yannl35133/vscode-ocaml-platform
7950499683599b821f1a3d5b801e910d7f692a00
[ "ISC" ]
69
2020-02-02T08:41:46.000Z
2022-02-17T02:42:46.000Z
open Import let ocaml_env_binary = Path.of_string "ocaml-env" let ocaml_env_setting = Settings.create_setting ~scope:Global ~key:"ocaml.useOcamlEnv" ~of_json:Jsonoo.Decode.bool ~to_json:Jsonoo.Encode.bool let use_ocaml_env () = match (Platform.t, Settings.get ocaml_env_setting) with | Win32, Some true -> t...
28.03125
78
0.655518
afb640003a35c668cbbae78440b53e2893b1de5a
20,544
ml
OCaml
infer/src/al/ctl_parser_types.ml
kmh11/infer
86f686814a9f152f72e30dc87cb4980f26a4fdf7
[ "MIT" ]
null
null
null
infer/src/al/ctl_parser_types.ml
kmh11/infer
86f686814a9f152f72e30dc87cb4980f26a4fdf7
[ "MIT" ]
null
null
null
infer/src/al/ctl_parser_types.ml
kmh11/infer
86f686814a9f152f72e30dc87cb4980f26a4fdf7
[ "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. *) (* Types used by the ctl parser *) open! IStd module L = Logging (** the kind of AST nodes where formulas are evaluated *) type as...
31.269406
102
0.655228
f34ff88237d2bfb16e4f6ad164e084d4da46af0c
3,697
ml
OCaml
examples/auto/manifold.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
examples/auto/manifold.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
examples/auto/manifold.ml
UnixJunkie/ocaml-sklearn
9c0bb9de47cb3f434a7a979750d4ebb352da8a97
[ "BSD-3-Clause" ]
null
null
null
(* Isomap *) (* >>> from sklearn.datasets import load_digits >>> from sklearn.manifold import Isomap >>> X, _ = load_digits(return_X_y=True) >>> X.shape (1797, 64) >>> embedding = Isomap(n_components=2) >>> X_transformed = embedding.fit_transform(X[:100]) >>> X_transformed.shape (100, 2) *) (* TEST TODO let%expect_t...
22.005952
75
0.605626
af4f7493d217b4137ea4e85b93ebde87180cf9af
463
ml
OCaml
benchmarks/C/lambda/sol302.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/lambda/sol302.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/lambda/sol302.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type lambda = V of var | P of var * lambda | C of lambda * lambda and var = string let rec checkarea (a: string list) (s: string): bool = match a with | [] -> false | h::t -> if (s = h) then true else (checkarea t s) let rec areacount (m: lambda) (a: string list): bool = match m with | V s -> (checkarea a s)...
22.047619
55
0.587473
af89983fc679e0fadb5fe4393314f1951a518091
8,181
ml
OCaml
src/extract/pml_arinc.ml
ozeidan/analyzer
d3e682b7f24e60a6f9c4e44099cdd1d9c0592db6
[ "BSD-3-Clause", "MIT" ]
1
2020-11-13T21:01:31.000Z
2020-11-13T21:01:31.000Z
src/extract/pml_arinc.ml
ozeidan/analyzer
d3e682b7f24e60a6f9c4e44099cdd1d9c0592db6
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/extract/pml_arinc.ml
ozeidan/analyzer
d3e682b7f24e60a6f9c4e44099cdd1d9c0592db6
[ "BSD-3-Clause", "MIT" ]
null
null
null
open BatteriesExceptionless (* enums *) type return_code = SUCCESS | ERROR and partition_mode = IDLE | COLD_START | WARM_START | NORMAL and status = NOTCREATED | STOPPED | SUSPENDED | WAITING | READY | DONE and waiting_for = NONE | BLACKBOARD | SEMA | EVENT | TIME and queuing_discipline = FIFO | PRIO [@@deriving show ...
41.953846
196
0.614839
afe99df9033e63843a36f81b3824fd0184ce2635
1,919
ml
OCaml
libraries/elasticache/lib/describeServiceUpdates.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticache/lib/describeServiceUpdates.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/elasticache/lib/describeServiceUpdates.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeServiceUpdatesMessage.t type output = ServiceUpdatesMessage.t type error = Errors_internal.t let service = "elasticache" 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...
30.951613
95
0.583637
af5cd56e7652906e0e31cb42d823bab38a5f1d75
1,109
mli
OCaml
facebook-clang-plugins/clang-ocaml/process.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
facebook-clang-plugins/clang-ocaml/process.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
facebook-clang-plugins/clang-ocaml/process.mli
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) val file_ex...
30.805556
79
0.691614
af08aed9bc903fc9a3a56c33d7043a6344364c2d
6,042
ml
OCaml
src/lib/mina_base/sparse_ledger_base.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/mina_base/sparse_ledger_base.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/mina_base/sparse_ledger_base.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Mina_base_import open Snark_params.Tick [%%versioned module Stable = struct module V2 = struct type t = ( Ledger_hash.Stable.V1.t , Account_id.Stable.V2.t , Account.Stable.V2.t ) Sparse_ledger_lib.Sparse_ledger.T.Stable.V2.t [@@deriving yojson, sexp] let to_...
30.059701
81
0.659384
f3dc625247af3de59be1abbdf656d7ca590250c5
143
mli
OCaml
controller/bindings/label-printer/label_printer.mli
dividat/playos
fae198150789696b2c2d51cf099cb9f6c9563022
[ "MIT" ]
1
2021-06-10T11:05:05.000Z
2021-06-10T11:05:05.000Z
controller/bindings/label-printer/label_printer.mli
dividat/playos
fae198150789696b2c2d51cf099cb9f6c9563022
[ "MIT" ]
45
2019-01-23T15:36:43.000Z
2022-03-29T08:23:30.000Z
controller/bindings/label-printer/label_printer.mli
dividat/playos
fae198150789696b2c2d51cf099cb9f6c9563022
[ "MIT" ]
7
2019-01-18T13:53:14.000Z
2021-02-03T10:17:51.000Z
type label = { machine_id: string ; mac_1: string ; mac_2: string } [@@deriving sexp] val print : url : string -> label -> unit Lwt.t
15.888889
47
0.622378
f3e9fdacaf70d9a6b75801dd34197c51ca5f62a4
1,363
ml
OCaml
src/intermediate/js_to_bs/obj_to_typedef/js_obj_to_typedef.ml
0zat/gen-bs
20348991775d9ef3974c3b824968a0ab219502a8
[ "MIT" ]
7
2017-08-01T09:11:27.000Z
2020-10-23T09:20:32.000Z
src/intermediate/js_to_bs/obj_to_typedef/js_obj_to_typedef.ml
0zat/gen-bs
20348991775d9ef3974c3b824968a0ab219502a8
[ "MIT" ]
null
null
null
src/intermediate/js_to_bs/obj_to_typedef/js_obj_to_typedef.ml
0zat/gen-bs
20348991775d9ef3974c3b824968a0ab219502a8
[ "MIT" ]
null
null
null
open Bs_type open Js let make_ident_name name = "_" ^ name let make_aux_name name = "__" ^ name let make_like_name name = "_" ^ name ^ "_like" let make_aux parent name : Bs.type_def = let base = make_aux_name name in let typedef = if BatOption.is_some parent then to_ident ~variables:[to_variable...
25.240741
68
0.70066
afd2ec76496b5d43154f711ecf09147f669a1d77
228
ml
OCaml
src/bin/find_envs.ml
fraidev/repeatable
14e4750ba8e76c0ed9d744174bc367cc0dfe50bd
[ "MIT" ]
null
null
null
src/bin/find_envs.ml
fraidev/repeatable
14e4750ba8e76c0ed9d744174bc367cc0dfe50bd
[ "MIT" ]
null
null
null
src/bin/find_envs.ml
fraidev/repeatable
14e4750ba8e76c0ed9d744174bc367cc0dfe50bd
[ "MIT" ]
null
null
null
let cron_time () = match Sys.getenv_opt "CRON_TIME" with | Some env -> int_of_string env | None -> 30 ;; let command () = match Sys.getenv_opt "COMMAND" with | Some env -> env | None -> failwith "COMMAND not set" ;;
20.727273
39
0.640351
8a036dc6b23ba52e187bcfa976ca8014f2508ce4
18,255
ml
OCaml
engine/Data_driven/callGraph.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
engine/Data_driven/callGraph.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
engine/Data_driven/callGraph.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
open Lang open Util open Print exception UndefinedNode (* Call-graph node *) type node_id = int type node = { id : node_id; is_rec : bool; name : string; args : arg list; typ : typ; body : lexp; } (* Call-graph edge : call relation between two function (except recursion) *) type edge = { src : node_i...
40.120879
141
0.605314
afd6ae7e2444394f42c7ce69d9c85de80c687923
727
ml
OCaml
lib/start_info.ml
hannesm/mirage-xen
3f0f1a6d2c0f6899c7757f19d7927d750cb5604d
[ "0BSD" ]
null
null
null
lib/start_info.ml
hannesm/mirage-xen
3f0f1a6d2c0f6899c7757f19d7927d750cb5604d
[ "0BSD" ]
1
2019-11-01T18:54:08.000Z
2019-11-01T18:54:08.000Z
lib/start_info.ml
hannesm/mirage-xen
3f0f1a6d2c0f6899c7757f19d7927d750cb5604d
[ "0BSD" ]
1
2019-10-18T13:40:12.000Z
2019-10-18T13:40:12.000Z
type t = { magic: string; nr_pages: int; shared_info: int; flags: int; store_mfn: int; store_evtchn: int; console_mfn: int; console_evtchn: int; pt_base: int; nr_pt_frames: int; mfn_list: int; mod_start: int; mod_len: int; cmd_line: string; first_p2m_pfn: int; nr_p2m_frames: int } external get: unit ->...
25.964286
83
0.751032
f323a2ddb442c5680be9a985ef76b194511c025c
12,253
ml
OCaml
supplemental/src/arith.ml
cmsc388x/interpreters
d8affe6235eb364e8aff0c57614f0b72821119ce
[ "MIT" ]
1
2022-02-11T18:35:51.000Z
2022-02-11T18:35:51.000Z
supplemental/src/arith.ml
cmsc388x/interpreters
d8affe6235eb364e8aff0c57614f0b72821119ce
[ "MIT" ]
1
2022-02-20T19:35:56.000Z
2022-02-20T19:38:36.000Z
supplemental/src/arith.ml
cmsc388x/interpreters
d8affe6235eb364e8aff0c57614f0b72821119ce
[ "MIT" ]
2
2022-02-11T17:37:04.000Z
2022-02-21T18:30:36.000Z
(** This module defines and explains an interpreter for a language with Boolean operations from [bool2.ml] extended with integers and some operations on them. **) open Camlrack open Camlrack.ListConvenienceFunctions (* We've got a pretty good handle on Boolean interpreters, so let's shake things up a bit: ...
36.685629
86
0.62703
f31cb62abf04cead9aebfa6bf98d1c8288df8458
374
ml
OCaml
infer/src/opensource/GraphQL.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/opensource/GraphQL.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/opensource/GraphQL.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2016 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) module Dep...
28.769231
78
0.735294
afecde55d8d8eb933fea740d6f0e2f97266e7085
5,529
ml
OCaml
code_selection/code/code_tj_pathstack.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
3
2016-05-03T23:32:16.000Z
2019-07-04T10:29:09.000Z
code_selection/code/code_tj_pathstack.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
1
2016-05-10T09:10:16.000Z
2016-05-10T09:10:16.000Z
code_selection/code/code_tj_pathstack.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
2
2019-05-08T16:29:48.000Z
2020-02-20T21:44:11.000Z
(***********************************************************************) (* *) (* GALAX *) (* XQuery Engine *) (* ...
33.713415
109
0.569542
af18237f43b2d5304f2a6c00653192b3532b598a
439
ml
OCaml
hphp/hack/src/stubs/remoteWorker.ml
KIBEBENSON/hhvm
36ef0d11162898de284bae31d839577cc35571d2
[ "PHP-3.01", "Zend-2.0" ]
1
2019-11-01T13:46:07.000Z
2019-11-01T13:46:07.000Z
hphp/hack/src/stubs/remoteWorker.ml
KIBEBENSON/hhvm
36ef0d11162898de284bae31d839577cc35571d2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/stubs/remoteWorker.ml
KIBEBENSON/hhvm
36ef0d11162898de284bae31d839577cc35571d2
[ "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. * *) type type_check_input = Relative_path.t list type work_env = { bin_root: Path.t; check_id: string; key: string; root:...
20.904762
66
0.697039
afc67cfe1ab1c03a0fead9fab580a111aff74299
25,278
ml
OCaml
src_top/herd_based/litmus/KSkel.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/KSkel.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/KSkel.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...
32.160305
96
0.506409