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
17b308a14c24b68120c96a87dd921081b2f6ec09
13,585
ml
OCaml
src/cache/local.ml
thierry-martinez/dune
e80c901f767a4f904dbbba18d2b5934f33b18e32
[ "MIT" ]
null
null
null
src/cache/local.ml
thierry-martinez/dune
e80c901f767a4f904dbbba18d2b5934f33b18e32
[ "MIT" ]
null
null
null
src/cache/local.ml
thierry-martinez/dune
e80c901f767a4f904dbbba18d2b5934f33b18e32
[ "MIT" ]
null
null
null
open Dune_util open Stdune open Result.O open Cache_intf type t = { root : Path.t ; build_root : Path.t option ; repositories : repository list ; handler : handler ; duplication_mode : Duplication_mode.t ; temp_dir : Path.t } module Trimming_result = struct type t = { trimmed_files_size : int ...
30.875
81
0.637468
17d27a52c0e86a9cc92812dc281bcd9e901db3bd
89,540
ml
OCaml
trained/NYSE-MS-day-2014-06-02-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
null
null
null
trained/NYSE-MS-day-2014-06-02-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
null
null
null
trained/NYSE-MS-day-2014-06-02-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,984.666667
27,231
0.818037
17d154680a9ea80ef237dff0fcd5b4a97fde5cd6
13,694
ml
OCaml
hphp/hack/src/full_fidelity_parse.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2021-06-19T23:31:58.000Z
2021-06-19T23:31:58.000Z
hphp/hack/src/full_fidelity_parse.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/full_fidelity_parse.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * 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. * *) (** * * Usage: full_fidelity_parse [OPTIONS] [FILES] * * --full-fidelity-json * --full-fidelity-errors ...
32.839329
89
0.696144
176b175865a5f6372ea15b757f4357740da3826f
6,445
ml
OCaml
vendor/core/test/bin/zone_test.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core/test/bin/zone_test.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core/test/bin/zone_test.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open OUnit open Core open Poly (* We don't test Feb 29th because generating proper leap year dates is trickier. Also, there are no time zone changes on leap dates. *) let month_limits = Map.Poly.of_alist_exn [ 1, 31; 2, 28; 3, 31; 4, 30; 5, 31; 6, 30; 7, 31; 8, 31; 9, 30; 10, 31; 11, 30; 12...
32.550505
114
0.646393
17179f1e16433a62ca6ebe80e310954c63c79e55
6,770
ml
OCaml
hphp/hack/test/unit/naming/naming_table_tests.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/unit/naming/naming_table_tests.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/unit/naming/naming_table_tests.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "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. * * *) (* These are basically the same tests as in * test/integration_ml/saved_state/test_naming_table_sqlite_fallback....
33.681592
81
0.664993
17aec73d71266240f439bff40735665fa1b0f8fe
442
ml
OCaml
src/lib/network_pool/priced_proof.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/network_pool/priced_proof.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/network_pool/priced_proof.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 Mina_base [%%versioned module Stable = struct [@@@no_toplevel_latest_type] module V1 = struct type 'proof t = { proof : 'proof; fee : Fee_with_prover.Stable.V1.t } [@@deriving compare, fields, sexp, yojson, hash] end end] type 'proof t = 'proof Stable.Latest.t = { proof : 'proof...
23.263158
73
0.671946
179b3f20215a9bf73bcaf13070c230de49b696d5
775
ml
OCaml
data/derived/comb/progs/unify/prog3754.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/prog3754.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3754.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 x1 = List.length l1 in let x2 = List.length l2 in if x1 < x2 then (((clone 0 (x2 - x1)) @ l1), l2) else (l1, ((clone 0 (x1 - x2)) @ l2));; let rec removeZero l = match l with | [] -> [] | h::[] -> if h <> 0 th...
27.678571
69
0.522581
17e07e689fb118e75ec23d563f459450ca2f44dc
8,143
mli
OCaml
ast/statement.mli
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
ast/statement.mli
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
ast/statement.mli
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "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. *) module Access = Expression.Access module Argument = Expression.Argument module Record : sig module Define : sig type signature = { ...
25.606918
90
0.669164
17f9a8899ebacfad0a547e0b7abd13a00139bf17
1,741
mli
OCaml
tool/strings.mli
HarryGifford/AlphaCaml
634d0a04fa90a5b8512876c770584a9a4c8615ac
[ "BSD-3-Clause" ]
null
null
null
tool/strings.mli
HarryGifford/AlphaCaml
634d0a04fa90a5b8512876c770584a9a4c8615ac
[ "BSD-3-Clause" ]
null
null
null
tool/strings.mli
HarryGifford/AlphaCaml
634d0a04fa90a5b8512876c770584a9a4c8615ac
[ "BSD-3-Clause" ]
null
null
null
(* This module defines sets of strings, maps over strings, and auxiliary functions over these data structures. *) module StringSet : Set.S with type elt = string module StringMap : Map.S with type key = string module StringAux : sig (* Apply a function to all elements of a set. *) val map: (string -> string...
34.82
110
0.680643
17e0e59d0af4acfdd6d415ed53c2f593d357d9b8
3,032
mli
OCaml
src/proto_alpha/lib_client_sapling/wallet.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_alpha/lib_client_sapling/wallet.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_alpha/lib_client_sapling/wallet.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(* The MIT License (MIT) * * Copyright (c) 2019-2020 Nomadic Labs <contact@nomadic-labs.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without lim...
39.894737
81
0.733509
17536888556b1a68ce8df9a6f3dbb93990bfb43b
1,771
mli
OCaml
src/blist_association.mli
BuckleTypes/bs-containers
dfd1360dc74ede57c09e9f9d837ce59285af6fd2
[ "BSD-2-Clause" ]
17
2017-03-21T21:10:57.000Z
2017-06-25T19:42:29.000Z
src/blist_association.mli
BuckleTypes/bs-containers
dfd1360dc74ede57c09e9f9d837ce59285af6fd2
[ "BSD-2-Clause" ]
30
2017-03-21T20:30:00.000Z
2017-06-11T18:14:17.000Z
src/blist_association.mli
reasonml-community/bs-containers
dfd1360dc74ede57c09e9f9d837ce59285af6fd2
[ "BSD-2-Clause" ]
5
2017-03-21T20:05:40.000Z
2017-04-28T20:43:58.000Z
type ('k, 'v) t = ('k * 'v) list val get : ?eq:('k -> 'k -> bool) -> 'k -> ('k, 'v) t -> 'v option (** Find the element *) val getOrRaise : ?eq:('k -> 'k -> bool) -> 'k -> ('k, 'v) t -> 'v (** Same as [get], but unsafe @raise Not_found if the element is not present *) val set : ?eq:('k -> 'k -> bool) -> 'k -> '...
39.355556
88
0.548842
17e31a83ed3da407165e9ce7701d3d5a42c0ba5c
14,265
mli
OCaml
infer/src/base/Config.mli
Naturalclar/infer
59e17f59b818dd9bd9698c973b73a7715197471d
[ "MIT" ]
null
null
null
infer/src/base/Config.mli
Naturalclar/infer
59e17f59b818dd9bd9698c973b73a7715197471d
[ "MIT" ]
null
null
null
infer/src/base/Config.mli
Naturalclar/infer
59e17f59b818dd9bd9698c973b73a7715197471d
[ "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 (** Configuration values: either constant, determined at compile time, or se...
18.598435
97
0.794252
aa0b3a96887edf1bab991f8b2c5ee8549991a3a6
5,884
ml
OCaml
worker/context.ml
kit-ty-kate/ocluster
14f738824fbffba24b17fbf3910a2243255f3064
[ "Apache-2.0" ]
null
null
null
worker/context.ml
kit-ty-kate/ocluster
14f738824fbffba24b17fbf3910a2243255f3064
[ "Apache-2.0" ]
null
null
null
worker/context.ml
kit-ty-kate/ocluster
14f738824fbffba24b17fbf3910a2243255f3064
[ "Apache-2.0" ]
null
null
null
open Lwt.Infix module Hash = Digestif.SHA1 let ( / ) = Filename.concat let ( >>!= ) = Lwt_result.bind type t = { state_dir : string; } let repos_dir t = t.state_dir / "git" let dir_exists d = match Unix.lstat d with | Unix.{ st_kind = S_DIR; _ } -> true | _ -> false | exception Unix.Unix_error(Unix.ENOEN...
38.457516
153
0.6069
aaee0bcca81c9d43de991fb25d72fb7c360afda4
222
ml
OCaml
test/domain/main.ml
bn-d/lwt
654952b62dccea63f186747be79916dbfdccf48d
[ "MIT" ]
575
2015-01-02T04:28:43.000Z
2022-03-11T16:56:22.000Z
test/domain/main.ml
bn-d/lwt
654952b62dccea63f186747be79916dbfdccf48d
[ "MIT" ]
773
2015-01-02T12:09:28.000Z
2022-03-31T10:10:24.000Z
test/domain/main.ml
bn-d/lwt
654952b62dccea63f186747be79916dbfdccf48d
[ "MIT" ]
182
2015-01-13T10:33:42.000Z
2022-01-04T20:50:42.000Z
(* This file is part of Lwt, released under the MIT license. See LICENSE.md for details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. *) let () = Test.run "domain" [ Test_lwt_domain.suite; ]
27.75
79
0.689189
1761ebe879687edd3f5e0676547a7ae1e2446985
10,288
ml
OCaml
src/rules/rules2ldl_main.ml
ldltools/dsl4sc
3532f08b8de4c92e0b64f697240170903a76d666
[ "Apache-2.0" ]
7
2018-10-30T09:59:47.000Z
2020-06-16T22:16:45.000Z
src/rules/rules2ldl_main.ml
ldltools/dsl4sc
3532f08b8de4c92e0b64f697240170903a76d666
[ "Apache-2.0" ]
null
null
null
src/rules/rules2ldl_main.ml
ldltools/dsl4sc
3532f08b8de4c92e0b64f697240170903a76d666
[ "Apache-2.0" ]
null
null
null
(* $Id: $ *) (* * (C) Copyright IBM Corp. 2018. * * 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 a...
29.734104
89
0.601477
174a79bd1742a7c80342860d8586f01d016acc4e
4,840
mli
OCaml
node_modules/bs-platform/lib/ocaml/belt_SortArray.mli
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
null
null
null
node_modules/bs-platform/lib/ocaml/belt_SortArray.mli
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
null
null
null
node_modules/bs-platform/lib/ocaml/belt_SortArray.mli
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
null
null
null
(* Copyright (C) 2017 Authors of BuckleScript * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * In ad...
32.05298
90
0.631198
cd05708dbfc73dcd71e151de0254043d0673f77b
7,142
ml
OCaml
duniverse/ocaml-migrate-parsetree/src/migrate_parsetree_407_406.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ocaml-migrate-parsetree/src/migrate_parsetree_407_406.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ocaml-migrate-parsetree/src/migrate_parsetree_407_406.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml Migrate Parsetree *) (* *) (* ...
54.519084
140
0.637076
17c7d47459868a34f89578cc6425bcf17bf60126
12,338
ml
OCaml
src/pathName.ml
clarus/coq-of-ocaml
7ba314392c778316787d8843fa7158ecb3f40892
[ "MIT" ]
146
2015-01-02T10:32:42.000Z
2021-09-16T14:13:40.000Z
src/pathName.ml
clarus/coq-of-ocaml
7ba314392c778316787d8843fa7158ecb3f40892
[ "MIT" ]
44
2015-04-28T19:26:48.000Z
2021-09-20T22:40:37.000Z
src/pathName.ml
clarus/coq-of-ocaml
7ba314392c778316787d8843fa7158ecb3f40892
[ "MIT" ]
10
2015-05-08T23:28:54.000Z
2021-03-08T15:29:32.000Z
(** Global identifiers with a module path, used to reference a definition for example. *) open SmartPrint open Monad.Notations type t = { path : Name.t list; base : Name.t } (** Internal helper for this module. *) let __make (path : string list) (base : string) : t = { path = path |> List.map (fun name -> N...
33.256065
111
0.648322
17d51a191425fe9cc8dff8a310824ace96647aa4
395
ml
OCaml
benchmarks/lambda/lambda2/submissions/sub32.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/lambda/lambda2/submissions/sub32.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/lambda/lambda2/submissions/sub32.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type exp = V of var | P of var * exp | C of exp * exp and var = string let rec compare v l= match l with [] -> false |hd::tl -> if hd=v then true else compare v tl let rec makel e l = match e with V(v)->compare v l |P(v, exp1)->makel exp1 (l@[v]) |C(exp2, exp3)->ma...
23.235294
50
0.529114
bce4cf2d10ae5d8be5f69b352fa0e85720dfd4ff
941
ml
OCaml
data/sp14_min/0837.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/0837.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/0837.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec addList xs = match xs with | [] -> 0 | h::t -> h + (addList t);; let rec digitsOfInt n = if n < 1 then [] else (digitsOfInt (n / 10)) @ [n mod 10];; let rec additivePersistence n = let count = 0 in if (List.length (digitsOfInt n)) = 1 then count else count = (count + (1 additivePersistence (addList...
20.456522
76
0.587673
1740fa03fc198af08c4f0570d9f2f3cd8893cdb7
7,722
ml
OCaml
src/proto_003_PsddFKi3/lib_protocol/contract_repr.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_003_PsddFKi3/lib_protocol/contract_repr.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_003_PsddFKi3/lib_protocol/contract_repr.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.597156
94
0.622507
17e2b428868d0515f1af120697c1adb7713fd48c
9,533
ml
OCaml
infer/src/scripts/checkCopyright.ml
doctools/doctools
7bcc7e421d32cdbd69889b71748d8025dd45bd2c
[ "BSD-3-Clause" ]
1
2016-12-19T07:33:16.000Z
2016-12-19T07:33:16.000Z
infer/src/scripts/checkCopyright.ml
doctools/doctools
7bcc7e421d32cdbd69889b71748d8025dd45bd2c
[ "BSD-3-Clause" ]
null
null
null
infer/src/scripts/checkCopyright.ml
doctools/doctools
7bcc7e421d32cdbd69889b71748d8025dd45bd2c
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2015 - 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! Core...
33.804965
95
0.662121
17f4174cd22d0f0f961a6878f24234a6f7c98565
1,289
ml
OCaml
src/randomSheet.ml
BLACS/youpi
85cf83129c4f1d241c07431df21e202d33c8ad9a
[ "MIT" ]
null
null
null
src/randomSheet.ml
BLACS/youpi
85cf83129c4f1d241c07431df21e202d33c8ad9a
[ "MIT" ]
null
null
null
src/randomSheet.ml
BLACS/youpi
85cf83129c4f1d241c07431df21e202d33c8ad9a
[ "MIT" ]
null
null
null
let init = Random.self_init () let ratio = 100 let max = 1024 let int () = Random.int max let random_int () = let i = int () in let def = Definition.int i in Cell.cell ~v:i def let random_count row col = let origin_row = Random.int row and origin_col = Random.int col and width = 1 + ...
22.614035
87
0.6346
17d6222d3ea1ea75487e0d112dcb6debcab6c0c6
388
mli
OCaml
src/dune/variant.mli
vahuja13/dune
888a64db60b973da5685f8e4f2d9f2b2e1a4f264
[ "MIT" ]
null
null
null
src/dune/variant.mli
vahuja13/dune
888a64db60b973da5685f8e4f2d9f2b2e1a4f264
[ "MIT" ]
null
null
null
src/dune/variant.mli
vahuja13/dune
888a64db60b973da5685f8e4f2d9f2b2e1a4f264
[ "MIT" ]
null
null
null
(** Library variants *) (** Library variants allow to select the implementation of a library at link time. They are directly mapped to findlib predicates. *) include Stdune.Interned.S (** Well-known variants *) val ppx_driver : t val mt : t val mt_posix : t val byte : t val native : t val plugin : t val...
14.923077
76
0.703608
17f53bc5a91554b61aa3b2f67fac47c07499f262
1,090
ml
OCaml
homework17.04.20/smezh.ml
Cow-berry/Ocaml-Programs
b0b1eca894c66cf6e6d4226e17ce86963e893900
[ "MIT" ]
2
2017-01-15T16:03:22.000Z
2017-01-22T09:36:47.000Z
homework17.04.20/smezh.ml
Cow-berry/Ocaml-Programs
b0b1eca894c66cf6e6d4226e17ce86963e893900
[ "MIT" ]
null
null
null
homework17.04.20/smezh.ml
Cow-berry/Ocaml-Programs
b0b1eca894c66cf6e6d4226e17ce86963e893900
[ "MIT" ]
null
null
null
(* создание матрицы смежности *) let rec gen1 x0 a b r= if a<=b then [List.mem (x0,a) r]@ gen1 x0 (a+1) b r else [];; let rec gen2 x1 x2 y1 y2 r= if x1<=x2 then gen1 x1 y1 y2 r :: gen2 (x1+1) x2 y1 y2 r else [];; (*воссоздание списка координат*) let rec restore1 x y l = match l with [] -> [] | h::t -> i...
22.244898
98
0.56789
17aec4cd59c7fd4b50a2c23244c427396000bce6
8,556
ml
OCaml
src/ast.ml
LeeTZ/Yo
f1efa770a66d34b4d2f751831bd8b47ea18ff874
[ "MIT" ]
6
2016-06-02T23:38:00.000Z
2021-02-09T23:22:23.000Z
src/ast.ml
LeeTZ/Yo
f1efa770a66d34b4d2f751831bd8b47ea18ff874
[ "MIT" ]
2
2015-12-15T22:27:33.000Z
2016-07-18T18:48:32.000Z
src/ast.ml
LeeTZ/Yo
f1efa770a66d34b4d2f751831bd8b47ea18ff874
[ "MIT" ]
3
2015-10-14T04:09:38.000Z
2016-12-15T00:28:36.000Z
type op = Add | Sub | Mult | Div | Mod | Eq | Neq | Less | Leq | Gt | Geq | And | Or type types = Int | Double | Bool | String of types type type_name = | SimpleType of string | NestedType of type_name * string | ArrayType of type_name type expr = (* Expressions*) I...
39.428571
146
0.628915
173ab9439034b818a90c95807c57df50444a196b
3,645
ml
OCaml
command/checkCommand.ml
fyunaz/pyre-check
57640fe196e989c63bf3749c7a7251c83aa7ee50
[ "MIT" ]
null
null
null
command/checkCommand.ml
fyunaz/pyre-check
57640fe196e989c63bf3749c7a7251c83aa7ee50
[ "MIT" ]
null
null
null
command/checkCommand.ml
fyunaz/pyre-check
57640fe196e989c63bf3749c7a7251c83aa7ee50
[ "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 Analysis open Pyre open Service (* run_command prints out the errors, for a Check run *) let run_check ignore_infer v...
27.201493
101
0.639506
17a4cf01fadd35de3ae22b92e722006eeac86e94
1,132
ml
OCaml
src/lib/transition_handler/unprocessed_transition_cache.ml
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
2
2021-07-11T21:51:34.000Z
2021-07-29T14:33:45.000Z
src/lib/transition_handler/unprocessed_transition_cache.ml
yusuftrl/mina
42bbe89e0e84366fd1673672750eb6041462e449
[ "Apache-2.0" ]
1
2021-03-06T14:52:32.000Z
2021-03-06T14:52:32.000Z
src/lib/transition_handler/unprocessed_transition_cache.ml
obazl/mina
0612b142738c68155e9a9bba16cd3787bba4feed
[ "Apache-2.0" ]
3
2021-03-14T18:19:04.000Z
2021-03-25T16:37:07.000Z
(* The unprocessed transition cache is a cache of transitions which have been * ingested from the network but have not yet been processed into the transition * frontier. This is used in order to drop duplicate transitions which are still * being handled by various threads in the transition frontier controller. *) o...
26.952381
80
0.775618
179ccb05dde89b3ffc769eb354efc467fa45d197
38,157
ml
OCaml
hphp/hack/src/typing/typing_defs.ml
ritikagrawat/hhvm
4f18db152aeea6c380c877f38fc99778a5511008
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_defs.ml
ritikagrawat/hhvm
4f18db152aeea6c380c877f38fc99778a5511008
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_defs.ml
ritikagrawat/hhvm
4f18db152aeea6c380c877f38fc99778a5511008
[ "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 module Reason = Typing_reason module SN = Naming_special_names type visibility = | Vpublic | V...
33.007785
90
0.67487
172db952acd003cd736e4d1a3678a0e6c19eadd5
467
ml
OCaml
lib/util/optutil.ml
foche/cool_compiler
c46fa7284873867b92f697518a951f1c0cdf8c5a
[ "MIT" ]
null
null
null
lib/util/optutil.ml
foche/cool_compiler
c46fa7284873867b92f697518a951f1c0cdf8c5a
[ "MIT" ]
null
null
null
lib/util/optutil.ml
foche/cool_compiler
c46fa7284873867b92f697518a951f1c0cdf8c5a
[ "MIT" ]
null
null
null
(* optutil.ml *) open! StdLabels let fold2 ~none ~some x y = match (x, y) with | Some x', Some y' -> some x' y' | Some _, None | None, Some _ | None, None -> none let bind2 ~f x y = fold2 ~none:None ~some:f x y let map2 ~f x y = bind2 ~f:(fun x' y' -> Some (f x' y')) x y let singleton x = Option.map (fun x' ...
23.35
65
0.586724
1793976d3c911bb79f39e4158ddfdd627a4f2ff5
6,875
mli
OCaml
ast/expression.mli
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "MIT" ]
null
null
null
ast/expression.mli
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "MIT" ]
null
null
null
ast/expression.mli
rvantonder/pyre-check-1
600ec9656ece5fff21598f4248c55089714bf590
[ "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. *) module BooleanOperator : sig type operator = | And | Or [@@deriving compare, eq, sexp, show, hash] type 'expression t = { ...
23.871528
99
0.669673
17fde7c50f3ab702d54ed1b65a86e1d8e3117bf9
3,590
ml
OCaml
source/service/check.ml
ekmixon/pyre-check
bd2475cc0cf4bef941f0aea6df10d674e6c907ab
[ "MIT" ]
5,975
2018-05-11T15:54:32.000Z
2022-03-31T14:38:00.000Z
source/service/check.ml
yuhan1212/pyre-check
37a3fcb4dec517c37f381743bac8f8a269218f8c
[ "MIT" ]
524
2018-05-11T16:47:20.000Z
2022-03-22T17:43:06.000Z
source/service/check.ml
yuhan1212/pyre-check
37a3fcb4dec517c37f381743bac8f8a269218f8c
[ "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 open Pyre type result = { environment: Analysis.TypeEnvironment.t; errors: Analysis.AnalysisError.t list; } let che...
34.190476
100
0.722006
17bae6a5b899de14bfab1769252fd85d6bce1ad2
319
ml
OCaml
benchmarks/C/uniq/sol101.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/uniq/sol101.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/uniq/sol101.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec fold_left f a l = match l with | [] -> a | h::t -> fold_left f (f a h) t;; let rec has_element lst e = match lst with | [] -> false | hd::tl -> (hd = e)||(has_element tl e);; let uniq : 'a list -> 'a list = fun lst -> fold_left (fun a x -> if has_element a x then a else a @ [x]) [] lst;;
26.583333
83
0.532915
bcedbdb35b5af200d4edc3661e74f81f9136c6be
38,837
ml
OCaml
source/analysis/test/scopeTest.ml
sthagen/pyre-check
2cd35436b5a5516116177e8e80881882341701e5
[ "MIT" ]
1
2019-12-07T06:58:52.000Z
2019-12-07T06:58:52.000Z
source/analysis/test/scopeTest.ml
sthagen/pyre-check
2cd35436b5a5516116177e8e80881882341701e5
[ "MIT" ]
null
null
null
source/analysis/test/scopeTest.ml
sthagen/pyre-check
2cd35436b5a5516116177e8e80881882341701e5
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Analysis open Ast open Scope open Test let test_global _ = let assert_global ~expected source_text = ...
25.891333
102
0.508742
173ead6c8993af854004b7b5f24fc9a829544d6c
10,188
ml
OCaml
src/transformations/IntroGuards.ml
nunchaku-inria/nunchaku
91e62687ba3dac692e25bcc1849a1c042f46ab21
[ "BSD-2-Clause" ]
39
2015-09-30T15:02:05.000Z
2022-02-20T17:54:46.000Z
src/transformations/IntroGuards.ml
nunchaku-inria/nunchaku
91e62687ba3dac692e25bcc1849a1c042f46ab21
[ "BSD-2-Clause" ]
36
2015-11-17T08:41:18.000Z
2020-12-10T20:28:53.000Z
src/transformations/IntroGuards.ml
nunchaku-inria/nunchaku
91e62687ba3dac692e25bcc1849a1c042f46ab21
[ "BSD-2-Clause" ]
3
2017-01-18T23:10:48.000Z
2018-11-09T17:14:16.000Z
(* This file is free software, part of nunchaku. See file "license" for more details. *) (** {1 Introduce Guards} This transformation removes "assuming" and "asserting" constructs and replaces them by boolean guards and assertions *) open Nunchaku_core module TI = TermInner module Pol = Polarity module Stm...
33.513158
88
0.570868
17fad5f29a70f86927b80133992ec5044193a88c
737
ml
OCaml
src/main/FomBasis/FomBasis.ml
polytypic/f-omega-mu
3ced242c94db041f1b6d7e59f762feb1b81c5eb7
[ "MIT" ]
20
2021-01-31T13:37:35.000Z
2022-03-24T11:12:46.000Z
src/main/FomBasis/FomBasis.ml
polytypic/f-omega-mu
3ced242c94db041f1b6d7e59f762feb1b81c5eb7
[ "MIT" ]
null
null
null
src/main/FomBasis/FomBasis.ml
polytypic/f-omega-mu
3ced242c94db041f1b6d7e59f762feb1b81c5eb7
[ "MIT" ]
1
2021-02-24T09:54:33.000Z
2021-02-24T09:54:33.000Z
module Applicative = Applicative module Cats = Cats module Compare = Compare module Constant = Constant module Exn = Exn module Field = Field module Filename = Filename module Fun = Fun module Functor = Functor module Higher = Higher module Identity = Identity module JsonString = JsonString module List = List module Ma...
19.918919
32
0.789688
179bc2d1d055aa30eeb6f0090240493656a47453
8,643
ml
OCaml
src/proto_alpha/lib_protocol/test/helpers/incremental.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/helpers/incremental.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/helpers/incremental.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
38.07489
79
0.617378
17c6f894bd4aa6934851a2445f7d3f4a551fc8f9
2,777
ml
OCaml
src/snapshot.ml
janestreet/bonsai
d42f19ba7fd17b8363408f11da181a3812fa6c81
[ "MIT" ]
172
2019-11-18T13:19:13.000Z
2022-03-13T00:50:07.000Z
src/snapshot.ml
janestreet/bonsai
d42f19ba7fd17b8363408f11da181a3812fa6c81
[ "MIT" ]
17
2019-11-21T19:01:59.000Z
2022-01-25T14:38:29.000Z
src/snapshot.ml
janestreet/bonsai
d42f19ba7fd17b8363408f11da181a3812fa6c81
[ "MIT" ]
22
2020-01-19T02:54:15.000Z
2022-03-01T14:50:29.000Z
open! Core open! Import module Apply_action = struct type ('m, 'a) transition = schedule_event:(unit Effect.t -> unit) -> 'm -> 'a -> 'm type ('m, 'a) t = | Incremental of ('m, 'a) transition Incr.t | Non_incremental of ('m, 'a) transition | Impossible of ('a -> Nothing.t) let incremental i = Incre...
30.516484
90
0.647461
cd0b0f526914cbfe2d49f590e9284a1d3dfde114
7,685
ml
OCaml
data/derived/comb/progs/unify/prog0139.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/prog0139.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0139.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.591696
148
0.68419
cd046323c5e49d18ed7f0be5872761fb2a57af61
8,066
ml
OCaml
src/boot/lib/repl.ml
dlunde/miking
e685beb2d2a2a59fa88076dcb9b02993c5642394
[ "MIT" ]
41
2017-08-07T12:43:35.000Z
2022-03-10T13:44:02.000Z
src/boot/lib/repl.ml
dlunde/miking
e685beb2d2a2a59fa88076dcb9b02993c5642394
[ "MIT" ]
178
2019-11-01T15:09:25.000Z
2022-03-31T14:20:46.000Z
src/boot/lib/repl.ml
dlunde/miking
e685beb2d2a2a59fa88076dcb9b02993c5642394
[ "MIT" ]
25
2017-08-07T12:36:31.000Z
2021-04-22T12:02:04.000Z
(* Miking is licensed under the MIT license. Copyright (C) David Broman. See file LICENSE.txt repl.ml contains most of the MCore REPL functionality. It is built upon the bootstrap interpreter. Uses linenoise. *) open Ustring.Op open Printf open Ast open Mlang open Msg open Pprint open Intrinsics open Pars...
29.98513
79
0.685346
17b7cd64ea95d9fb78d317dcf319d2af33b067cf
857
ml
OCaml
commands/dkpretty.ml
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
160
2017-11-16T16:16:09.000Z
2022-03-03T07:14:11.000Z
commands/dkpretty.ml
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
188
2017-11-24T18:14:54.000Z
2022-03-17T09:11:41.000Z
commands/dkpretty.ml
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
19
2018-02-09T10:18:02.000Z
2022-02-26T13:05:00.000Z
open Api open Kernel open Cmdliner let beautify config files = Config.init config; let open Processor in let after _ exn = Option.iter (fun (env, lc, e) -> Env.fail_env_error env lc e) exn in let hook = {before = ignore; after} in Processor.handle_files files ~hook PrettyPrinter; let f m = let in...
27.645161
70
0.683781
1750d86e7585d3ae1116cd76f4c95becaf88963d
661
ml
OCaml
benchmarks/formula/formula1/submissions/sub91.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/formula/formula1/submissions/sub91.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/formula/formula1/submissions/sub91.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type formula = TRUE | FALSE |NOT of formula |ANDALSO of formula * formula |ORELSE of formula * formula |IMPLY of formula * formula |LESS of expr * expr and expr = NUM of int |PLUS of expr * expr |MINUS of expr * expr let rec eval x = (* Calculate value *) let rec calexpr t = match t with NUM a-> a |PL...
22.033333
64
0.597579
aaf880d75b2ca66b5daab62a22337a86fc3bb0c5
1,842
mli
OCaml
src/lib/parallel_scan/parallel_scan.mli
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
1
2018-11-01T06:43:26.000Z
2018-11-01T06:43:26.000Z
src/lib/parallel_scan/parallel_scan.mli
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
src/lib/parallel_scan/parallel_scan.mli
ValarDragon/coda
2a73c37c22c4029fcfb0b2a444115eead94bdb8b
[ "Apache-2.0" ]
null
null
null
open Core_kernel module Ring_buffer : sig type 'a t [@@deriving sexp, bin_io] val read_all : 'a t -> 'a list val read_k : 'a t -> int -> 'a list end module State : sig module Job : sig type ('a, 'd) t = Merge of 'a option * 'a option | Base of 'd option [@@deriving bin_io, sexp] end module Comp...
24.236842
77
0.606949
aa425134faa8fb8e065716f289f47dd05f4ea8d6
265
mli
OCaml
server/backend/check.mli
patricoferris/opam-health-check
030559bad86e383f60a4df66e3ec6630b135dedf
[ "MIT" ]
5
2021-01-15T16:57:26.000Z
2021-11-04T10:04:36.000Z
server/backend/check.mli
patricoferris/opam-health-check
030559bad86e383f60a4df66e3ec6630b135dedf
[ "MIT" ]
18
2020-12-16T15:04:03.000Z
2022-03-01T17:47:53.000Z
server/backend/check.mli
patricoferris/opam-health-check
030559bad86e383f60a4df66e3ec6630b135dedf
[ "MIT" ]
3
2021-01-15T16:51:28.000Z
2021-12-31T00:21:05.000Z
val run : debug:bool -> cap_file:string -> on_finished:(Server_workdirs.t -> unit) -> conf:Server_configfile.t -> Oca_server.Cache.t -> Server_workdirs.t -> unit Lwt.t val is_running : unit -> bool val wait_current_run_to_finish : unit -> unit Lwt.t
22.083333
51
0.69434
17a76d4ce77532d7689727c75109fa271a57edf8
122
ml
OCaml
ast/cinaps/ppx_ast_cinaps.ml
jeremiedimino/ppx
3b2b4db386ba5d8054e85ef4851d47f079786a58
[ "MIT" ]
null
null
null
ast/cinaps/ppx_ast_cinaps.ml
jeremiedimino/ppx
3b2b4db386ba5d8054e85ef4851d47f079786a58
[ "MIT" ]
null
null
null
ast/cinaps/ppx_ast_cinaps.ml
jeremiedimino/ppx
3b2b4db386ba5d8054e85ef4851d47f079786a58
[ "MIT" ]
null
null
null
module Ml = Ml module Print = Print include Gen_versions include Gen_conversion include Gen_traverse include Gen_builder
15.25
22
0.844262
aafec22a54b2898473273b162873145ceb552492
6,633
ml
OCaml
experiments/ownership-inference/infer/infer/src/integration/CaptureCompilationDatabase.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/integration/CaptureCompilationDatabase.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/integration/CaptureCompilationDatabase.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 module L = Logging let create_cmd (source_file, (compilation_data : CompilationDatabase.compilation_d...
41.716981
101
0.687924
1787a8582494407f63e72ea74a0141ce58d34275
1,153
ml
OCaml
result/fixml/formula/sub10/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/formula/sub11/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/formula/sub11/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "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 cal exp = match exp with | Num x -> x | Plus (x, y) -> cal...
29.564103
73
0.538595
1790f115dbc0b4aa2a93c9841d989303d1d8ec9e
5,243
ml
OCaml
src/macro/eval/evalArray.ml
wiltonlazary/haxe
4b46713050c78940abf6c1ce19c8337de3744203
[ "MIT" ]
4,753
2015-01-03T00:45:27.000Z
2022-03-31T07:41:28.000Z
src/macro/eval/evalArray.ml
wiltonlazary/haxe
4b46713050c78940abf6c1ce19c8337de3744203
[ "MIT" ]
6,784
2015-01-01T01:06:28.000Z
2022-03-31T22:12:14.000Z
src/macro/eval/evalArray.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...
25.328502
93
0.67633
cd09a84f906c88c02c63fa4e2570be7d6be389ee
67
mli
OCaml
src/smt/rewrite_arith.mli
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
31
2016-08-16T14:58:40.000Z
2022-02-19T18:38:07.000Z
src/smt/rewrite_arith.mli
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
49
2020-03-04T18:13:13.000Z
2022-02-07T17:43:24.000Z
src/smt/rewrite_arith.mli
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
12
2020-02-26T19:58:37.000Z
2021-11-12T22:18:25.000Z
open Expr.T class rw : object inherit [unit] Expr.Visit.map end
11.166667
31
0.716418
17ecfc8a5826621c919a0d932dff7e12599d6de5
2,913
mly
OCaml
src/lib/grammar.mly
jozefg/blott
9eadd6f1eb3ecb28fd66a25bc56c19041d98f722
[ "MIT" ]
115
2019-05-16T12:54:10.000Z
2022-01-12T08:14:22.000Z
src/lib/grammar.mly
jozefg/blott
9eadd6f1eb3ecb28fd66a25bc56c19041d98f722
[ "MIT" ]
3
2020-01-13T03:42:59.000Z
2020-05-09T00:42:37.000Z
src/lib/grammar.mly
jozefg/blott
9eadd6f1eb3ecb28fd66a25bc56c19041d98f722
[ "MIT" ]
8
2019-05-16T22:47:49.000Z
2021-03-07T07:29:44.000Z
%{ open Concrete_syntax %} %token <int> NUMERAL %token <string> ATOM %token COLON PIPE AT COMMA RIGHT_ARROW UNDERSCORE %token LPR RPR LANGLE RANGLE LBR RBR %token EQUALS %token TIMES FST SND %token LAM LET IN END WITH DEF %token BOX LOCK UNLOCK %token REC SUC NAT ZERO %token UNIV %token QUIT NORMALIZE %token ID REFL...
27.224299
103
0.56471
17f062302388f66dc0fef55cc5cb2ebdbc9ef728
4,079
ml
OCaml
src/http_status.ml
legicash-patches/ocaml-scgi
d45b239fc768c9437290a7eb86331111f0793e76
[ "BSD-3-Clause" ]
4
2018-08-05T11:58:34.000Z
2019-04-09T02:42:07.000Z
src/http_status.ml
legicash-patches/ocaml-scgi
d45b239fc768c9437290a7eb86331111f0793e76
[ "BSD-3-Clause" ]
1
2019-01-14T20:35:55.000Z
2019-04-05T22:16:04.000Z
src/http_status.ml
bikallem/ocaml-scgi
4569420787e386f39c4250561b88fc21e28f9231
[ "BSD-3-Clause" ]
2
2018-08-03T22:24:08.000Z
2021-11-02T12:43:35.000Z
(** Non-comprehensive list of HTTP response status codes and strings from http://en.wikipedia.org/wiki/List_of_HTTP_status_codes *) type t = [ `Ok | `Created | `Accepted | `Non_authoritative_information | `No_content | `Reset_content | `Partial_content | `Multiple_choices | `Moved_permanently | ...
31.620155
78
0.667566
17f0a3712290d8b339c4b04cef95d8970e035d50
966
ml
OCaml
eval/sherrloc/easyocaml++/asmcomp/alpha/reload.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/asmcomp/alpha/reload.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/asmcomp/alpha/reload.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Xavier Ler...
50.842105
73
0.313665
17d973d4a080584800383c0471dfa41ba7646083
29
mli
OCaml
marina.mli
hei-school/marina
2814a02930631281bacd52592d31f2a09063a862
[ "MIT" ]
null
null
null
marina.mli
hei-school/marina
2814a02930631281bacd52592d31f2a09063a862
[ "MIT" ]
null
null
null
marina.mli
hei-school/marina
2814a02930631281bacd52592d31f2a09063a862
[ "MIT" ]
null
null
null
val sat_str: string -> string
29
29
0.758621
cd147d7e6c6dbf41c8aa3d03fbc2302a730aed40
3,164
ml
OCaml
parsing/preterm.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
parsing/preterm.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
parsing/preterm.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
open Kernel.Basic open Format type preterm = | PreType of loc | PreId of loc * ident | PreQId of loc * name | PreApp of preterm * preterm * preterm list | PreLam of loc * ident * preterm option * preterm | PrePi of loc * ident option * preterm * preterm let rec pp_preterm fmt preterm = match pret...
38.120482
119
0.598609
17dbf1462307d3a216e5dae6bc9bfa294745bbac
23
ml
OCaml
tests/test-dirs/locate/looping-substitution.t/foo.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
1,031
2016-12-16T19:17:17.000Z
2022-03-24T06:30:52.000Z
tests/test-dirs/locate/looping-substitution.t/foo.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
754
2016-12-16T14:01:33.000Z
2022-03-31T13:21:16.000Z
tests/test-dirs/locate/looping-substitution.t/foo.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
177
2017-01-04T17:35:53.000Z
2022-02-18T02:54:14.000Z
module Test = Foo_test
11.5
22
0.782609
171a86f877738a697b080b7d4ab642e62c1d0d51
10,355
ml
OCaml
sponge/sponge.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
null
null
null
sponge/sponge.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
null
null
null
sponge/sponge.ml
mobileink/snarky
af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683
[ "MIT" ]
null
null
null
open Core_kernel module Intf = Intf module Params = struct include Params let bn128 = Constants.params_Bn128 let mnt4_298 = Constants.params_Mnt4_298 let mnt4_753 = Constants.params_Mnt4_753 let bn382_p = Constants.params_Bn382_p let bn382_q = Constants.params_Bn382_q let tweedle_p = Constants.para...
28.763889
103
0.626074
bcb753131a273fd248df80ffd384231ab9b7b6b7
160
ml
OCaml
ocaml-sources/testsuite/tests/lexing/escape.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/testsuite/tests/lexing/escape.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/testsuite/tests/lexing/escape.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(* TEST * toplevel *) (* Errors *) let invalid = "\99" ;; let invalid = "\999" ;; let invalid = "\o777" ;; let invalid = "\o77" ;; let invalid = "\o99" ;;
13.333333
24
0.51875
cd0db16ef3811da13d47741708b5841a74ef1cc8
845
mli
OCaml
infer/src/pulse/PulseInvalidation.mli
hakjoooh/infer
27150cb7d3d0dc3b37b631e023fb3e4ac5e6c14d
[ "MIT" ]
null
null
null
infer/src/pulse/PulseInvalidation.mli
hakjoooh/infer
27150cb7d3d0dc3b37b631e023fb3e4ac5e6c14d
[ "MIT" ]
null
null
null
infer/src/pulse/PulseInvalidation.mli
hakjoooh/infer
27150cb7d3d0dc3b37b631e023fb3e4ac5e6c14d
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format type std_vector_function = | Assign | Clear | Emplace | EmplaceBack | Insert | PushBack ...
20.119048
71
0.713609
17735cf3c85bb4e3d2fb7bb9f799b5ae69bb62f1
1,769
ml
OCaml
hphp/hack/test/integration_ml/test_gconst_file.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/test/integration_ml/test_gconst_file.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/test/integration_ml/test_gconst_file.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
(* * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * * *) open Integration_test_base_types open ServerEnv module Test = Integration_test_base let foo_contents = "<?hh // ...
25.271429
79
0.64952
cd111c4d9fab265c877bd1017998ebc0160c33c5
1,557
ml
OCaml
exercises/binary-search/test.ml
marionebl/ocaml
6971e92f981714a4607dc76a339d149e31ea24a5
[ "MIT" ]
null
null
null
exercises/binary-search/test.ml
marionebl/ocaml
6971e92f981714a4607dc76a339d149e31ea24a5
[ "MIT" ]
null
null
null
exercises/binary-search/test.ml
marionebl/ocaml
6971e92f981714a4607dc76a339d149e31ea24a5
[ "MIT" ]
null
null
null
open OUnit2 open Binary_search let result_to_string f = function | Error m -> Printf.sprintf "Error \"%s\"" m | Ok x -> f x |> Printf.sprintf "Some %s" let ae exp got _test_ctxt = assert_equal ~printer:(result_to_string string_of_int) exp got let tests = [ "finds a value in an array with one element" >:: a...
42.081081
78
0.59666
f366ae89f739733dcf2df5050cc729ab1c20b1be
1,056
mli
OCaml
src/services/inference/merge_stream.mli
talbenari1/flow
4b17576863a2a0716d3db52f8b80c96a2fdcc637
[ "MIT" ]
null
null
null
src/services/inference/merge_stream.mli
talbenari1/flow
4b17576863a2a0716d3db52f8b80c96a2fdcc637
[ "MIT" ]
null
null
null
src/services/inference/merge_stream.mli
talbenari1/flow
4b17576863a2a0716d3db52f8b80c96a2fdcc637
[ "MIT" ]
null
null
null
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Utils_js type element = Component of File_key.t Nel.t type merge_stats val get_total_files: merge_stats -> int val get_skip...
26.4
73
0.712121
1749ade645ae71c53c490c6e7cae71613ccbb80e
36,237
mli
OCaml
src/sqlite3.mli
paurkedal/sqlite3-ocaml
0cb790fd06dff82856ab107bbfe5d1728c474053
[ "MIT" ]
99
2015-01-08T23:03:04.000Z
2022-01-29T08:16:49.000Z
src/sqlite3.mli
paurkedal/sqlite3-ocaml
0cb790fd06dff82856ab107bbfe5d1728c474053
[ "MIT" ]
47
2015-01-20T21:52:39.000Z
2022-02-23T15:59:29.000Z
src/sqlite3.mli
paurkedal/sqlite3-ocaml
0cb790fd06dff82856ab107bbfe5d1728c474053
[ "MIT" ]
31
2015-01-29T03:02:21.000Z
2021-09-29T10:42:32.000Z
(**************************************************************************) (* Copyright (c) 2005 Christian Szegedy <csdontspam@metamatix.com> *) (* *) (* Copyright (c) 2007 Jane Street Holding, LLC *) (* ...
35.07938
80
0.667301
17b3764128f9c7656f4f9617e4fae3f107d2474c
13,335
ml
OCaml
lib/generic/tsc_clock.ml
superbaud/mirage-ntp
209472bc981cab8101fb8baafec220c9f02125a0
[ "0BSD" ]
15
2015-10-20T18:40:56.000Z
2019-09-04T02:50:32.000Z
lib/generic/tsc_clock.ml
superbaud/mirage-ntp
209472bc981cab8101fb8baafec220c9f02125a0
[ "0BSD" ]
15
2015-12-19T04:46:11.000Z
2016-06-19T12:32:26.000Z
lib/generic/tsc_clock.ml
superbaud/mirage-ntp
209472bc981cab8101fb8baafec220c9f02125a0
[ "0BSD" ]
null
null
null
open History open Estimators open Maybe include Sample_math include Tsc_types (* * This just adds data to the state and cranks the estimators and extracts the * current values of the estimators when desired. *) let default_parameters = (* physical constants *) let skm_scale = 1024.0 in let t...
46.141869
236
0.560555
17fa7931ed63310928c58060296b3fe7f00e5702
3,189
ml
OCaml
commands/dkdep.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
commands/dkdep.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
commands/dkdep.ml
yannl35133/Dedukti
e85df96ca01823edd23c5339556bb32092543e16
[ "CECILL-B" ]
null
null
null
open Kernel open Api open Basic (** Output main program. *) let output_deps : Format.formatter -> Dep.t -> unit = fun oc data -> let open Dep in let objfile src = Filename.chop_extension src ^ ".dko" in let output_line : mident -> file_deps -> unit = fun _ deps -> let file = deps.file in let d...
36.655172
100
0.624961
17af2f8801b1f6397bb55af9bd02e715d62bce48
1,729
ml
OCaml
ocaml/ocaml-httpaf/bin/server.ml
mlaily/fizzboom
ce6764b3387acd40f6abead502cd471c4a617f44
[ "MIT" ]
31
2020-09-23T16:04:29.000Z
2022-03-15T20:35:29.000Z
ocaml/ocaml-httpaf/bin/server.ml
mlaily/fizzboom
ce6764b3387acd40f6abead502cd471c4a617f44
[ "MIT" ]
17
2020-09-22T18:05:25.000Z
2021-11-05T15:37:40.000Z
ocaml/ocaml-httpaf/bin/server.ml
mlaily/fizzboom
ce6764b3387acd40f6abead502cd471c4a617f44
[ "MIT" ]
3
2020-09-21T01:18:25.000Z
2020-09-21T23:11:30.000Z
open Httpaf let fizzbuzz = Lib.Execution_engine.fizzbuzz module Server = struct let get reqd = let {Request.target; _} = Reqd.request reqd in let handle program = let text = Lib.Execution_engine.run_json program in let headers = Headers.of_list [("content-length", Int.to_string (String.l...
28.344262
80
0.674957
1780ee719bb4660bd40353afbcaa79d62e8f38ed
39,134
ml
OCaml
src/parser/estree_translator.ml
jeffmo/flow
315903b8a276aad1eb954c0aa5f175a286ce0324
[ "BSD-3-Clause" ]
3
2016-10-07T21:13:50.000Z
2016-10-07T21:14:16.000Z
src/parser/estree_translator.ml
jeffmo/flow
315903b8a276aad1eb954c0aa5f175a286ce0324
[ "BSD-3-Clause" ]
null
null
null
src/parser/estree_translator.ml
jeffmo/flow
315903b8a276aad1eb954c0aa5f175a286ce0324
[ "BSD-3-Clause" ]
null
null
null
(** * 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 "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) modul...
31.76461
87
0.61338
cd174af17d0886d674c3f0776cd9fbd97ec65237
691
mli
OCaml
infer/src/clang/cField_decl.mli
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "MIT" ]
null
null
null
infer/src/clang/cField_decl.mli
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "MIT" ]
null
null
null
infer/src/clang/cField_decl.mli
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "MIT" ]
null
null
null
(* * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd (** Utility module to retrieve fields of structs of classes *) type field_type = Typ.Fieldname.t * Typ.t * (Annot.t * bool) ...
30.043478
90
0.740955
1771581dc7bf7687ba77f5ddd963fab4ae920b6b
48,911
ml
OCaml
code/src/rpc/rpc_auth_gssapi.ml
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/rpc/rpc_auth_gssapi.ml
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/rpc/rpc_auth_gssapi.ml
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
(* $Id$ *) open Netsys_gssapi open Netgssapi_support open Rpc_auth_gssapi_aux open Printf type support_level = [ `Required | `If_possible | `None ] type user_name_format = [ `Exported_name | `Prefixed_name | `Plain_name ] type user_name_interpretation = [ `Exported_name | `Prefixed_name ...
36.096679
85
0.520783
cd171b2b97fafe57747667efab6d09d97cbae974
2,558
mli
OCaml
lib/ezpostgresql.mli
nielmond/ezpostgresql
3b02394270105d76d030a3bd1141250b9a4ec75d
[ "ISC" ]
35
2017-10-29T14:32:51.000Z
2021-09-26T07:11:03.000Z
lib/ezpostgresql.mli
nielmond/ezpostgresql
3b02394270105d76d030a3bd1141250b9a4ec75d
[ "ISC" ]
6
2017-11-02T02:06:34.000Z
2021-11-28T14:38:36.000Z
lib/ezpostgresql.mli
nielmond/ezpostgresql
3b02394270105d76d030a3bd1141250b9a4ec75d
[ "ISC" ]
5
2018-12-20T03:10:05.000Z
2021-11-12T16:46:06.000Z
(** Lwt-friendly wrapper for postgresql-ocaml which supports connection pooling. *) open Result (** The database connection. This is just an alias to [Postgresql.connection]. *) type connection = Postgresql.connection (** Database related errors. This is just an alias to [Postgresql.error]. *) type error = Postgresq...
30.452381
111
0.686865
17e8136ed2ff978904bfce9cd46cf1f715f1df8a
4,166
ml
OCaml
hphp/hack/test/integration_ml/saved_state/test_prechecked_find_refs.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/saved_state/test_prechecked_find_refs.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/saved_state/test_prechecked_find_refs.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-30T11:52:42.000Z
2019-07-30T11:52:42.000Z
open Integration_test_base_types module Test = Integration_test_base let bar_contents = Printf.sprintf {|<?hh class %s { /* HH_FIXME[4110] */ public function bar() : int { } } |} let foo_contents = Printf.sprintf {|<?hh /* HH_FIXME[4110] */ function foo() : %s { } |} let test_contents = Printf.sprintf {|<?hh...
35.305085
163
0.648344
17ffde3ff31249443f4d6d4b00e1975169d1535a
9,058
ml
OCaml
hphp/hack/src/hh_fanout/calculate_fanout.ml
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_fanout/calculate_fanout.ml
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_fanout/calculate_fanout.ml
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "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 module Detail_level = struct type t = | Low | High end type symbol_edge = { symbol_type: FileInf...
32.938182
80
0.656547
17c2744440b9666465012969bda18dfb708d0371
872
ml
OCaml
ocaml-sources/testsuite/tests/tool-toplevel/printval.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/testsuite/tests/tool-toplevel/printval.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/testsuite/tests/tool-toplevel/printval.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(* TEST * expect *) (* Test a success case *) type 'a t = T of 'a ;; T 123 [%%expect {| type 'a t = T of 'a - : int t = T 123 |}] (* no <poly> after fix *) type _ t = .. type 'a t += T of 'a ;; T 123 [%%expect {| type _ t = .. type 'a t += T of 'a - : int t = T 123 |}] (* GADT with fixed arg type *) type _ t += ...
14.295082
59
0.456422
17c4848e3d44370d745dedffa50902d2430067de
989
mli
OCaml
infer/src/eradicate/typeAnnotation.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
1
2017-09-14T09:03:44.000Z
2017-09-14T09:03:44.000Z
infer/src/eradicate/typeAnnotation.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
2
2020-11-13T19:42:27.000Z
2020-11-13T19:49:19.000Z
infer/src/eradicate/typeAnnotation.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "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! IStd...
26.026316
78
0.705763
cd18b570e6e57da60a105915f670c9781b1d1787
4,129
ml
OCaml
src/common/cycle_hash/__tests__/cycle_hash_test.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/common/cycle_hash/__tests__/cycle_hash_test.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/common/cycle_hash/__tests__/cycle_hash_test.ml
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. *) open OUnit2 open Cycle_hash let print_hash = Printf.sprintf "%Lx" let assert_changed = assert_equal ~printer:print_hash ~cmp:( <>...
24.431953
81
0.587551
aab02068765699947215a7baa9d1ffe3aa328a3f
405
ml
OCaml
benchmarks/C/uniq/sol78.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/uniq/sol78.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/uniq/sol78.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec del : 'a list -> 'a -> 'a list = fun lst e -> match lst with | [] -> [] | hd::tl -> if tl = [] && hd = e then [] else if tl = [] then [hd] else if hd = e then del tl e else hd::(del tl e);; let rec uniq : 'a list -> 'a list = fun lst -> match lst with | [] -> []...
31.153846
69
0.409877
aaebf28671492e946d84d3291120540fcb484cdd
736
ml
OCaml
2020/06/part1.ml
margusf/adventofcode
c7850e45562bbe6bcdef40e5a8c4fd17b22a4fd8
[ "MIT" ]
null
null
null
2020/06/part1.ml
margusf/adventofcode
c7850e45562bbe6bcdef40e5a8c4fd17b22a4fd8
[ "MIT" ]
null
null
null
2020/06/part1.ml
margusf/adventofcode
c7850e45562bbe6bcdef40e5a8c4fd17b22a4fd8
[ "MIT" ]
null
null
null
(* https://adventofcode.com/2020/day/6 *) open Batteries open Printf module ChrSet = Set.Make(Char) let sum_forms filename = let finish_record (fields, result) = let num_of_answers = ChrSet.cardinal fields in (ChrSet.empty, result + num_of_answers) in let do_line (fields, result) line = ...
23
86
0.631793
17f06ff9c8b60bff1d7bb572dcb40722f927df22
216
mli
OCaml
libraries/ec2/lib/createSnapshots.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ec2/lib/createSnapshots.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ec2/lib/createSnapshots.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = CreateSnapshotsRequest.t type output = CreateSnapshotsResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
19.636364
85
0.768519
aa98bce41a12a35beff5c4d6fe8a504022222e22
2,696
mli
OCaml
hphp/hack/src/utils/sys/timeout.mli
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
1
2019-10-03T00:45:08.000Z
2019-10-03T00:45:08.000Z
hphp/hack/src/utils/sys/timeout.mli
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
8
2020-04-06T11:23:08.000Z
2022-03-24T12:41:12.000Z
hphp/hack/src/utils/sys/timeout.mli
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (* Helpers for handling timeout, in particular input timeout. *) type t (* The function `with_timeout` executes 'd...
32.095238
96
0.708828
17424586507db04d8684d92bcd1dd8d19e4a0842
4,369
ml
OCaml
src/proto_012_Psithaca/lib_protocol/test/helpers/contract_helpers.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_012_Psithaca/lib_protocol/test/helpers/contract_helpers.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_012_Psithaca/lib_protocol/test/helpers/contract_helpers.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020-2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
42.833333
79
0.599222
179db7515417cd049b8a882d86d9471295c90021
3,562
ml
OCaml
src/lib/lite_precomputed_values/gen/gen.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/lite_precomputed_values/gen/gen.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/lite_precomputed_values/gen/gen.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
[%%import "/src/config.mlh"] open Ppxlib open Asttypes open Parsetree open Core open Coda_state [%%if proof_level = "full"] let key_generation = true [%%else] let key_generation = false [%%endif] module Base58_check = Base58_check.Make (struct let description = "Key generation" let version_byte = Base58_che...
27.612403
78
0.686693
17cdee47466e28a93f0d2931a71a435ec289a53a
902
ml
OCaml
result/cafe2/lambda/sub37/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/func/lambda/sub37/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/func/lambda/sub37/patch.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 __s3 (__s4 : lambda) : string list = match __s4 with | V __s5 -> [ __s5 ] | P (__s6, __s7) -> List.filter (fun (__s8 : string) -> not (__s6 = __s8)) (__s3 __s7) | C (__s9, __s10) -> __s3 __s9 @ __s3 __s10 le...
27.333333
72
0.563193
aab4a80890857be9fb3141f9630316b5dc590039
2,185
ml
OCaml
src/discover/commands.ml
jonahbeckford/ocaml-ctypes
57f069897b36f784ff0296c40f726e3baf5d8a1d
[ "MIT" ]
null
null
null
src/discover/commands.ml
jonahbeckford/ocaml-ctypes
57f069897b36f784ff0296c40f726e3baf5d8a1d
[ "MIT" ]
null
null
null
src/discover/commands.ml
jonahbeckford/ocaml-ctypes
57f069897b36f784ff0296c40f726e3baf5d8a1d
[ "MIT" ]
null
null
null
(* * Copyright (c) 2014 Jeremy Yallop. * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. *) let unwind_protect ~cleanup f x = let rv = try f x with exn -> begin cleanup x; raise exn end in begin cleanup x; rv end l...
26.646341
82
0.679634
170a03490b81ba233454537b5dc0bc111cd303bb
2,210
ml
OCaml
src/transforms.ml
patricoferris/vicuna
6c18154266080d458783cf1ee2bc378ae5853497
[ "MIT" ]
null
null
null
src/transforms.ml
patricoferris/vicuna
6c18154266080d458783cf1ee2bc378ae5853497
[ "MIT" ]
null
null
null
src/transforms.ml
patricoferris/vicuna
6c18154266080d458783cf1ee2bc378ae5853497
[ "MIT" ]
null
null
null
open Vector type t = Vector.t * Vector.t * Vector.t * Vector.t (** Each vector is a row in a matrix *) type axis = X | Y | Z let pi = 3.14159 let half_pi = 1.570795 let const f = (vector f 0. 0. 0., vector 0. f 0. 0., vector 0. 0. f 0., vector 0. 0. 0. 1.) let transpose m = let (v1, v2, v3, v4) = m ...
24.831461
67
0.552036
179a56d114c2ba139d1da296a1cf18d982702bcf
2,362
mli
OCaml
compiler/dcalc/print.mli
pnmadelaine/catala
d301e0f434e744fe0557fcd612b841c448eeeaf6
[ "Apache-2.0" ]
null
null
null
compiler/dcalc/print.mli
pnmadelaine/catala
d301e0f434e744fe0557fcd612b841c448eeeaf6
[ "Apache-2.0" ]
null
null
null
compiler/dcalc/print.mli
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) 2020 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...
31.918919
100
0.732854
cd0dfa4533b6446fe4344fd60fec0e9ddece2345
22,119
ml
OCaml
infer/src/pulse/PulseOperations.ml
piyushjainb/infer
b073b55b1a92313437d08f58716cadfa894bd060
[ "MIT" ]
2
2020-12-01T19:17:41.000Z
2021-11-16T11:16:32.000Z
infer/src/pulse/PulseOperations.ml
piyushjainb/infer
b073b55b1a92313437d08f58716cadfa894bd060
[ "MIT" ]
6
2021-06-28T20:30:19.000Z
2022-02-27T10:48:57.000Z
infer/src/pulse/PulseOperations.ml
cluesblues/infer
7dcbacf69309d113e6374d03ee267fe2f7d44797
[ "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 open IResult.Let_syntax open PulseBasicInterface open PulseDomainInterface type t = AbductiveDomain.t...
40.070652
117
0.676296
173d54d5ffd822983912b1d0fb1141f5f9c59abf
18,669
ml
OCaml
data/derived/comb/progs/unify/prog1614.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/prog1614.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1614.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.159858
208
0.667095
17dc36805be7031696bc78ae0f5aa057ea84b639
1,463
ml
OCaml
lib/functoria/type.ml
nandor/mirage
648938ee5a8fd89aa231a01422f80ec3d553d41a
[ "0BSD" ]
1
2019-06-21T11:36:06.000Z
2019-06-21T11:36:06.000Z
lib/functoria/type.ml
nandor/mirage
648938ee5a8fd89aa231a01422f80ec3d553d41a
[ "0BSD" ]
2
2019-10-26T12:20:32.000Z
2019-12-18T17:27:43.000Z
lib/functoria/type.ml
nandor/mirage
648938ee5a8fd89aa231a01422f80ec3d553d41a
[ "0BSD" ]
1
2021-06-16T23:14:47.000Z
2021-06-16T23:14:47.000Z
(* * Copyright (c) 2013-2020 Thomas Gazagnaire <thomas@gazagnaire.org> * Copyright (c) 2013-2020 Anil Madhavapeddy <anil@recoil.org> * Copyright (c) 2015-2020 Gabriel Radanne <drupyog@zoho.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby grante...
28.686275
75
0.682843
17ddc10da59b3d5f5aff0997a618958aefdfcb98
96,321
ml
OCaml
gencs.ml
AndrewVernon/haxe
adc52dbba240b6586aa1d17acd63f8de2e4a40cf
[ "MIT" ]
null
null
null
gencs.ml
AndrewVernon/haxe
adc52dbba240b6586aa1d17acd63f8de2e4a40cf
[ "MIT" ]
null
null
null
gencs.ml
AndrewVernon/haxe
adc52dbba240b6586aa1d17acd63f8de2e4a40cf
[ "MIT" ]
null
null
null
(* * Copyright (C)2005-2013 Haxe Foundation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge,...
40.865931
267
0.55476
17bfd86b4c87c523846d1b0beec5a122b3a7815d
2,555
mli
OCaml
src/ocamlgraph-1.8.1/src/classic.mli
labichn/LambdaS5
42905076f10de2a692f8d8de574d4387f88492e5
[ "BSD-3-Clause" ]
21
2016-08-20T16:44:01.000Z
2019-10-08T12:16:55.000Z
ocamlgraph-1.8.6/src/classic.mli
wies/vermeer
b719ad8efd2eef4f21439f0bd9ae283124a86357
[ "BSD-3-Clause" ]
1
2020-06-16T03:45:51.000Z
2020-06-16T03:45:51.000Z
ocamlgraph-1.8.6/src/classic.mli
wies/vermeer
b719ad8efd2eef4f21439f0bd9ae283124a86357
[ "BSD-3-Clause" ]
6
2016-11-27T04:07:40.000Z
2018-04-22T01:54:15.000Z
(**************************************************************************) (* *) (* Ocamlgraph: a generic graph library for OCaml *) (* Copyright (C) 2004-2010 *) (* Sylvain ...
46.454545
76
0.493542
17aea717adf8029568c8190eddac9a600cafab74
21,317
ml
OCaml
src/transf_remove_assign.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
3
2016-12-13T07:50:48.000Z
2018-06-04T06:26:57.000Z
src/transf_remove_assign.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
null
null
null
src/transf_remove_assign.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
2
2018-09-18T12:59:11.000Z
2021-11-29T06:07:38.000Z
(************************************************************* * * * Cryptographic protocol verifier * * * * Bruno Blanchet and David Cadé * * ...
43.064646
139
0.646151
176726144fbab0e9f3308e2bbf2fc089f89e466d
17,440
ml
OCaml
duniverse/dune_/src/dune_engine/action_exec.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/dune_/src/dune_engine/action_exec.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/dune_/src/dune_engine/action_exec.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
open! Stdune open Import open Fiber.O module DAP = Dune_action_plugin.Private.Protocol (* CR-someday cwong: Adjust this to be a nicer design. It would be ideal if we could generally allow actions to be extended. *) let cram_run = Fdecl.create (fun _ -> Dyn.Opaque) (** A version of [Dune_action_plugin.Private.Proto...
34.263261
82
0.621961
17e3898f4fa8f5dab3f69c9a7c479ddcc3f653cb
5,894
ml
OCaml
src/lib_test/qcheck2_helpers.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/lib_test/qcheck2_helpers.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/lib_test/qcheck2_helpers.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
39.293333
80
0.563285
17b687cc8bb53345315173e4c9f3557d0d25a964
61,870
ml
OCaml
src/parser/statement_parser.ml
lgordey/flow
c26d69bfd021c6d485bc6c34cb92c2504576d478
[ "MIT" ]
null
null
null
src/parser/statement_parser.ml
lgordey/flow
c26d69bfd021c6d485bc6c34cb92c2504576d478
[ "MIT" ]
null
null
null
src/parser/statement_parser.ml
lgordey/flow
c26d69bfd021c6d485bc6c34cb92c2504576d478
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast = Flow_ast open Token open Parser_env open Flow_ast module SSet = Set.Make (String) open Parser_common module type STAT...
37.428917
100
0.573557
17c5fd155604ba350cbae4c4b0fc5d0be07fdff3
936
ml
OCaml
libraries/ec2/lib/detachNetworkInterface.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/detachNetworkInterface.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/detachNetworkInterface.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DetachNetworkInterfaceRequest.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.append ...
30.193548
80
0.621795
4483328d3d6aa75fb89ebe14adb77855c7b1497d
1,339
ml
OCaml
src/lib_stdlib/tezos_stdlib.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/lib_stdlib/tezos_stdlib.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/lib_stdlib/tezos_stdlib.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(* * Copyright (c) 2021 Dailambda, Inc. <contact@dailambda.jp> * * 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...
37.194444
75
0.788648
178f041a92766a84c15aa2dd59af5df675d3f1ad
2,280
ml
OCaml
vendors/ligo-utils/simple-utils/x_list.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
2
2021-03-06T12:11:41.000Z
2021-11-21T13:54:18.000Z
vendors/ligo-utils/simple-utils/x_list.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
4
2021-11-10T15:04:00.000Z
2022-01-14T07:49:14.000Z
vendors/ligo-utils/simple-utils/x_list.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
1
2022-03-30T09:12:37.000Z
2022-03-30T09:12:37.000Z
open Base include List let rec remove n = function | [] -> raise (Failure "List.remove") | _ :: tl when n = 0 -> tl | hd :: tl -> hd :: remove (n - 1) tl let set_nth new_i l new_v = mapi ~f:(fun old_i old_v -> if old_i = new_i then new_v else old_v) l let rec remove_element ?compare:cmp x lst = let compare...
29.61039
78
0.547368
bcf8b9c13936ccdfd3197a66f5386d3b36a2b883
213
ml
OCaml
etc/example/toomanyargs.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
24
2018-01-29T12:51:24.000Z
2022-03-24T09:06:50.000Z
etc/example/toomanyargs.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
8
2017-12-26T11:01:51.000Z
2018-10-11T14:04:57.000Z
etc/example/toomanyargs.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
3
2020-10-08T04:16:58.000Z
2021-10-11T13:19:30.000Z
(* thanks to https://twitter.com/gan13027830/status/791239623959687168 *) (* exactly one more arguments than registers; does not copmile *) let x = 42 in let rec f y1 y2 y3 y4 y5 y6 = print_int x in f 1 2 3 4 5 6
35.5
73
0.723005
cd151bb0246444a32cf7b532ded66bb03384e6f9
2,694
mli
OCaml
src/irmin-containers/blob_log.mli
AntouanK/test-irmin
07c8378acb835281d0fd2e4f492b84b0fc3b5588
[ "0BSD" ]
null
null
null
src/irmin-containers/blob_log.mli
AntouanK/test-irmin
07c8378acb835281d0fd2e4f492b84b0fc3b5588
[ "0BSD" ]
1
2020-03-02T22:43:44.000Z
2020-03-06T15:35:44.000Z
src/irmin-containers/blob_log.mli
AntouanK/test-irmin
07c8378acb835281d0fd2e4f492b84b0fc3b5588
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2020 KC Sivaramakrishnan <kc@kcsrk.info> * Copyright (c) 2020 Anirudh Sunder Raj <anirudh6626@gmail.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 noti...
39.043478
80
0.706013
aa8baad73d228cdb0aa27ad319d77582e73de96b
22,088
ml
OCaml
src/kind2Flow.ml
arjunvish/kind2
adb70ce68997bf41e1ba097826428683a074929a
[ "Apache-2.0" ]
null
null
null
src/kind2Flow.ml
arjunvish/kind2
adb70ce68997bf41e1ba097826428683a074929a
[ "Apache-2.0" ]
null
null
null
src/kind2Flow.ml
arjunvish/kind2
adb70ce68997bf41e1ba097826428683a074929a
[ "Apache-2.0" ]
null
null
null
(* This file is part of the Kind 2 model checker. Copyright (c) 2015-2019 by the Board of Trustees of the University of Iowa 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://...
31.509272
93
0.636409
17bf425227d46a1ae2c502f38f48703e7bfd68be
366
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/runtime-C-exceptions/test.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/runtime-C-exceptions/test.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/runtime-C-exceptions/test.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(* TEST modules = "stub_test.c" *) external failwith_from_ocaml : string -> 'a = "caml_failwith_value" external dynamic_invalid_argument : unit -> 'a = "dynamic_invalid_argument" let () = try failwith_from_ocaml ("fo" ^ "o") with Failure foo -> print_endline foo let () = try dynamic_invalid_argument () w...
22.875
75
0.715847