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
8a3c5ec2051fa7645cafa329b69feb60e51d151c
23,879
mli
OCaml
src/parser_utils/flow_polymorphic_ast_mapper.mli
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "MIT" ]
null
null
null
src/parser_utils/flow_polymorphic_ast_mapper.mli
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "MIT" ]
null
null
null
src/parser_utils/flow_polymorphic_ast_mapper.mli
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "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 class virtual ['M, 'T, 'N, 'U] mapper : object method arg_list : ('M, 'T) Ast.Expression.ArgList.t -> ...
40.132773
100
0.655806
4460b545def79be92893ae8a9bbf925c3c9a84e4
18,459
ml
OCaml
data/derived/comb/progs/unify/prog8824.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/prog4042.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog4042.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.555556
208
0.657565
4463978f31209d30a525fe1648ec99687deeb340
1,708
ml
OCaml
src/commands/cycleCommand.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/commands/cycleCommand.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/commands/cycleCommand.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open CommandUtils let print_endlinef = Utils_js.print_endlinef let prerr_endlinef = Utils_js.prerr_endlinef let spec = { ...
31.054545
80
0.68911
444c41dfaaff9005c048aac0d3f70e7a0e2c0317
9,271
ml
OCaml
testd0.ml
GauBen/delimcc
cc74ad0df527651813297243ddd3eddf4075f716
[ "MIT" ]
18
2018-02-23T04:52:10.000Z
2022-01-04T17:24:27.000Z
testd0.ml
GauBen/delimcc
cc74ad0df527651813297243ddd3eddf4075f716
[ "MIT" ]
3
2018-02-23T05:01:02.000Z
2018-03-04T17:22:53.000Z
testd0.ml
GauBen/delimcc
cc74ad0df527651813297243ddd3eddf4075f716
[ "MIT" ]
5
2018-02-23T04:48:26.000Z
2022-03-23T04:24:09.000Z
(* A test suite for delimited continuations *) open Delimcc open Printf let abort' p e = take_subcont p (fun _ -> e);; (* less-efficient abort *) let shouldbe msg fmt vexp v = if v = vexp then printf "%s gave the expected answer %s\n" msg (fmt v) else (printf "%s:expected answer %s obtained %s\n"...
25.330601
79
0.546219
447033f8255e3c26b4cfcb2d9269fe652ae6b5c7
218
mli
OCaml
libraries/rds/lib/deleteDBClusterParameterGroup.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/deleteDBClusterParameterGroup.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/deleteDBClusterParameterGroup.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DeleteDBClusterParameterGroupMessage.t type output = unit type error = Errors_internal.t include (Aws.Call with type input := input and type output := output and type error := error)
31.142857
75
0.743119
44662c69428cc9efd7ca84f0b83e9a1ad53093de
8,280
ml
OCaml
archives/compil.ml
Sup3Legacy/Petit-Julia-2020
67d35f5edcf15035cd04a7e00e8500d5b38bd530
[ "MIT" ]
1
2021-09-29T17:27:44.000Z
2021-09-29T17:27:44.000Z
archives/compil.ml
Sup3Legacy/Petit-Julia-2020
67d35f5edcf15035cd04a7e00e8500d5b38bd530
[ "MIT" ]
null
null
null
archives/compil.ml
Sup3Legacy/Petit-Julia-2020
67d35f5edcf15035cd04a7e00e8500d5b38bd530
[ "MIT" ]
null
null
null
(*open Astype open AstcompilN open X86_64 let nTypeUndef = -1 let nTypeNothing = 0 let nTypeInt = 1 let nTypeFloat = 2 let nTypeBool = 3 let nTypeString = 4 let nTypeStruct = 5 (* À partir de 5 : structs *) let valTrue = -1 let valFalse = 0 (* Compteur pour les étiquettes *) let compteurFor = ref 0 let compteurWhile...
34.5
143
0.598913
8ade4634285618a48c2849c8c93a6bb787787b95
17,687
ml
OCaml
infer/src/bufferoverrun/bufferOverrunChecker.ml
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunChecker.ml
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunChecker.ml
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
null
null
null
(* * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS) * Seoul National University, Korea * 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. ...
37.792735
102
0.703059
4489074fc4508a5b2ed186360f6695e8d733d90b
2,480
ml
OCaml
src/main.ml
vbgl/Obelisk
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
39
2017-07-06T09:41:44.000Z
2022-02-09T17:01:07.000Z
src/main.ml
vbgl/Obelisk
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
12
2017-07-07T11:14:24.000Z
2022-03-21T19:31:02.000Z
src/main.ml
Lelio-Brun/MenhirBrav
ab8ab94f1974caca8a164768634fa171cfe47503
[ "MIT" ]
4
2020-03-13T11:08:08.000Z
2022-03-14T13:16:00.000Z
(** The main driver of the application. Once parsed the grammars are concatenated into one. The resulting grammar is scanned ({!Scan}) to get back the symbols then normalized ({!Normalize}) and transformed ({!Transform}) to a simpler form. Finally, after an optional pass of pattern-recognition ({!Redu...
31.794872
79
0.647984
447207587126c2476e6e7d646ace5975373c11e6
55
ml
OCaml
lib/sDB.ml
issuu/aws
12ddc4bfff35b861c98fa7d936c222f206425d71
[ "BSD-3-Clause" ]
2
2016-05-08T02:34:34.000Z
2017-10-02T04:01:01.000Z
lib/sDB.ml
issuu/aws
12ddc4bfff35b861c98fa7d936c222f206425d71
[ "BSD-3-Clause" ]
null
null
null
lib/sDB.ml
issuu/aws
12ddc4bfff35b861c98fa7d936c222f206425d71
[ "BSD-3-Clause" ]
3
2017-10-02T04:01:03.000Z
2021-03-08T05:55:07.000Z
module M = SDB_factory.Make (Http_client10) include M
13.75
43
0.781818
afd77b0962734bdc6948c9d24d8e6eaf20efee28
1,153
ml
OCaml
src/packages.ml
rgrinberg/jbuilder
d6cca0cc627367e24cf92e0db4a1f58efa7c5793
[ "MIT" ]
null
null
null
src/packages.ml
rgrinberg/jbuilder
d6cca0cc627367e24cf92e0db4a1f58efa7c5793
[ "MIT" ]
2
2018-01-12T08:41:59.000Z
2020-12-30T21:57:31.000Z
src/packages.ml
rgrinberg/jbuilder
d6cca0cc627367e24cf92e0db4a1f58efa7c5793
[ "MIT" ]
null
null
null
open! Stdune open Import open Dune_file let mlds_by_package_def = let module Output = struct type t = Path.t list Package.Name.Map.t let to_sexp _ = Sexp.Encoder.string "opaque" end in Memo.With_implicit_output.create "mlds by package" ~implicit_output:Rules.implicit_output ~doc:"mlds by packa...
29.564103
75
0.653946
8a389e5a93aeed78a56bc47ab0f88f5002fba31e
3,725
mli
OCaml
src/dune_engine/action.mli
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
1
2020-09-18T13:10:03.000Z
2020-09-18T13:10:03.000Z
src/dune_engine/action.mli
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
1
2020-11-12T13:27:57.000Z
2020-11-12T13:27:57.000Z
src/dune_engine/action.mli
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
null
null
null
open! Stdune open! Import module Outputs : sig include module type of Action_intf.Outputs val to_string : t -> string end module Inputs : module type of struct include Action_intf.Inputs end (** result of the lookup of a program, the path to it or information about the failure and possibly a hint how to f...
25
79
0.667114
4425b3832ec215b14b7a3727fcc0a3854225d282
4,518
ml
OCaml
etc/dpdgraph-0.4alpha/dpd_compute.ml
fpvandoorn/HoTT
90142d6596e40fcfaaecaf09500f830e1c3d9704
[ "BSD-2-Clause" ]
null
null
null
etc/dpdgraph-0.4alpha/dpd_compute.ml
fpvandoorn/HoTT
90142d6596e40fcfaaecaf09500f830e1c3d9704
[ "BSD-2-Clause" ]
null
null
null
etc/dpdgraph-0.4alpha/dpd_compute.ml
fpvandoorn/HoTT
90142d6596e40fcfaaecaf09500f830e1c3d9704
[ "BSD-2-Clause" ]
null
null
null
(*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*) (* This file is part of the DpdGraph tools. *) (* Copyright (C) 2009-2013 Anne Pacalet (Anne.Pacalet@free.fr) *) (* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *)...
33.716418
80
0.59606
4427bcd7dc84eb5ec3dcdf9b2f58c124a4d4f612
1,599
ml
OCaml
src/parser/ml/FStar_Parser_Util.ml
msprotz/FStar
286397f9f4e98f3d53df500b2d63e7ab5cef25e0
[ "Apache-2.0" ]
1
2021-06-24T15:18:22.000Z
2021-06-24T15:18:22.000Z
src/parser/ml/FStar_Parser_Util.ml
msprotz/FStar
286397f9f4e98f3d53df500b2d63e7ab5cef25e0
[ "Apache-2.0" ]
null
null
null
src/parser/ml/FStar_Parser_Util.ml
msprotz/FStar
286397f9f4e98f3d53df500b2d63e7ab5cef25e0
[ "Apache-2.0" ]
null
null
null
open FStar_Range open Lexing type byte = char type sbyte = char type bytes = char array type decimal = float type single = float type double = float (* FIXME! *) type int16 = Prims.int type uint32 = Prims.int type uint64 = Prims.int64 let parseState = () let pos_of_lexpos (p:position) = mk_pos p.pos_lnum (p.pos_cn...
31.352941
130
0.706692
4464396e9dbcf946fb22ae7eadafcb03513f1cd7
326
ml
OCaml
src/load.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
src/load.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
src/load.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
open! Core_kernel open! Import open! Ecaml_filename let path = Var.Wrap.("load-path" <: path_list) let load = let load = Funcall.Wrap.("load" <: Filename.t @-> bool @-> bool @-> return nil) in fun ?(message = true) filename -> Value.Private.run_outside_async [%here] (fun () -> load filename false (not message...
27.166667
89
0.662577
8abf82947a6eee866ce61596e237f75014e2a82f
21,977
mli
OCaml
src/xref2/component.mli
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
41
2016-06-15T14:19:05.000Z
2018-03-18T06:40:36.000Z
src/xref2/component.mli
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
103
2016-08-07T21:51:04.000Z
2018-03-20T23:26:33.000Z
src/xref2/component.mli
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
7
2016-12-12T14:38:12.000Z
2018-03-18T06:40:38.000Z
(** Component module *) module ModuleMap : Map.S with type key = Ident.module_ module TypeMap : Map.S with type key = Ident.type_ module PathModuleMap : Map.S with type key = Ident.path_module (** Useful maps *) module ModuleTypeMap : Map.S with type key = Ident.module_type module PathTypeMap : Map.S with type key...
28.067688
98
0.697229
445583015394b696212095ea39dbd608884739cb
1,582
ml
OCaml
src/kernel/norm.ml
jota191/pml
9319c5c1e7d6eec0dc22bc8ae690dc362e9113b9
[ "MIT" ]
15
2017-12-22T12:10:16.000Z
2021-12-17T18:31:08.000Z
src/kernel/norm.ml
jota191/pml
9319c5c1e7d6eec0dc22bc8ae690dc362e9113b9
[ "MIT" ]
36
2017-11-01T16:27:45.000Z
2020-02-08T09:43:31.000Z
src/kernel/norm.ml
jota191/pml
9319c5c1e7d6eec0dc22bc8ae690dc362e9113b9
[ "MIT" ]
1
2019-07-18T22:03:24.000Z
2019-07-18T22:03:24.000Z
(** Higher order normalisation functions. This modules defines several normalisation functions for PML's abstract syntax tree. Such functions can be used to reduce higher-order types and to unfold unifications variables. *) open Pos open Ast (** [repr e] unfolds surface unification variables. *) let rec r...
41.631579
75
0.551833
8addbd9b405a4b886af57741daea4fe8e8b1a18d
14,103
ml
OCaml
src/Control.ml
odis-labs/control
c5567fb9d322677ee7595a987178a4f95a482234
[ "0BSD" ]
5
2020-06-12T09:49:55.000Z
2021-02-24T12:55:21.000Z
src/Control.ml
odis-labs/control
c5567fb9d322677ee7595a987178a4f95a482234
[ "0BSD" ]
null
null
null
src/Control.ml
odis-labs/control
c5567fb9d322677ee7595a987178a4f95a482234
[ "0BSD" ]
null
null
null
let cons x xs = x :: xs (* Types *) module type Type0 = sig type t end module type Type1 = sig type 'a t end module type Type2 = sig type ('a, 'b) t end module type Type3 = sig type ('a, 'b, 'c) t end module type Type = Type0 (* Semigroup *) module type Semigroup0 = sig type t val (<+>) : t -> t ...
18.804
74
0.488619
446f5f46a3808ec4e545a18afece759212f4c904
8,720
ml
OCaml
src/lib/logger/impl.ml
ansonla3/coda
5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc
[ "Apache-2.0" ]
null
null
null
src/lib/logger/impl.ml
ansonla3/coda
5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc
[ "Apache-2.0" ]
null
null
null
src/lib/logger/impl.ml
ansonla3/coda
5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc
[ "Apache-2.0" ]
null
null
null
open Core open Async module Level = struct type t = Trace | Debug | Info | Warn | Error | Faulty_peer | Fatal [@@deriving sexp, compare, show {with_path= false}, enumerate] let of_string str = try Ok (t_of_sexp (Sexp.Atom str)) with Sexp.Of_sexp_error (err, _) -> Error (Exn.to_string err) let to_yojs...
28.496732
78
0.633372
4400718d94e8d56823b93f9d2273e3d875b6f2b0
1,506
mli
OCaml
src/dune/preprocessing.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/preprocessing.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/preprocessing.mli
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
(** Preprocessing of OCaml source files *) open! Stdune open! Import (** Preprocessing object *) type t val dummy : t val make : Super_context.t -> dir:Path.Build.t -> expander:Expander.t -> dep_kind:Lib_deps_info.Kind.t -> lint:Dune_file.Preprocess_map.t -> preprocess:Dune_file.Preprocess_map.t ->...
25.965517
76
0.693891
443191a015af65ea2238d684087ea86d7b3a6f8e
642,353
ml
OCaml
04_language_model/models_languages/H02.403.879_tropical_medicine.ml
plopezgarcia/specialist-lexicon
875aa315e888c2953eddda10041bafcdbf6849fa
[ "MIT" ]
null
null
null
04_language_model/models_languages/H02.403.879_tropical_medicine.ml
plopezgarcia/specialist-lexicon
875aa315e888c2953eddda10041bafcdbf6849fa
[ "MIT" ]
null
null
null
04_language_model/models_languages/H02.403.879_tropical_medicine.ml
plopezgarcia/specialist-lexicon
875aa315e888c2953eddda10041bafcdbf6849fa
[ "MIT" ]
null
null
null
itraconazol y 0.5 itraconazol en 0.5 anomalías morfológicas 1.0 (',', 'durante') el 0.5 (',', 'durante') la 0.5 ('gruesa', ',') inmunocromatografía 1.0 None itraconazol 0.0009124087591240876 None anomalías 0.0009124087591240876 None inmunización 0.0018248175182481751 None diagnóstico 0.024635036496350366 None ayer 0.00...
28.929607
64
0.724214
affb1d5e185f1f0086c2cda4bf1c316db1da12a0
856
ml
OCaml
tests/parameters/sol_test.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
4
2018-09-07T01:10:59.000Z
2021-02-17T07:33:47.000Z
tests/parameters/sol_test.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
9
2018-07-02T13:38:09.000Z
2018-08-17T08:17:39.000Z
tests/parameters/sol_test.ml
Eemency/learn-ocaml-autogen
27f2069da0a74cf11de2a2f7514b6cb8666ea718
[ "MIT" ]
1
2020-10-14T20:26:28.000Z
2020-10-14T20:26:28.000Z
open Test_lib open Report let function_f = Section ([Text "Function:"; Code "f"], (test_function_1_against_solution ([%ty :int -> int]) "f" ~gen:10 [])) let function_g = Section ([Text "Function:"; Code "g"], (test_function_2_against_solution ([%ty :int -> float -> (int * float)]) "g"...
26.75
79
0.570093
8ad5be9158b87ab12f14f7e5d769051fcc866604
4,398
mli
OCaml
lib/tuntap.mli
cfcs/ocaml-tuntap
7f93735b342159ed0f9b76e67c6bb627c8f2bd90
[ "ISC" ]
null
null
null
lib/tuntap.mli
cfcs/ocaml-tuntap
7f93735b342159ed0f9b76e67c6bb627c8f2bd90
[ "ISC" ]
null
null
null
lib/tuntap.mli
cfcs/ocaml-tuntap
7f93735b342159ed0f9b76e67c6bb627c8f2bd90
[ "ISC" ]
null
null
null
(* * Copyright (c) 2010-2013 Anil Madhavapeddy <anil@recoil.org> * Copyright (c) 2013 Vincent Bernardoff <vb@luminar.eu.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 not...
45.8125
78
0.711915
448aeaf7b27cfd375479c3fc41ce570a57227278
2,074
mli
OCaml
compiler/libbsl/bslConvention.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
compiler/libbsl/bslConvention.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
compiler/libbsl/bslConvention.mli
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
58
2015-01-02T23:57:42.000Z
2022-03-02T12:44:42.000Z
(* Copyright © 2011 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, but WI...
23.044444
107
0.695275
4452c9d7f6ed52bd6a393b73c1357a2f36e1c9c6
3,245
ml
OCaml
data/sp14/1475.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/1475.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/1475.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let bigMul l1 l2 = let f a x = l1 in let base = ([], 1) in let args = let rec argmaker x y = match y with | [] -> (x, 0) | hd::tl -> List.append (x, hd) (argmaker x tl) in argmaker l1 l2 in let (_,res) = List.fold_left f base args in res;; (* fix let rec clone x n = let rec clone...
21.348684
80
0.505085
afe3d1eb662b982fe73b5346e57a0025f252117c
899
ml
OCaml
data/derived/comb/progs/unify/prog4928.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/prog4928.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4928.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let l1 = [0; 0; 9; 9];; let l2 = [1; 0; 0; 2];; let x = (3, 3) :: (List.rev (List.combine l1 l2));; let clone x n = let rec helper x n acc = if n <= 0 then acc else helper x (n - 1) (x :: acc) in helper x n [];; let padZero l1 l2 = if (List.length l1) < (List.length l2) then ((List.append (clone 0 ((Li...
29
79
0.527253
8ad87bcce5c82317bb896aea7aab79c90a65680d
3,954
ml
OCaml
data/sp14/0521.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0521.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0521.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let buildAverage (e1,e2) = Average (e1, e2);; let buildCosine e = Cosine e;; let buildSine e = Sine e;; let buildThresh (a,b,a_less,b_less) = Thresh (a, b, a_le...
18.739336
77
0.52352
afa1a78b2645b969c9b51a7a3bb13e7e48eca520
72,749
ml
OCaml
src/dune_rules/dune_file.ml
stonebuddha/dune
13642e22a405de7c4361e94dd9aaa35ad1b09847
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
src/dune_rules/dune_file.ml
stonebuddha/dune
13642e22a405de7c4361e94dd9aaa35ad1b09847
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
src/dune_rules/dune_file.ml
stonebuddha/dune
13642e22a405de7c4361e94dd9aaa35ad1b09847
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
open! Dune_engine open! Stdune open Import open Dune_lang.Decoder (* This file defines Dune types as well as the S-expression syntax for the various supported versions of the specification. *) (* Deprecated *) module Jbuild_version = struct type t = V1 let decode = enum [ ("1", V1) ] end let () = Dune_proj...
32.304174
81
0.578895
f3fec6a52eb157e33931a408bf55fdbc7ea0002b
448
mli
OCaml
src/dune_env.mli
exced/dune
559c3f0cb770f08a0a4f4bddd6c9a16eea86caf9
[ "MIT" ]
null
null
null
src/dune_env.mli
exced/dune
559c3f0cb770f08a0a4f4bddd6c9a16eea86caf9
[ "MIT" ]
null
null
null
src/dune_env.mli
exced/dune
559c3f0cb770f08a0a4f4bddd6c9a16eea86caf9
[ "MIT" ]
null
null
null
open! Stdune type stanza = Stanza.t = .. module Stanza : sig type config = { flags : Ordered_set_lang.Unexpanded.t ; ocamlc_flags : Ordered_set_lang.Unexpanded.t ; ocamlopt_flags : Ordered_set_lang.Unexpanded.t } type pattern = | Profile of string | Any type t = { loc ...
17.230769
52
0.618304
afbb0f61a1f8b97cb52c9403fbe5e9e3bec48a58
2,287
ml
OCaml
sihl/session/service.ml
kit-ty-kate/sihl
c5fa996573a7098391495c1fb809ce90ed97caf9
[ "MIT" ]
null
null
null
sihl/session/service.ml
kit-ty-kate/sihl
c5fa996573a7098391495c1fb809ce90ed97caf9
[ "MIT" ]
null
null
null
sihl/session/service.ml
kit-ty-kate/sihl
c5fa996573a7098391495c1fb809ce90ed97caf9
[ "MIT" ]
null
null
null
module Core = Sihl_core open Lwt.Syntax let log_src = Logs.Src.create ~doc:"session" "sihl.service.session" module Logs = (val Logs.src_log log_src : Logs.LOG) module Repo = Repo module Make (Repo : Sig.REPO) : Sig.SERVICE = struct let make ?expire_date now = let open Model in match expire_date, default_ex...
27.890244
85
0.646261
443ce6d174e7bdffac87603262e807d233acabb3
6,457
ml
OCaml
vendors/ocaml-bls12-381/src/Fq12.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
vendors/ocaml-bls12-381/src/Fq12.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
vendors/ocaml-bls12-381/src/Fq12.ml
Ngoguey42/tezos
68f0f84ed58f3c72b1bf3e732d8ee385461a2d14
[ "MIT" ]
null
null
null
module Fq12_stubs = Rustc_bls12_381_bindings.Fq12 (Rustc_bls12_381_stubs) exception Not_in_field of Bytes.t let size_in_bytes = 576 type t = Bytes.t let empty () = Bytes.make size_in_bytes '\000' let order = let fq_order = Z.of_string "4002409555221667393417789825735904156556882819939007885332058136124...
31.043269
123
0.690878
8ab456f4c9cc35bd91b72d7c69b3499d4d0082f2
7,637
ml
OCaml
examples/Cats.ml
Khady/vscode-reasonml
ecf71d729789c604323939656e6f138b49156371
[ "Apache-2.0" ]
447
2017-07-08T06:16:42.000Z
2022-02-26T12:31:11.000Z
examples/Cats.ml
Khady/vscode-reasonml
ecf71d729789c604323939656e6f138b49156371
[ "Apache-2.0" ]
227
2017-07-07T04:57:58.000Z
2021-12-06T21:37:01.000Z
examples/Cats.ml
Khady/vscode-reasonml
ecf71d729789c604323939656e6f138b49156371
[ "Apache-2.0" ]
75
2017-07-24T00:31:10.000Z
2021-11-18T20:22:26.000Z
open TyCon (* The Sig module collects structure signatures. *) module type INITIAL = sig type t val gnab : t -> 'a end type 't initial = (module INITIAL with type t = 't) module type TERMINAL = sig type t val bang : 'a -> t end type 't terminal = (module TERMINAL with type t = 't) module type LEIBNIZ = sig ...
27.177936
124
0.577452
8ab5b90d6f7cd847279ba02fa6119913fb7ca84c
1,903
ml
OCaml
src/module/m_subst.ml
tlaplus/v1-tlapm
c8523c675b2b20712a04c243c73a743d93c9e14a
[ "BSD-2-Clause" ]
3
2019-09-02T11:44:20.000Z
2020-01-23T07:46:12.000Z
src/module/m_subst.ml
lemmy/tlapm
563ac8d0454386c4797ce060253c03b941e6c463
[ "BSD-2-Clause" ]
null
null
null
src/module/m_subst.ml
lemmy/tlapm
563ac8d0454386c4797ce060253c03b941e6c463
[ "BSD-2-Clause" ]
4
2019-06-28T15:15:43.000Z
2020-02-17T01:14:35.000Z
(* Utilities for performing substitutions in module syntax graphs. *) open Property open Expr.T open Expr.Subst open M_t let rec app_modunits (s: sub) (mus: modunit list): (sub * modunit list) = match mus with | [] -> (s, []) | (mu: modunit) :: mus -> let (s, (mu: modunit)) = app_modunit s mu i...
30.206349
75
0.516027
44343311e11e1d1748822d92e1e46616bbc24b5e
2,690
ml
OCaml
tests/test-oo_style/stubs/functions.ml
Armael/ocaml-ctypes
b8968b6d7b5687399011275758e7597f6a7274f9
[ "MIT" ]
271
2015-01-02T14:49:27.000Z
2022-02-27T18:52:53.000Z
tests/test-oo_style/stubs/functions.ml
Armael/ocaml-ctypes
b8968b6d7b5687399011275758e7597f6a7274f9
[ "MIT" ]
356
2015-01-02T16:31:32.000Z
2022-03-31T11:16:31.000Z
tests/test-oo_style/stubs/functions.ml
Armael/ocaml-ctypes
b8968b6d7b5687399011275758e7597f6a7274f9
[ "MIT" ]
76
2015-01-12T11:37:18.000Z
2022-02-13T04:27:51.000Z
(* * Copyright (c) 2014 Jeremy Yallop. * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. *) (* Foreign function bindings for the OO-style tests. *) open Ctypes open Foreign module Stubs (F: Ctypes.FOREIGN) = struct open F let cast base p = from_voidp base ...
30.568182
86
0.671004
448e402bc10b89fac7ad6ca7759f90c6801d0ef1
6,678
ml
OCaml
analysis/test/integration/literalTest.ml
KaisongHuang/pyre-check
12e0804b72a8c39318245fa56349806ee8bf8116
[ "MIT" ]
null
null
null
analysis/test/integration/literalTest.ml
KaisongHuang/pyre-check
12e0804b72a8c39318245fa56349806ee8bf8116
[ "MIT" ]
null
null
null
analysis/test/integration/literalTest.ml
KaisongHuang/pyre-check
12e0804b72a8c39318245fa56349806ee8bf8116
[ "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_boolean_literal context = let assert_type_errors = assert_type_errors ~context in assert_type_...
33.557789
100
0.640461
4483dd2c932dcc1149be20b5648580084d7aef6b
6,381
ml
OCaml
ocaml_modules/opam-core/src/state/opamStateConfig.ml
samoht/opam-monorepo
77309015d51a321f88ee42ecb14af5e31649efd5
[ "0BSD" ]
null
null
null
ocaml_modules/opam-core/src/state/opamStateConfig.ml
samoht/opam-monorepo
77309015d51a321f88ee42ecb14af5e31649efd5
[ "0BSD" ]
null
null
null
ocaml_modules/opam-core/src/state/opamStateConfig.ml
samoht/opam-monorepo
77309015d51a321f88ee42ecb14af5e31649efd5
[ "0BSD" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2015 OCamlPro *) (* *) (* All righ...
30.975728
79
0.618398
8a89a33c30405f5c0191f6cfee2b226b2401225d
104
ml
OCaml
data/derived/comb/progs/unify/prog3397.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/prog3397.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3397.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let extract n (p1,p2) = match n with | 1 -> p1 | 2 -> p2 | _ -> (-1);; let _ = extract ("bobby", 2);;
20.8
70
0.480769
447501f4ab15945b467df80bdf160417d3f70031
20,773
ml
OCaml
slideshow/presentation.ml
let-def/wall
43b7a1601d5d3ef624e4b641446aaaaa76db7b89
[ "BSD-3-Clause" ]
53
2017-04-24T01:20:14.000Z
2022-01-22T04:25:34.000Z
slideshow/presentation.ml
let-def/wall
43b7a1601d5d3ef624e4b641446aaaaa76db7b89
[ "BSD-3-Clause" ]
3
2020-04-05T21:18:12.000Z
2021-11-22T14:54:46.000Z
slideshow/presentation.ml
let-def/wall
43b7a1601d5d3ef624e4b641446aaaaa76db7b89
[ "BSD-3-Clause" ]
4
2017-11-30T07:35:25.000Z
2021-07-28T06:27:33.000Z
[@@@ocaml.warning "-6"] open Wall open Wall_text open Pres_state ;; let default_font ?(size=1.0) () = Font.make ~size:(64.0 *. size) font_sans ~placement:`Subpixel let title_banner = Path.make (fun ctx -> Path.rect ctx ~x:0.0 ~y:0.0 ~w:1024.0 ~h:128.0 ) let b2 x y w h = Gg.Box2.v (Gg.P2.v x y) (Gg.Size2....
33.343499
88
0.525971
8ade30446deedf1b801e84980358715c9bd7fcb1
1,287
ml
OCaml
src/stdune/set_intf.ml
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
57
2019-05-15T14:23:37.000Z
2021-05-24T19:23:19.000Z
src/stdune/set_intf.ml
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
53
2019-06-06T16:27:15.000Z
2020-05-14T18:05:50.000Z
src/stdune/set_intf.ml
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
7
2019-06-03T15:07:32.000Z
2020-04-06T14:06:22.000Z
module type S = sig type elt and t val empty : t val is_empty : t -> bool val mem : t -> elt -> bool val add : t -> elt -> t val singleton : elt -> t val remove : t -> elt -> t val union : t -> t -> t val inter : t -> t -> t val ...
33.868421
64
0.425019
8ab397fc682ff2dac76ab8557746d7c750aecd22
1,812
mli
OCaml
server/chatLib/queries.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
5
2015-01-30T06:16:32.000Z
2020-04-14T09:08:49.000Z
server/chatLib/queries.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
server/chatLib/queries.mli
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
(* © 2014 RunOrg *) open Std type info = < id : I.t ; count : int option ; root : int option ; last : Time.t option ; subject : String.Label.t option ; access : ChatAccess.Set.t ; audience : ChatAccess.Audience.t option ; custom : Json.t ; track : bool ; > val get : P...
21.571429
83
0.51766
443f8a81331ea989e483bbddd9d04cdfdd626c6e
7,010
mli
OCaml
src/cyclesim.mli
ujamjar/hardcaml
1a834d25523417a768ebfa45cca4071a48481479
[ "0BSD" ]
123
2015-01-01T21:34:09.000Z
2021-11-23T10:14:56.000Z
src/cyclesim.mli
ujamjar/hardcaml
1a834d25523417a768ebfa45cca4071a48481479
[ "0BSD" ]
26
2015-03-31T13:38:18.000Z
2017-10-18T00:10:51.000Z
src/cyclesim.mli
ujamjar/hardcaml
1a834d25523417a768ebfa45cca4071a48481479
[ "0BSD" ]
10
2015-11-08T22:07:40.000Z
2018-08-07T14:25:22.000Z
(* * hardcaml - hardware design in OCaml * * (c) 2014 MicroJamJar Ltd * * Author(s): andy.ray@ujamjar.com * Description: * *) (** Cycle accurate simulator *) open Signal.Types (** circuit scheduler *) val scheduler : (signal -> signal list) -> signal list -> signal list -> signal list (** circuit search...
28.495935
102
0.572468
d2f92bb4b3abb867db675c22a70a617deba77fd7
92
ml
OCaml
benchmarks/C/sigma/sol293.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/sigma/sol293.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/sigma/sol293.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec sigma f a b = if a > b then 0 else if a = b then f a else f a + sigma f (a+1) b
18.4
27
0.565217
445e6babd49f268344e0ade26a49a1929667ef4f
1,649
ml
OCaml
libraries/ec2/lib/describeRegions.ml
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ec2/lib/describeRegions.ml
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ec2/lib/describeRegions.ml
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = DescribeRegionsRequest.t type output = DescribeRegionsResult.t type error = Errors_internal.t let service = "ec2" 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 (Endpoints.url_of...
27.032787
90
0.625834
4423fae0fab8487804847552017a7511062cc941
148
mli
OCaml
lib/label.mli
nandor/ocamlcfg
7dc07b3531888253db412c9044a0266931e4815b
[ "MIT" ]
7
2019-09-26T14:27:53.000Z
2020-08-08T08:57:38.000Z
lib/label.mli
nandor/ocamlcfg
7dc07b3531888253db412c9044a0266931e4815b
[ "MIT" ]
null
null
null
lib/label.mli
nandor/ocamlcfg
7dc07b3531888253db412c9044a0266931e4815b
[ "MIT" ]
4
2019-08-13T15:41:53.000Z
2020-08-07T13:02:27.000Z
[@@@ocaml.warning "+a-30-40-41-42"] type t = int include Identifiable.S with type t := t val equal : t -> t -> bool val to_string : t -> string
14.8
39
0.621622
aff1d1884af9ed763090c49f4869c50ab718b1c2
3,400
ml
OCaml
src/lib_mockup/mockup_commands.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/lib_mockup/mockup_commands.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/lib_mockup/mockup_commands.ml
Ngoguey42/tezos
68f0f84ed58f3c72b1bf3e732d8ee385461a2d14
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs, <contact@nomadic-labs.com> *) ...
48.571429
79
0.580294
afffa793b913cc4313208c2d3a9089f518757ecd
1,032
ml
OCaml
hphp/hack/src/options/typecheckerOptions.ml
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/options/typecheckerOptions.ml
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/options/typecheckerOptions.ml
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "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. * *) type t = Glob...
39.692308
80
0.835271
8adbcfed7a33becc7db9daa3921121e0610adf4f
1,474
mli
OCaml
lib/vscode-jsonrpc/vscode_jsonrpc_cancellation.mli
tmattio/js-bindings
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
18
2021-04-14T02:52:09.000Z
2021-11-14T17:08:09.000Z
lib/vscode-jsonrpc/vscode_jsonrpc_cancellation.mli
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
4
2021-04-14T16:23:13.000Z
2021-05-22T00:00:55.000Z
lib/vscode-jsonrpc/vscode_jsonrpc_cancellation.mli
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
1
2021-04-14T15:29:24.000Z
2021-04-14T15:29:24.000Z
[@@@ocaml.warning "-7-11-32-33-39"] [@@@js.implem [@@@ocaml.warning "-7-11-32-33-39"]] [@@@js.scope "__LIB__VSCODE_JSONRPC__IMPORTS"] open Es2020 module CancellationToken : sig type t val t_to_js : t -> Ojs.t val t_of_js : Ojs.t -> t val get_is_cancellation_requested : t -> bool [@@js.get "isCancella...
24.566667
76
0.677748
8affa2d9ce2220a931fad859771b289840c00ee5
850
ml
OCaml
engine/provider_stub.ml
bleepbloopsify/makecloud
3a7e501872fcf3807f2bae3b640368ffc3f450e4
[ "MIT" ]
8
2019-10-16T19:47:32.000Z
2021-04-12T11:17:05.000Z
engine/provider_stub.ml
bleepbloopsify/makecloud
3a7e501872fcf3807f2bae3b640368ffc3f450e4
[ "MIT" ]
4
2019-10-30T18:31:23.000Z
2021-04-19T22:44:28.000Z
engine/provider_stub.ml
bleepbloopsify/makecloud
3a7e501872fcf3807f2bae3b640368ffc3f450e4
[ "MIT" ]
5
2020-02-13T19:01:57.000Z
2022-01-08T18:26:03.000Z
open Lib module Stub : Provider_template.Provider = struct type t = unit let spinup _params _settings (n : Node.real_node) _guid : t Lwt.t = let%lwt () = Lwt_io.printl ("[STUB]" ^ "[" ^ n.name ^ "]" ^ "Node Spinning Up") in Lwt.return () let wait_until_ready _box (n : Node.real_node) () = ...
28.333333
81
0.589412
4401d905f76f161af61d90e3f946d2b5c42e2337
690
ml
OCaml
example/simple_middleware/main.ml
ywnv/opium
6e2bce2354e5385ba98b8e507d639addb98cc613
[ "MIT" ]
683
2015-01-08T20:21:40.000Z
2022-02-23T08:40:16.000Z
example/simple_middleware/main.ml
ywnv/opium
6e2bce2354e5385ba98b8e507d639addb98cc613
[ "MIT" ]
157
2015-01-25T23:36:45.000Z
2022-03-28T15:14:55.000Z
example/simple_middleware/main.ml
ywnv/opium
6e2bce2354e5385ba98b8e507d639addb98cc613
[ "MIT" ]
71
2015-02-03T14:12:24.000Z
2022-01-29T08:26:25.000Z
open Opium module Reject_user_agent = struct let is_ua_msie = let re = Re.compile (Re.str "MSIE") in Re.execp re ;; let m = let filter handler req = match Request.header "user-agent" req with | Some ua when is_ua_msie ua -> Response.of_plain_text ~status:`Bad_request "Please upgr...
23
81
0.65942
448ff2ad04c2a1ecbe2dec7f5cbc5706a2e75ae3
77,444
ml
OCaml
src/unix/lwt_unix.cppo.ml
bn-d/lwt
654952b62dccea63f186747be79916dbfdccf48d
[ "MIT" ]
null
null
null
src/unix/lwt_unix.cppo.ml
bn-d/lwt
654952b62dccea63f186747be79916dbfdccf48d
[ "MIT" ]
null
null
null
src/unix/lwt_unix.cppo.ml
bn-d/lwt
654952b62dccea63f186747be79916dbfdccf48d
[ "MIT" ]
null
null
null
(* 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. *) (* [Lwt_sequence] is deprecated – we don't want users outside Lwt using it. However, it is still used internally by Lwt. So, briefly disable warning 3 (...
29.257272
152
0.61416
f3f8e597e0b2ecc8b0713926d298a885c2d2bd51
18,871
ml
OCaml
data/derived/comb/progs/unify/prog6835.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/prog2017.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2017.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.758497
208
0.655026
8ae93b1bd9869d3b32f7fcda482c6a02e9f71a20
2,326
ml
OCaml
server/db.ml
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
5
2015-01-30T06:16:32.000Z
2020-04-14T09:08:49.000Z
server/db.ml
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
server/db.ml
RunOrg/RunOrg
b53ee2357f4bcb919ac48577426d632dffc25062
[ "MIT" ]
null
null
null
(* © 2014 RunOrg *) open Std (* Event stream ============ *) module Event = type module [ `DatabaseCreated of string | `PersonaAudienceUpdated of String.Url.t list ] module Stream = Cqrs.Stream(struct include Event let name = "db" end) (* Commands ======== *) let create _ label = let ...
24.484211
92
0.628117
445661d4e6c3c18e02eebbb6cf7d8bbc3c023768
18,691
ml
OCaml
data/derived/comb/progs/unify/prog2426.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/prog2426.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2426.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.317291
208
0.659569
afae78705cf7abf9db24a21d3dee4a07458e5a71
1,305
ml
OCaml
src/err/cirModif/votSuppr.ml
Burlyaev/bit-marker
2c0aadcb18f6f6e2dfe62f69dd61a78d8d14c1f1
[ "MIT" ]
null
null
null
src/err/cirModif/votSuppr.ml
Burlyaev/bit-marker
2c0aadcb18f6f6e2dfe62f69dd61a78d8d14c1f1
[ "MIT" ]
null
null
null
src/err/cirModif/votSuppr.ml
Burlyaev/bit-marker
2c0aadcb18f6f6e2dfe62f69dd61a78d8d14c1f1
[ "MIT" ]
null
null
null
open Cudd open StrucAlloc open MethChoice open StrucAlloc open Cir2bdd open CirType open FanInOut open TimingGl open Model open GenFun open Contamin open FormPairs type votRemov_T= { errDetR:bool; (*if voter has been detected with newVotR voter list*) newVotR: string list;(*voter list*) vot2ChR: string list(*v...
26.1
75
0.69272
44677422cbd5a939980afddf0a9e17e54cde0d78
3,768
ml
OCaml
lib/disml.ml
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
lib/disml.ml
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
lib/disml.ml
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
(** {2 Dis.ml - An OCaml library for interfacing with the Discord API} {3 Example} {[ open Async open Core open Disml open Models (* Create a function to handle message_create. *) let check_command (Event.MessageCreate.{message}) = if String.is_prefix ~prefix:"!ping" message.content then Mess...
29.209302
176
0.705679
afdc9725806152b9da6a0589c7c96c7d6fc172cf
5,261
mli
OCaml
api/env.mli
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
160
2017-11-16T16:16:09.000Z
2022-03-03T07:14:11.000Z
api/env.mli
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
188
2017-11-24T18:14:54.000Z
2022-03-17T09:11:41.000Z
api/env.mli
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
19
2018-02-09T10:18:02.000Z
2022-02-26T13:05:00.000Z
(** An environment is a wrapper around the kernel of Dedukti *) open Kernel open Basic open Term open Parsers (** {2 Error Datatype} *) (** An environment is created from a {!Parser.input}. Environment is the module which interacts with the kernel. An environment allows you to change at runtime the reduction...
36.79021
148
0.685421
8ac494c427e68f3204237d1471e1162d0878898b
829
ml
OCaml
data/derived/comb/progs/unify/prog3194.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/prog3194.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3194.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = match n > 0 with | true -> x :: (clone x (n - 1)) | false -> [];; let padZero l1 l2 = let length1 = List.length l1 in let length2 = List.length l2 in match length1 >= length2 with | true -> let n = length1 - length2 in let zeroes = clone 0 n in (l1, (List.append zeroes l2)...
28.586207
72
0.552473
8a27d5b7201d8a4166dedf2e4bc3cf0f9fdfd88f
1,397
ml
OCaml
experiments/ownership-inference/infer/infer/src/base/JsonBuilder.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/base/JsonBuilder.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/base/JsonBuilder.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 type t = {integers: int String.Map.t; floats: float String.Map.t; strings: string String.Map.t} let empty = {integers=...
32.488372
98
0.685755
44403168b575b563248f76683be9098f06ee63c8
5,515
ml
OCaml
infer/src/checkers/classLoads.ml
psibi/infer
b06bb42a02c54770a774acc5ed84c4050943bc19
[ "MIT" ]
null
null
null
infer/src/checkers/classLoads.ml
psibi/infer
b06bb42a02c54770a774acc5ed84c4050943bc19
[ "MIT" ]
null
null
null
infer/src/checkers/classLoads.ml
psibi/infer
b06bb42a02c54770a774acc5ed84c4050943bc19
[ "MIT" ]
1
2019-05-15T16:25:02.000Z
2019-05-15T16:25:02.000Z
(* * Copyright (c) 2018-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 module L = Logging (* Sources: Java Virtual Machine Specification - Chapter 5. Loading, Linking and Initializing - Chap...
38.838028
99
0.70136
8aff1e2214f608dea83a808a99d0f2be1ed1e922
1,592
ml
OCaml
hphp/hack/src/typing/tast_check/foreach_collection_reactivity_check.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/foreach_collection_reactivity_check.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/foreach_collection_reactivity_check.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open Aast open Typing_defs module Env = Tast_env module MakeType = Typing_make_type let rxTravers...
30.615385
95
0.697864
448c4a2a6e6514b854de078b896edcb7f46751c2
123
ml
OCaml
src/composition_infix.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
10
2018-10-15T02:11:39.000Z
2022-01-26T08:57:12.000Z
src/composition_infix.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
null
null
null
src/composition_infix.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
1
2020-04-18T13:03:50.000Z
2020-04-18T13:03:50.000Z
open! Core module Export = struct let ( << ) f g = Fn.compose f g let ( >> ) f g = Fn.compose g f end include Export
13.666667
33
0.601626
443fc0ba22d153fd79141511720bbe38a0dbeac2
25,991
ml
OCaml
src/maingoblint.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
null
null
null
src/maingoblint.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
7
2022-02-23T17:37:19.000Z
2022-03-30T16:23:06.000Z
src/maingoblint.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
null
null
null
(** This is the main program! *) open Prelude open GobConfig open Printf open Goblintutil let writeconffile = ref None (** Print version and bail. *) let print_version ch = printf "Goblint version: %s\n" Version.goblint; printf "Cil version: %s\n" Cil.cilVersion; printf "Profile: %s\n" ConfigProfil...
47.689908
259
0.672579
8ac356e5209d44d835a89435f9b57fd03216c76e
174
ml
OCaml
data/derived/comb/progs/unify/prog5241.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/prog0334.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0334.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec listReverse l = let newList = [] in match l with | [] -> newList | head::tail -> (listReverse tail) @ (newList @ head);; let _ = listReverse [1; 2; 3; 4];;
19.333333
57
0.574713
4455669a60357a418f4e6aeaee21600efe2ff2c9
404
mly
OCaml
src/parser.mly
wenyuzhao/Lambda
fbc9b41a981d19a498d085c1622f78d3ca06c934
[ "Apache-2.0" ]
9
2019-08-05T10:52:30.000Z
2022-03-20T13:09:54.000Z
src/parser.mly
wenyuzhao/Lambda
fbc9b41a981d19a498d085c1622f78d3ca06c934
[ "Apache-2.0" ]
null
null
null
src/parser.mly
wenyuzhao/Lambda
fbc9b41a981d19a498d085c1622f78d3ca06c934
[ "Apache-2.0" ]
2
2019-08-05T10:52:33.000Z
2021-11-05T20:46:23.000Z
%{ open Syntax %} %token EOF %token LAMBDA DOT L_PAREN R_PAREN COMMA %token <string> IDENT %start file %type <Syntax.expr> file expr atom %right LAMBDA IDENT DOT L_PAREN %% file: expr EOF { $1 } ; expr: atom { $1 } | expr atom { Application ($1, $2) } ; atom: L_PAREN expr R_PAREN { $2 }...
11.882353
52
0.589109
4402570ae0f75d9d787fd99a5fe3f64b14a90013
170
ml
OCaml
tests/reproducibility/bool_xor.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
null
null
null
tests/reproducibility/bool_xor.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
null
null
null
tests/reproducibility/bool_xor.ml
awendland/myth-extended
3b5a51c905355813654dc185511257364a809929
[ "MIT" ]
2
2019-12-01T20:38:39.000Z
2020-12-15T11:43:21.000Z
#use "bool.decls" let bool_xor : bool -> bool -> bool |> { True => True => False ; True => False => True ; False => True => True ; False => False => False } = ?
21.25
38
0.523529
af1adc0ee43bd1c951f6d6eeaee40650c618a1f1
1,688
ml
OCaml
src/analysis/bindings.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/analysis/bindings.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/analysis/bindings.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast = Flow_ast type kind = | Var | Let | Const | Type | Enum | Function | Class | DeclaredClass | Param...
21.641026
93
0.598341
440bd3023348f98960b842e7854abcd8974598eb
5,928
ml
OCaml
freetds/test/test_dblib.ml
xclerc/ocaml-mssql
88c69a7d6c5ed3b4027f96b0c54aa74ad6f6dd22
[ "Apache-2.0" ]
null
null
null
freetds/test/test_dblib.ml
xclerc/ocaml-mssql
88c69a7d6c5ed3b4027f96b0c54aa74ad6f6dd22
[ "Apache-2.0" ]
null
null
null
freetds/test/test_dblib.ml
xclerc/ocaml-mssql
88c69a7d6c5ed3b4027f96b0c54aa74ad6f6dd22
[ "Apache-2.0" ]
null
null
null
open Freetds open OUnit2 open Printf let string_of_string s = s let string_of_list f l = List.map f l |> String.concat ", " let string_of_row r = string_of_list Dblib.string_of_data r let get_params () = [ "USER" ; "PASSWORD" ; "SERVER" ; "DATABASE" ] |> List.map (fun suffix -> let env_var = sprintf "...
35.927273
79
0.580634
444209c8386d738d5c2b706a273b0a9172a2f31b
1,846
ml
OCaml
libraries/ec2/lib/createLaunchTemplate.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/createLaunchTemplate.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/createLaunchTemplate.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = CreateLaunchTemplateRequest.t type output = CreateLaunchTemplateResult.t type error = Errors_internal.t let service = "ec2" 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 (End...
31.288136
100
0.580715
44186ac0b3fd3c0277351fcc6728c1be7790604c
945
ml
OCaml
src/utils/const.ml
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
null
null
null
src/utils/const.ml
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
null
null
null
src/utils/const.ml
Stienvdh/eff
80ff311a6509a20148c823c69a084cd3ce200b83
[ "BSD-2-Clause" ]
1
2019-07-30T11:40:05.000Z
2019-07-30T11:40:05.000Z
type t = Integer of int | String of string | Boolean of bool | Float of float let of_integer n = Integer n let of_string s = String s let of_boolean b = Boolean b let of_float f = Float f let of_true = of_boolean true let of_false = of_boolean false let print c ppf = match c with | Integer k -> Format.fprint...
25.540541
79
0.660317
8adca1e0fe9732dd0425707767fa8588791e4c0a
119,722
ml
OCaml
src/parser_utils/output/__tests__/js_layout_generator_test.ml
dizzydaizy/flow
dddadf96f00e9c85ad6b52ad997d19d8f0977cd7
[ "MIT" ]
null
null
null
src/parser_utils/output/__tests__/js_layout_generator_test.ml
dizzydaizy/flow
dddadf96f00e9c85ad6b52ad997d19d8f0977cd7
[ "MIT" ]
null
null
null
src/parser_utils/output/__tests__/js_layout_generator_test.ml
dizzydaizy/flow
dddadf96f00e9c85ad6b52ad997d19d8f0977cd7
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open OUnit2 open Ast_builder open Layout_test_utils open Layout_generator_test_utils module I = Ast_builder.Identifiers module S = ...
45.538988
111
0.466673
447c9ed288dbd341063ac3e1ca055aa4d26ae9de
418
ml
OCaml
src/services/saved_state/saved_state_dummy_fetcher.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "MIT" ]
2
2019-01-31T09:33:15.000Z
2019-01-31T09:35:08.000Z
src/services/saved_state/saved_state_dummy_fetcher.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "MIT" ]
null
null
null
src/services/saved_state/saved_state_dummy_fetcher.ml
KevinGrandon/flow
7360702fe9214cd30286a5362561953f21af4c1c
[ "MIT" ]
null
null
null
(** * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (* This saved state fetcher is used by servers which don't intend to use saved state *) include (struct let fetch...
27.866667
87
0.729665
4401fd00d8018604e18f44f2b9f574030addaf14
1,855
ml
OCaml
src/lib/condition.ml
jserot/rfsm
5f6dcef41b8d1a8aae01520c0c638ba346e0b36c
[ "MIT" ]
21
2018-04-23T10:08:40.000Z
2021-03-24T16:04:53.000Z
src/lib/condition.ml
jserot/rfsm
5f6dcef41b8d1a8aae01520c0c638ba346e0b36c
[ "MIT" ]
3
2018-06-06T07:13:18.000Z
2020-03-25T11:12:03.000Z
src/lib/condition.ml
jserot/rfsm
5f6dcef41b8d1a8aae01520c0c638ba346e0b36c
[ "MIT" ]
null
null
null
(**********************************************************************) (* *) (* This file is part of the RFSM package *) (* *) (* Copyright (c) 2018-prese...
36.372549
94
0.492722
f3c4066e483fe28195122fb3ffd6f3d150c3d96b
3,529
ml
OCaml
attic/lib/syntax/entity.ml
lambe-lang/compiler
e0b119710d1638ea2e00b504ee7c530818b8b049
[ "Apache-2.0" ]
3
2020-11-24T10:21:04.000Z
2021-09-15T16:28:05.000Z
attic/lib/syntax/entity.ml
lambe-lang/compiler
e0b119710d1638ea2e00b504ee7c530818b8b049
[ "Apache-2.0" ]
null
null
null
attic/lib/syntax/entity.ml
lambe-lang/compiler
e0b119710d1638ea2e00b504ee7c530818b8b049
[ "Apache-2.0" ]
null
null
null
module Make_via_parser (Parser : Transept.Specs.PARSER with type e = Lambe_lexer.Lexeme.t) (Kind : Entry.API with type t = Lambe_ast.Kind.t and type 'a p = 'a Parser.t) (Type : Entry.API with type t = Lambe_ast.Type.t and type 'a p = 'a Parser.t) (Term : Entry.API with type t = Lambe_ast.Term.t and type...
24.337931
81
0.490224
8a67673d6c2ad2e939f1c81457514d93696b96b8
18,526
ml
OCaml
src/lib/nbe.ml
logsem/mitten_preorder
3b02a5f57184fa2dba438dd28825e8a3432bd2c6
[ "MIT" ]
14
2022-01-21T14:58:59.000Z
2022-02-01T03:18:01.000Z
src/lib/nbe.ml
logsem/mitten_preorder
3b02a5f57184fa2dba438dd28825e8a3432bd2c6
[ "MIT" ]
null
null
null
src/lib/nbe.ml
logsem/mitten_preorder
3b02a5f57184fa2dba438dd28825e8a3432bd2c6
[ "MIT" ]
null
null
null
module Syn = Syntax module D = Domain open Mode_theory exception Nbe_failed of string let rec clos_mod (D.Clos {term; env}) mu = D.Clos {term = term; env = D.M mu :: env} and gen_do_clos (D.Clos {term; env}) a = eval term (a :: env) and do_clos clos a = gen_do_clos clos (D.Val a) and gen_do_clos2 (D.Clos2 {term; e...
42.296804
278
0.586581
4494f0778bfdaf7e9dfc83b8c27f8d56a153d866
5,401
ml
OCaml
src/proto_alpha/lib_protocol/test/test_qty.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_alpha/lib_protocol/test/test_qty.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_alpha/lib_protocol/test/test_qty.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "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> *) ...
33.75625
84
0.543973
447e3806a895cf2a89567253063cf59acd6f6ca2
5,644
ml
OCaml
hphp/hack/src/ide_rpc/ide_rpc_V0_message_printer.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/hack/src/ide_rpc/ide_rpc_V0_message_printer.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/hack/src/ide_rpc/ide_rpc_V0_message_printer.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
(** * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Core ope...
32.624277
80
0.728207
4466071859660f990b18331b2f552e21724926d8
3,542
ml
OCaml
coq_projects/CompCert/cfrontend/CPragmas.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq_projects/CompCert/cfrontend/CPragmas.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq_projects/CompCert/cfrontend/CPragmas.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(* *********************************************************************) (* *) (* The Compcert verified compiler *) (* *) (* Xavier Leroy...
39.797753
90
0.582157
4483119ecf923a8b61ac184dfe1c41d3f74f6f16
1,651
ml
OCaml
hphp/hack/src/typing/typing_generic.ml
cnxtech/hhvm
3151a26f945f8347aeb6629f474279ee8a9435ec
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_generic.ml
cnxtech/hhvm
3151a26f945f8347aeb6629f474279ee8a9435ec
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_generic.ml
cnxtech/hhvm
3151a26f945f8347aeb6629f474279ee8a9435ec
[ "PHP-3.01", "Zend-2.0" ]
1
2021-01-29T08:44:22.000Z
2021-01-29T08:44:22.000Z
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Typing_defs (* Module checking if a type is generic, I like to use an exception for this sort ...
25.796875
81
0.563901
443d61f830671cc6581403b5edcbed844b215622
2,351
mli
OCaml
bin/publish.mli
ifazk/dune-release
24015eb100aa69d629d116006de3fb91b000be66
[ "ISC" ]
45
2020-01-16T18:27:23.000Z
2021-12-15T09:59:19.000Z
bin/publish.mli
ifazk/dune-release
24015eb100aa69d629d116006de3fb91b000be66
[ "ISC" ]
189
2019-12-02T17:26:19.000Z
2022-03-28T13:22:57.000Z
bin/publish.mli
ifazk/dune-release
24015eb100aa69d629d116006de3fb91b000be66
[ "ISC" ]
22
2020-01-05T17:33:10.000Z
2022-03-18T11:33:35.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2016 Daniel C. Bünzli. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (** ...
41.982143
79
0.622714
8acdc9af65283c1f4011519e0b0ffa558da08533
2,012
ml
OCaml
libraries/rds/lib/createDBSnapshot.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/createDBSnapshot.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/createDBSnapshot.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal open Aws type input = CreateDBSnapshotMessage.t type output = CreateDBSnapshotResult.t type error = Errors_internal.t let service = "rds" 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))) ...
31.936508
96
0.601392
441a932de5a0875221817ad02ed67c50548685c7
2,499
mli
OCaml
src/loader/doc_attr.mli
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
null
null
null
src/loader/doc_attr.mli
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
2
2021-11-23T11:47:46.000Z
2021-11-24T13:46:12.000Z
src/loader/doc_attr.mli
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
null
null
null
(* * Copyright (c) 2014 Leo White <lpw25@cl.cam.ac.uk> * * 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" AND TH...
35.197183
83
0.7495
afc6bbadff92ca16075ea5a9e38df07ee0d109f0
4,173
ml
OCaml
src/commands/startCommand.ml
Jankyboy/flow
f9839688acace8af5dbda39d808924347286862d
[ "MIT" ]
null
null
null
src/commands/startCommand.ml
Jankyboy/flow
f9839688acace8af5dbda39d808924347286862d
[ "MIT" ]
17
2020-10-12T16:16:07.000Z
2021-08-07T04:38:39.000Z
src/commands/startCommand.ml
Jankyboy/flow
f9839688acace8af5dbda39d808924347286862d
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (***********************************************************************) (* start command *) (************************************...
30.459854
258
0.652528
44822d6d72bf79608a22b12a63b27cbcf0cdf39a
9,890
ml
OCaml
src/commands/commandSpec.ml
disnet/flow
f916c6d4300220fda951d123b85b8f05a75a3427
[ "MIT" ]
null
null
null
src/commands/commandSpec.ml
disnet/flow
f916c6d4300220fda951d123b85b8f05a75a3427
[ "MIT" ]
null
null
null
src/commands/commandSpec.ml
disnet/flow
f916c6d4300220fda951d123b85b8f05a75a3427
[ "MIT" ]
2
2021-02-02T14:51:26.000Z
2021-02-02T14:52:05.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) exception Show_help exception Failed_to_parse of string * string module ArgSpec = struct type values_t = string list SMap.t type f...
26.303191
85
0.586451
4431b8a7c1900d0797e6c19404f41eda97495023
11,865
ml
OCaml
src/sundials/sundials.ml
kit-ty-kate/sundialsml
52cdf008e267aa55373f123866478a6d881d3fee
[ "BSD-3-Clause" ]
24
2015-02-14T17:16:38.000Z
2021-12-23T16:02:13.000Z
src/sundials/sundials.ml
kit-ty-kate/sundialsml
52cdf008e267aa55373f123866478a6d881d3fee
[ "BSD-3-Clause" ]
10
2016-03-20T22:14:49.000Z
2022-03-16T09:54:31.000Z
src/sundials/sundials.ml
kit-ty-kate/sundialsml
52cdf008e267aa55373f123866478a6d881d3fee
[ "BSD-3-Clause" ]
5
2015-04-14T14:21:54.000Z
2022-03-10T16:14:55.000Z
(***********************************************************************) (* *) (* OCaml interface to Sundials *) (* *) (* Timothy Bourke (Inri...
24.71875
79
0.581037
441af4a83a385e9e099c34ffccb1d1e1f6134365
1,698
ml
OCaml
tests/e2e/asserter.ml
marigold-dev/deku
13de26e5017646c3d86b937ca4b11c0baed84f39
[ "MIT" ]
30
2021-10-05T02:08:06.000Z
2022-03-30T10:48:01.000Z
tests/e2e/asserter.ml
marigold-dev/deku
13de26e5017646c3d86b937ca4b11c0baed84f39
[ "MIT" ]
191
2021-09-21T05:54:54.000Z
2022-03-31T13:31:45.000Z
tests/e2e/asserter.ml
marigold-dev/deku
13de26e5017646c3d86b937ca4b11c0baed84f39
[ "MIT" ]
12
2021-09-30T22:01:30.000Z
2022-03-26T02:21:53.000Z
open Cmdliner open Bin_common open Crypto let assert_state_correct data_folder expected_state_root_hash expected_block_height = print_endline @@ "Checking state at path: " ^ data_folder; let file = data_folder ^ "/state.bin" in let protocol_state = Lwt_main.run @@ Files.State_bin.read ~file in Format.print...
37.733333
78
0.732038
8a3b4e6afd58d396df0214aa167df09828d67a22
873
mli
OCaml
source/analysis/inference.mli
rcramblit/pyre-check
fa15d2021ab1bf5b52aae8c09d1520e2b7bcf6c9
[ "MIT" ]
null
null
null
source/analysis/inference.mli
rcramblit/pyre-check
fa15d2021ab1bf5b52aae8c09d1520e2b7bcf6c9
[ "MIT" ]
null
null
null
source/analysis/inference.mli
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 Ast open Statement module type Context = sig val configuration : Configuration.Analysis.t val qualifier : Reference.t ...
20.785714
67
0.718213
afbc8886fa5f9f48bc3c8a273e9c15595f62eaec
54,277
ml
OCaml
hphp/hack/src/parser/full_fidelity_lexer.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_lexer.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_lexer.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) module Trivia...
35.244805
94
0.661201
4454b3d2513439897727bd6cb3435b09a2df0a8f
20,606
ml
OCaml
agreg/Chapeaux.ml
doc22940/notebooks-2
6a7bdec5ed2195005d64ca1f9eaf6613d68fb8ca
[ "MIT" ]
102
2016-06-25T09:30:00.000Z
2022-03-24T21:02:49.000Z
agreg/Chapeaux.ml
Jimmy-INL/notebooks
ccf5ebc11131f56305c484cfd4556f4bcf63c19b
[ "MIT" ]
34
2016-06-26T12:21:30.000Z
2021-04-06T09:19:49.000Z
agreg/Chapeaux.ml
Jimmy-INL/notebooks
ccf5ebc11131f56305c484cfd4556f4bcf63c19b
[ "MIT" ]
44
2017-05-13T23:54:56.000Z
2021-07-17T15:34:24.000Z
(* This OCaml script was exported from a Jupyter notebook using an open-source software (under the MIT License) written by @Naereen from https://github.com/Naereen/Jupyter-Notebook-OCaml This software is still in development, please notify me of a bug at https://github.com/Naereen/Jupyter-Notebook-OCaml/issues/new if y...
41.882114
4,662
0.692129
44509246f773b24498c8aca72df1654816074ede
29,874
ml
OCaml
src/pattern_resolver.ml
dmbaturin/timere
6bf8c0697c511687556ffa24899219d416321fcc
[ "MIT" ]
null
null
null
src/pattern_resolver.ml
dmbaturin/timere
6bf8c0697c511687556ffa24899219d416321fcc
[ "MIT" ]
null
null
null
src/pattern_resolver.ml
dmbaturin/timere
6bf8c0697c511687556ffa24899219d416321fcc
[ "MIT" ]
null
null
null
open Date_time_components module Search_param = struct type t = { search_using_tz_offset_s : int; start : Time.Date_time'.t; end_inc : Time.Date_time'.t; } let make ~search_using_tz_offset_s ~search_using_tz ((start, end_exc) : Time.Interval'.t) : t = { search_using_tz_offset_s; ...
39
84
0.697697
448ada5ee9f41df75bf620979b9e354b02bb8cd7
1,275
ml
OCaml
src/parser_utils/signature_utils.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-12-18T19:19:16.000Z
2018-12-18T19:19:16.000Z
src/parser_utils/signature_utils.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
null
null
null
src/parser_utils/signature_utils.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-11-26T06:49:40.000Z
2018-11-26T06:49:40.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Flow_ast_visitor module Procedure_decider = struct class decider = object(this) inherit [bool, Loc.t] visitor ~init:true ...
26.020408
77
0.63451
4475cc72cac4ae2d28a8931e1e4b51127294ce91
25,653
ml
OCaml
Optician-Standalone/program/src/cmdline.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
1
2020-02-22T12:30:30.000Z
2020-02-22T12:30:30.000Z
Optician-Standalone/program/src/cmdline.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
null
null
null
Optician-Standalone/program/src/cmdline.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
null
null
null
open Stdlib open Pp open Lens_put open Regexcontext open Lenscontext open Gen_exs open Gen open Lang open Consts open Typing open Program_utilities open Boom_lang open Eval open Converter open Normalized_lang open String_utilities open Lens_utilities let _ = Random.self_init exception Arg_exception type driver_mode ...
33.100645
154
0.63821
44685d2bbd038b4d90d050debca3caa5cfbb22bd
9,959
ml
OCaml
coq/proofs/redexpr.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/proofs/redexpr.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/proofs/redexpr.ml
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/ *********...
35.315603
109
0.667939
44839ce39b774beeb4ba32ea9bf749b771e0ab52
9,609
ml
OCaml
x86/proofs/bignum_half_p521.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
33
2021-03-11T16:12:01.000Z
2022-03-06T17:01:18.000Z
x86/proofs/bignum_half_p521.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
8
2021-09-06T12:58:47.000Z
2022-01-03T16:43:09.000Z
x86/proofs/bignum_half_p521.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
4
2021-03-11T19:28:16.000Z
2021-12-12T23:40:44.000Z
(* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "LICENSE" file ...
50.046875
196
0.586221
8aa447a3e71fb7c681c8db1ec38761a33ff76d88
11,303
ml
OCaml
duniverse/dune_/src/dune_engine/install.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/dune_/src/dune_engine/install.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/dune_/src/dune_engine/install.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
open! Stdune open Import module Dune_section = Section (* The path after the man section mangling done by opam-installer. This roughly follows [add_man_section_dir] in [src/format/opamFile.ml] in opam. *) module Dst : sig type t val to_string : t -> string val add_prefix : string -> t -> t val to_install...
29.131443
80
0.586128
4490db59e798a21f804372419fc03c48e1b2a2a2
808
ml
OCaml
coq/topbin/coqtop_bin.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/topbin/coqtop_bin.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/topbin/coqtop_bin.ml
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/ *********...
47.529412
74
0.404703
44998b81279c2d686c60c1990aea499eeec60628
7,924
ml
OCaml
src/state/heaps/context/context_heaps.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/state/heaps/context/context_heaps.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
src/state/heaps/context/context_heaps.ml
dmitryvinn/flow-1
9ef203b34fd36fe390467456cbd0ce6c4920522e
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Utils_js (****************** shared context heap *********************) module MasterContextHeap = SharedMem.WithCache ...
29.567164
100
0.704695
d2d52961b56056065a3d3b7876047ebfd9369a06
7,640
ml
OCaml
data/derived/comb/progs/unify/prog0327.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/prog0327.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0327.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.620209
148
0.675524
8a7054253284841df27b11ab2687fd506eee97e4
71
ml
OCaml
src/stages/typesystem/typesystem.ml
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
src/stages/typesystem/typesystem.ml
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
src/stages/typesystem/typesystem.ml
DiningPhilosophersCo/ligo
31e66141c8a6fc8442769a1b851c73610288281d
[ "MIT" ]
null
null
null
module Types = Types module Shorthands = Shorthands module Misc = Misc
17.75
30
0.788732
448868ec90db3bce2fca0595144d0fa7f32087ea
29,835
ml
OCaml
hack/typing/typing_compare.ml
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
1
2015-10-01T01:50:43.000Z
2015-10-01T01:50:43.000Z
hack/typing/typing_compare.ml
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
null
null
null
hack/typing/typing_compare.ml
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
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. * *) (***********...
40.813953
86
0.597654
8a069e2d37df196514d5a57c8f2d34a2302f9b8c
13,069
ml
OCaml
lib/bap_image/bap_table.ml
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
lib/bap_image/bap_table.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
lib/bap_image/bap_table.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
open Core_kernel open Bap_types.Std open Or_error module Mem = struct include Bap_memory module T = struct type nonrec t = t type repr = addr [@@deriving sexp] let repr m = min_addr m let compare m1 m2 = Addr.compare (repr m1) (repr m2) let sexp_of_t t = [%sexp_of:repr] (repr t) let t_of_...
29.8379
81
0.623919
8adb3c87666584dcdc43aeb3c2aa2b60cbf8d32a
575
ml
OCaml
data/derived/comb/progs/unify/prog8215.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/prog3425.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3425.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let carry x y = (x * y) / 10;; let remainder x y = (x * y) mod 10;; let rec mulByDigit i l = if (i = 0) || (i > 9) then [] else (match List.rev l with | [] -> [] | h::t -> (match t with | [] -> if (i * h) > 10 then [carry i h] @ [remainder i h] else [] | h'::t' -> ...
26.136364
76
0.37913