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
17f3e3b0f809cf310f94ffa952c03bada74e5e34
1,012
ml
OCaml
tests/syntax_test.ml
ymyzk/itgl
322935a97c96ed5d34dc994a5eeb9c3805d2aae1
[ "MIT" ]
null
null
null
tests/syntax_test.ml
ymyzk/itgl
322935a97c96ed5d34dc994a5eeb9c3805d2aae1
[ "MIT" ]
null
null
null
tests/syntax_test.ml
ymyzk/itgl
322935a97c96ed5d34dc994a5eeb9c3805d2aae1
[ "MIT" ]
null
null
null
open OUnit2 open Syntax let test_string_of_type = List.map (fun (l, t, e) -> l >:: fun test_ctxt -> assert_equal (string_of_type t) e) [ "bool", TyBool, "bool"; "int", TyInt, "int"; "?", TyDyn, "?"; "int -> bool", TyFun (TyInt, TyBool), "int -> bool"; "int -> ?", TyFun (TyInt, ...
28.914286
86
0.535573
17af2c1bd8bd58d401f5de627244eaf3883b147b
19,184
ml
OCaml
src/lib/transaction_snark/test/multisig_account/multisig_account.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/transaction_snark/test/multisig_account/multisig_account.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/transaction_snark/test/multisig_account/multisig_account.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
open Core open Mina_ledger open Signature_lib open Mina_base open Snark_params open Tick open Pickles_types module U = Transaction_snark_tests.Util module Spec = Transaction_snark.For_tests.Spec module Impl = Pickles.Impls.Step let%test_module "multisig_account" = ( module struct let constraint_constants = U.con...
42.821429
83
0.485926
cd43c000992ad4810b15e4705909431e3725bba6
12,320
ml
OCaml
ast/cinaps/gen_viewer.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
57
2019-05-15T14:23:37.000Z
2021-05-24T19:23:19.000Z
ast/cinaps/gen_viewer.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
53
2019-06-06T16:27:15.000Z
2020-05-14T18:05:50.000Z
ast/cinaps/gen_viewer.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
7
2019-06-03T15:07:32.000Z
2020-04-06T14:06:22.000Z
open Stdppx let string_of_ty ty = Grammar.string_of_ty ~nodify:false ty let variant_viewer_name cname = Ml.id (cname ^ "'const") let wrapper_types grammar = let init = String.Map.empty in List.fold_left ~init grammar ~f:(fun acc (name, kind) -> match (kind : Astlib.Grammar.kind) with | Mono (Ty...
35.402299
81
0.624269
cd4a064ea650cc731016a366e5ab08cb995a32e2
3,271
ml
OCaml
src/irmin-http/s.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
null
null
null
src/irmin-http/s.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
2
2020-09-24T07:16:37.000Z
2021-01-07T18:03:13.000Z
src/irmin-http/s.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2013-2021 Thomas Gazagnaire <thomas@gazagnaire.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDE...
26.168
80
0.637725
17a7977a93d06045988fea136b6ca53a00098310
3,274
ml
OCaml
tests/test-complex/test_complex.ml
KennethAdamMiller/ocaml-ctypes
f503c56e66b6fb78b3eaca1f0b1fce00b6e2ebba
[ "MIT" ]
1
2015-01-21T09:39:37.000Z
2015-01-21T09:39:37.000Z
tests/test-complex/test_complex.ml
cryptosense/ocaml-ctypes
39af905fc8740cc4e5c42ef7864be1d07f8e451d
[ "MIT" ]
null
null
null
tests/test-complex/test_complex.ml
cryptosense/ocaml-ctypes
39af905fc8740cc4e5c42ef7864be1d07f8e451d
[ "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. *) open OUnit2 open Ctypes let testlib = Dl.(dlopen ~filename:"clib/libtest_functions.so" ~flags:[RTLD_NOW]) module Common_tests(S : Cstubs.FOREIGN with type 'a fn = 'a) ...
29.232143
81
0.656384
cd47e57b57e1696f1a22828378014ee9d303aa65
274
ml
OCaml
data/sp14/clusters/0057.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/clusters/0057.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14/clusters/0057.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
IteG (BopG EmptyG EmptyG) (TupleG [EmptyG,EmptyG]) (TupleG [EmptyG,EmptyG]) if diff > 0 then (l1 , List.append (clone 0 diff) l2) else (l1 , l2) if b < a then (l1 , List.append (clone 0 (a - b)) l2) else (l1 , l2)
27.4
75
0.5
17ab19c7448189924e5ba93a8d96adb00d5eebc0
32,563
ml
OCaml
hphp/hack/src/annotated_ast/aast.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/annotated_ast/aast.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/annotated_ast/aast.ml
vulongphan/hhvm
4df5e26141499cd456bb0bae77ce5915ef575a7a
[ "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. * *) include Aast_defs (* Ensure that doc comments are always on a separate line by requiring a lot of padding for in...
28.639402
85
0.582901
cd02a50a3f5f66b95e237008402edc2533ced1c3
29,612
ml
OCaml
lib/math.ml
svungoc/poly-weyl
f3aceefdd92e9e135f31f8954eda40d050edf139
[ "MIT" ]
2
2020-01-21T16:59:01.000Z
2022-02-09T15:11:34.000Z
lib/math.ml
svungoc/poly-weyl
f3aceefdd92e9e135f31f8954eda40d050edf139
[ "MIT" ]
null
null
null
lib/math.ml
svungoc/poly-weyl
f3aceefdd92e9e135f31f8954eda40d050edf139
[ "MIT" ]
null
null
null
(* Some functors for various maths structures *) (* VU NGOC San, V1, 2012 *) (* V2, 2019 *) (* IRMAR, Université de Rennes 1 *) (* Institut Universitaire de France *) let pf = Printf.sprintf exception Not_implemented (* map an option *) let (|?>) o f = match o with | None -> None | Some o -> Some (f o) (* let ...
27.393154
92
0.565413
aa8ded9f3ab569f724af9e7e4cdc7f65ffefa902
277
mli
OCaml
src/dune_engine/cram_test.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
null
null
null
src/dune_engine/cram_test.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
1
2019-09-17T12:49:47.000Z
2019-09-17T12:49:47.000Z
src/dune_engine/cram_test.mli
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
null
null
null
open Import type t = | File of Path.Source.t | Dir of { file : Path.Source.t ; dir : Path.Source.t } val is_cram_suffix : string -> bool val dyn_of_t : t -> Dyn.t val name : t -> string val fname_in_dir_test : string val script : t -> Path.Source.t
14.578947
35
0.613718
cd5c1ec099d0c56018b8cfaed5343f6d50ab86c8
2,231
ml
OCaml
src/stan/stan.ml
VMatthijs/Stanc-OCaml
53134510c41c3e54acd0fcac7a8e2797f7de562e
[ "BSD-3-Clause" ]
1
2018-11-18T18:11:43.000Z
2018-11-18T18:11:43.000Z
src/stan/stan.ml
VMatthijs/Stanc-OCaml
53134510c41c3e54acd0fcac7a8e2797f7de562e
[ "BSD-3-Clause" ]
null
null
null
src/stan/stan.ml
VMatthijs/Stanc-OCaml
53134510c41c3e54acd0fcac7a8e2797f7de562e
[ "BSD-3-Clause" ]
null
null
null
(** The main program. *) let name = "stan" (** The usage message. *) let usage = "Usage: " ^ name ^ " [option] ... [file] ..." (** A list of files to be loaded and run. *) let files = ref [] (** Some example command-line options here *) let options = Arg.align [ ( "--debug-parse" , Arg.Unit (fun () -> De...
31.422535
81
0.619901
176c4c5193a8de29fe7d837fff9db57ea28a810a
32,118
ml
OCaml
src/dune_rules/context.ml
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
null
null
null
src/dune_rules/context.ml
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
null
null
null
src/dune_rules/context.ml
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
null
null
null
open! Dune_engine open! Stdune open Import open Memo.Build.O module Kind = struct module Opam = struct type t = { root : string option ; switch : string } end type t = | Default | Opam of Opam.t let to_dyn : t -> Dyn.t = function | Default -> Dyn.Encoder.string "default" ...
34.059385
80
0.617037
cd6dd15f13b9e73179c4d9d13aa1b434d45782cd
8,054
ml
OCaml
src/lib/transaction_snark/test/zkapp_fuzzy/zkapp_fuzzy.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/transaction_snark/test/zkapp_fuzzy/zkapp_fuzzy.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/transaction_snark/test/zkapp_fuzzy/zkapp_fuzzy.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
open Core open Signature_lib open Mina_base module U = Transaction_snark_tests.Util let logger = Logger.create () let mk_ledgers_and_fee_payers ?(is_timed = false) ~num_of_fee_payers () = let fee_payer_keypairs = Array.init num_of_fee_payers ~f:(fun _ -> Keypair.create ()) in let fee_payer_pks = Array.m...
40.676768
80
0.659424
175f91441c0c506b63faeac5e54782c525492d3a
748
mli
OCaml
hack_parallel/hack_parallel/utils/marshal_tools.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
5
2019-02-14T19:46:47.000Z
2020-01-16T05:48:45.000Z
hack_parallel/hack_parallel/utils/marshal_tools.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
4
2022-02-15T02:42:33.000Z
2022-02-28T01:30:07.000Z
hack_parallel/hack_parallel/utils/marshal_tools.mli
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
2
2019-02-14T19:46:23.000Z
2020-07-13T03:53:04.000Z
(** * 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. * *) exception Inva...
28.769231
80
0.800802
cd09dea219e80d8a4582c5d333bd0160a6ab38b8
3,149
ml
OCaml
src/fix_coinbasepro.ml
dannywillems/ocaml-fix
6fa99ff6972cd328aaa0c0881830800a6350ff36
[ "ISC" ]
15
2015-08-17T16:22:24.000Z
2021-03-18T03:22:15.000Z
src/fix_coinbasepro.ml
dannywillems/ocaml-fix
6fa99ff6972cd328aaa0c0881830800a6350ff36
[ "ISC" ]
1
2020-02-03T16:08:00.000Z
2020-02-03T16:08:00.000Z
src/fix_coinbasepro.ml
dannywillems/ocaml-fix
6fa99ff6972cd328aaa0c0881830800a6350ff36
[ "ISC" ]
2
2019-04-02T13:30:23.000Z
2020-02-03T09:43:11.000Z
open Rresult open Sexplib.Std open Fix open Fixtypes open Field module SelfTradePrevention = struct module T = struct type t = | DecrementAndCancel | CancelRestingOrder | CancelIncomingOrder | CancelBothOrders [@@deriving sexp,yojson,show] let parse = function | "D" -> Ok D...
26.024793
75
0.656716
177d02327a796545c9cafb97e7fbee68ea873fcb
29,346
mll
OCaml
src/reason-parser/reason_declarative_lexer.mll
pereb4ik/reason
c33e2bc9704935a582ceb6c5a81f5b1bb88d0a1c
[ "MIT" ]
null
null
null
src/reason-parser/reason_declarative_lexer.mll
pereb4ik/reason
c33e2bc9704935a582ceb6c5a81f5b1bb88d0a1c
[ "MIT" ]
null
null
null
src/reason-parser/reason_declarative_lexer.mll
pereb4ik/reason
c33e2bc9704935a582ceb6c5a81f5b1bb88d0a1c
[ "MIT" ]
null
null
null
(* * Copyright (c) 2015-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. * * Forked from OCaml, which is provided under the license below: * * Xavier Leroy, projet Cristal, INRIA Rocquencourt * * Copyright ...
32.355017
96
0.598174
17aa65fd935ee1263ac51e9333e637bf7c6c2687
2,210
ml
OCaml
src/substitution.ml
pkel/ocaml-tableau
0dc06c10deaad357f4d460a3503b996406b07af9
[ "MIT" ]
null
null
null
src/substitution.ml
pkel/ocaml-tableau
0dc06c10deaad357f4d460a3503b996406b07af9
[ "MIT" ]
null
null
null
src/substitution.ml
pkel/ocaml-tableau
0dc06c10deaad357f4d460a3503b996406b07af9
[ "MIT" ]
null
null
null
module M = Map.Make(Symbol) type t = Term.t M.t open Term let empty = M.empty let add = M.add let remove = M.remove let occurs x term = (* TODO: Set is clear overhead *) Term.free_vars VarSet.empty term |> VarSet.mem x let apply_var t v = try M.find v t with Not_found -> Variable v let rec apply_term su...
26.626506
72
0.567421
cd01c49397a02ed5a2ff8e1bd4c344bd86fd006c
6,436
ml
OCaml
lib/config.ml
talex5/ocaml-tls
c72cafcd0a88cbd62daa1f90d229d21620fe5297
[ "BSD-2-Clause" ]
null
null
null
lib/config.ml
talex5/ocaml-tls
c72cafcd0a88cbd62daa1f90d229d21620fe5297
[ "BSD-2-Clause" ]
null
null
null
lib/config.ml
talex5/ocaml-tls
c72cafcd0a88cbd62daa1f90d229d21620fe5297
[ "BSD-2-Clause" ]
null
null
null
open Nocrypto open Utils open Core type own_cert = Certificate.certificate list * Rsa.priv type config = { ciphers : Ciphersuite.ciphersuite list ; protocol_versions : tls_version * tls_version ; hashes : Hash.hash list ; (* signatures : Packet.signature_algorithm_type list ; *) ...
34.417112
101
0.639683
cd2a0664e1666d89c9ed86c5d0aa6f9aa88d4039
31,740
mli
OCaml
duniverse/lwt/src/unix/lwt_io.mli
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
6
2020-10-08T17:56:54.000Z
2021-04-22T13:23:43.000Z
duniverse/lwt/src/unix/lwt_io.mli
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
2
2020-09-28T09:42:04.000Z
2020-11-18T23:37:58.000Z
duniverse/lwt/src/unix/lwt_io.mli
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
1
2021-04-20T21:20:00.000Z
2021-04-20T21:20:00.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. *) (** Buffered byte channels *) (** A {b channel} is a high-level object for performing input/output (IO). It allows to read/write from/to the outside worl...
37.079439
112
0.687272
cd36f9b04b7c6bed930495eccf1bf509b1883129
19,402
ml
OCaml
patterns.ml
jaked/patterns
a4335b38022abfe3d57bb50753d6cbaf23c14446
[ "MIT" ]
2
2015-06-08T15:31:20.000Z
2017-10-02T03:49:39.000Z
patterns.ml
jaked/patterns
a4335b38022abfe3d57bb50753d6cbaf23c14446
[ "MIT" ]
null
null
null
patterns.ml
jaked/patterns
a4335b38022abfe3d57bb50753d6cbaf23c14446
[ "MIT" ]
null
null
null
(*pp camlp4of -loc loc *) (* Copyright 2008, Jeremy Yallop: see the file COPYING for details. *) open Camlp4.PreCast open Syntax open Traverse module Utils = struct let fatal_error loc msg = Syntax.print_warning loc msg; exit 1 let fresh_name : unit -> string = let counter = ref 0 in fun () ->...
42.548246
133
0.50902
172d2a76d85b67ab322e47526163e25a1bd8c321
6,204
ml
OCaml
lib_test/bap_traces/test_traces.ml
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
lib_test/bap_traces/test_traces.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
lib_test/bap_traces/test_traces.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
open OUnit2 open Core_kernel open Or_error open Bap.Std open Bap_traces.Std open Event open Meta let bed = Word.of_int32 0xBEDl let coffee = Word.of_int32 0xC0FFEEl let move = Move.{cell = bed; data = coffee} let var = Var.create ~fresh:true "temp" (Type.Imm 0xC0FFEE) let reg = Move.{cell = var; data = coffee} let bi...
28.990654
91
0.665377
cd2aea9e23364419ff1aa41e57a0e7fbe5a89b23
1,390
ml
OCaml
interpreter/merkle/counter.ml
hellolyf/ocaml-offchain
927caca8699c5d2a707fd417acdda778ed30e284
[ "MIT" ]
47
2017-09-12T17:56:49.000Z
2022-03-25T11:59:15.000Z
interpreter/merkle/counter.ml
hellolyf/ocaml-offchain
927caca8699c5d2a707fd417acdda778ed30e284
[ "MIT" ]
51
2017-09-18T15:43:47.000Z
2018-10-30T17:39:09.000Z
interpreter/merkle/counter.ml
hellolyf/ocaml-offchain
927caca8699c5d2a707fd417acdda778ed30e284
[ "MIT" ]
14
2017-09-17T22:09:43.000Z
2021-11-05T17:44:19.000Z
open Ast open Source open Types open Values let do_it x f = {x with it=f x.it} let it e = {it=e; at=no_region} let rec process_inst stepper inst = match inst.it with | Block (ty, lst) -> List.map it [GetGlobal stepper; Const (it (I64 1L)); Operators.i64_add; SetGlobal stepper; (Block (ty, List.flatten (List.map (p...
49.642857
226
0.691367
cd792cd77e589febd49319e7d61504b57c7fa813
5,582
ml
OCaml
service/test/typeCheckTest.ml
s-pace/pyre-check
2b71dcf22e4672567cfe0dfef356f11646d66244
[ "MIT" ]
5
2019-02-14T19:46:47.000Z
2020-01-16T05:48:45.000Z
service/test/typeCheckTest.ml
s-pace/pyre-check
2b71dcf22e4672567cfe0dfef356f11646d66244
[ "MIT" ]
null
null
null
service/test/typeCheckTest.ml
s-pace/pyre-check
2b71dcf22e4672567cfe0dfef356f11646d66244
[ "MIT" ]
2
2019-02-14T19:46:23.000Z
2020-07-13T03:53:04.000Z
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Pyre open Test let assert_errors ?filter_directories ?(ignore_all_errors = []) ?(search_path = []) ...
32.453488
99
0.66607
cd3e97b21387f15ef36b4ba99818fdeec0f0e3cd
1,956
ml
OCaml
libraries/elasticache/lib/batchApplyUpdateAction.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticache/lib/batchApplyUpdateAction.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/elasticache/lib/batchApplyUpdateAction.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = BatchApplyUpdateActionMessage.t type output = UpdateActionResultsMessage.t type error = Errors_internal.t let service = "elasticache" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_optio...
31.047619
100
0.582822
cd321b5604a895d13da2485a144472cb963a04b8
499
ml
OCaml
Ocaml/Gruppo6/Es1f/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
1
2020-09-06T16:03:15.000Z
2020-09-06T16:03:15.000Z
Ocaml/Gruppo6/Es1f/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
null
null
null
Ocaml/Gruppo6/Es1f/ocelia.ml
lucaleone/University-Roma-Tre-tests-and-exams
67885c03b0311e71e9c7740f36b5751840dfd0e5
[ "MIT" ]
null
null
null
(* verifica_matrice: int -> int list list -> bool *) (* dato un intero n e una matrice di interi (lista di liste), riporta true *) (* se la matrice contiene almeno una riga i cui elementi siano tutti minori di n *) (* tramite exists scossiamo tutte le righe e controllimo con for_all per ogni riga se ne esiste una che ...
71.285714
139
0.715431
173e4c7ead96d4b1e29536d73325c2916e2c5631
8,571
ml
OCaml
srk/src/bigtop.ml
anvayg/duet
b7cadaf486dc81a911189f582a53d4eee8ef69b9
[ "MIT" ]
1
2021-12-14T06:46:12.000Z
2021-12-14T06:46:12.000Z
srk/src/bigtop.ml
anvayg/duet
b7cadaf486dc81a911189f582a53d4eee8ef69b9
[ "MIT" ]
null
null
null
srk/src/bigtop.ml
anvayg/duet
b7cadaf486dc81a911189f582a53d4eee8ef69b9
[ "MIT" ]
null
null
null
open Syntax module Ctx = SrkAst.Ctx module Infix = Syntax.Infix(Ctx) let srk = Ctx.context let generator_rep = ref false let file_contents filename = let chan = open_in filename in let len = in_channel_length chan in let buf = Bytes.create len in really_input chan buf 0 len; close_in chan; buf let load_...
34.421687
90
0.598063
171954d5a8340bc8c5f441e6374813fbbaf5f47d
1,979
ml
OCaml
libraries/ec2/lib/updateSecurityGroupRuleDescriptionsEgress.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ec2/lib/updateSecurityGroupRuleDescriptionsEgress.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ec2/lib/updateSecurityGroupRuleDescriptionsEgress.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = UpdateSecurityGroupRuleDescriptionsEgressRequest.t type output = UpdateSecurityGroupRuleDescriptionsEgressResult.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...
28.271429
90
0.626579
cd3e2e8085361c067ac8745bd3bb9a674e466d07
16,094
ml
OCaml
hphp/hack/src/hhbc/emit_class.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/emit_class.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/emit_class.ml
simonwelsh/hhvm
d4f2f960f29fc66e0ed615b8fa7746a42aafb173
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2017, 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 Hh_core o...
33.459459
97
0.696595
cd774c69153892bc1cc41894c9847152d71ec5d7
272
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/experimental/frisch/test_copy_typedef.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/experimental/frisch/test_copy_typedef.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/experimental/frisch/test_copy_typedef.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
module type S = [%copy_typedef] module type T = sig type t module type M = [%copy_typedef] end module M = struct type t = [%copy_typedef] end type t = [%copy_typedef] let _x = M.A let _y : t = [1; 2] type _loc = [%copy_typedef "../../parsing/location.mli" t]
13.6
58
0.632353
cd19bf697aaf506590827b7e316c0b2f341c017a
2,163
ml
OCaml
test/stream_sender_test.ml
komamitsu/fluent-logger-ocaml
cfea30fef694234ded8e0df09dbbb930eca13034
[ "Apache-2.0" ]
4
2017-10-20T23:44:10.000Z
2021-06-17T17:53:53.000Z
test/stream_sender_test.ml
komamitsu/fluent-logger-ocaml
cfea30fef694234ded8e0df09dbbb930eca13034
[ "Apache-2.0" ]
null
null
null
test/stream_sender_test.ml
komamitsu/fluent-logger-ocaml
cfea30fef694234ded8e0df09dbbb930eca13034
[ "Apache-2.0" ]
2
2019-02-20T23:13:21.000Z
2021-06-24T19:14:01.000Z
open OUnit module U = Unix let setup_test_server () = let socket = U.socket U.PF_INET U.SOCK_STREAM 0 in U.setsockopt socket U.TCP_NODELAY true; U.set_close_on_exec socket; U.bind socket (U.ADDR_INET(U.inet_addr_any, 0)); U.listen socket 50; let recv_buf = Buffer.create 512 in let current_accept_socket =...
31.347826
80
0.65927
173f0f64a8e9246f33df2c3e4cbd75d5558a79eb
1,098
mli
OCaml
src/git/user.mli
patricoferris/ocaml-git
8ddb937e4888151dc639200f548b9494354f0a57
[ "0BSD" ]
329
2015-01-11T02:00:34.000Z
2022-03-31T03:38:02.000Z
src/git/user.mli
patricoferris/ocaml-git
8ddb937e4888151dc639200f548b9494354f0a57
[ "0BSD" ]
328
2015-01-05T17:20:47.000Z
2022-03-17T12:29:51.000Z
src/git/user.mli
patricoferris/ocaml-git
8ddb937e4888151dc639200f548b9494354f0a57
[ "0BSD" ]
66
2015-01-16T21:53:49.000Z
2022-03-19T07:55:46.000Z
(* * Copyright (c) 2013-2017 Thomas Gazagnaire <thomas@gazagnaire.org> * and Romain Calascibetta <romain.calascibetta@gmail.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission...
43.92
75
0.741348
aa0b49663d8a0c36b481fc8b32e3678b8f2fc7fc
3,774
ml
OCaml
infer/src/backend/InferAnalyze.ml
kuailenanhai/infer
74d3ab7684873f3a0599ff401fc11349a051e9ba
[ "MIT" ]
null
null
null
infer/src/backend/InferAnalyze.ml
kuailenanhai/infer
74d3ab7684873f3a0599ff401fc11349a051e9ba
[ "MIT" ]
null
null
null
infer/src/backend/InferAnalyze.ml
kuailenanhai/infer
74d3ab7684873f3a0599ff401fc11349a051e9ba
[ "MIT" ]
null
null
null
(* * Copyright (c) 2009-2013, Monoidics ltd. * 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. *) (** Main module for the analysis after the capture phase *) open! IStd module L = Logging let...
37
97
0.725755
17dd795cc6d4180329bafb2fafcc49fc4d42b48a
3,025
ml
OCaml
src/ecHiPredicates.ml
oskgo/easycrypt
38c4947433b1a42896540edfa534f76502fc8f92
[ "MIT" ]
null
null
null
src/ecHiPredicates.ml
oskgo/easycrypt
38c4947433b1a42896540edfa534f76502fc8f92
[ "MIT" ]
null
null
null
src/ecHiPredicates.ml
oskgo/easycrypt
38c4947433b1a42896540edfa534f76502fc8f92
[ "MIT" ]
null
null
null
(* -------------------------------------------------------------------- *) open EcUtils open EcSymbols open EcLocation open EcTypes open EcCoreFol open EcParsetree open EcDecl module TT = EcTyping (* -------------------------------------------------------------------- *) type tperror = | TPE_Typing of EcTyping.tyerro...
33.241758
78
0.566612
cd4ce0af8b609a2556e6abd6e1496d86feeccfe9
4,495
ml
OCaml
src/monitor/statusStream.ml
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
2
2019-01-31T09:33:15.000Z
2019-01-31T09:35:08.000Z
src/monitor/statusStream.ml
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
src/monitor/statusStream.ml
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
1
2018-11-26T06:49:40.000Z
2018-11-26T06:49:40.000Z
(** * Copyright (c) 2017-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. *) (* This module is a singleton that is responsible for keeping track of the Flow server's status. * The basic idea is that we have a str...
32.572464
99
0.729922
cd47e0bda9290f84a3574a40d2bed4aef347983e
225
ml
OCaml
src/fun/examples/array-avg-codemotion.ml
mcaos/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
4
2019-02-14T21:09:35.000Z
2020-10-07T12:19:30.000Z
src/fun/examples/array-avg-codemotion.ml
mcaos/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
null
null
null
src/fun/examples/array-avg-codemotion.ml
mcaos/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
1
2020-10-13T14:20:45.000Z
2020-10-13T14:20:45.000Z
let rec sum (v : [float]) (sz : int) : float = ( if sz = 1 then v.(sz) else v.(sz) +. (sum v (sz-1)) ) in let rec avg (v : [float]) (sz : int) : float = (sum v sz) /. float_of_int(sz) in (avg (Array.make 5 2.56) 5)
37.5
81
0.52
bcf8cf8a8af51fd0583a0e1a73d40451ab840d50
6,537
ml
OCaml
test/doc_sexp.ml
SquidDev/illuaminate
0e890321cc2530f4eeacb8906aa1844cba120602
[ "BSD-3-Clause" ]
23
2019-10-31T11:55:18.000Z
2021-12-17T10:18:45.000Z
test/doc_sexp.ml
SquidDev/illuaminate
0e890321cc2530f4eeacb8906aa1844cba120602
[ "BSD-3-Clause" ]
29
2019-11-27T09:57:52.000Z
2021-12-13T13:34:56.000Z
test/doc_sexp.ml
SquidDev/illuaminate
0e890321cc2530f4eeacb8906aa1844cba120602
[ "BSD-3-Clause" ]
3
2020-10-11T21:43:58.000Z
2021-05-30T14:38:43.000Z
open IlluaminateCore open IlluaminateSemantics open CCSexp open CCFun let field name value rest = list (atom name :: value) :: rest let one x = [ x ] let one' : t -> t list = function | `List xs -> xs | `Atom _ as x -> [ x ] let atom' = one % atom let list' = function | [ x ] -> x | xs -> list xs let span...
30.124424
98
0.607159
cd6e560cc0f5aa6cfaf684458e747671bd87f1e9
8,151
ml
OCaml
src/lib/transition_frontier/tests/full_frontier_tests.ml
jackpaparian/coda
6da61361bdfda7f0de0ce525230b35bac965cb17
[ "Apache-2.0" ]
1
2020-05-05T07:31:26.000Z
2020-05-05T07:31:26.000Z
src/lib/transition_frontier/tests/full_frontier_tests.ml
kunxian-xia/coda
93295e8b4db5f4f2d192a26f90146bf322808ef8
[ "Apache-2.0" ]
null
null
null
src/lib/transition_frontier/tests/full_frontier_tests.ml
kunxian-xia/coda
93295e8b4db5f4f2d192a26f90146bf322808ef8
[ "Apache-2.0" ]
null
null
null
open Async_kernel open Core_kernel open Signature_lib open Coda_base open Coda_transition open Frontier_base open Deferred.Let_syntax let%test_module "Full_frontier tests" = ( module struct let () = Backtrace.elide := false ; Async.Scheduler.set_record_backtraces true let logger = Logger.null ()...
42.015464
79
0.604098
17b101ff2eec3cd5c7d5bc4a0b7b4ff424f56ad6
29,269
ml
OCaml
src/lib/mina_base/parties.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
null
null
null
src/lib/mina_base/parties.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
null
null
null
src/lib/mina_base/parties.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
null
null
null
open Core_kernel let add_caller' (p : Party.Body.Wire.t) caller : Party.Body.t = { public_key = p.public_key ; token_id = p.token_id ; update = p.update ; balance_change = p.balance_change ; increment_nonce = p.increment_nonce ; events = p.events ; sequence_events = p.sequence_events ; call_data = p.ca...
29.50504
81
0.596501
1783334269f0c08ee38de1d927a72c5ac948f34c
340,001
ml
OCaml
hphp/hack/src/parser/full_fidelity_syntax.ml
ScriptBox99/hhvm
a65da0fa07025cb9b19b8746361aba81ea69f26a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_syntax.ml
ScriptBox99/hhvm
a65da0fa07025cb9b19b8746361aba81ea69f26a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/full_fidelity_syntax.ml
ScriptBox99/hhvm
a65da0fa07025cb9b19b8746361aba81ea69f26a
[ "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...
33.435048
82
0.613631
aa217e5ec7752dae5e25fa3d4c60161aa013c608
18,272
ml
OCaml
src/lib/cparser/Interpreter_complete.ml
letonchanh/Coeus
21d417a56a80d6c9014cbb6ed86b329d522fd9a3
[ "Apache-2.0" ]
3
2019-10-06T12:05:37.000Z
2020-04-16T11:40:50.000Z
src/lib/cparser/Interpreter_complete.ml
letonchanh/Coeus
21d417a56a80d6c9014cbb6ed86b329d522fd9a3
[ "Apache-2.0" ]
null
null
null
src/lib/cparser/Interpreter_complete.ml
letonchanh/Coeus
21d417a56a80d6c9014cbb6ed86b329d522fd9a3
[ "Apache-2.0" ]
2
2020-06-12T00:18:56.000Z
2020-10-09T23:35:38.000Z
open Alphabet open Automaton open Datatypes open Int0 open List0 open Nat open Specif open Streams open Tuples open Validator_complete type __ = Obj.t let __ = let rec f _ = Obj.repr f in Obj.repr f module Make = functor (A:T) -> functor (Inter:sig type 'a result = | Err | OK of 'a val result_rect : 'a2 ->...
42.592075
78
0.652091
17576b2fa3489f704d7e9c31c8b4e7ba7b21df1b
25,401
ml
OCaml
src/app/zkapp_test_transaction/lib/commands.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/app/zkapp_test_transaction/lib/commands.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/app/zkapp_test_transaction/lib/commands.ml
CodaProtocol/coda
bd1c97acd9c3c80e638045e4562dae711efbd28c
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
open Core open Async open Mina_base module Ledger = Mina_ledger.Ledger let constraint_constants = Genesis_constants.Constraint_constants.compiled let proof_level = Genesis_constants.Proof_level.Full let underToCamel s = String.lowercase s |> Mina_graphql.Reflection.underToCamel let graphql_zkapp_command (parties : ...
34.233154
82
0.638794
cd74f02d26ee5d65aad7c14a3d86ef61502819c6
230
mli
OCaml
libraries/elasticache/lib/modifyCacheSubnetGroup.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/elasticache/lib/modifyCacheSubnetGroup.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/elasticache/lib/modifyCacheSubnetGroup.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = ModifyCacheSubnetGroupMessage.t type output = ModifyCacheSubnetGroupResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
20.909091
85
0.782609
cd79a9b0455e171ead8163f8d83124c603de8ccb
11,324
ml
OCaml
oldsrc4/gameobj.ml
icefoxen/games-melee
a32ed0a237ea196258856e79c7017041e4a3df91
[ "MIT" ]
null
null
null
oldsrc4/gameobj.ml
icefoxen/games-melee
a32ed0a237ea196258856e79c7017041e4a3df91
[ "MIT" ]
null
null
null
oldsrc4/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.221154
84
0.648357
cd6b3712a352e4e4428f75a692c0c10ff82c7f28
7,883
ml
OCaml
data/derived/comb/progs/unify/prog5529.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/prog0642.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0642.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.364548
148
0.6906
171fe0b6e1df0357f4bdc574bf9e427cb61756d9
350
ml
OCaml
data/derived/comb/progs/unify/prog2541.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/prog2541.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2541.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pi = 4.0 *. (atan 1.0);; type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine e1 -> sin (pi *. (eval (e1, x, y)));; let _ = eval ((Si...
17.5
46
0.522857
17b9b169e2d4bacbb6d993e4d584dfcfdd7df736
6,966
ml
OCaml
src/carton/zh.ml
patricoferris/ocaml-git
8ddb937e4888151dc639200f548b9494354f0a57
[ "0BSD" ]
329
2015-01-11T02:00:34.000Z
2022-03-31T03:38:02.000Z
src/carton/zh.ml
patricoferris/ocaml-git
8ddb937e4888151dc639200f548b9494354f0a57
[ "0BSD" ]
328
2015-01-05T17:20:47.000Z
2022-03-17T12:29:51.000Z
src/carton/zh.ml
patricoferris/ocaml-git
8ddb937e4888151dc639200f548b9494354f0a57
[ "0BSD" ]
66
2015-01-16T21:53:49.000Z
2022-03-19T07:55:46.000Z
let input_bigstring ic buf off len = let tmp = Bytes.create len in let res = input ic tmp 0 len in Bigstringaf.blit_from_bytes tmp ~src_off:0 buf ~dst_off:off ~len:res; res let output_bigstring oc buf off len = let res = Bigstringaf.substring buf ~off ~len in output_string oc res module N : sig type enc...
26.18797
80
0.550962
cd083262df79972044fe0494560bcd6c949b6a5d
3,685
mll
OCaml
src/04/exercises/fun_scanner.mll
nicdard/languages-compilers-interpreters-2020
9486c58aadf42412517bfc05bd974e6770522a44
[ "MIT" ]
null
null
null
src/04/exercises/fun_scanner.mll
nicdard/languages-compilers-interpreters-2020
9486c58aadf42412517bfc05bd974e6770522a44
[ "MIT" ]
null
null
null
src/04/exercises/fun_scanner.mll
nicdard/languages-compilers-interpreters-2020
9486c58aadf42412517bfc05bd974e6770522a44
[ "MIT" ]
1
2021-11-15T22:26:11.000Z
2021-11-15T22:26:11.000Z
{ (* Exercise 5: A scanner for the FUN language This simple version just parses all the tokens and print them to the standard output toghether with their position in the source code. *) type token_type = | ELSE | EQUAL | FALSE | FUN | LESS | LET | ID of string | IF | IN | INT ...
30.204918
115
0.471913
17fd6e78b3a4569a39c17bf25c97eaeb280dc609
106
mli
OCaml
code/src/netstring/netaccel_link.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/netstring/netaccel_link.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/netstring/netaccel_link.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
(* $Id$ *) (** Enables accelerator module [Netaccel] * * This module exists for technical reasons. *)
15.142857
44
0.650943
cd1e7dc605460e1a5dac4c0591c28d8a368481a2
1,207
mli
OCaml
libraries/ec2/lib/describeConversionTasks.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/ec2/lib/describeConversionTasks.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeConversionTasks.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Describes the specified conversion tasks or all your conversion tasks. For more information, see the <a href=\"https://docs.aws.amazon.com/vm-import/latest/userguide/\">VM Import/Export User Guide</a>.</p> <p>For information about the import manifest referenced by this API action, see <a href=\"https://docs.aws...
48.28
406
0.733223
cd2a87a0f901051158bd90aef3097ab89d2ac26e
3,953
ml
OCaml
src/proto_001_PtCJ7pwo/lib_client_commands/client_proto_contracts_commands.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/proto_001_PtCJ7pwo/lib_client_commands/client_proto_contracts_commands.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/proto_001_PtCJ7pwo/lib_client_commands/client_proto_contracts_commands.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
45.965116
79
0.533519
cd6282fddee2c7dc72b00cf73bf466c545ffba4b
1,434
ml
OCaml
lib_sexp/uri_sexp.ml
UnrealAkama/ocaml-uri
cd27611da1b3a88dcd3686ecaf7b194ceed4fa8c
[ "0BSD" ]
null
null
null
lib_sexp/uri_sexp.ml
UnrealAkama/ocaml-uri
cd27611da1b3a88dcd3686ecaf7b194ceed4fa8c
[ "0BSD" ]
null
null
null
lib_sexp/uri_sexp.ml
UnrealAkama/ocaml-uri
cd27611da1b3a88dcd3686ecaf7b194ceed4fa8c
[ "0BSD" ]
null
null
null
open Uri module Derived = struct open Sexplib0.Sexp_conv type component = [ | `Scheme | `Authority | `Userinfo (* subcomponent of authority in some schemes *) | `Host (* subcomponent of authority in some schemes *) | `Path | `Query | `Query_key | `Query_value | `Fragment ] [@@deriving s...
22.40625
76
0.657601
cd75c52a38f19b29e28961d94dbccadf3fa7ae6c
7,988
ml
OCaml
tests/gadt/gadt.ml
jvillard/refl
eaf685ee93098017acd7b01c064ac442c58f9736
[ "BSD-3-Clause" ]
33
2020-03-03T13:46:48.000Z
2021-12-13T08:48:33.000Z
tests/gadt/gadt.ml
jvillard/refl
eaf685ee93098017acd7b01c064ac442c58f9736
[ "BSD-3-Clause" ]
1
2021-12-01T07:12:41.000Z
2021-12-01T07:12:41.000Z
tests/gadt/gadt.ml
jvillard/refl
eaf685ee93098017acd7b01c064ac442c58f9736
[ "BSD-3-Clause" ]
2
2020-04-22T16:47:03.000Z
2020-08-29T00:24:51.000Z
(* type 'a t = | [] : [`Zero] t type ('present, 'unknown) t__variable_positive0 = 'present type ('present, 'unknown) t__variable_negative0 = 'unknown type ('present, 'unknown) t__variable_direct0 = 'present type t__arity = [`Succ of [`Zero]] type t__structure = [ `Constr of ([`Constructor of [ `Tuple of unit ] * ([`...
33.145228
106
0.538683
17405e49eda207d48ed2ee7fd55ea4f06bc15792
12,927
ml
OCaml
vendors/syntax-highlighting/Emacs.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
2
2021-03-06T12:11:41.000Z
2021-11-21T13:54:18.000Z
vendors/syntax-highlighting/Emacs.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
null
null
null
vendors/syntax-highlighting/Emacs.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
null
null
null
type face_option = Bold | Background of string | Foreground of string | Inherit of string type terminal = Background_dark of face_option list | Background_light of face_option list | All of face_option list type face = { name: string; terminals: terminal list; description: string; } module LigoFontLock =...
31.918519
116
0.605786
179bd85613ffa07ebb22588f32bb478ad83bc68b
15,969
ml
OCaml
src/number_theory.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
10
2018-10-15T02:11:39.000Z
2022-01-26T08:57:12.000Z
src/number_theory.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
null
null
null
src/number_theory.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
1
2020-04-18T13:03:50.000Z
2020-04-18T13:03:50.000Z
open! Core open! Import include Number_theory_intf let[@cold] raise_negative_exponent e = raise_s [%message "negative exponent" (e : int)] let[@cold] raise_exponent_too_large e = raise_s [%message "large exponent not supported" (e : int)] ;; (* https://en.wikipedia.org/wiki/Addition-chain_exponentiation Table ...
23.869955
89
0.536164
cd4b217ae626b7279033d3c093613a8583a490c8
2,410
mli
OCaml
lib/es2020/es2020_promise.mli
tmattio/js-bindings
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
18
2021-04-14T02:52:09.000Z
2021-11-14T17:08:09.000Z
lib/es2020/es2020_promise.mli
tmattio/ocaml-ecmascript
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
4
2021-04-14T16:23:13.000Z
2021-05-22T00:00:55.000Z
lib/es2020/es2020_promise.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"]] open Es2019 module PromiseFulfilledResult : sig type 'T t val t_to_js : ('T -> Ojs.t) -> 'T t -> Ojs.t val t_of_js : (Ojs.t -> 'T) -> Ojs.t -> 'T t val get_status : 'T t -> ([ `fulfilled [@js "fulfilled"] ][@js.enum]) ...
24.845361
78
0.592946
17191f5cf293b0b39ac2723f729a22071d6f182f
617
ml
OCaml
data/derived/comb/progs/unify/prog4264.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/prog4264.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4264.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 | VarX -> x | VarY -> y | Sine expr -> sin (pi *. (eval expr x y)) | Cosine expr -> c...
24.68
70
0.549433
17e881a78f6fb4894f802f5980a888a2cde6382f
2,193
ml
OCaml
src/datarep.ml
treyzania/nrac
e5818804b07058e2a43f5a200fe94055068ee397
[ "MIT" ]
null
null
null
src/datarep.ml
treyzania/nrac
e5818804b07058e2a43f5a200fe94055068ee397
[ "MIT" ]
5
2017-03-21T04:25:28.000Z
2017-03-21T04:30:42.000Z
src/datarep.ml
treyzania/nrac
e5818804b07058e2a43f5a200fe94055068ee397
[ "MIT" ]
null
null
null
(* Literal value, used for some initialization. *) type value = | Str of string | Byte of int | Word of int64 (* Simple value definitions, possibly with some initial value. *) type property = { name : string ; initial_value : value option } (* Arguments to an instruction. *) type isn_arg = | Blob of string (* ...
20.885714
97
0.694482
17be2fe8a66e35b4347f6467f77b98797e2e0424
5,931
ml
OCaml
opium/src/request.ml
oxidizing/opium
6b61ddf19c109758c9dac231ded6743a11f5c4b2
[ "MIT" ]
683
2015-01-08T20:21:40.000Z
2022-02-23T08:40:16.000Z
opium/src/request.ml
oxidizing/opium
6b61ddf19c109758c9dac231ded6743a11f5c4b2
[ "MIT" ]
157
2015-01-25T23:36:45.000Z
2022-03-28T15:14:55.000Z
opium/src/request.ml
oxidizing/opium
6b61ddf19c109758c9dac231ded6743a11f5c4b2
[ "MIT" ]
71
2015-02-03T14:12:24.000Z
2022-01-29T08:26:25.000Z
open Import include Rock.Request let of_string' ?(content_type = "text/plain") ?version ?env ?(headers = Headers.empty) target meth body = let headers = Headers.add_unless_exists headers "Content-Type" content_type in make ?version ~headers ~body:(Body.of_string body) ?env target meth...
25.346154
86
0.674928
cd1f6b4b67c5639fde3ed48f797620f22358212d
359
mli
OCaml
sihl/schedule/sihl_schedule.mli
kit-ty-kate/sihl
c5fa996573a7098391495c1fb809ce90ed97caf9
[ "MIT" ]
null
null
null
sihl/schedule/sihl_schedule.mli
kit-ty-kate/sihl
c5fa996573a7098391495c1fb809ce90ed97caf9
[ "MIT" ]
null
null
null
sihl/schedule/sihl_schedule.mli
kit-ty-kate/sihl
c5fa996573a7098391495c1fb809ce90ed97caf9
[ "MIT" ]
null
null
null
(** Schedules are functions that need to run periodically, similarly to cron jobs. Use this for instance to run clean up jobs. *) module Service : Sig.SERVICE module Sig = Sig type t = Model.t val create : Model.scheduled_time -> f:(unit -> unit Lwt.t) -> label:string -> t val every_second : Model.scheduled_time...
29.916667
86
0.735376
cd85ab1852a45f26074755df44fb91d50f3c3d1b
160
mli
OCaml
compiler/src/typing.mli
maximedenes/jasmin
033902f54904c35495b2c76e343bc57957fc348e
[ "MIT" ]
null
null
null
compiler/src/typing.mli
maximedenes/jasmin
033902f54904c35495b2c76e343bc57957fc348e
[ "MIT" ]
null
null
null
compiler/src/typing.mli
maximedenes/jasmin
033902f54904c35495b2c76e343bc57957fc348e
[ "MIT" ]
null
null
null
open Prog exception TyError of L.i_loc * string val error : Prog.L.i_loc -> ('a, Format.formatter, unit, 'b) format4 -> 'a val check_prog : 'info prog -> unit
26.666667
74
0.6875
cd45a6f46e488053699620aebf79862b85610f77
18,633
ml
OCaml
src/generators/genxml.ml
mandel59/haxe
5053ee38b5c806b16bc83eebfdff181c29af128d
[ "MIT" ]
null
null
null
src/generators/genxml.ml
mandel59/haxe
5053ee38b5c806b16bc83eebfdff181c29af128d
[ "MIT" ]
null
null
null
src/generators/genxml.ml
mandel59/haxe
5053ee38b5c806b16bc83eebfdff181c29af128d
[ "MIT" ]
null
null
null
(* The Haxe Compiler Copyright (C) 2005-2016 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...
33.51259
173
0.601191
cd24217e7b2e378b69d32bf62854d806ced1f849
18,461
ml
OCaml
data/derived/comb/progs/unify/prog2532.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/prog2532.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2532.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.21815
208
0.649802
17abeb34f1f279d4e89d872216caa0bf1667ffc2
2,719
ml
OCaml
ocaml_typing/402/primitive.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
ocaml_typing/402/primitive.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
439
2018-05-25T21:16:18.000Z
2021-12-03T11:28:10.000Z
ocaml_typing/402/primitive.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
107
2018-05-30T23:53:50.000Z
2022-01-10T10:50:53.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
43.15873
78
0.52409
17d13f8445da1a8174c129cc44879a6494cf7187
674
ml
OCaml
lib/app_log.ml
mjambon/dune-release
c66c13e739e2ecfe277c47336614f6b146cff9ea
[ "ISC" ]
null
null
null
lib/app_log.ml
mjambon/dune-release
c66c13e739e2ecfe277c47336614f6b146cff9ea
[ "ISC" ]
null
null
null
lib/app_log.ml
mjambon/dune-release
c66c13e739e2ecfe277c47336614f6b146cff9ea
[ "ISC" ]
null
null
null
let header style c fmt () = Fmt.string fmt "["; Fmt.(styled style (const char c)) fmt (); Fmt.string fmt "]" let app_log ?src pp_header f = Logs.app ?src (fun l -> f (fun ?header ?tags fmt -> l ?header ?tags ("%a " ^^ fmt) pp_header ())) let status ?src f = app_log ?src (header `Yellow '-') f let questi...
33.7
79
0.594955
17c73236ccc6ee78b67da246c03cd6a6d53394b5
10,716
ml
OCaml
bin/describe.ml
alexmusa/dune
4974a5b8e54db90dde33802638f5fbab37264579
[ "MIT" ]
1
2022-03-18T02:24:50.000Z
2022-03-18T02:24:50.000Z
bin/describe.ml
alexmusa/dune
4974a5b8e54db90dde33802638f5fbab37264579
[ "MIT" ]
null
null
null
bin/describe.ml
alexmusa/dune
4974a5b8e54db90dde33802638f5fbab37264579
[ "MIT" ]
1
2021-05-07T18:08:53.000Z
2021-05-07T18:08:53.000Z
open Stdune open Import (* This command is not yet versioned, but some people are using it in non-released tools. If you change the format of the output, please contact: - rotor people for "describe workspace" - duniverse people for "describe opam-files" *) let doc = "Describe the workspace." let man = ...
33.4875
80
0.598171
179e80f4521ce2db270e9dd9e2e77655c59e8962
4,033
ml
OCaml
lib/evaluator.ml
martindemello/varix
0b20ab1f93be69a93b1977000ccd25dd0bf793de
[ "MIT" ]
null
null
null
lib/evaluator.ml
martindemello/varix
0b20ab1f93be69a93b1977000ccd25dd0bf793de
[ "MIT" ]
null
null
null
lib/evaluator.ml
martindemello/varix
0b20ab1f93be69a93b1977000ccd25dd0bf793de
[ "MIT" ]
1
2021-06-16T23:19:39.000Z
2021-06-16T23:19:39.000Z
open Engine open Environment open Core open Utility include Types module Make = functor (Env : ENV) -> functor (E : ENGINE with type dict = Env.dict) -> struct open Env (* argument conversion *) (* validate that list has only letters and dots *) let validate_letter_dot cs = List.for_all ...
27.623288
80
0.587404
177a07612af4e5b77830dff5c6740588bebf9d83
175,606
ml
OCaml
test/test_incremental.ml
wlitwin/incremental
fe7d16524ff48e6fd4818e2517581b000ff61ce8
[ "MIT" ]
null
null
null
test/test_incremental.ml
wlitwin/incremental
fe7d16524ff48e6fd4818e2517581b000ff61ce8
[ "MIT" ]
null
null
null
test/test_incremental.ml
wlitwin/incremental
fe7d16524ff48e6fd4818e2517581b000ff61ce8
[ "MIT" ]
null
null
null
open! Core open Float.Robustly_comparable open! Import let sec = Time_ns.Span.of_sec open Incremental.Private module Alarm_precision = Timing_wheel.Alarm_precision let does_raise = Exn.does_raise module Test (M : sig val bind_lhs_change_should_invalidate_rhs : bool end) = struct let check_invalidity = M.bin...
34.025576
92
0.471664
17cb07b7c1da5b4dacf2e003dfca0efb62ad9fc0
6,037
ml
OCaml
parser/reduce.ml
block8437/FailSafeC
1458e382518ba8b56f680436873c3b42a89e1636
[ "Apache-2.0" ]
1
2018-02-10T02:52:09.000Z
2018-02-10T02:52:09.000Z
parser/reduce.ml
block8437/FailSafeC
1458e382518ba8b56f680436873c3b42a89e1636
[ "Apache-2.0" ]
null
null
null
parser/reduce.ml
block8437/FailSafeC
1458e382518ba8b56f680436873c3b42a89e1636
[ "Apache-2.0" ]
null
null
null
(* Part of Fail-Safe C Compiler. (c) 2002-2004 Yutaka Oiwa. *) open Big_int_infix open Ctt_abstree exception NotConstant let zero_const_value v = match v with CTTconstInteger i -> i ==! zero_big_int | CTTconstFloat f -> f = 0.0 | CTTconstString s -> false | CTTconstTypeInfo _ -> false | CTTconstAbstra...
33.91573
89
0.685274
177fcaf8b4ec2719ae35f38d684fe626407a38e3
930
ml
OCaml
examples/processes.t/registered_process_name.ml
progman1/caramel
728830719a2a583eb894aed92a82a779d81bd2c3
[ "Apache-2.0" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
examples/processes.t/registered_process_name.ml
progman1/caramel
728830719a2a583eb894aed92a82a779d81bd2c3
[ "Apache-2.0" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
examples/processes.t/registered_process_name.ml
progman1/caramel
728830719a2a583eb894aed92a82a779d81bd2c3
[ "Apache-2.0" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
module Proc = struct type t = int Erlang.pid let name () = `Worker_pool (* NOTE: Process registry boilerplate. We only need to specify * the type of our process once in this function to keep things * safe. *) let where_is () : t option = Proc_registry.where_is (name ()) (* NOTE: Actual process loo...
26.571429
67
0.633333
cd0f472df58d9144c9bf19445b6c47d2278a5fff
405
ml
OCaml
ast.ml
icefoxen/kaleidoscope
8d40720bf2f4112d3c7af1633e625675a905a78c
[ "MIT" ]
null
null
null
ast.ml
icefoxen/kaleidoscope
8d40720bf2f4112d3c7af1633e625675a905a78c
[ "MIT" ]
null
null
null
ast.ml
icefoxen/kaleidoscope
8d40720bf2f4112d3c7af1633e625675a905a78c
[ "MIT" ]
null
null
null
(* expr - base type for all expression nodes *) type expr = | Number of float | Variable of string | Binary of char * expr * expr | Call of string * expr array | If of expr * expr * expr | For of string * expr * expr * expr option * expr (* Forward declerations *) type proto = Prototype of string * ...
23.823529
53
0.654321
cd408464c0413ce3950f9aba4f078c890b07e038
4,986
mli
OCaml
src/lib_stdlib/logging.mli
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/lib_stdlib/logging.mli
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/lib_stdlib/logging.mli
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "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> *) ...
38.061069
108
0.591256
17f316513c16c28f1b87eb3667088c0de4168800
100,578
ml
OCaml
hphp/hack/src/server/serverExtractStandalone.ml
cobbles/hhvm
583f879c7e1be697b1695a4506dd2f7171b921d0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverExtractStandalone.ml
cobbles/hhvm
583f879c7e1be697b1695a4506dd2f7171b921d0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverExtractStandalone.ml
cobbles/hhvm
583f879c7e1be697b1695a4506dd2f7171b921d0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude module Cmd = ServerCommandTypes.Extract_standalone module SourceText = Full_fidelity_source_text module Syntax ...
32.236538
103
0.569816
cd25a1258c031712ff68f425fee1ca6ec370bd19
1,978
ml
OCaml
lib/cert.ml
ulrikstrid/piaf
83aa96b0196ca7ef6f153fc455722ff0436738da
[ "BSD-3-Clause" ]
120
2019-12-17T08:58:11.000Z
2022-03-21T22:49:58.000Z
lib/cert.ml
ulrikstrid/piaf
83aa96b0196ca7ef6f153fc455722ff0436738da
[ "BSD-3-Clause" ]
23
2020-01-02T19:00:07.000Z
2022-03-25T19:16:02.000Z
lib/cert.ml
ulrikstrid/piaf
83aa96b0196ca7ef6f153fc455722ff0436738da
[ "BSD-3-Clause" ]
12
2019-12-17T09:03:47.000Z
2021-09-17T22:02:57.000Z
(*---------------------------------------------------------------------------- * Copyright (c) 2021, Ezequiel Lewin * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of...
48.243902
79
0.695652
cd6d91da0e4ee0b626b4b468fa0aa3252e917c70
20,061
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/toplevel/opttoploop.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2020-09-24T05:03:32.000Z
2020-09-24T05:03:32.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/toplevel/opttoploop.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/toplevel/opttoploop.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
33.435
80
0.620358
1777f320aa59e9fcd77128cef8c00e29e31eeb64
167
ml
OCaml
atcoder/abc128A_apple_pie.ml
garo9521/kyopro
db97030ca02e69ce55776817249bcd39e204c55c
[ "BSD-3-Clause" ]
31
2020-05-13T01:07:55.000Z
2021-07-13T07:53:26.000Z
atcoder/abc128A_apple_pie.ml
garo9521/kyopro
db97030ca02e69ce55776817249bcd39e204c55c
[ "BSD-3-Clause" ]
10
2020-05-20T07:22:09.000Z
2021-07-19T03:52:13.000Z
atcoder/abc128A_apple_pie.ml
garo9521/kyopro
db97030ca02e69ce55776817249bcd39e204c55c
[ "BSD-3-Clause" ]
14
2020-05-11T05:58:36.000Z
2021-12-07T03:20:43.000Z
(* Vicfred * https://atcoder.jp/contests/abc128/tasks/abc128_a * implementation * *) Scanf.scanf "%d %d" (fun a p -> (a * 3 + p) / 2 ) |> Printf.printf "%d\n"
18.555556
52
0.580838
177ec335119e6224da725b5f683465dd010ffe8a
661
ml
OCaml
src/main_class.ml
vigor-nf/verifast
8c5566d64ff691f691d953e8044d5dc855611d4f
[ "MIT" ]
272
2016-01-28T16:01:28.000Z
2022-03-10T11:53:19.000Z
src/main_class.ml
vigor-nf/verifast
8c5566d64ff691f691d953e8044d5dc855611d4f
[ "MIT" ]
207
2016-01-28T16:03:17.000Z
2022-03-11T14:38:58.000Z
src/main_class.ml
vigor-nf/verifast
8c5566d64ff691f691d953e8044d5dc855611d4f
[ "MIT" ]
59
2016-04-03T17:52:17.000Z
2022-01-28T11:35:57.000Z
open Printf let () = if Array.length Sys.argv <> 2 then begin prerr_endline "Syntax error. Usage: main_class mymainpackage.MyMainClass"; exit 1 end; let mainClass = Sys.argv.(1) in printf "// This file is autogenerated by VeriFast to check the contract of the program's main method.\n"; print...
36.722222
108
0.618759
cd17d22b9d9031fb98dd1efcbb66d792e92f03f7
2,103
ml
OCaml
src/logs_browser.ml
djs55/logs
0e5ea92703c642f362126e938cd85e55a749025b
[ "ISC" ]
null
null
null
src/logs_browser.ml
djs55/logs
0e5ea92703c642f362126e938cd85e55a749025b
[ "ISC" ]
null
null
null
src/logs_browser.ml
djs55/logs
0e5ea92703c642f362126e938cd85e55a749025b
[ "ISC" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2015 Daniel C. Bünzli. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (* C...
42.06
79
0.588683
17f3e0f0c20682727b7c70beebd59804a3bcf353
545
ml
OCaml
ocaml/day01.ml
narimiran/AdventOfCode2017
4058cb5da59bac629593f107ff164b34a48e0d11
[ "MIT" ]
38
2017-12-05T18:52:14.000Z
2021-09-10T02:58:08.000Z
ocaml/day01.ml
narimiran/AdventOfCode2017
4058cb5da59bac629593f107ff164b34a48e0d11
[ "MIT" ]
null
null
null
ocaml/day01.ml
narimiran/AdventOfCode2017
4058cb5da59bac629593f107ff164b34a48e0d11
[ "MIT" ]
4
2018-11-29T15:14:20.000Z
2019-09-22T01:55:23.000Z
let input = CCIO.(with_in "inputs/01.txt" read_all) |> CCString.to_array |> Array.map (fun x -> Char.code x - Char.code '0') let find_sum ~part input = let len = Array.length input in let jump = if part = 1 then 1 else len / 2 in let pairwise_with_step step xs = Array.mapi (fun i n -> (n, xs.((i + step...
27.25
73
0.620183
aa9e6d0088e0d577a0c3bce40118e504a181b01c
2,709
ml
OCaml
libraries/rds/lib/restoreDBClusterToPointInTime.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/restoreDBClusterToPointInTime.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/restoreDBClusterToPointInTime.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = RestoreDBClusterToPointInTimeMessage.t type output = RestoreDBClusterToPointInTimeResult.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 ser...
34.291139
109
0.653378
1752c446943f75448287e452d016b802abab0e33
2,276
ml
OCaml
examples/ocaml/misc/sliding.ml
jun0/sundialsml
cd261d74ff9cd9bf2db95ef1fe6abc5b2aed985d
[ "BSD-3-Clause" ]
null
null
null
examples/ocaml/misc/sliding.ml
jun0/sundialsml
cd261d74ff9cd9bf2db95ef1fe6abc5b2aed985d
[ "BSD-3-Clause" ]
null
null
null
examples/ocaml/misc/sliding.ml
jun0/sundialsml
cd261d74ff9cd9bf2db95ef1fe6abc5b2aed985d
[ "BSD-3-Clause" ]
null
null
null
let p = 1.0 (* 1.0 or 0.2 *) let step_inc = 0.1 (* not -1 zero-crossing if set to 100.0 *) (* indices *) let x = 0 and t = 1 let x_i = -1.0 and t_i = -. p let yc = ref 1.0 let print_with_time t v = Printf.printf "%.15e" t; Sundials.RealArray.iter (Printf.printf "\t% .15e") v; print_newline () let string_of_...
22.989899
80
0.58304
cd32b8222ae5e1558412bac90607f8f09f87eacf
24,673
ml
OCaml
cil/src/ext/predabst.ml
sjuvekar/crest
21a5a37647a32d233f326a2bd3911020a9c78d3d
[ "BSD-3-Clause" ]
21
2016-08-20T16:44:01.000Z
2019-10-08T12:16:55.000Z
cil/src/ext/predabst.ml
sjuvekar/crest
21a5a37647a32d233f326a2bd3911020a9c78d3d
[ "BSD-3-Clause" ]
1
2020-06-16T03:45:51.000Z
2020-06-16T03:45:51.000Z
cil/src/ext/predabst.ml
sjuvekar/crest
21a5a37647a32d233f326a2bd3911020a9c78d3d
[ "BSD-3-Clause" ]
7
2015-05-26T13:38:22.000Z
2021-05-17T13:27:23.000Z
(* * predabst.ml * * This is a CIL module for computing the * predicate abstraction of a C program. * * It assumes that expressions contain at * most one pointer dereference. I.e. * * Simplify.simplify has been run on the file. * * Also assumes that there has been a pointer analysis after * the simplemem tr...
26.876906
74
0.596887
17e799f0bbcfb32fcc8402852751580f3c12dcf2
193
mli
OCaml
libraries/cloudwatch/lib/putMetricData.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/cloudwatch/lib/putMetricData.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/cloudwatch/lib/putMetricData.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = PutMetricDataInput.t type output = unit type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
17.545455
85
0.746114
448bcf4915b033b189c0f947ca0a858f065d21e8
108,545
ml
OCaml
litmus/skel.ml
BreD1810/herdtools7
4c33a9d4aec768fa31e79ec7857c6b62730f2b7b
[ "CECILL-B" ]
null
null
null
litmus/skel.ml
BreD1810/herdtools7
4c33a9d4aec768fa31e79ec7857c6b62730f2b7b
[ "CECILL-B" ]
null
null
null
litmus/skel.ml
BreD1810/herdtools7
4c33a9d4aec768fa31e79ec7857c6b62730f2b7b
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
36.857385
161
0.467723
17e3a2777de3cd33bcb6914367be0959b4a8de44
4,479
ml
OCaml
src/ppx_let.ml
npm-opam/ppx_let
8d1b07763ae1ea83ac6b8e2e7177c533f39b664b
[ "Apache-2.0" ]
null
null
null
src/ppx_let.ml
npm-opam/ppx_let
8d1b07763ae1ea83ac6b8e2e7177c533f39b664b
[ "Apache-2.0" ]
null
null
null
src/ppx_let.ml
npm-opam/ppx_let
8d1b07763ae1ea83ac6b8e2e7177c533f39b664b
[ "Apache-2.0" ]
null
null
null
open! StdLabels open Ppx_core.Std open Parsetree open Ast_builder.Default module List = struct include List let reduce_exn l ~f = match l with | [] -> invalid_arg "List.reduce_exn" | hd :: tl -> fold_left tl ~init:hd ~f end module Extension_name = struct type t = | Bind | Bind_open | Ma...
29.662252
92
0.655727
17ea41c9bbb3be4d66250e493721133c517e206e
2,947
ml
OCaml
src/plot.ml
cem-okulmus/QFMtool
77433776e0b168a006f46adde07b10fabf073367
[ "MIT" ]
null
null
null
src/plot.ml
cem-okulmus/QFMtool
77433776e0b168a006f46adde07b10fabf073367
[ "MIT" ]
1
2018-02-17T20:46:10.000Z
2018-02-17T20:48:06.000Z
src/plot.ml
cem-okulmus/QFMtool
77433776e0b168a006f46adde07b10fabf073367
[ "MIT" ]
null
null
null
open List open Base open Num open Sfquantifier open Plplot let plot_truth_2D ?sample:(sample=10000) (f: num -> num) filename = let xs = Array.init (sample+1) (fun a -> float_of_num (a /// sample)) in let ys = Array.init (sample+1) (fun a -> float_of_num (f (a /// sample) )) in plscol0 0 255 255 255 ...
30.697917
81
0.552087
17a820d0f12f62992e64b495be3ed8225cd2d73b
6,335
ml
OCaml
myocamlbuild.ml
aspiwack/axhurkens
51448b53365ed688a1366cac91b4c8895c1c8f74
[ "CC-BY-3.0" ]
1
2017-12-19T04:54:08.000Z
2017-12-19T04:54:08.000Z
myocamlbuild.ml
aspiwack/axhurkens
51448b53365ed688a1366cac91b4c8895c1c8f74
[ "CC-BY-3.0" ]
null
null
null
myocamlbuild.ml
aspiwack/axhurkens
51448b53365ed688a1366cac91b4c8895c1c8f74
[ "CC-BY-3.0" ]
null
null
null
(*************************************************************************) (* *) (* General purpose melt ocamlbuild plugin *) (* ...
28.030973
128
0.524546
cd681790d3b24d1048cbabfcb98a811a7e14ed98
20,752
ml
OCaml
data/derived/comb/progs/unify/prog1021.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/prog1021.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1021.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
34.019672
208
0.642637
bcdbad19ce9161ff19247b537ee604c145179396
329
mli
OCaml
lib/transept_utils/iterator.mli
d-plaindoux/transept
4d8dccb48bda810b05fe8ebf24bc98b6ab73714e
[ "MIT" ]
20
2020-02-10T10:54:56.000Z
2021-11-09T17:59:57.000Z
lib/transept_utils/iterator.mli
d-plaindoux/transept
4d8dccb48bda810b05fe8ebf24bc98b6ab73714e
[ "MIT" ]
3
2020-03-06T08:21:36.000Z
2020-06-08T16:49:44.000Z
lib/transept_utils/iterator.mli
d-plaindoux/transept
4d8dccb48bda810b05fe8ebf24bc98b6ab73714e
[ "MIT" ]
1
2020-05-27T17:27:15.000Z
2020-05-27T17:27:15.000Z
(** The [Iterator] specifies traditional [fold_left] and [fold_right] function signatures *) (** {1 Structure anatomy} *) module CORE : sig type _ t val fold_right : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b val fold_left : ('b -> 'a -> 'b) -> 'b -> 'a t -> 'b end (** {1 API} *) module type API = module type...
19.352941
78
0.553191
17281fc8d2d7e6b832c450edfe8a4c5d0fa5c05b
991
mll
OCaml
compiler/parser/lexer.mll
sano-jin/dhl-alpha
78ce79b06967b45c407229bd1ea943332f6781c9
[ "MIT" ]
1
2021-06-15T06:44:59.000Z
2021-06-15T06:44:59.000Z
src/lexer.mll
sano-jin/dhl-in-ocaml
c54383124bf05e842480594f7b2c834d23ec6a5c
[ "MIT" ]
null
null
null
src/lexer.mll
sano-jin/dhl-in-ocaml
c54383124bf05e842480594f7b2c834d23ec6a5c
[ "MIT" ]
null
null
null
(* Lexer *) { open Parser } let space = [' ' '\t' '\n' '\r'] let digit = ['0'-'9'] let lower = ['a'-'z'] let upper = ['A'-'Z' '_'] let alpha = lower | upper let alnum = digit | alpha | '\'' rule token = parse (* Operators *) | '\\' { BACKSLASH } | '.' { DOT } | ',' { COMMA ...
18.698113
50
0.456105
cd1c740b2dc00d5470e9879cc960680837291c10
5,923
ml
OCaml
src/string_with_vars.ml
lpw25/dune-effects
fd31f381b43e02a3bf9bfd3e0d29f0d377f4a10f
[ "Apache-2.0" ]
3
2020-09-06T21:32:35.000Z
2020-09-08T14:27:27.000Z
src/string_with_vars.ml
lpw25/dune-effects
fd31f381b43e02a3bf9bfd3e0d29f0d377f4a10f
[ "Apache-2.0" ]
null
null
null
src/string_with_vars.ml
lpw25/dune-effects
fd31f381b43e02a3bf9bfd3e0d29f0d377f4a10f
[ "Apache-2.0" ]
null
null
null
open! Import type var_syntax = Parens | Braces type item = | Text of string | Var of var_syntax * string type t = { items : item list ; loc : Loc.t ; quoted : bool } module Token = struct type t = | String of string | Open of var_syntax | Close of var_syntax let tokenise s = let le...
29.615
83
0.555293
17ad87925dee726b543573a06be24b81564fbe8d
553
ml
OCaml
data/fa15_min/2772.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15_min/2772.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/2772.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let x l = List.map string_of_int;; let y = [1; 2; 3];; let rec mulByDigit i l = if (i = 0) || (i > 9) then [] else (match List.rev l with | [] -> [] | h::t -> (mulByDigit i t) @ [x * y]);; (* fix let rec mulByDigit i l = if (i = 0) || (i > 9) then [] else (match List.rev l with | [] -> [] | h:...
12.860465
77
0.471971
aad439e653790a7446d73040dcd4e9929d590fb7
189
ml
OCaml
tutorial/app_info/config.ml
reynir/mirage-skeleton
4eb9b898d38073bed050f588e7132acfea770848
[ "Unlicense" ]
173
2015-01-03T13:31:44.000Z
2022-03-31T03:37:38.000Z
tutorial/app_info/config.ml
reynir/mirage-skeleton
4eb9b898d38073bed050f588e7132acfea770848
[ "Unlicense" ]
169
2015-01-07T14:52:21.000Z
2022-03-31T09:41:56.000Z
tutorial/app_info/config.ml
reynir/mirage-skeleton
4eb9b898d38073bed050f588e7132acfea770848
[ "Unlicense" ]
87
2015-01-15T14:27:24.000Z
2022-03-31T08:25:12.000Z
open Mirage let main = foreign "Unikernel.Main" ~packages:[package "fmt"] ~deps:[abstract app_info] (console @-> job) let () = register "console" [main $ default_console]
17.181818
45
0.645503
cd504ddc8890370e95e7b68fd271fb34f058e4ec
1,488
mli
OCaml
source/analysis/cfg.mli
dmitryvinn/pyre-check-1
b5e7c164397825ac32851bfe79a6f1a03399ed4c
[ "MIT" ]
1
2022-02-10T10:51:32.000Z
2022-02-10T10:51:32.000Z
source/analysis/cfg.mli
dmitryvinn/pyre-check-1
b5e7c164397825ac32851bfe79a6f1a03399ed4c
[ "MIT" ]
null
null
null
source/analysis/cfg.mli
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 Ast open Statement module Node : sig type kind = | Block of Statement.t list | Dispatch | Entry ...
19.578947
84
0.648522
17dfa8d7c172775b176e698ed2e6255c045e345f
715
ml
OCaml
src/server/DiceServer.ml
PrattFall/DiceCaddy
d33a67307518fe3b89c193cf2a84ca5a45f0cc2f
[ "BSD-2-Clause" ]
1
2017-09-26T16:43:28.000Z
2017-09-26T16:43:28.000Z
src/server/DiceServer.ml
PrattFall/DiceCaddy
d33a67307518fe3b89c193cf2a84ca5a45f0cc2f
[ "BSD-2-Clause" ]
10
2017-09-26T16:46:24.000Z
2017-12-14T01:22:59.000Z
src/server/DiceServer.ml
PrattFall/DiceCaddy
d33a67307518fe3b89c193cf2a84ca5a45f0cc2f
[ "BSD-2-Clause" ]
1
2017-10-18T19:20:02.000Z
2017-10-18T19:20:02.000Z
open Containers open Lwt open Cohttp open Cohttp_lwt_unix open DiceLib open DiceModels let db_info = Format.sprintf "dbname=%s port=%s host=%s" Options.db_name Options.db_port Options.db_host let route conn req body = let db = DB.connect db_info () in let uri_path = req |> Cohttp.Request.uri |> Ur...
20.428571
63
0.68951
1709a21b652b8db4f337f96cd385f66500290065
8,756
ml
OCaml
hphp/hack/src/utils/trie.ml
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/trie.ml
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/trie.ml
jjergus/hhvm
7f94d3da259c9443792327e0a61af1a6778d53b9
[ "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 (* Utility functions *) let make_pair (a : 'a) (b : 'b) : 'a * 'b = (a, b) let common_prefix (s1 ...
30.402778
80
0.536432
cd8993f5fca6ccbf0598d05ea2de722208de8c1c
698
ml
OCaml
OJacare2/examples/ojdvi/main.ml
hnrgrgr/OJacare2
61234066f2016ab70e9294c26008b60ef77a6a0b
[ "Beerware" ]
1
2022-01-18T01:57:44.000Z
2022-01-18T01:57:44.000Z
OJacare2/examples/ojdvi/main.ml
hnrgrgr/OJacare2
61234066f2016ab70e9294c26008b60ef77a6a0b
[ "Beerware" ]
null
null
null
OJacare2/examples/ojdvi/main.ml
hnrgrgr/OJacare2
61234066f2016ab70e9294c26008b60ef77a6a0b
[ "Beerware" ]
null
null
null
(* $Id: main.ml,v 1.4 2004/01/14 16:50:14 henry Exp $ *) open JGraphics module Dev = Javadev ;; module View = Dviview.Make(Dev) ;; (*** Parsing command-line arguments **) let crop_flag = ref true ;; let hmargin = ref (View.Cm 1.0) ;; let vmargin = ref (View.Cm 1.0) ;; let geometry = ref "864x864" ;; class ml...
21.8125
61
0.660458
cd2256124e1440342a81534c2d03ed4a0b220145
279,584
ml
OCaml
src/ocaml-output/FStar_ToSyntax_ToSyntax.ml
Trundle/js_of_fstar
1c8a2a1b951cc119dd49d3f5d9817571e17aab51
[ "Apache-2.0" ]
1
2017-05-14T21:45:17.000Z
2017-05-14T21:45:17.000Z
src/ocaml-output/FStar_ToSyntax_ToSyntax.ml
Trundle/js_of_fstar
1c8a2a1b951cc119dd49d3f5d9817571e17aab51
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_ToSyntax_ToSyntax.ml
Trundle/js_of_fstar
1c8a2a1b951cc119dd49d3f5d9817571e17aab51
[ "Apache-2.0" ]
null
null
null
open Prims let trans_aqual: FStar_Parser_AST.arg_qualifier Prims.option -> FStar_Syntax_Syntax.arg_qualifier Prims.option = fun uu___199_5 -> match uu___199_5 with | Some (FStar_Parser_AST.Implicit ) -> Some FStar_Syntax_Syntax.imp_tag | Some (FStar_Parser_AST.Equality ) -> Some FStar_Syntax_Synt...
50.981765
547
0.438548
aae9ef101f1c36e1fefac5c5a2179bebcff7fabd
562
ml
OCaml
dist/gcc-compatible/lib/EverCrypt_Curve25519_bindings.ml
BlackHorseSolutions/hacl-star
e7d8effb0c14f049cf016c09882c18681849c2a3
[ "Apache-2.0" ]
1,332
2018-06-25T18:44:25.000Z
2022-03-24T11:54:21.000Z
dist/gcc-compatible/lib/EverCrypt_Curve25519_bindings.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
311
2018-06-23T20:30:19.000Z
2022-03-31T16:52:05.000Z
dist/gcc-compatible/lib/EverCrypt_Curve25519_bindings.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
143
2018-08-23T11:43:58.000Z
2022-03-09T11:07:13.000Z
open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F let everCrypt_Curve25519_secret_to_public = foreign "EverCrypt_Curve25519_secret_to_public" (ocaml_bytes @-> (ocaml_bytes @-> (returning void))) let everCrypt_Curve25519_scalarmult = foreign "EverCrypt_Curve25519_scalarmult"...
40.142857
78
0.702847
cd25bc025848b7808c6609b985791dd06d3b4279
297
mli
OCaml
src/stdune/sexp.mli
praxtice/dune
061e1dcdf13a222693599c7bf417a742562dba53
[ "MIT" ]
null
null
null
src/stdune/sexp.mli
praxtice/dune
061e1dcdf13a222693599c7bf417a742562dba53
[ "MIT" ]
null
null
null
src/stdune/sexp.mli
praxtice/dune
061e1dcdf13a222693599c7bf417a742562dba53
[ "MIT" ]
null
null
null
type t = | Atom of string | List of t list module Encoder : sig type sexp include Sexp_intf.Combinators with type 'a t = 'a -> t val record : (string * sexp) list -> sexp val unknown : _ t end with type sexp := t val to_string : t -> string val pp : Format.formatter -> t -> unit
17.470588
56
0.639731
17338a2781e450494d88117981a57a2e7783dedf
8,246
ml
OCaml
cache/dns_cache.ml
cfcs/ocaml-dns
a2680183febd5432ffa8797671b04e17831e7aae
[ "BSD-2-Clause" ]
null
null
null
cache/dns_cache.ml
cfcs/ocaml-dns
a2680183febd5432ffa8797671b04e17831e7aae
[ "BSD-2-Clause" ]
null
null
null
cache/dns_cache.ml
cfcs/ocaml-dns
a2680183febd5432ffa8797671b04e17831e7aae
[ "BSD-2-Clause" ]
null
null
null
(* (c) 2017, 2018 Hannes Mehnert, all rights reserved *) open Dns type rank = | ZoneFile | ZoneTransfer | AuthoritativeAnswer | AuthoritativeAuthority | ZoneGlue | NonAuthoritativeAnswer | Additional let compare_rank a b = match a, b with | ZoneFile, ZoneFile -> 0 | ZoneFile, _ -> 1 | _, ZoneFile...
35.089362
108
0.662139
17c1aab7a8b76e6e09272922394078d35a8984cc
7,128
ml
OCaml
src/bin_node/node_identity_file.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/bin_node/node_identity_file.ml
noclouds/tezos-master
6c31af7ab3ea782f89f988e389e9b0860207a8d6
[ "MIT" ]
null
null
null
src/bin_node/node_identity_file.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 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
44.830189
109
0.609848