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
aa86d6c337ac181cd154fe2083bae31abecf0014
2,908
ml
OCaml
lib_lwt/multipart_form_lwt.ml
anmonteiro/multipart_form
a2402bcde3b044454de5c8610405cca9cfc8ab79
[ "MIT" ]
null
null
null
lib_lwt/multipart_form_lwt.ml
anmonteiro/multipart_form
a2402bcde3b044454de5c8610405cca9cfc8ab79
[ "MIT" ]
null
null
null
lib_lwt/multipart_form_lwt.ml
anmonteiro/multipart_form
a2402bcde3b044454de5c8610405cca9cfc8ab79
[ "MIT" ]
1
2021-09-04T08:01:42.000Z
2021-09-04T08:01:42.000Z
open Multipart_form open Lwt.Infix let stream ?(bounds = 10) ~identify stream content_type = let output, push = Lwt_stream.create () in let q = Queue.create () in let fresh_id = let r = ref 0 in fun () -> incr r ; !r in let tbl = Hashtbl.create 0x10 in let emitters header = let id = f...
35.463415
95
0.603851
bca0aeae2622a068a801ce4a4fad4b33f8085d9b
13,849
ml
OCaml
src/typing/destructuring.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/typing/destructuring.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/typing/destructuring.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "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. *) (* Destructuring visitor for tree-shaped patterns, parameteric over an action f to perform at the leaves. A type for the pattern...
39.011268
101
0.608203
bcf887488805b9318690a5012865dc3402f1963e
2,717
mly
OCaml
2018/hw3/parser.mly
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
36
2017-09-18T07:34:58.000Z
2021-04-12T10:51:15.000Z
2018/hw3/parser.mly
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
4
2019-09-10T07:21:43.000Z
2019-09-19T11:07:31.000Z
2018/hw3/parser.mly
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
4
2017-09-28T11:37:48.000Z
2022-03-07T03:08:30.000Z
/* * SNU 4190.310 Programming Languages * * K- Interpreter */ %{ type declLet = Val of string * K.K.exp | Fun of string * string list * K.K.exp exception EmptyBinding exception ParsingError let rec desugarLet: declLet * K.K.exp -> K.K.exp = fun (l, e) -> match l with Val(x, e') ->...
25.157407
106
0.541406
aa95c19757b8c1bee97865d3def41947b61a43cf
71,989
mli
OCaml
tests/idempotency/lwt/core/lwt.mli
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
166
2020-08-11T15:49:10.000Z
2022-03-23T17:28:36.000Z
tests/idempotency/lwt/core/lwt.mli
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
305
2020-08-12T07:41:01.000Z
2022-03-25T06:33:14.000Z
tests/idempotency/lwt/core/lwt.mli
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
19
2020-08-30T14:25:33.000Z
2022-03-21T07:58:43.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. *) (** Asynchronous programming with promises. A {b promise} is a placeholder for a single value which might take a long time to compute. Speaking rough...
36.879611
110
0.664351
440d0e73e28f27efca1d75edf6b94434cbc1f743
1,312
mli
OCaml
test/interface/golden/product/Box.mli
LumiGuide/ocaml-export
7f803eb961851ceb4853fae0e741378d86237d2b
[ "BSD-3-Clause" ]
13
2018-02-16T08:30:21.000Z
2021-06-15T21:38:32.000Z
test/interface/golden/product/Box.mli
plow-technologies/reason-export
752167f5df37d43534d27d9f63bb512eec1e750d
[ "BSD-3-Clause" ]
10
2018-01-17T02:10:28.000Z
2019-04-23T21:56:43.000Z
test/interface/golden/product/Box.mli
plow-technologies/reason-export
752167f5df37d43534d27d9f63bb512eec1e750d
[ "BSD-3-Clause" ]
1
2021-07-03T20:02:22.000Z
2021-07-03T20:02:22.000Z
type 'a0 innerBox = { ibA : 'a0 ; ibS : string ; ibX : int } val encodeInnerBox : ('a0 -> Js_json.t) -> 'a0 innerBox -> Js_json.t val decodeInnerBox : (Js_json.t -> ('a0, string) Belt.Result.t) -> Js_json.t -> ('a0 innerBox, string) Belt.Result.t type outerBox = | OuterBox of (Person.person) innerBox val ...
23.854545
120
0.681402
aa0e6f245fd1fdb1611e4ebf1fa0fc3238663285
16,017
ml
OCaml
APS3/eval.ml
walidsadat/APS
68e4473c4d74c15746ea758808c6edce9f492cd6
[ "MIT" ]
null
null
null
APS3/eval.ml
walidsadat/APS
68e4473c4d74c15746ea758808c6edce9f492cd6
[ "MIT" ]
null
null
null
APS3/eval.ml
walidsadat/APS
68e4473c4d74c15746ea758808c6edce9f492cd6
[ "MIT" ]
null
null
null
open Ast type valeur = Valeur of int | Closure of closure | RecClosure of recClosure | ProcClosure of procClosure | RecProcClosure of recProcClosure | Adresse of int | Block of int and closure = sexpr * (valeur list -> env) and recClosure = (valeur -> closure) and procClosure = (cmd list * (val...
52.003247
190
0.433602
aa4e401feb5fbd23d4e3d1127139adffc7dcfdf0
4,838
ml
OCaml
infer/src/nullsafe/InheritanceRule.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
4
2020-06-16T14:40:24.000Z
2021-07-28T18:02:26.000Z
infer/src/nullsafe/InheritanceRule.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
25
2021-02-08T13:49:24.000Z
2022-02-28T03:34:19.000Z
infer/src/nullsafe/InheritanceRule.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "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 type violation = {base: Nullability.t; overridden: Nullability.t} [@@deriving compare] type type_role = Param | Ret mo...
42.069565
101
0.670938
aa4c749f330f5d0b57b36864ca5ed0d50a127a7b
2,374
mli
OCaml
vendors/tezos-modded/src/lib_signer_backends/ledger.mli
web-vertalo/ligo
153bf691992580f4d163f4e8129292f7759efd5b
[ "MIT" ]
null
null
null
vendors/tezos-modded/src/lib_signer_backends/ledger.mli
web-vertalo/ligo
153bf691992580f4d163f4e8129292f7759efd5b
[ "MIT" ]
null
null
null
vendors/tezos-modded/src/lib_signer_backends/ledger.mli
web-vertalo/ligo
153bf691992580f4d163f4e8129292f7759efd5b
[ "MIT" ]
1
2021-08-18T16:15:52.000Z
2021-08-18T16:15:52.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
55.209302
79
0.519377
bcc29d8d330171dc1bbaee31163841f21efa4cb6
1,584
ml
OCaml
duet/evalLink.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
25
2016-10-10T13:52:45.000Z
2021-12-15T07:49:04.000Z
duet/evalLink.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
3
2016-02-10T14:03:46.000Z
2019-08-18T13:59:53.000Z
duet/evalLink.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
20
2016-02-10T13:46:19.000Z
2022-02-18T16:02:16.000Z
(** Implementation of Tarjan's EVAL-LINK-UPDATE data structure (from "Applications of Path Compression on Balanced Trees"). *) exception Not_in_pc module Make (Elem : Hashtbl.HashedType) (Val : Srk.Algebra.Semigroup) : sig type t type node val link : t -> Elem.t -> Elem.t -> unit val eval : t -> Elem.t -> ...
26.4
75
0.585859
bc7be1b7461fdb834fd33c026610a6fb44ce41e0
1,427
ml
OCaml
example/socket.ml
taneliang/async
6a0157e751b198f7dd42d5be3d45d0c0c4cc5099
[ "MIT" ]
null
null
null
example/socket.ml
taneliang/async
6a0157e751b198f7dd42d5be3d45d0c0c4cc5099
[ "MIT" ]
null
null
null
example/socket.ml
taneliang/async
6a0157e751b198f7dd42d5be3d45d0c0c4cc5099
[ "MIT" ]
null
null
null
open Core open Async module Socket = Unix.Socket let printf = Print.printf let port = 10_000 let doit () = let s = Socket.bind_inet (Socket.create Socket.Type.tcp) (Socket.Address.Inet.create_bind_any ~port) in don't_wait_for ( match%map Socket.accept (Socket.listen s) with | `Socket_closed -...
29.122449
76
0.568325
bccbb630e090f0ed1a585bfafff5d15dc898cb0f
325
ml
OCaml
data/derived/comb/progs/unify/prog4393.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/prog4393.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4393.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 first = List.length l1 in let sec = List.length l2 in if first < sec then ((List.append (clone 0 (sec - first)) l1), l2) else if first > sec then List.append l1 ((clone 0 (first - sec)) :: l2) else (l1, l...
25
67
0.572308
44b558deb39bb073b11058a63783f83d373d75b9
1,811
ml
OCaml
CodeHawk/CHJ/jchlib/jCHTransform.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHJ/jchlib/jCHTransform.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHJ/jchlib/jCHTransform.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Java Analyzer Author: Arnaud Venet ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2020 Kestrel Technology LLC Permission is her...
42.116279
84
0.651022
aa16a38a732719dbe37f03d7e7e53d73d5c6e2c1
1,791
mli
OCaml
src/tables/tables.mli
netkat-lang/netkat
5822459fbfae0f0e9e0622843ebe30208f8bf189
[ "MIT" ]
1
2019-11-27T16:43:14.000Z
2019-11-27T16:43:14.000Z
src/tables/tables.mli
netkat-lang/netkat
5822459fbfae0f0e9e0622843ebe30208f8bf189
[ "MIT" ]
null
null
null
src/tables/tables.mli
netkat-lang/netkat
5822459fbfae0f0e9e0622843ebe30208f8bf189
[ "MIT" ]
null
null
null
(** Forwarding Tables. A forwarding table is an alternative representation of a relation R ⊆ \{0,1\}^n x \{0,1\}^n. For an IDD on [2n] variables, a row in a forwarding table is a pair [(P,A)] where [P] is a pattern on which the input string is matched and [A] is a set of modifications which is app...
39.8
95
0.652708
aa52ada9ce66cf74485e88fabe91bb21f9daf815
20,124
ml
OCaml
hphp/hack/src/decl/decl_linearize.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_linearize.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_linearize.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Decl_defs open Reordered_argument_collections open Shallow_decl_defs open Typing_defs (* Module...
37.335807
84
0.650566
bc9a6f1b7aeeb4a5e199d65a1889b71044e20ad4
2,763
ml
OCaml
test/react/test_lwt_event.ml
osener/lwt
2b825c9c551025dd12656088c061a283ce710bb9
[ "MIT" ]
null
null
null
test/react/test_lwt_event.ml
osener/lwt
2b825c9c551025dd12656088c061a283ce710bb9
[ "MIT" ]
null
null
null
test/react/test_lwt_event.ml
osener/lwt
2b825c9c551025dd12656088c061a283ce710bb9
[ "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. *) open Test open Lwt let suite = suite "lwt_event" [ test "to_stream" (fun () -> let event, push = React.E.create () in let stream = Lwt_re...
27.63
88
0.497647
bc5bd93b14d152d585dcdef04db32acd026169cd
198
ml
OCaml
ml-proto/src/spec/error.ml
binji/spec
3d2937ada38bccea01ce38c362ca42586ece75d2
[ "Apache-2.0" ]
1
2021-05-29T15:58:33.000Z
2021-05-29T15:58:33.000Z
ml-proto/src/spec/error.ml
binji/spec
3d2937ada38bccea01ce38c362ca42586ece75d2
[ "Apache-2.0" ]
null
null
null
ml-proto/src/spec/error.ml
binji/spec
3d2937ada38bccea01ce38c362ca42586ece75d2
[ "Apache-2.0" ]
null
null
null
(* * (c) 2015 Andreas Rossberg *) exception Error of Source.region * string let warn at m = prerr_endline (Source.string_of_region at ^ ": warning: " ^ m) let error at m = raise (Error (at, m))
22
78
0.671717
bc93319c71cf33c15b21a52cb2fcb57099ac50c7
1,591
ml
OCaml
benchmarks/sexp/sexp_benchmark.ml
yallop/ocaml-asp
29a13a54dce754cd573a2057c3abdc358b6e35c1
[ "MIT" ]
82
2018-09-06T16:35:27.000Z
2022-03-22T18:21:27.000Z
benchmarks/sexp/sexp_benchmark.ml
yallop/ocaml-asp
29a13a54dce754cd573a2057c3abdc358b6e35c1
[ "MIT" ]
null
null
null
benchmarks/sexp/sexp_benchmark.ml
yallop/ocaml-asp
29a13a54dce754cd573a2057c3abdc358b6e35c1
[ "MIT" ]
2
2020-09-29T12:59:01.000Z
2021-05-14T09:32:08.000Z
(* * Copyright (c) 2018 Neelakantan Krishnaswami and Jeremy Yallop * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. *) let filenames = [ (262144, "../../../benchmarks/sexp/data/sexp.262144"); (524288, "../../../benchmarks/sexp/data/sexp.524288"); (78...
33.851064
100
0.685104
bcfb866f61a027d08ac2731446a09847da16eae5
1,791
ml
OCaml
libraries/route53/lib/createHostedZone.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/createHostedZone.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/createHostedZone.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = CreateHostedZoneRequest.t type output = CreateHostedZoneResponse.t type error = Errors_internal.t let service = "route53" 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))) ...
30.87931
98
0.571189
bce9ae7852859dd66d3932245b2153ed4d6708c8
1,299
mli
OCaml
third_party/flow/src/typing/type_inference_js.mli
bowlofstew/kythe
23a3524de3924901ffaba4b8bcab8abe96de6f3a
[ "Apache-2.0" ]
1
2021-04-24T08:18:15.000Z
2021-04-24T08:18:15.000Z
third_party/flow/src/typing/type_inference_js.mli
bowlofstew/kythe
23a3524de3924901ffaba4b8bcab8abe96de6f3a
[ "Apache-2.0" ]
3
2020-12-31T09:08:34.000Z
2021-09-28T05:42:02.000Z
third_party/flow/src/typing/type_inference_js.mli
moul/kythe
2e198cc818981fc6cffa14d8263fda3a33da6429
[ "Apache-2.0" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Reason_j...
27.638298
80
0.675135
440304bb150fa7839294d474d0627bd9764f0633
9,832
ml
OCaml
oldsrc2/gameobj.ml
icefoxen/games-melee
a32ed0a237ea196258856e79c7017041e4a3df91
[ "MIT" ]
null
null
null
oldsrc2/gameobj.ml
icefoxen/games-melee
a32ed0a237ea196258856e79c7017041e4a3df91
[ "MIT" ]
null
null
null
oldsrc2/gameobj.ml
icefoxen/games-melee
a32ed0a237ea196258856e79c7017041e4a3df91
[ "MIT" ]
null
null
null
(* gameobj.ml Game object. It moves, it accelerates and decellerates, it bounces off other things and doesn't go through them, it is affected by gravity. ...how much physics do I want to implement in these? The model really ISN'T like Edge of Infinity... Yeah, it's a lot simpler. ...damn. What ab...
27.540616
87
0.645545
aa5e75375751a0ee9f1549248056dfca3c8da2d9
4,422
ml
OCaml
vendor/base_quickcheck/src/test.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
10
2019-06-25T03:35:58.000Z
2021-12-17T02:52:42.000Z
vendor/base_quickcheck/src/test.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
3
2018-07-29T20:04:27.000Z
2022-01-03T11:24:59.000Z
vendor/base_quickcheck/src/test.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Base include Test_intf module Config = struct module Seed = struct type t = | Nondeterministic | Deterministic of string [@@deriving sexp_of] end module Potentially_infinite_sequence = struct type 'a t = 'a Sequence.t let sexp_of_t sexp_of_elt sequence = let prefix, suff...
31.81295
90
0.653098
bc97442a811dec139e7132d35efe6dd0f647b981
202
mli
OCaml
libraries/autoscaling/lib/describeTags.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/autoscaling/lib/describeTags.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/autoscaling/lib/describeTags.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DescribeTagsType.t type output = TagsType.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
28.857143
74
0.727723
aa298d08b16d4ab31cfcc06de98c44b748e1a716
3,529
ml
OCaml
hphp/hack/src/server/identifySymbolService.ml
ebernhardson/hiphop-php
c9c4855f07e947d703dc1eb414ec95100e7d63cb
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/identifySymbolService.ml
ebernhardson/hiphop-php
c9c4855f07e947d703dc1eb414ec95100e7d63cb
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/identifySymbolService.ml
ebernhardson/hiphop-php
c9c4855f07e947d703dc1eb414ec95100e7d63cb
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Core ty...
30.95614
80
0.707849
44e273d1e268eb6290bd53cf6e0ead9805537319
129
ml
OCaml
benchmarks/C/iter/sol257.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/iter/sol257.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/iter/sol257.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
let rec iter : (int * (int -> int)) -> (int -> int) =fun (n,f) -> if n <= 0 then fun x -> x else fun x -> f(iter(n-1, f) x)
25.8
52
0.465116
aa74ee2222e4550484dda5dcb8cbf57c35549b45
2,079
ml
OCaml
site-lisp/proof-general/hol-light/TacticRecording/printutils.ml
akitsukikiritsugu/MY-EMACS-CONF
004699cf2f3e88c217a346e1ab6f79bf4178fd05
[ "BSD-2-Clause-FreeBSD" ]
8
2018-11-09T12:47:38.000Z
2019-04-20T16:39:12.000Z
site-lisp/proof-general/hol-light/TacticRecording/printutils.ml
akitsukikiritsugu/MY-EMACS-CONF
004699cf2f3e88c217a346e1ab6f79bf4178fd05
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
site-lisp/proof-general/hol-light/TacticRecording/printutils.ml
akitsukikiritsugu/MY-EMACS-CONF
004699cf2f3e88c217a346e1ab6f79bf4178fd05
[ "BSD-2-Clause-FreeBSD" ]
4
2018-11-09T10:16:36.000Z
2018-11-09T13:02:39.000Z
(* ========================================================================== *) (* PRINTER UTILITIES (HOL LIGHT) *) (* - Various basic utilities used in writing the exporters *) (* ...
33.532258
80
0.491582
aa6e02d3ebed19c40722636dba31abb6b8a8aed2
752
mli
OCaml
coq/plugins/ssr/ssrvernac.mli
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/plugins/ssr/ssrvernac.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/plugins/ssr/ssrvernac.mli
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* <O___,, * (see CREDITS file for the list of authors) *) (* \VV/ *********...
62.666667
75
0.386968
8affcc9f36fec834ec846701ce98b4a7f885392c
901
mli
OCaml
src/write.mli
janestreet/hardcaml_waveterm
c9f2c2b292b972c44ab196f2e67206b4177cfe69
[ "MIT" ]
7
2019-12-16T03:00:06.000Z
2021-12-19T17:29:09.000Z
src/write.mli
janestreet/hardcaml_waveterm
c9f2c2b292b972c44ab196f2e67206b4177cfe69
[ "MIT" ]
2
2021-07-11T05:58:22.000Z
2022-01-05T23:36:55.000Z
src/write.mli
janestreet/hardcaml_waveterm
c9f2c2b292b972c44ab196f2e67206b4177cfe69
[ "MIT" ]
2
2021-01-20T14:53:35.000Z
2021-12-17T02:50:52.000Z
open Base (** stylting functions *) type styler = { start : (string -> unit) -> unit (** called at start *) ; set : (string -> unit) -> Draw.Style.t -> unit (** called for each element *) ; eol : (string -> unit) -> unit (** called at end of each line *) ; finish : (string -> unit) -> unit (** called at end *)...
29.064516
82
0.644839
bc50b9d1d3a7c07db01c8c96be099529b7fc734b
10,428
ml
OCaml
Kernel.ml
hielis/sdf_3d_operations
a12f845f97807b6209a11c93763f42d413843603
[ "MIT" ]
null
null
null
Kernel.ml
hielis/sdf_3d_operations
a12f845f97807b6209a11c93763f42d413843603
[ "MIT" ]
null
null
null
Kernel.ml
hielis/sdf_3d_operations
a12f845f97807b6209a11c93763f42d413843603
[ "MIT" ]
null
null
null
let constant = 10000000.0;; let max a b = if (a > b) then a else b;; let min a b = if (b > a) then a else b;; module Box : sig type 'a box = {x : 'a * 'a ; y : 'a * 'a ; z : 'a * 'a} val box : ('a * 'a * 'a) -> ('a * 'a * 'a) -> 'a box val vertices_list : 'a box -> ('a * 'a * 'a) list val max_box : 'a box -> ...
40.575875
228
0.486862
bcda0b174c5d0e924d4db8b34909429ea42fb1ff
33,292
ml
OCaml
analysis/test/preprocessingTest.ml
SKalt/pyre-check
cc8557f91a23c8819ef781bc978efff6465d9184
[ "MIT" ]
null
null
null
analysis/test/preprocessingTest.ml
SKalt/pyre-check
cc8557f91a23c8819ef781bc978efff6465d9184
[ "MIT" ]
null
null
null
analysis/test/preprocessingTest.ml
SKalt/pyre-check
cc8557f91a23c8819ef781bc978efff6465d9184
[ "MIT" ]
null
null
null
(** Copyright (c) 2016-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Ast open Analysis open Expression open Statement open Pyre open Test let test_expand_relative_imports _ = l...
22.632223
98
0.543043
aa921aaac7479a99645d7cbedc11b62406efbad4
3,721
ml
OCaml
src/lib_client_commands/client_report_commands.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
1
2021-11-03T08:21:08.000Z
2021-11-03T08:21:08.000Z
src/lib_client_commands/client_report_commands.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/lib_client_commands/client_report_commands.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
4
2021-04-27T15:00:34.000Z
2021-09-26T21:50:01.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
40.89011
79
0.500941
bce88ad3bde02af31bff208e6f60373488c9431c
2,903
ml
OCaml
hphp/hack/src/typing/typing_defs_flags.ml
the-storm/hhvm
8c173160bb6b8e56277a04d00efe4c1a234b605c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_defs_flags.ml
the-storm/hhvm
8c173160bb6b8e56277a04d00efe4c1a234b605c
[ "PHP-3.01", "Zend-2.0" ]
1
2021-04-19T09:53:42.000Z
2021-04-19T09:53:42.000Z
hphp/hack/src/typing/typing_defs_flags.ml
isabella232/hhvm
6345684c993c575db92cbe18cd739147bfa0296f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude type fun_type_flags = int type fun_param_flags = int (* Is this bit set in the flags? *) let is_s...
25.919643
95
0.695832
aa1aa9cfe7111495b40699b394146495b502d5fa
3,386
ml
OCaml
eval/sherrloc/easyocaml++/debugger/show_source.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/debugger/show_source.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/debugger/show_source.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Jerome Vouil...
38.91954
90
0.560248
aa5d879410506f008e551630f7bedb632fae3817
2,505
ml
OCaml
src/lib/coda_state/genesis_protocol_state.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/coda_state/genesis_protocol_state.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
src/lib/coda_state/genesis_protocol_state.ml
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Coda_base let create_with_custom_ledger ~genesis_consensus_state ~genesis_ledger ~(genesis_constants : Genesis_constants.t) = let protocol_constants = genesis_constants.protocol in let negative_one_protocol_state_hash = Protocol_state.(hash (negative_one ~genesis_ledger ~protocol_cons...
39.140625
77
0.798802
aa71ac5c80ad56388a51129e3531044e65cc9a96
10,211
ml
OCaml
src/lib/staged_ledger/pre_diff_info.ml
nireno/coda
40c1957c788a021c7bc25cf1e0b8ea8d5770d2d9
[ "Apache-2.0" ]
null
null
null
src/lib/staged_ledger/pre_diff_info.ml
nireno/coda
40c1957c788a021c7bc25cf1e0b8ea8d5770d2d9
[ "Apache-2.0" ]
null
null
null
src/lib/staged_ledger/pre_diff_info.ml
nireno/coda
40c1957c788a021c7bc25cf1e0b8ea8d5770d2d9
[ "Apache-2.0" ]
null
null
null
open Core open Coda_base open Signature_lib module type S = sig module Error : sig type t = | Bad_signature of User_command.t | Coinbase_error of string | Insufficient_fee of Currency.Fee.t * Currency.Fee.t | Unexpected of Error.t [@@deriving sexp] val to_string : t -> string ...
33.69967
93
0.668691
aa42fda713dce1ef42efd4b0dfea252a1ff05eac
3,260
ml
OCaml
src/irmin-pack/conf.ml
zshipko/irmin
733df281a9e56c4e7e7dc5efa92d86abcfc3a012
[ "0BSD" ]
null
null
null
src/irmin-pack/conf.ml
zshipko/irmin
733df281a9e56c4e7e7dc5efa92d86abcfc3a012
[ "0BSD" ]
2
2020-09-24T07:16:37.000Z
2021-01-07T18:03:13.000Z
src/irmin-pack/conf.ml
zshipko/irmin
733df281a9e56c4e7e7dc5efa92d86abcfc3a012
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2018-2021 Tarides <contact@tarides.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AN...
35.053763
80
0.746626
aa821c084ad5c563595e3f16007202ebef7fb154
63,921
mli
OCaml
lib/node/gen/child_process.mli
smorimoto/js-bindings
0812fbba1ccd616a4591b5c3da89b8623c0e5d85
[ "MIT" ]
1
2021-04-15T05:05:29.000Z
2021-04-15T05:05:29.000Z
lib/node/gen/child_process.mli
smorimoto/js-bindings
0812fbba1ccd616a4591b5c3da89b8623c0e5d85
[ "MIT" ]
null
null
null
lib/node/gen/child_process.mli
smorimoto/js-bindings
0812fbba1ccd616a4591b5c3da89b8623c0e5d85
[ "MIT" ]
null
null
null
[@@@ocaml.warning "-7-11-32-33-39"] [@@@js.implem [@@@ocaml.warning "-7-11-32-33-39"]] open Es2020 open Globals open Events open Net module Internal : sig module AnonymousInterfaces : sig type anonymous_interface_0 = [ `anonymous_interface_0 ] intf [@@js.custom { of_js = Obj.magic; to_js = Obj.magic }] ...
27.457474
79
0.621924
aaa65e7291468621940ef497472a8b85341bfe80
3,628
ml
OCaml
src/proto_010_PtGRANAD/lib_protocol/test/main.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_010_PtGRANAD/lib_protocol/test/main.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_010_PtGRANAD/lib_protocol/test/main.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> *) ...
51.828571
79
0.55871
bced370c3ed9f4d879b8199430940980f1164d8b
999
ml
OCaml
data/derived/comb/progs/unify/prog5487.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/prog0595.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0595.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr | Power of expr* expr | Op of expr* expr* expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine n -> ...
28.542857
73
0.426426
aa54aa3a03b7e87a31ef80fb7fdaa8e2be7e785d
35,423
ml
OCaml
genas3.ml
Atry/haxe
8f61a0bb833b625bdd8934677a0a54cc157d869a
[ "MIT" ]
null
null
null
genas3.ml
Atry/haxe
8f61a0bb833b625bdd8934677a0a54cc157d869a
[ "MIT" ]
null
null
null
genas3.ml
Atry/haxe
8f61a0bb833b625bdd8934677a0a54cc157d869a
[ "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,...
28.589992
208
0.600853
aa25b8758316bd160e1768c2923d9e6d96e61a4e
1,349
ml
OCaml
src/ocaml-3.12.0/otherlibs/lablGL/glLight.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
1
2015-01-27T00:11:26.000Z
2015-01-27T00:11:26.000Z
src/ocaml-3.12.0/otherlibs/lablGL/glLight.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/otherlibs/lablGL/glLight.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(* $Id: glLight.ml,v 1.7 2003/04/24 16:42:59 erickt Exp $ *) open Gl type color_material = [`emission|`ambient|`diffuse|`specular|`ambient_and_diffuse] external color_material : face:face -> color_material -> unit = "ml_glColorMaterial" type fog_param = [ `mode of [`linear|`exp|`exp2] | `density of flo...
24.981481
68
0.684211
44c2082e0b6dcd5f2d76f9baa052da98ac1b2766
8,191
ml
OCaml
src/lib/filtered_external_transition/filtered_external_transition.ml
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
2
2021-07-11T21:51:34.000Z
2021-07-29T14:33:45.000Z
src/lib/filtered_external_transition/filtered_external_transition.ml
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
1
2021-03-06T14:52:32.000Z
2021-03-06T14:52:32.000Z
src/lib/filtered_external_transition/filtered_external_transition.ml
obazl/mina
0612b142738c68155e9a9bba16cd3787bba4feed
[ "Apache-2.0" ]
1
2021-12-18T20:29:13.000Z
2021-12-18T20:29:13.000Z
open Core_kernel open Mina_base open Mina_transition open Signature_lib module Fee_transfer_type = struct [%%versioned module Stable = struct module V1 = struct type t = Fee_transfer | Fee_transfer_via_coinbase let to_latest = Fn.id end end] end module Transactions = struct [%%versioned ...
35.925439
78
0.639238
aaa87e7c3409a1aad0712cc3ec3cc6de6476ebd6
210
mli
OCaml
libraries/kms/lib/listAliases.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/kms/lib/listAliases.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/kms/lib/listAliases.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = ListAliasesRequest.t type output = ListAliasesResponse.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
19.090909
85
0.761905
aa2f6e8672a626a939af845b2d78c80d59368ef2
256,134
ml
OCaml
hphp/hack/src/parser/full_fidelity_validated_syntax.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_validated_syntax.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_validated_syntax.ml
Atry/hhvm
f195d3d81b52586d9b9fa2f17c05fe1bb68bcc3e
[ "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. An additional * directory. * ** * * THIS FILE IS @generated; DO NOT EDIT IT * To regenerate this file, run * * buc...
39.636955
81
0.674112
aa90069f474e9a575972c377284b3e375ae91c42
4,259
ml
OCaml
hphp/hack/src/typing/typing_check_service.ml
mrliao/hhvm
4ed1b985c6fad79376994726490bccdcba3699a6
[ "PHP-3.01", "Zend-2.0" ]
1
2015-05-31T17:15:47.000Z
2015-05-31T17:15:47.000Z
hphp/hack/src/typing/typing_check_service.ml
mrliao/hhvm
4ed1b985c6fad79376994726490bccdcba3699a6
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_check_service.ml
mrliao/hhvm
4ed1b985c6fad79376994726490bccdcba3699a6
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Utils ...
33.273438
80
0.601315
afe058dac4cbf8bbb0aba4a91beb6defb61e6782
386
mli
OCaml
src/vmm_trie.mli
kit-ty-kate/albatross
4c619ee15cc21bc71fdc8da625b64c38cfdb81aa
[ "ISC" ]
26
2020-12-03T08:32:25.000Z
2022-03-31T22:40:43.000Z
src/vmm_trie.mli
kit-ty-kate/albatross
4c619ee15cc21bc71fdc8da625b64c38cfdb81aa
[ "ISC" ]
43
2020-11-27T13:53:33.000Z
2022-03-31T09:21:49.000Z
src/vmm_trie.mli
kit-ty-kate/albatross
4c619ee15cc21bc71fdc8da625b64c38cfdb81aa
[ "ISC" ]
2
2020-12-02T14:45:30.000Z
2021-05-09T08:16:36.000Z
(* (c) 2018 Hannes Mehnert, all rights reserved *) open Vmm_core type 'a t val empty : 'a t val insert : Name.t -> 'a -> 'a t -> 'a t * 'a option val remove : Name.t -> 'a t -> 'a t val find : Name.t -> 'a t -> 'a option val collect : Name.t -> 'a t -> (Name.t * 'a) list val all : 'a t -> (Name.t * 'a) list va...
19.3
67
0.510363
aa04c754f1014cf7e224aeadf8b17353ff935d11
1,269
mli
OCaml
code/src/netcgi2/netcgi_test.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/netcgi2/netcgi_test.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/netcgi2/netcgi_test.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
(* netcgi_test.mli Copyright (C) 2005-2006 Christophe Troestler email: Christophe.Troestler@umh.ac.be WWW: http://math.umh.ac.be/an/ This library is free software; see the file LICENSE for more information. This library is distributed in the hope that it will be useful, but WITHOUT ANY WA...
29.511628
76
0.696612
bcffa5c17039801a85455cef42f42848fb5276bc
367
ml
OCaml
result/cafe2/iter/sub38/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/cafe2/iter/sub38/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/cafe2/iter/sub38/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec iter ((n : int), (f : int -> int)) : int -> int = let compose (f : int -> int) (g : int -> int) (x : int) : int = f (g x) in if n <= 0 then fun (__s6 : int) -> __s6 else compose f (iter (n - 1, f)) let (_ : int) = iter (0, fun (x : int) -> 2 + x) 0 let (_ : int) = iter (1, fun (x : int) -> 2 + x) 0 let ...
33.363636
76
0.463215
aa9efadec9a09c6b9051c6959a613549e51ae3cd
169
ml
OCaml
src/js/util.ml
xvw/quasar
0fb95bccfd509aa958adabff80c215080a9448f7
[ "MIT" ]
25
2016-09-15T21:22:46.000Z
2020-10-27T21:07:58.000Z
src/js/util.ml
xvw/quasar
0fb95bccfd509aa958adabff80c215080a9448f7
[ "MIT" ]
18
2016-09-15T13:49:18.000Z
2019-06-16T23:50:54.000Z
src/js/util.ml
xvw/quasar
0fb95bccfd509aa958adabff80c215080a9448f7
[ "MIT" ]
1
2021-08-14T16:43:11.000Z
2021-08-14T16:43:11.000Z
let id x = x let flip f x y = f y x let const x _ = x let compose f g x = g (f x) let ( $ ) f x = f x let ( %> ) = compose let ( <% ) f g x = f (g x) let ( % ) = ( <% )
18.777778
27
0.449704
aa7ac3f8b61eceffc92b4d4a905912d9fc463af9
1,999
mli
OCaml
pyrePath.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
pyrePath.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
pyrePath.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
1
2021-02-20T13:09:30.000Z
2021-02-20T13:09:30.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core type path = string [@@deriving compare, eq, show, sexp, hash] module AbsolutePath : sig type t [@@deriving compare, e...
20.822917
85
0.685343
aa9e604e42334742fd7653dc13517471d10f73e7
231
mli
OCaml
libraries/elasticache/lib/decreaseReplicaCount.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticache/lib/decreaseReplicaCount.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/elasticache/lib/decreaseReplicaCount.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DecreaseReplicaCountMessage.t type output = DecreaseReplicaCountResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
33
74
0.761905
aaa627e4eb468662d48e2614316428ae7238fe14
3,119
mli
OCaml
gospel/test/ocaml-source-mli/char.mli
enieber/vocal
f1e0930863d4f9c44370d5bb9b435727b7c8efcf
[ "MIT" ]
null
null
null
gospel/test/ocaml-source-mli/char.mli
enieber/vocal
f1e0930863d4f9c44370d5bb9b435727b7c8efcf
[ "MIT" ]
null
null
null
gospel/test/ocaml-source-mli/char.mli
enieber/vocal
f1e0930863d4f9c44370d5bb9b435727b7c8efcf
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
42.726027
78
0.548573
aa84287228ebc8d9ffca0584472ad0a6a6a6dd57
1,985
ml
OCaml
pa_forstep.ml
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
1
2020-11-02T04:11:52.000Z
2020-11-02T04:11:52.000Z
pa_forstep.ml
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
pa_forstep.ml
mjambon/mjambon2016
bd644e0a42cacba56d0260982614d1ef5c8305b3
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
(* Public Domain. Use at your own risk! Author: Martin Jambon <martin_jambon@emailuser.net> This is an extension of the "for" loop construct with an optional "step" specification: for i = n1 to n2 step n3 do expr done for i = n1 downto n2 step n3 do expr done The step specifier is an int w...
26.824324
75
0.606549
bc2ed16c1e6bc4b855cd2e68d1cdd2d7b2cca34b
4,622
ml
OCaml
src/lidar.ml
LaurentMazare/ocaml-rplidar
2c37539dc08c98026864011169176195246fc43e
[ "Apache-2.0" ]
2
2019-08-30T05:07:00.000Z
2020-07-11T20:11:57.000Z
src/lidar.ml
LaurentMazare/ocaml-rplidar
2c37539dc08c98026864011169176195246fc43e
[ "Apache-2.0" ]
null
null
null
src/lidar.ml
LaurentMazare/ocaml-rplidar
2c37539dc08c98026864011169176195246fc43e
[ "Apache-2.0" ]
null
null
null
open Base type t = { fd : Unix.file_descr } let really_write fd str = let len = String.length str in let current = ref 0 in while !current < len do let written = Unix.write_substring fd str !current (len - !current) in current := !current + written done let really_read fd len = let buffer = Bytes.c...
25.821229
85
0.622241
aa2c0bba43d7bf09275f5f86e3d8fe4ab688aa8c
87
ml
OCaml
data/sp14/clusters/0123.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14_min/clusters/0123.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14/clusters/0123.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
IteG (BopG EmptyG EmptyG) (ListG [EmptyG]) (ListG [EmptyG]) if v = 0 then [1] else [0]
29
59
0.643678
bca3ad7e8fa66c4a03b7ebd3e80dbc6991c30340
27,023
ml
OCaml
sledge/src/exec.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
4
2020-06-16T14:40:24.000Z
2021-07-28T18:02:26.000Z
sledge/src/exec.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
25
2021-02-08T13:49:24.000Z
2022-02-28T03:34:19.000Z
sledge/src/exec.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "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. *) (** Symbolic Execution *) open Fol [@@@warning "+9"] module Fresh : sig (** Monad to manage generation of fresh variables. A v...
32.362874
77
0.593198
aa7380cd2d7c1784d2d5fad9c344e8fa04c96aca
2,151
ml
OCaml
lib/b_time.ml
idkjs/bogue
57ac324e8fe0af62ae69b75d828a0e11ee9679c8
[ "0BSD" ]
96
2019-02-11T13:16:53.000Z
2022-03-26T00:47:44.000Z
lib/b_time.ml
idkjs/bogue
57ac324e8fe0af62ae69b75d828a0e11ee9679c8
[ "0BSD" ]
9
2019-08-28T14:17:43.000Z
2022-02-21T16:00:19.000Z
lib/b_time.ml
idkjs/bogue
57ac324e8fe0af62ae69b75d828a0e11ee9679c8
[ "0BSD" ]
8
2020-11-20T20:05:16.000Z
2022-03-29T18:03:45.000Z
open Tsdl;; open B_utils;; type t = int (* 1/1000 sec *) let (+) t1 t2 = t1 + t2;; let (-) t1 t2 = t1 - t2;; let add t1 t2 = t1 + t2;; let length t1 t2 = t2 - t1;; let compare (t1 : t) (t2 : t) = Stdlib.compare t1 t2;; let (>>) (t1 : t) (t2 : t) = t1 > t2;; let float t = float t;; (* Do not use ! it is NOT...
27.576923
97
0.540214
bcab9c1b8b2f24ec34aeec832ad6fef6a4488898
1,207
mli
OCaml
hphp/hack/src/providers/decl_service_client.mli
2BitSalute/hhvm
da549f6612ca8531398a24c44dfc1027707da633
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/decl_service_client.mli
2BitSalute/hhvm
da549f6612ca8531398a24c44dfc1027707da633
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/decl_service_client.mli
2BitSalute/hhvm
da549f6612ca8531398a24c44dfc1027707da633
[ "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. * *) (* `t` represents a decl service, i.e. something where you can make requests for decls and get back answers. Often these reque...
31.763158
76
0.748964
bcf12e75a8f9a2fc0bf73bfe7afb947e96f58016
334
ml
OCaml
lib/node/example/download_file.ml
tmattio/js-bindings
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
18
2021-04-14T02:52:09.000Z
2021-11-14T17:08:09.000Z
lib/node/example/download_file.ml
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
4
2021-04-14T16:23:13.000Z
2021-05-22T00:00:55.000Z
lib/node/example/download_file.ml
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
1
2021-04-14T15:29:24.000Z
2021-04-14T15:29:24.000Z
open Node let () = let file = Fs.create_write_stream "file.jpg" () in let (_ : Http.ClientRequest.t) = Https.get ~url:(`String "https://i3.ytimg.com/vi/J---aiyznGQ/mqdefault.jpg") ~callback:(fun ~res -> let (_ : Stream.Writable.t) = Http.IncomingMessage.pipe res file () in ()) ...
23.857143
78
0.571856
aa5ab6bbdfe3742686aed492ccee8cfe84830f4a
4,138
ml
OCaml
data/sp14/3124.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/3124.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/3124.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
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...
18.309735
79
0.5087
aa63d57f8d0dd46d413f2799dee915a5f9325f58
226
mli
OCaml
libraries/ec2/lib/getConsoleScreenshot.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ec2/lib/getConsoleScreenshot.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ec2/lib/getConsoleScreenshot.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = GetConsoleScreenshotRequest.t type output = GetConsoleScreenshotResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
20.545455
85
0.778761
aa6651a62da0fb501f2e62f291edb84a000811c7
25,277
ml
OCaml
src/ocaml/typing/tast_mapper.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
null
null
null
src/ocaml/typing/tast_mapper.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
null
null
null
src/ocaml/typing/tast_mapper.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
33.523873
78
0.618349
bc396b5152eab4fcdd7cc90272420859688c370d
1,487
ml
OCaml
src/mappable.ml
kit-ty-kate/travesty
640909813a1141607ae663c415e72390bf95f753
[ "MIT" ]
10
2018-12-13T14:49:44.000Z
2022-01-25T02:37:35.000Z
src/mappable.ml
kit-ty-kate/travesty
640909813a1141607ae663c415e72390bf95f753
[ "MIT" ]
12
2019-02-05T08:59:10.000Z
2021-07-23T14:06:09.000Z
src/mappable.ml
kit-ty-kate/travesty
640909813a1141607ae663c415e72390bf95f753
[ "MIT" ]
1
2020-07-06T01:00:22.000Z
2020-07-06T01:00:22.000Z
(* This file is part of 'travesty'. Copyright (c) 2018 by Matt Windsor 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 ...
42.485714
77
0.745797
bc59c8719db531630c0323c4f11862ca87bfc407
171
ml
OCaml
common/failure.ml
brick-lang/kekka
7ede659ffb49959b140e6ab0a72d38ff6c63311b
[ "Apache-2.0" ]
14
2015-09-14T11:13:35.000Z
2019-11-14T16:08:02.000Z
common/failure.ml
brick-lang/kekka
7ede659ffb49959b140e6ab0a72d38ff6c63311b
[ "Apache-2.0" ]
null
null
null
common/failure.ml
brick-lang/kekka
7ede659ffb49959b140e6ab0a72d38ff6c63311b
[ "Apache-2.0" ]
null
null
null
let assertwith msg test x = if test then x else failwith msg let todo msg = failwith ("todo: " ^ msg) let match_fail msg = failwith ("unmatched pattern: " ^ msg)
17.1
40
0.672515
aa37a3792f33354e5563f2933152e84473f72d21
2,404
mli
OCaml
src/services/inference/merge_service.mli
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
null
null
null
src/services/inference/merge_service.mli
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
null
null
null
src/services/inference/merge_service.mli
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "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 duration = float type 'a unit_result = ('a, ALoc.t * Error_message.internal_error) result type merge_result =...
28.282353
81
0.755408
aa3c3258d6bce8019768be1419eae02edf8c9c22
1,028
ml
OCaml
test/xref2/lib/prelude.ml
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
234
2018-03-21T20:12:53.000Z
2022-03-24T22:49:21.000Z
test/xref2/lib/prelude.ml
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
685
2018-03-23T11:09:19.000Z
2022-03-29T09:19:23.000Z
test/xref2/lib/prelude.ml
giltho/odoc
816710ac528b910d18f6bf661fe998ce0856508c
[ "ISC" ]
62
2018-04-16T18:03:20.000Z
2022-03-30T11:29:33.000Z
(* Prelude file for Mdx tests *) #require "odoc.xref2";; #require "odoc.xref_test";; open Odoc_xref2;; open Odoc_xref_test;; (* Printers for names *) #install_printer Common.root_pp;; #install_printer Odoc_model.Names.ValueName.fmt;; #install_printer Odoc_model.Names.ModuleName.fmt;; #install_printer Odoc_model.Nam...
36.714286
60
0.822957
aab28c546e7741d449c8aa5bff142f2d112625c8
5,059
ml
OCaml
test/testeval.ml
CraigFe/minicaml
c07f017a47a011ed44c5bc85f25325b7e34cba66
[ "MIT" ]
1
2021-07-14T19:59:04.000Z
2021-07-14T19:59:04.000Z
test/testeval.ml
CraigFe/minicaml
c07f017a47a011ed44c5bc85f25325b7e34cba66
[ "MIT" ]
null
null
null
test/testeval.ml
CraigFe/minicaml
c07f017a47a011ed44c5bc85f25325b7e34cba66
[ "MIT" ]
null
null
null
open Minicaml.Types open Util module A = Alcotest let plus_one = (Lambda("n", Plus(Symbol "n", NumInt 1))) let fib = "fun n -> if n < 2 then n else (fib (n - 1)) + (fib (n - 2))" let test_constants () = checkeval (NumInt 32) (EvtInt 32); checkeval (Boolean true) (EvtBool true); checkeval (Unit) (EvtUnit) le...
41.809917
117
0.466891
aa2ddb8fb34ef012d916a07170cdfde8158ad76f
317
ml
OCaml
benchmarks/C/max/sol144.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/max/sol144.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/max/sol144.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
let rec fold_for_Pro1 f l = match l with [] -> raise (Failure "The array is empty") | hd::[] -> hd | hd::tl -> f hd (fold_for_Pro1 f tl);; (*********************) (* Problem 1 *) (*********************) let rec max : int list -> int = fun lst -> fold_for_Pro1 (fun x y -> if (x>y) then x else y) lst;;
24.384615
68
0.48265
aa3c014de3c5b223cdfc8b3d2492cc0f7df073ac
2,891
ml
OCaml
hphp/hack/src/utils/config_file/config_file.ml
azjezz/hhvm
bb38fc533db545c1e9be9b5c373c759cd28b0f33
[ "PHP-3.01", "Zend-2.0" ]
2
2019-09-01T19:40:10.000Z
2019-10-18T13:30:30.000Z
hphp/hack/src/utils/config_file/config_file.ml
azjezz/hhvm
bb38fc533db545c1e9be9b5c373c759cd28b0f33
[ "PHP-3.01", "Zend-2.0" ]
1
2018-12-16T15:39:15.000Z
2018-12-16T15:39:16.000Z
hphp/hack/src/utils/config_file/config_file.ml
azjezz/hhvm
bb38fc533db545c1e9be9b5c373c759cd28b0f33
[ "PHP-3.01", "Zend-2.0" ]
1
2019-01-04T09:54:09.000Z
2019-01-04T09:54:09.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 Core_kernel open Sys_utils type t = string SMap.t let file_path_relative_to_repo_root = ".hhconfig" (* * C...
31.769231
75
0.671048
aa7d4b6864df9ac59ebe30f4fb9e9b6c65314a9e
1,022
ml
OCaml
hphp/hack/src/typing/typing_expand.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
2
2019-09-01T19:40:10.000Z
2019-10-18T13:30:30.000Z
hphp/hack/src/typing/typing_expand.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2018-12-16T15:39:15.000Z
2018-12-16T15:39:16.000Z
hphp/hack/src/typing/typing_expand.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2018-11-17T04:11:10.000Z
2018-11-17T04:11:10.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 Core_kernel (*****************************************************************************) (* Gets rid of all...
32.967742
79
0.504892
aa5a4a2daf17a14eaad41480ddf6568890533503
30,033
ml
OCaml
src/typing/merge_js.ml
dominicfraser/flow
ebbc1ca4f148973329affd6d7ed179964aa8bd3f
[ "MIT" ]
null
null
null
src/typing/merge_js.ml
dominicfraser/flow
ebbc1ca4f148973329affd6d7ed179964aa8bd3f
[ "MIT" ]
null
null
null
src/typing/merge_js.ml
dominicfraser/flow
ebbc1ca4f148973329affd6d7ed179964aa8bd3f
[ "MIT" ]
null
null
null
(** * Copyright (c) 2014-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 RequireMap = MyMap.Make (struct (* If file A.js imports module 'Foo', this will be ('Foo' * A.js) *) type t = string * File_k...
38.90285
100
0.693071
bc6e9264eaa0f6d0a0401d88961e70135c61d5eb
521
ml
OCaml
data/derived/comb/progs/unify/prog3907.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/prog3907.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3907.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | Thresh (a,b,c,d) -> eval (a, x, y) | Times (a,b) -> (eval (a, x, y)) ( *. ) (eval (b, x, ...
23.681818
63
0.479846
aa18c05e545f111eb97249abfe4a2dfc301d618d
5,658
ml
OCaml
src/lib_shell_services/stat_services.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_shell_services/stat_services.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/lib_shell_services/stat_services.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
1
2021-06-04T09:31:48.000Z
2021-06-04T09:31:48.000Z
(*****************************************************************************) (* Open Source License *) (* Copyright (c) 2018 Nomadic Labs, <contact@nomadic-labs.com> *) (* *) ...
40.705036
79
0.536055
bc95137c41dcede7c53c3d26544d491063b938a5
376
ml
OCaml
src/main.ml
yawaramin/wsh-bs-test
64abd641d9b017b0ae0bff552f8075acf777eb4e
[ "MIT" ]
null
null
null
src/main.ml
yawaramin/wsh-bs-test
64abd641d9b017b0ae0bff552f8075acf777eb4e
[ "MIT" ]
null
null
null
src/main.ml
yawaramin/wsh-bs-test
64abd641d9b017b0ae0bff552f8075acf777eb4e
[ "MIT" ]
null
null
null
let () = let module WScript = Wsh.WScript in let module XMLHTTP = Wsh.XMLHTTP in let req = XMLHTTP.make () in XMLHTTP.open' ~meth:`get ~url:"http://www.example.com" req; XMLHTTP.onreadystatechange req (fun () -> if XMLHTTP.ReadyState.(get req = completed) then WScript.echo (XMLHTTP.responseText re...
25.066667
61
0.680851
aa309a2522a3038c380cf78657aee1fca8dcc379
3,323
ml
OCaml
OCaml/StackWithModule.ml
Ukasz09/Functional-and-OOP-Programming
b1f1dbb38588a93c490d98e5fae00f16df87d67d
[ "MIT" ]
1
2019-11-21T12:45:19.000Z
2019-11-21T12:45:19.000Z
OCaml/StackWithModule.ml
Ukasz09/Functional-and-OOP-Programming
b1f1dbb38588a93c490d98e5fae00f16df87d67d
[ "MIT" ]
null
null
null
OCaml/StackWithModule.ml
Ukasz09/Functional-and-OOP-Programming
b1f1dbb38588a93c490d98e5fae00f16df87d67d
[ "MIT" ]
null
null
null
(* signature - prevent encapsulation *) (* signature - for unmutable Stack *) module type STACK_UNMUTABLE = sig type 'a t exception Empty of string val create: unit -> 'a t val push: 'a * 'a t -> 'a t val top: 'a t -> 'a val pop: 'a t -> 'a t val isEmpty: 'a t -> bool end;; (* Unmutable stack ADT by mo...
30.768519
110
0.593741
bcce5175d0de23d07d19e62a510f2fb6bc84546a
6,147
ml
OCaml
lib_web/job.ml
copy/ocurrent
02a3ee8dba9fba5b63939643c2cf6ca4c4c2dfbf
[ "Apache-2.0" ]
null
null
null
lib_web/job.ml
copy/ocurrent
02a3ee8dba9fba5b63939643c2cf6ca4c4c2dfbf
[ "Apache-2.0" ]
null
null
null
lib_web/job.ml
copy/ocurrent
02a3ee8dba9fba5b63939643c2cf6ca4c4c2dfbf
[ "Apache-2.0" ]
null
null
null
open Tyxml.Html open Astring open Lwt.Infix let sep = "@@LOG@@" let max_log_chunk_size = 102400L (* 100K at a time *) let read ~start path = let ch = open_in_bin (Fpath.to_string path) in Fun.protect ~finally:(fun () -> close_in ch) @@ fun () -> let len = LargeFile.in_channel_length ch in let (+) = Int64.ad...
32.183246
108
0.605499
aa09172b404a9e8d89a37ef3de3ad7143e4c639c
14,993
ml
OCaml
bench/irmin-pack/trace_replay.ml
gs0510/irmin
d6701925517d2d9874fe9d77a9a1fad905c72bd3
[ "0BSD" ]
null
null
null
bench/irmin-pack/trace_replay.ml
gs0510/irmin
d6701925517d2d9874fe9d77a9a1fad905c72bd3
[ "0BSD" ]
null
null
null
bench/irmin-pack/trace_replay.ml
gs0510/irmin
d6701925517d2d9874fe9d77a9a1fad905c72bd3
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2018-2021 Tarides <contact@tarides.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AN...
36.747549
80
0.62896
aaa8cd7296c3e1e9528318d59f68e6b126dc281e
463
ml
OCaml
src/ctypes/std_view_stubs.ml
rgrinberg/ocaml-ctypes
7d134c19ca4719a227790a0ec494b85bfc1ec44a
[ "MIT" ]
null
null
null
src/ctypes/std_view_stubs.ml
rgrinberg/ocaml-ctypes
7d134c19ca4719a227790a0ec494b85bfc1ec44a
[ "MIT" ]
null
null
null
src/ctypes/std_view_stubs.ml
rgrinberg/ocaml-ctypes
7d134c19ca4719a227790a0ec494b85bfc1ec44a
[ "MIT" ]
null
null
null
(* * Copyright (c) 2013 Jeremy Yallop. * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. *) (* Stubs for standard views. *) (* Convert a C string to an OCaml string *) external string_of_cstring : Ctypes_raw.voidp -> int -> string = "ctypes_string_of_cstring" ...
27.235294
66
0.727862
bcf81021af9a4f29e9945eef956bbcabd93165cd
6,919
ml
OCaml
src/bin_node/node_identity_command.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/bin_node/node_identity_command.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/bin_node/node_identity_command.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> *) ...
42.975155
80
0.600087
44f7e77fbf8a9c3875ccce39d320caf665333455
30,156
ml
OCaml
template-coq/src/quoter.ml
MetaCoq/template-coq
3d2dea1e4e940b0643cb470ce12895fc2364af7c
[ "MIT" ]
26
2017-10-20T15:05:34.000Z
2018-11-23T20:37:01.000Z
template-coq/src/quoter.ml
Template-Coq/template-coq
42dba8651f40c30be9ce211e22a68c493b10dba1
[ "MIT" ]
54
2017-12-09T05:05:04.000Z
2018-11-15T11:17:08.000Z
template-coq/src/quoter.ml
MetaCoq/template-coq
3d2dea1e4e940b0643cb470ce12895fc2364af7c
[ "MIT" ]
7
2017-10-20T14:06:28.000Z
2018-10-26T09:02:35.000Z
open Names open Entries open Declarations open Pp open Tm_util open Reification let inductive_sort mip = match mip.mind_arity with | RegularArity s -> s.mind_sort | TemplateArity ar -> ar.template_level let cast_prop = ref (false) (* whether Set Template Cast Propositions is on, as needed for erasure in Certi...
46.039695
146
0.648594
aaa6e502cdb9e5c6cf7fcee807b832677bb527b5
723
ml
OCaml
bootstrap/test/basis/array/test_map2_mapi2.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
1
2021-08-13T04:54:39.000Z
2021-08-13T04:54:39.000Z
bootstrap/test/basis/array/test_map2_mapi2.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
1
2020-02-14T19:21:40.000Z
2020-02-14T19:21:40.000Z
bootstrap/test/basis/array/test_map2_mapi2.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
null
null
null
open! Basis.Rudiments open! Basis open Array open Format let test () = let pp_str ppf t = Format.fprintf ppf "%S" t in let test_map2 uarr0 uarr1 = begin let sarr = map2 uarr0 uarr1 ~f:(fun elm0 elm1 -> asprintf "(%a,%a)" Uns.pp elm0 Uns.pp elm1 ) in let sarr2 = mapi2 uarr0 uarr1 ~f:(fun i elm0 el...
24.931034
62
0.558783
449be87f58df88627e65e0c2a2fc80b54b0cbe27
171,269
ml
OCaml
bootstrap/4.07.1/pa_parser.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
2
2018-02-12T20:06:48.000Z
2018-04-09T14:08:38.000Z
bootstrap/4.07.1/pa_parser.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
12
2017-08-30T10:44:32.000Z
2019-08-02T11:33:33.000Z
bootstrap/4.07.1/pa_parser.ml
rlepigre/ocaml-earley-ocaml
60cf1e63f30b670d0bc4bc22cdff36b453c502e3
[ "CECILL-B" ]
1
2020-04-25T05:58:29.000Z
2020-04-25T05:58:29.000Z
open Asttypes open Parsetree open Longident open Pa_ocaml_prelude open Pa_lexing open Helper type action = | Default | Normal of expression | DepSeq of ((expression -> expression) * expression option * expression) let occur id e = Iter.do_local_ident := ((fun s -> if s = id then raise Exit)); (try (ma...
54.788548
93
0.242642
bced8bb14cd31beb02fd5bd84c88859152c30732
2,656
ml
OCaml
implementation/ssh/add_key.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
3
2016-12-13T07:50:48.000Z
2018-06-04T06:26:57.000Z
implementation/ssh/add_key.ml
mgrabovsky/cryptoverif-py
a9705ea625eb1cf3b12854ce34547c60a63bf17d
[ "CECILL-B" ]
null
null
null
implementation/ssh/add_key.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é * * ...
45.016949
151
0.630271
44e78acf427f7a1e78972591ac179bd304843701
92,145
mly
OCaml
miniml/interp/parser.mly
roptat/camlboot
2692b14a4e685387194556e511fe23057d25c6c3
[ "MIT" ]
48
2018-09-29T11:40:26.000Z
2021-11-14T17:13:48.000Z
miniml/interp/parser.mly
roptat/camlboot
2692b14a4e685387194556e511fe23057d25c6c3
[ "MIT" ]
48
2019-01-09T23:16:18.000Z
2021-12-13T09:13:56.000Z
miniml/interp/parser.mly
roptat/camlboot
2692b14a4e685387194556e511fe23057d25c6c3
[ "MIT" ]
5
2019-05-20T06:05:05.000Z
2021-09-22T16:56:46.000Z
/**************************************************************************/ /* */ /* OCaml */ /* */ /* ...
34.732378
87
0.592827
4427c9b5916c2cc54a69950ee840447a0514a8e5
7,032
ml
OCaml
src/lib_shell_services/chain_services.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
src/lib_shell_services/chain_services.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
src/lib_shell_services/chain_services.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
33.169811
79
0.58632
aa9c4b7a1581920b24b55e1bb73746b639c2669e
81
ml
OCaml
data/derived/comb/progs/unify/prog3384.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/prog3384.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3384.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec listReverse l = match l with | [] -> [] | h::t -> [(listReverse t) h];;
27
79
0.530864
aa1f6ba7ca38a58a718ef69ca8cf3192bb84400e
4,158
ml
OCaml
source/analysis/test/annotatedBasesTest.ml
dmitryvinn/pyre-check-1
b5e7c164397825ac32851bfe79a6f1a03399ed4c
[ "MIT" ]
1
2022-02-10T10:51:32.000Z
2022-02-10T10:51:32.000Z
source/analysis/test/annotatedBasesTest.ml
dmitryvinn/pyre-check-1
b5e7c164397825ac32851bfe79a6f1a03399ed4c
[ "MIT" ]
null
null
null
source/analysis/test/annotatedBasesTest.ml
dmitryvinn/pyre-check-1
b5e7c164397825ac32851bfe79a6f1a03399ed4c
[ "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 Core open OUnit2 open Ast open Analysis open Expression open Statement open Test module StatementClass = Class let ( !! ) c...
29.489362
99
0.633959
bc9d3d7bf51426e2830ce908284faed615eadac9
11,858
ml
OCaml
lib/eqaf.ml
mirage/eqaf
995118811fca25f1203eedb540b6fa71f08668e5
[ "MIT" ]
31
2018-12-09T19:04:15.000Z
2021-09-14T13:23:29.000Z
lib/eqaf.ml
mirage/eqaf
995118811fca25f1203eedb540b6fa71f08668e5
[ "MIT" ]
20
2018-11-19T10:22:07.000Z
2022-02-17T10:16:34.000Z
lib/eqaf.ml
dinosaure/eqaf
a05ca240b213c30129bba27ad3586ef40ee7ca53
[ "MIT" ]
6
2019-10-11T12:05:37.000Z
2021-04-13T17:12:15.000Z
let[@inline always] char_chr ch = (* Char.chr contains a branch on [ch] and a plt indirection, this * implementation ensures well-formedness by construction and avoids that: *) Char.unsafe_chr (ch land 0xff) let[@inline] get x i = String.unsafe_get x i |> Char.code (* XXX(dinosaure): we use [unsafe_get] to avo...
30.405128
86
0.581127
bca7229eaa0eaa9f96f81f04b21021db6d015cbf
12,124
ml
OCaml
lib/slacklogger.ml
kayceesrk/slacklogger
38d91ad68528350842c664b987fd7689d46d23a5
[ "0BSD" ]
5
2016-07-26T02:46:17.000Z
2019-05-14T11:45:02.000Z
lib/slacklogger.ml
kayceesrk/slacklogger
38d91ad68528350842c664b987fd7689d46d23a5
[ "0BSD" ]
null
null
null
lib/slacklogger.ml
kayceesrk/slacklogger
38d91ad68528350842c664b987fd7689d46d23a5
[ "0BSD" ]
null
null
null
open Lwt.Infix type rtm_stream = { msg_stream : string Lwt_stream.t; close_connection : unit -> unit; token : string } type info = {id : string; name : string} let section = Lwt_log.Section.make "slacklogger" let human_of_timestamp ts = match Ptime.(int_of_string ts |> Span.of_in...
33.677778
116
0.600709
44558299546f3df5ffa5d2e7aab99a285b0968f6
418
ml
OCaml
src/lib/transaction_snark/test/zkapp_uri/zkapp_uri.ml
Vrrinderjit/mina
1d9ef9cc8c14f6965e7b9c835c8127acbbd2a045
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_snark/test/zkapp_uri/zkapp_uri.ml
Vrrinderjit/mina
1d9ef9cc8c14f6965e7b9c835c8127acbbd2a045
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_snark/test/zkapp_uri/zkapp_uri.ml
Vrrinderjit/mina
1d9ef9cc8c14f6965e7b9c835c8127acbbd2a045
[ "Apache-2.0" ]
null
null
null
open Mina_base module Test_input : Transaction_snark_tests.Test_zkapp_update.Input_intf = struct let test_description = "zkapp_uri" let snapp_update = { Party.Update.dummy with zkapp_uri = Zkapp_basic.Set_or_keep.Set "https://www.minaprotocol.com" } end let%test_module "Update account snapp URI" = ...
24.588235
76
0.763158
aa96c8014fac2a07e228fecb7bf8664b4177d865
1,784
mli
OCaml
src/api.mli
zapashcanon/sociaml-facebook-api
a4a0045ce767893a5127b9b23f9a65df09c1d506
[ "ISC" ]
1
2016-10-26T20:21:55.000Z
2016-10-26T20:21:55.000Z
src/api.mli
zapashcanon/sociaml-facebook-api
a4a0045ce767893a5127b9b23f9a65df09c1d506
[ "ISC" ]
null
null
null
src/api.mli
zapashcanon/sociaml-facebook-api
a4a0045ce767893a5127b9b23f9a65df09c1d506
[ "ISC" ]
1
2019-09-09T02:16:02.000Z
2019-09-09T02:16:02.000Z
module S (Req : Request.S) : sig type ('a, 'b) paged = { response : 'a; next : (unit -> (('a, 'b) paged, 'b) Request.response) option; previous : (unit -> (('a, 'b) paged, 'b) Request.response) option; } type 'a paged_response = (('a, 'b) paged, 'b) Request.response constraint 'b = [ Tiny_json.Jso...
23.168831
81
0.56222
bc5af1e48b5b71be16344d63b7795e16eb1ff6e2
5,779
ml
OCaml
adventure/adventure.ml
adept/gph2020
1f8786691c8b6e22e6af24f8304540bee02ae6b5
[ "MIT" ]
null
null
null
adventure/adventure.ml
adept/gph2020
1f8786691c8b6e22e6af24f8304540bee02ae6b5
[ "MIT" ]
null
null
null
adventure/adventure.ml
adept/gph2020
1f8786691c8b6e22e6af24f8304540bee02ae6b5
[ "MIT" ]
null
null
null
open! Core module Cardtype = struct type t = Action end module Card = struct type t = | Bazaar | City | Crossroads | Lost_City | Smithy | Unknown let context_dependent t = match t with | Bazaar -> false | City -> false | Crossroads -> true | Lost_City -> false | ...
22.226923
120
0.5475
aa754f4c376eba4a2f32b0e4b08e66fb76aa47d2
16,530
ml
OCaml
src/codegen/gencommon/overloadingConstructor.ml
davidbruce/haxe-lang
b621c5270979ffd24d21e9e61561eae8ef6f3400
[ "MIT" ]
10
2015-09-16T16:35:08.000Z
2020-07-03T13:03:36.000Z
src/codegen/gencommon/overloadingConstructor.ml
davidbruce/haxe-lang
b621c5270979ffd24d21e9e61561eae8ef6f3400
[ "MIT" ]
2
2015-10-30T17:17:57.000Z
2020-05-21T00:44:28.000Z
src/codegen/gencommon/overloadingConstructor.ml
davidbruce/haxe-lang
b621c5270979ffd24d21e9e61561eae8ef6f3400
[ "MIT" ]
5
2015-09-20T18:06:13.000Z
2022-03-16T11:22:18.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...
37.146067
218
0.672898
aa37acf9224741b568b3c3a8b1a53702b2feff10
11,677
ml
OCaml
infer/src/nullsafe/ErrorRenderingUtils.ml
bauer-matthews/infer
b7f0886eb6e95acf4f1986fde72bea7c6395ba0f
[ "MIT" ]
null
null
null
infer/src/nullsafe/ErrorRenderingUtils.ml
bauer-matthews/infer
b7f0886eb6e95acf4f1986fde72bea7c6395ba0f
[ "MIT" ]
null
null
null
infer/src/nullsafe/ErrorRenderingUtils.ml
bauer-matthews/infer
b7f0886eb6e95acf4f1986fde72bea7c6395ba0f
[ "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 module UserFriendlyNullable = struct type t = ExplainablyNullable of explainably_nullable_kind | Un...
41.703571
122
0.711998
443dd4a9c477dd0c9a3949244f946a0b030378e7
312
mli
OCaml
sledge/src/fol/predsym.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
sledge/src/fol/predsym.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
sledge/src/fol/predsym.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
2,225
2015-06-11T16:36:10.000Z
2022-03-31T05:16:59.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. *) (** Uninterpreted Predicate Symbols *) type t [@@deriving compare, equal, sexp] val pp : t pp val uninterp : string -> t
22.285714
66
0.698718
aa3fbd4b6d2e75ed9f65131e90beaa82719925a2
45,052
ml
OCaml
src/parser/flow_ast.ml
hixio-mh/flow-1
4ae06a8bb2124da64823142fd6f5391f472cf7b5
[ "MIT" ]
1
2021-09-20T07:39:05.000Z
2021-09-20T07:39:05.000Z
src/parser/flow_ast.ml
hixio-mh/flow-1
4ae06a8bb2124da64823142fd6f5391f472cf7b5
[ "MIT" ]
null
null
null
src/parser/flow_ast.ml
hixio-mh/flow-1
4ae06a8bb2124da64823142fd6f5391f472cf7b5
[ "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. *) [%%gen (* * An Ocaml implementation of the SpiderMonkey Parser API * https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser...
23.874934
79
0.52011
aa4f998d3abbca63d1911d96f553a076543abcce
528
ml
OCaml
ag_pathanalysis/batteries/examples/snippets/netchan_cat.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2019-12-05T19:47:42.000Z
2021-05-05T13:41:16.000Z
ag_pathanalysis/batteries/examples/snippets/netchan_cat.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
null
null
null
ag_pathanalysis/batteries/examples/snippets/netchan_cat.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2021-04-20T07:44:02.000Z
2021-04-20T08:38:41.000Z
(* Yet another (slower) "cat" implementation, it is just meant to be a showcase for integration with ocamlnet's Netchannels. *) let oc = Netchannels.lift_out (`Rec (new Netchannels.channel_of_output IO.stdout :> Netchannels.rec_out_channel)) let _ = Netchannels.with_in_obj_channel (Netchannels.lif...
27.789474
76
0.670455
4458b61d7ab7534fc0fea318cc3f9dc67cac0c77
481
mli
OCaml
lib/es2019/gen/es2019_symbol.mli
smorimoto/js-bindings
0812fbba1ccd616a4591b5c3da89b8623c0e5d85
[ "MIT" ]
1
2021-04-15T05:05:29.000Z
2021-04-15T05:05:29.000Z
lib/es2019/gen/es2019_symbol.mli
smorimoto/js-bindings
0812fbba1ccd616a4591b5c3da89b8623c0e5d85
[ "MIT" ]
null
null
null
lib/es2019/gen/es2019_symbol.mli
smorimoto/js-bindings
0812fbba1ccd616a4591b5c3da89b8623c0e5d85
[ "MIT" ]
null
null
null
[@@@ocaml.warning "-7-11-32-33-39"] [@@@js.implem [@@@ocaml.warning "-7-11-32-33-39"]] open Es2018 module Internal : sig module AnonymousInterfaces : sig end module Types : sig open AnonymousInterfaces type _Symbol = symbol end end open Internal open AnonymousInterfaces open Types module Symbol : s...
16.586207
73
0.700624
aa754d911fc3b152d0d6a2a47551686c305ff5a3
769
ml
OCaml
bin/format_dune_file.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
11
2020-11-25T14:23:49.000Z
2021-07-22T07:45:09.000Z
bin/format_dune_file.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-07-27T17:35:13.000Z
2020-09-21T11:17:06.000Z
bin/format_dune_file.ml
greedy/dune
1ce1ceaa5eb43a033ee13fb5adb4a4ef135fb9e0
[ "MIT" ]
1
2020-10-05T13:41:44.000Z
2020-10-05T13:41:44.000Z
open Import open Stdune module Format_dune_lang = Dune.Format_dune_lang let doc = "Format dune files" let man = [ `S "DESCRIPTION" ; `P {|$(b,dune format-dune-file) reads a dune file and outputs a formatted version. This is a low-level command, meant to implement editor support for exa...
27.464286
78
0.6658
aa9e1db3b076b299d405729d6c75356cbf8eae7a
2,569
mli
OCaml
bootstrap/src/basis/hash.mli
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/src/basis/hash.mli
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/src/basis/hash.mli
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
(** Hash type. *) open RudimentsInt0 type t = u128 (** Hash type. All bits are i.i.d. uniform variables. *) include FormattableIntf.SMono with type t := t (** Hash state management and hashing. *) module State : sig type t (** Hash state type. *) include FormattableIntf.SMono with type t := t val empty: t...
38.924242
100
0.661347
bc98e0d250f9478bb98868c34e4e47f8f4e74f12
22,448
ml
OCaml
bymc/src/absInterval.ml
konnov/bymc
3cbd7416308f52a1737b544c11648dcba3a8c063
[ "BSD-3-Clause" ]
18
2017-07-13T21:56:26.000Z
2022-01-31T06:16:13.000Z
bymc/src/absInterval.ml
konnov/bymc
3cbd7416308f52a1737b544c11648dcba3a8c063
[ "BSD-3-Clause" ]
null
null
null
bymc/src/absInterval.ml
konnov/bymc
3cbd7416308f52a1737b544c11648dcba3a8c063
[ "BSD-3-Clause" ]
5
2017-06-14T09:47:59.000Z
2021-08-30T15:49:00.000Z
open Printf open Cfg open Spin open SpinIr open SpinIrImp open Smt open Analysis open SkelStruc open Accums open Writer open Debug open AbsBasics open VarRole (* Introduce a placeholder variable for each sub-expression recognized by 'is_shadow_f'. This is extremely useful for the abstractions, when certain exp...
37.66443
104
0.600989