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
1792203802829c116e6ebdd228983fd93191e402
1,594
ml
OCaml
src/app/test_executive/send_payment_test.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
src/app/test_executive/send_payment_test.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
src/app/test_executive/send_payment_test.ml
milkey-mouse/mina
ebeee239b923519ff3c10fb5051de8aa2e018639
[ "Apache-2.0" ]
null
null
null
(* open Async *) open Integration_test_lib module Make (Engine : Engine_intf) = struct open Engine type network = Network.t type log_engine = Log_engine.t let config = let open Test_config in { default with block_producers= [{balance= "4000"; timing= Untimed}; {balance= "3000"; timing=...
35.422222
80
0.712673
aa9304a7fc2fc1580f322c652a7b1aad0bd513b4
177
mli
OCaml
src/parameter_name.mli
ostera/hardcaml
1100988ea72e3b79c4c47a0a954a122e6c1f9131
[ "MIT" ]
null
null
null
src/parameter_name.mli
ostera/hardcaml
1100988ea72e3b79c4c47a0a954a122e6c1f9131
[ "MIT" ]
null
null
null
src/parameter_name.mli
ostera/hardcaml
1100988ea72e3b79c4c47a0a954a122e6c1f9131
[ "MIT" ]
null
null
null
(** RTL name of parameters on instantiated modules. *) open! Import type t [@@deriving compare, sexp] include Equal.S with type t := t include Stringable.S with type t := t
17.7
54
0.706215
cd1e2122970477d2dc3ce6c60d679983aa30cd58
2,081
mli
OCaml
eval/sherrloc/easyocaml++/otherlibs/labltk/jpf/jpf_font.mli
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/sherrloc/easyocaml++/otherlibs/labltk/jpf/jpf_font.mli
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/sherrloc/easyocaml++/otherlibs/labltk/jpf/jpf_font.mli
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* MLTk, Tcl/Tk interface of Objective Caml *) (* *) (* Francois Rouaix, F...
37.836364
73
0.512254
173b9525a94f939273590753de6bd53e3d326b29
8,744
ml
OCaml
lib/hash_queue.ml
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
lib/hash_queue.ml
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
lib/hash_queue.ml
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
(* A hash-queue is a combination of a queue and a hashtable that * supports constant-time lookup and removal of queue elements in addition to * the usual queue operations (enqueue, dequeue). The queue elements are * key-value pairs. The hashtable has one entry for each element of the queue. * * Calls to function...
27.15528
84
0.614364
bcbe61325ad1f40207c09661f4fff710ccb6ff02
7,683
ml
OCaml
data/derived/comb/progs/unify/prog2990.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/prog2990.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2990.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
24.160377
148
0.634648
17e6c3583d75614435dbebd3f15a944d16ed3265
7,029
ml
OCaml
src/cfg/file_loader.ml
rleer/diamondback-ruby
5df2ff2eac022d5c6a82250810e1169851546dee
[ "BSD-3-Clause" ]
77
2017-07-26T18:25:05.000Z
2019-05-24T13:44:27.000Z
src/cfg/file_loader.ml
rleer/diamondback-ruby
5df2ff2eac022d5c6a82250810e1169851546dee
[ "BSD-3-Clause" ]
3
2017-10-23T08:28:14.000Z
2017-10-23T18:53:49.000Z
src/cfg/file_loader.ml
rleer/diamondback-ruby
5df2ff2eac022d5c6a82250810e1169851546dee
[ "BSD-3-Clause" ]
4
2017-10-23T05:18:29.000Z
2020-01-28T12:26:36.000Z
(** A file loader loads source files and keep the control flow graph (CFG) in the hashtable. The user may choose to cache them into .ast and .cache files if neded. 'mod_ast' field of type 't' is used to modify ASTs before refactoring into a CFG for handling dynamic features (evals). *) open Config open U...
31.95
82
0.66126
17f0d63225c4c091422f085527807396301800d0
10,951
ml
OCaml
src/model/lang.ml
Drup/odoc
342160124e57049c7efd5bb4802b8dc91ac2554c
[ "0BSD" ]
null
null
null
src/model/lang.ml
Drup/odoc
342160124e57049c7efd5bb4802b8dc91ac2554c
[ "0BSD" ]
null
null
null
src/model/lang.ml
Drup/odoc
342160124e57049c7efd5bb4802b8dc91ac2554c
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2014 Leo White <lpw25@cl.cam.ac.uk> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND TH...
22.626033
80
0.638846
17c62b93dfb6cca424dfecae185981982a19a1ee
8,626
ml
OCaml
lib/jsoo/api.ml
monstasat/janus-ocaml
b68e8b23a95dead8bd6921206ad8c1fe64e25e30
[ "MIT" ]
7
2019-03-13T21:59:57.000Z
2020-01-04T04:58:59.000Z
lib/jsoo/api.ml
monstasat/janus-ocaml
b68e8b23a95dead8bd6921206ad8c1fe64e25e30
[ "MIT" ]
null
null
null
lib/jsoo/api.ml
monstasat/janus-ocaml
b68e8b23a95dead8bd6921206ad8c1fe64e25e30
[ "MIT" ]
null
null
null
open Js_of_ocaml open Js_of_ocaml_lwt open Lwt.Infix open Utils open Webrtc type 'a frame = 'a XmlHttpRequest.generic_http_frame type error_ext = { response : string option ; error : string option ; timeout : int option } and error = string * error_ext option let make_error ?timeout ?error ?response ?message...
32.550943
78
0.606886
1753fa74bcebf6a8df93b384b5188c4a70f672dc
24
ml
OCaml
vendor/cohttp-async/cohttp-async/src/response.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/cohttp-async/cohttp-async/src/response.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/cohttp-async/cohttp-async/src/response.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
include Cohttp.Response
12
23
0.875
aa65c053ba014e9b0480506bc0cdbf09d784e1f7
86
ml
OCaml
data/derived/comb/progs/unify/prog6340.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/prog1495.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1495.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x result = a x in let base = 1 in List.fold_left f base fs;;
21.5
70
0.639535
1776f960655bf836506b995cafd87d24026dc744
8,824
ml
OCaml
server/incrementalCheck.ml
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
server/incrementalCheck.ml
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
server/incrementalCheck.ml
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open Ast open Analysis open Configuration.Analysis open Pyre type errors = Analysis.AnalysisError.t list [@@deriving show] let re...
36.016327
100
0.667498
17c32905a3481b7d13229fbe2ed0a1862bd3c37e
814
ml
OCaml
tests/test-variadic/stubs/functions.ml
Armael/ocaml-ctypes
b8968b6d7b5687399011275758e7597f6a7274f9
[ "MIT" ]
271
2015-01-02T14:49:27.000Z
2022-02-27T18:52:53.000Z
tests/test-variadic/stubs/functions.ml
Armael/ocaml-ctypes
b8968b6d7b5687399011275758e7597f6a7274f9
[ "MIT" ]
356
2015-01-02T16:31:32.000Z
2022-03-31T11:16:31.000Z
tests/test-variadic/stubs/functions.ml
Armael/ocaml-ctypes
b8968b6d7b5687399011275758e7597f6a7274f9
[ "MIT" ]
76
2015-01-12T11:37:18.000Z
2022-02-13T04:27:51.000Z
(* * Copyright (c) 2014 Jeremy Yallop. * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. *) (* Foreign function bindings for the variadic function tests. *) open Ctypes module Stubs (F: Ctypes.FOREIGN) = struct open F let size_t_as_int : int typ = view siz...
23.257143
71
0.69656
cd027e659c1a6f775c8db2ae6b66b818568dbd44
1,158
ml
OCaml
demos/la10a/src/la10-4-ans.ml
shibata-makoto/ocaml-blockly
8ad55f54810537987714b31c6729f92d9a5f5d38
[ "Apache-2.0" ]
null
null
null
demos/la10a/src/la10-4-ans.ml
shibata-makoto/ocaml-blockly
8ad55f54810537987714b31c6729f92d9a5f5d38
[ "Apache-2.0" ]
26
2019-04-22T08:06:19.000Z
2020-07-30T00:13:03.000Z
demos/la10a/src/la10-4-ans.ml
shibata-makoto/ocaml-blockly
8ad55f54810537987714b31c6729f92d9a5f5d38
[ "Apache-2.0" ]
22
2019-04-18T04:03:25.000Z
2021-02-08T08:54:55.000Z
open UniverseJs open Color open Image open World open TransformToInt type world_t = { mario : (int * int) list; } let initial_world = {mario = [(20, 50); (20, 150); (20, 250); (20, 350); (20, 450)]} let width = 700 let height = 500 let mwidth = 50 let mheight = 50 let mario = read_image "./img/mario4.png" mwidth mhe...
30.473684
218
0.694301
cd0530492f54008b3b9f5378345eaeb49c129974
5,306
ml
OCaml
Optician-Standalone/program/src/boom_lang.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
1
2020-02-22T12:30:30.000Z
2020-02-22T12:30:30.000Z
Optician-Standalone/program/src/boom_lang.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
null
null
null
Optician-Standalone/program/src/boom_lang.ml
optician-tool/Optician-Tool
4aa9d9d0f0511bf559abdc73dbef3b888d371d3a
[ "MIT" ]
null
null
null
open Stdlib open Lang open Lenscontext open Lens_utilities type boom_typ = | BoomTypRegex | BoomTypLens of Regex.t * Regex.t type boom_expression = | BoomExpRegex of Regex.t | BoomExpLens of Lens.t | BoomExpCut of boom_statement * boom_expression and boom_statement = | BoomStmtDefinition of Id.t * boom_t...
31.39645
95
0.633245
17d9fbf6532604f83caa06a5bddb5a4969d5273d
2,082
ml
OCaml
rescript/test/Tuple2Test.ml
pm5/tablecloth
76a9bf42cec03b3cd1e940d7441c5c8f7562e847
[ "MIT" ]
null
null
null
rescript/test/Tuple2Test.ml
pm5/tablecloth
76a9bf42cec03b3cd1e940d7441c5c8f7562e847
[ "MIT" ]
null
null
null
rescript/test/Tuple2Test.ml
pm5/tablecloth
76a9bf42cec03b3cd1e940d7441c5c8f7562e847
[ "MIT" ]
null
null
null
open Tablecloth open AlcoJest let suite = suite "Tuple2" (fun () -> test "make" (fun () -> expect (Tuple2.make 3 4) |> toEqual (let open Eq in pair int int) (3, 4) ) ; test "first" (fun () -> expect (Tuple2.first (3, 4)) ...
29.742857
73
0.392891
17f400019b6ffe00d29df91ea982016e416cd529
10,281
ml
OCaml
lib/bap_primus/bap_primus_memory.ml
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
lib/bap_primus/bap_primus_memory.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
lib/bap_primus/bap_primus_memory.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
open Core_kernel open Bap_core_theory open Bap.Std open Format open Bap_primus_types module Generator = Bap_primus_generator open Bap_primus_sexp type exn += Pagefault of addr let () = Exn.add_printer (function | Pagefault here -> Some (asprintf "Page fault at %a" Addr.pp_hex here) | _ -...
28.879213
74
0.638265
aafd31ee6a21a1fe3df9a90d231941b7f82c2155
29,546
ml
OCaml
hphp/hack/src/typing/typing_check_service.ml
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_check_service.ml
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_check_service.ml
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "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. * *) module Hack_bucket = Bucket open Hh_prelude module Bucket = Hack_bucket include Typing_service_types (* #### The type checki...
37.071518
137
0.664828
176207e3d4100c0f7cb067a494e4ddad48c88870
1,162
ml
OCaml
src/top_down/AST.ml
rixed/datalog
b44714b88f68c1d0ea9dbd021bd7302524284858
[ "BSD-2-Clause" ]
217
2015-01-05T22:15:36.000Z
2022-03-17T02:07:37.000Z
src/top_down/AST.ml
rixed/datalog
b44714b88f68c1d0ea9dbd021bd7302524284858
[ "BSD-2-Clause" ]
5
2019-02-08T16:12:57.000Z
2021-08-09T18:56:20.000Z
src/top_down/AST.ml
rixed/datalog
b44714b88f68c1d0ea9dbd021bd7302524284858
[ "BSD-2-Clause" ]
22
2015-09-15T16:35:13.000Z
2022-01-18T17:43:23.000Z
(* this file is part of datalog. See README for the license *) (** {1 AST for TopDown terms} *) type term = | Var of string | Apply of string * term list | Int of int type aggregate = { ag_left : term; ag_constructor : string; ag_var : string; ag_guard : term; } (* aggregate: ag_left = ag_constructor ...
24.723404
62
0.703959
cd1e5cf60f52da51ad513f895ad83e2ce676f8e5
1,341
ml
OCaml
lib/scheduler_unit_tests.ml
commonlisp/async
cd0679781516b356cfcb73e054b4e295f5373e71
[ "Apache-2.0" ]
null
null
null
lib/scheduler_unit_tests.ml
commonlisp/async
cd0679781516b356cfcb73e054b4e295f5373e71
[ "Apache-2.0" ]
null
null
null
lib/scheduler_unit_tests.ml
commonlisp/async
cd0679781516b356cfcb73e054b4e295f5373e71
[ "Apache-2.0" ]
null
null
null
open Core.Std open Std TEST_MODULE = struct (* [Scheduler.run_cycles_until_no_jobs_remain] includes things scheduled in the past *) TEST_UNIT = Thread_safe.block_on_async_exn (fun () -> let has_determined = ref false in upon (after (sec 0.)) (fun () -> has_determined := true); Async_kernel.Sc...
31.928571
90
0.665175
17d1621bb2b25c8732016830ea07d8e93e9c0965
7,442
ml
OCaml
2018/hw2/test2.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
15
2019-09-09T13:12:38.000Z
2021-06-04T11:02:35.000Z
2018/hw2/test2.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
4
2019-09-10T07:21:43.000Z
2019-09-19T11:07:31.000Z
2018/hw2/test2.ml
ryanking13/pl-checker
1a7cb10beb3f09ec7020f526bc5c9775848ed67c
[ "MIT" ]
2
2019-09-09T13:14:11.000Z
2021-03-13T13:55:20.000Z
(* Exercise 2. diff *) open Ex2 open Testlib (* Hash function for handling minus powers *) let hash : int * int -> int = fun(a,b) -> a * 37 + b * 1000000009 (* Simple integer exponential *) let rec pow : int * int -> int = fun(a,b) -> if b < 0 then hash (a,b) else if b = 0 then 1 else a * (pow (a,b-1)) (* Si...
31.400844
153
0.493147
17eda9f401c1ff5ea932e179d4d8646e27c7c4a0
1,008
ml
OCaml
bigstring-io-lib/test/tests.ml
janestreet/shexp
1828d1015f3f2df3d3328d74773ee80b5f05fdb0
[ "MIT" ]
110
2016-08-15T12:10:02.000Z
2022-02-27T19:31:10.000Z
bigstring-io-lib/test/tests.ml
janestreet/shexp
1828d1015f3f2df3d3328d74773ee80b5f05fdb0
[ "MIT" ]
13
2016-08-29T23:51:36.000Z
2020-09-16T11:40:25.000Z
bigstring-io-lib/test/tests.ml
janestreet/shexp
1828d1015f3f2df3d3328d74773ee80b5f05fdb0
[ "MIT" ]
13
2016-08-15T20:39:10.000Z
2021-12-17T02:47:35.000Z
open Core open Expect_test_helpers_core module Unix = Core_unix module B = Shexp_bigstring_io.Std.Bigstring let%expect_test _ = protectx (Filename_unix.temp_file "test" "") ~finally:Sys_unix.remove ~f:(fun fn -> let s = String.init 100 ~f:(fun i -> let n = i mod 27 in if n = 26 then '\n' el...
27.243243
85
0.636905
179d9233e58c45751dc49b0ff4c8e44e1e45a8a1
803
ml
OCaml
src/common/files.ml
Hans-Halverson/myte
ea9c9bc69d48c719a91c8c2ede544fc690400243
[ "MIT" ]
3
2021-08-28T04:39:32.000Z
2021-11-18T18:48:40.000Z
src/common/files.ml
Hans-Halverson/myte
ea9c9bc69d48c719a91c8c2ede544fc690400243
[ "MIT" ]
null
null
null
src/common/files.ml
Hans-Halverson/myte
ea9c9bc69d48c719a91c8c2ede544fc690400243
[ "MIT" ]
null
null
null
let absolute_root = Sys.getcwd () let absolute_root_len = String.length absolute_root let absolute_root_with_trailing = absolute_root ^ "/" let absolute_root_with_trailing_len = String.length absolute_root_with_trailing let strip_root str = if String.length str >= absolute_root_with_trailing_len && String...
25.903226
98
0.722291
174d6f19abd7b206d854578573d916e0d89ec1e6
2,306
mll
OCaml
src/glob_lexer.mll
fdopen/jbuilder
a7067f5aa867c4c0d21650491e03793caf734f52
[ "Apache-2.0" ]
3
2020-09-06T21:32:35.000Z
2020-09-08T14:27:27.000Z
src/glob_lexer.mll
stedolan/dune
37b1125f0334133c21ae446645163d1f290f86cd
[ "Apache-2.0" ]
null
null
null
src/glob_lexer.mll
stedolan/dune
37b1125f0334133c21ae446645163d1f290f86cd
[ "Apache-2.0" ]
null
null
null
{ open Jbuilder_re open Re let no_slash = diff any (char '/') let no_slash_no_dot = diff any (set "./") type stack = | Bottom | Lbrace of stack | Re of Re.t * stack | Comma of stack let make_group st = let rec loop current_re full_res st = match st with | Bottom -> failwith "'}' wi...
33.911765
81
0.445794
17267dfd5015950c95ace5e536d78ac94e0f6b70
5,889
mli
OCaml
src/time_stamp_counter.mli
acatton/fork--janestreet--core
c125d07001e8a15a3b705e783e3da7e8e6413f25
[ "Apache-2.0" ]
null
null
null
src/time_stamp_counter.mli
acatton/fork--janestreet--core
c125d07001e8a15a3b705e783e3da7e8e6413f25
[ "Apache-2.0" ]
null
null
null
src/time_stamp_counter.mli
acatton/fork--janestreet--core
c125d07001e8a15a3b705e783e3da7e8e6413f25
[ "Apache-2.0" ]
null
null
null
(** High-performance timing. This module provides the fast function [now ()] which is our best effort high-performance cycle counter for a given platform. For x86 systems this retrieves the CPU's internal time stamp counter using the RDTSC instruction. For systems that do not have a RDTSC instruction...
45.651163
90
0.665818
17e982a2019f5185b2dd4beddb4db51fe6e35dc6
932
mli
OCaml
src/cdomains/structDomain.mli
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
2
2021-04-15T17:38:12.000Z
2021-06-17T10:09:04.000Z
src/cdomains/structDomain.mli
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
27
2021-07-01T17:00:28.000Z
2021-07-08T13:12:32.000Z
src/cdomains/structDomain.mli
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
null
null
null
(** Abstract domains representing structs. *) open Cil module type S = sig include Lattice.S type field (** The abstract representation of field names. *) type value (** The abstract domain of values stored in the struct. *) val get: t -> field -> value val replace: t -> field -> value -> t val fold...
32.137931
84
0.626609
aabbfe3af56fdde3060c7a5897249d3851b10f6e
5,684
ml
OCaml
libraries/ec2/lib/getCapacityReservationUsage.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/ec2/lib/getCapacityReservationUsage.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/getCapacityReservationUsage.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] open Aws module GetCapacityReservationUsageRequest = struct type t = { capacity_reservation_id: String.t [@ocaml.doc "<p>The ID of the Capacity Reservation.</p>"]; next_token: String.t option [@ocaml.doc ...
40.312057
297
0.590429
17d95902fb13a94ab7fa890fc2274b4942da63d7
1,991
ml
OCaml
libraries/ec2/lib/purchaseReservedInstancesOffering.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/purchaseReservedInstancesOffering.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/purchaseReservedInstancesOffering.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = PurchaseReservedInstancesOfferingRequest.t type output = PurchaseReservedInstancesOfferingResult.t type error = Errors_internal.t let service = "ec2" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (A...
31.603175
113
0.590658
17e60577e47a54f78b5de8acd680f2f3ef5a1b0c
587
ml
OCaml
NewOjacare/src/javagen/javaInit.ml
beaCarre/PSTL
c681037d239d12c73dd0116335296be632e0bd94
[ "Beerware" ]
null
null
null
NewOjacare/src/javagen/javaInit.ml
beaCarre/PSTL
c681037d239d12c73dd0116335296be632e0bd94
[ "Beerware" ]
null
null
null
NewOjacare/src/javagen/javaInit.ml
beaCarre/PSTL
c681037d239d12c73dd0116335296be632e0bd94
[ "Beerware" ]
null
null
null
(* $Id: javaInit.ml,v 1.1.1.1 2003/10/19 22:57:41 henry Exp $ *) open Cidl open Format let output ppf init = let java_name = Ident.get_class_java_stub_name init.cmi_class and targs = init.cmi_args in let nargs = List.map (fun i -> "_p"^string_of_int i) (Utilities.interval 0 (List.length targs)) in let...
29.35
102
0.657581
aa76cd4eaab5a47371f1ce5ee9365824d7786370
70,541
ml
OCaml
src/lib/mina_lib/mina_lib.ml
arijitAD/mina
bbeac159698b60bb6f755eea25833ba4bd0b2712
[ "Apache-2.0" ]
null
null
null
src/lib/mina_lib/mina_lib.ml
arijitAD/mina
bbeac159698b60bb6f755eea25833ba4bd0b2712
[ "Apache-2.0" ]
null
null
null
src/lib/mina_lib/mina_lib.ml
arijitAD/mina
bbeac159698b60bb6f755eea25833ba4bd0b2712
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Async open Unsigned open Mina_base open Mina_transition open Pipe_lib open Strict_pipe open Signature_lib open O1trace open Otp_lib open Network_peer module Archive_client = Archive_client module Config = Config module Conf_dir = Conf_dir module Subscriptions = Coda_subscriptions module Snark_work...
41.445946
225
0.59201
aa351f40afd69add3ddac6490be6b88c6326290a
3,596
ml
OCaml
src/lib/coclobas.ml
smondet/secotrec
c801a43fdb0feea98da6d3636145f948aed4e7be
[ "Apache-2.0" ]
5
2017-02-13T22:37:52.000Z
2020-04-30T11:06:52.000Z
src/lib/coclobas.ml
smondet/secotrec
c801a43fdb0feea98da6d3636145f948aed4e7be
[ "Apache-2.0" ]
59
2017-02-13T22:18:16.000Z
2017-11-03T13:51:27.000Z
src/lib/coclobas.ml
smondet/secotrec
c801a43fdb0feea98da6d3636145f948aed4e7be
[ "Apache-2.0" ]
6
2017-03-03T20:32:24.000Z
2019-03-05T20:55:26.000Z
open Common module Aws_batch_cluster = struct type t = { queue: string; bucket: string; } [@@deriving make] end type cluster = [ | `GKE of Gke_cluster.t | `Local of int | `Aws_batch of Aws_batch_cluster.t ] type t = { name:string [@default "coclo"]; opam_pin: Opam.Pin.t list; root: string [@def...
28.314961
96
0.544772
17431f1317bc02bb02d96a0739c100323b48b25a
744
ml
OCaml
data/derived/comb/progs/unify/prog6602.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/prog1770.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1770.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = match n with | n when n <= 0 -> [] | _ -> x :: (clone x (n - 1));; let padZero l1 l2 = let x = List.length l1 in let y = List.length l2 in if x > y then let z = x - y in (l1, ((clone 0 z) @ l2)) else (let z = y - x in (((clone 0 z) @ l1), l2));; let rec removeZero l = match l with ...
28.615385
78
0.497312
aaf8fc832abe57785b360cc31c75e695dae788d8
14,158
ml
OCaml
src/lib/mina_lib/coda_subscriptions.ml
junjiequ123/mina
0d0e15cc3276f5d9f66ef9024ecad929fc93ddac
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/lib/mina_lib/coda_subscriptions.ml
junjiequ123/mina
0d0e15cc3276f5d9f66ef9024ecad929fc93ddac
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/lib/mina_lib/coda_subscriptions.ml
junjiequ123/mina
0d0e15cc3276f5d9f66ef9024ecad929fc93ddac
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
open Core_kernel open Async_kernel open Pipe_lib open Mina_base open Signature_lib open O1trace type 'a reader_and_writer = 'a Pipe.Reader.t * 'a Pipe.Writer.t module Optional_public_key = struct module T = struct type t = Public_key.Compressed.t option [@@deriving hash, compare, sexp] end include Hashable...
41.276968
84
0.554527
17d8a91477ebfec682dc8936e831796d175e15b2
819
mli
OCaml
src/lib/Nbe.mli
darinmorrison/cool-tt
2fcffdd90ec0a6088ff7df608c7284e07d49009c
[ "MIT" ]
5
2020-01-03T15:47:48.000Z
2020-03-08T13:51:59.000Z
src/lib/Nbe.mli
silvanshade/cool-tt
2fcffdd90ec0a6088ff7df608c7284e07d49009c
[ "MIT" ]
null
null
null
src/lib/Nbe.mli
silvanshade/cool-tt
2fcffdd90ec0a6088ff7df608c7284e07d49009c
[ "MIT" ]
null
null
null
module D := Domain module S := Syntax module St := ElabState exception Nbe_failed of string (* TODO: eval functions take state?? Potential problem is reifying _old_ states in whnfs. Led to bugs in redtt. *) (* Functions to pass between various semantic domains *) val eval : St.t -> D.env -> S.t -> D.t val eval_tp : ...
35.608696
114
0.617827
bccfc703539828770636a2cc126086655124dce1
18,267
ml
OCaml
data/derived/comb/progs/unify/prog2096.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/prog2096.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2096.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.854317
208
0.661959
17db44f2f0db99f3759a0a413177339b49de594f
5,158
mly
OCaml
sil/parser.mly
petr-muller/abductor
4c9199378e847e22660daab5e5843805d4035d0a
[ "Intel", "Unlicense" ]
null
null
null
sil/parser.mly
petr-muller/abductor
4c9199378e847e22660daab5e5843805d4035d0a
[ "Intel", "Unlicense" ]
null
null
null
sil/parser.mly
petr-muller/abductor
4c9199378e847e22660daab5e5843805d4035d0a
[ "Intel", "Unlicense" ]
null
null
null
/* * * Copyright (c) 2006-2008, * Cristiano Calcagno <ccris@doc.ic.ac.uk> * Dino Distefano <ddino@dcs.qmul.ac.uk> * Peter O'Hearn <ohearn@dcs.qmul.ac.uk> * Hongseok Yang <hyang@dcs.qmul.ac.uk> * All rights reserved. */ %{ (* header *) (* implicitly called when no grammar rules a...
21.672269
220
0.644048
17c45501afb16912c3f20ec2354bc61310745b53
5,697
ml
OCaml
duniverse/opam/src/state/opamSysPoll.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/opam/src/state/opamSysPoll.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/opam/src/state/opamSysPoll.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2017-2019 OCamlPro *) (* *) (* All righ...
33.122093
107
0.539407
cd0a6cb019c0aade3e6f6df19ea020f3b67df94b
3,495
mli
OCaml
grpc/helpers.mli
bobot/fabric-chaincode-ocaml
bef9008ce8a20fb5155a855dc860f9062340b829
[ "Apache-2.0" ]
null
null
null
grpc/helpers.mli
bobot/fabric-chaincode-ocaml
bef9008ce8a20fb5155a855dc860f9062340b829
[ "Apache-2.0" ]
1
2021-12-09T16:07:12.000Z
2021-12-09T16:07:12.000Z
grpc/helpers.mli
bobot/fabric-chaincode-ocaml
bef9008ce8a20fb5155a855dc860f9062340b829
[ "Apache-2.0" ]
null
null
null
exception QUEUE_SHUTDOWN exception TIMEOUT module Op : sig type status_code_error = | CANCELLED | UNKNOWN | INVALID_ARGUMENT | DEADLINE_EXCEEDED | NOT_FOUND | ALREADY_EXISTS | PERMISSION_DENIED | UNAUTHENTICATED | RESOURCE_EXHAUSTED | FAILED_PRECONDITION | ABORTED | O...
22.694805
79
0.640057
17815bca2aad30b4d31236190aaf34921507e8ef
9,301
ml
OCaml
src/dune/ordered_set_lang.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/ordered_set_lang.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/dune/ordered_set_lang.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
open! Stdune open! Import module Ast = struct [@@@warning "-37"] type expanded = Expanded type unexpanded = Unexpanded type ('a, _) t = | Element : 'a -> ('a, _) t | Standard : ('a, _) t | Union : ('a, 'b) t list -> ('a, 'b) t | Diff : ('a, 'b) t * ('a, 'b) t -> ('a, 'b) t | Include : St...
25.980447
80
0.535319
bce57a7ab98ff2aa82297508ef9ecf68547cd764
7,894
mli
OCaml
src/lib_stdlib_unix/lwt_utils_unix.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/lib_stdlib_unix/lwt_utils_unix.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/lib_stdlib_unix/lwt_utils_unix.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "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> *) ...
39.273632
79
0.629212
17b6b2db97696805a2684fe70906508df8688871
25,406
ml
OCaml
infer/src/absint/AbstractInterpreter.ml
cho-m/infer
a47cf83831cc6f44df5f5af74cdc7d0f0daff862
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/src/absint/AbstractInterpreter.ml
cho-m/infer
a47cf83831cc6f44df5f5af74cdc7d0f0daff862
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/src/absint/AbstractInterpreter.ml
cho-m/infer
a47cf83831cc6f44df5f5af74cdc7d0f0daff862
[ "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. *) open! IStd module F = Format module L = Logging type exec_node_schedule_result = ReachedFixPoint | DidNotReachFixPoint module Vis...
40.135861
102
0.676572
17f8b2277a30084e793cf85f85894253cf0f697f
1,138
ml
OCaml
data/sp14/0580.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0580.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0580.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec wwhile (f,b) = let (number,boolean) = f b in if boolean then wwhile (f, number) else number;; let fixpoint (f,b) = wwhile ((fun y -> fun x -> ((f x), ((f x) != b))), b);; (* fix let rec wwhile (f,b) = let (number,boolean) = f b in if boolean then wwhile (f, number) else number;; let fixpoint (f,...
14.779221
78
0.476274
17e793b2cad1b30ce5bd7883435c23e57dd3f229
7,019
ml
OCaml
Examples/KingOfTheTezos/KingOfTheTezos_V5.ml
postables/Michelson
36e4ead09e34e95ab0e82037643e8fe0d0888d13
[ "MIT" ]
22
2018-07-30T06:42:36.000Z
2019-10-30T20:55:12.000Z
Examples/KingOfTheTezos/KingOfTheTezos_V5.ml
postables/Michelson
36e4ead09e34e95ab0e82037643e8fe0d0888d13
[ "MIT" ]
null
null
null
Examples/KingOfTheTezos/KingOfTheTezos_V5.ml
postables/Michelson
36e4ead09e34e95ab0e82037643e8fe0d0888d13
[ "MIT" ]
1
2018-11-11T12:54:11.000Z
2018-11-11T12:54:11.000Z
[%%version 0.3] (* KingOfTheTezos - Tezos version of King Of The Ether *) (* Author - Postables *) (* Version - 0.4 *) (* //INTRODUCTION// The greetings and passings tributes are fixed. The idea behind this is that as time goes on, and tezos becomes more popular; it becomes more costly to usurp, which will have...
53.580153
285
0.639407
17a30aa2a7eb9b697e439b19b90eea675421388d
174
ml
OCaml
lib/middleware_config.ml
StrykerKKD/Jerboa
0c1cbfcba003e99a39a37c4a9795b911f8eb2e7b
[ "MIT" ]
8
2018-11-06T19:46:15.000Z
2020-03-05T19:17:21.000Z
lib/middleware_config.ml
StrykerKKD/Jerboa
0c1cbfcba003e99a39a37c4a9795b911f8eb2e7b
[ "MIT" ]
1
2019-03-22T23:34:07.000Z
2019-03-30T15:15:20.000Z
lib/middleware_config.ml
StrykerKKD/Jerboa
0c1cbfcba003e99a39a37c4a9795b911f8eb2e7b
[ "MIT" ]
1
2018-11-13T10:52:26.000Z
2018-11-13T10:52:26.000Z
let apply_middlewares middleware_config request = Base.List.fold middleware_config ~init:request ~f:(fun request_accumulator middleware -> middleware request_accumulator)
87
124
0.83908
cd1c57d6b03918926d8b10277f99d27ca16ca2e4
368
mli
OCaml
src/log.mli
fdopen/jbuilder
a7067f5aa867c4c0d21650491e03793caf734f52
[ "Apache-2.0" ]
1
2021-06-14T11:27:06.000Z
2021-06-14T11:27:06.000Z
src/log.mli
stedolan/dune
37b1125f0334133c21ae446645163d1f290f86cd
[ "Apache-2.0" ]
null
null
null
src/log.mli
stedolan/dune
37b1125f0334133c21ae446645163d1f290f86cd
[ "Apache-2.0" ]
null
null
null
(** Log file *) type t val no_log : t val create : unit -> t (** Print an information message in the log *) val info : t -> string -> unit val infof : t -> ('a, Format.formatter, unit, unit) format4 -> 'a (** Print an executed command in the log *) val command : t -> command_line:string -> output:string ...
16
65
0.630435
17f400bd5b978f70b04240e3c3306ff649d785c2
2,281
mli
OCaml
experiments/ownership-inference/infer/infer/src/biabduction/Tabulation.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
30
2019-06-28T15:20:25.000Z
2021-08-25T11:37:30.000Z
experiments/ownership-inference/infer/infer/src/biabduction/Tabulation.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
39
2019-06-28T15:08:12.000Z
2020-07-17T01:44:33.000Z
experiments/ownership-inference/infer/infer/src/biabduction/Tabulation.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
17
2019-06-28T14:40:41.000Z
2021-03-11T19:26:13.000Z
(* * Copyright (c) 2009-2013, Monoidics ltd. * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd (** kind of result of a procedure call *) type call_result = | CR_success ...
31.680556
100
0.703639
cd1b9a6c25ad5ecd5acd251a2f214d299c47c81a
744
ml
OCaml
lwt/sendmsg_lwt.ml
pqwy/sendmsg
070da7c5169570763d0996330c86ddce5d5de277
[ "0BSD" ]
10
2016-11-05T13:40:07.000Z
2021-08-16T14:28:49.000Z
lwt/sendmsg_lwt.ml
pqwy/ocaml-sendmsg
070da7c5169570763d0996330c86ddce5d5de277
[ "0BSD" ]
2
2020-03-24T06:44:02.000Z
2020-03-24T08:49:54.000Z
lwt/sendmsg_lwt.ml
pqwy/ocaml-sendmsg
070da7c5169570763d0996330c86ddce5d5de277
[ "0BSD" ]
null
null
null
(* Copyright (c) 2016 David Kaloper Meršinjak. All rights reserved. See LICENSE.md. *) open Lwt open Lwt_unix let result = function | (n, Some fd) -> (n, Some (of_unix_file_descr fd)) | (n, None) -> (n, None) let usock = unix_file_descr let usocko = function Some fd -> Some (unix_file_descr fd) | _ -> Non...
24.8
70
0.634409
cd1a7f23f46fa5ca29c8e3a0ca83022ad856e373
4,212
ml
OCaml
src/lib/work_selector/intf.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/work_selector/intf.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/work_selector/intf.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
open Core open Currency module type Inputs_intf = sig module Ledger_hash : sig type t end module Sparse_ledger : sig type t end module Transaction : sig type t end module Transaction_witness : sig type t end module Ledger_proof : sig type t end module Transaction_snark_wo...
21.71134
80
0.657407
aa2695b04130afcffba22282c3d11a5760d28fe0
1,840
ml
OCaml
qpack/test/qif.ml
anmonteiro/ocaml-quic
7f1a06fbe5380954bf49adc53a8fa7458bdc0024
[ "BSD-3-Clause" ]
21
2021-01-14T19:16:28.000Z
2021-08-18T17:50:31.000Z
qpack/test/qif.ml
anmonteiro/ocaml-quic
7f1a06fbe5380954bf49adc53a8fa7458bdc0024
[ "BSD-3-Clause" ]
null
null
null
qpack/test/qif.ml
anmonteiro/ocaml-quic
7f1a06fbe5380954bf49adc53a8fa7458bdc0024
[ "BSD-3-Clause" ]
1
2021-04-08T09:23:06.000Z
2021-04-08T09:23:06.000Z
open Test_helpers (* https://github.com/quicwg/base-drafts/wiki/QPACK-Offline-Interop *) let input_lines = let rec loop ic acc = match input_line ic with | exception End_of_file -> List.rev acc | line -> loop ic (line :: acc) in fun ic -> loop ic [] let read_entire_file f = let ch = o...
23.896104
75
0.586413
17ac19d90693027e73f4a4f4261a75b62d30ede8
15,200
ml
OCaml
test/test_applicative.ml
mbacarella/base
02baffc343fd0eb8f58dce6fddf1ab5d3afba78e
[ "MIT" ]
null
null
null
test/test_applicative.ml
mbacarella/base
02baffc343fd0eb8f58dce6fddf1ab5d3afba78e
[ "MIT" ]
null
null
null
test/test_applicative.ml
mbacarella/base
02baffc343fd0eb8f58dce6fddf1ab5d3afba78e
[ "MIT" ]
null
null
null
open! Import let%test_module "Make" = (module struct module A = Applicative.Make (struct type 'a t = 'a Or_error.t let return = Or_error.return let apply = Or_error.apply let map = `Define_using_apply end) let error = Or_error.error_string module Tests : module ty...
33.406593
88
0.455066
17b108bdf5986633e99b290e7e8aece0c1d5116b
138
mli
OCaml
src/backend/zenon.mli
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
31
2016-08-16T14:58:40.000Z
2022-02-19T18:38:07.000Z
src/backend/zenon.mli
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
49
2020-03-04T18:13:13.000Z
2022-02-07T17:43:24.000Z
src/backend/zenon.mli
kape1395/tlapm
eeafc565abdfc4247f7a48b95b71fabf4dc038f8
[ "BSD-2-Clause" ]
12
2020-02-26T19:58:37.000Z
2021-11-12T22:18:25.000Z
(* * Copyright (C) 2011 INRIA and Microsoft Corporation *) val pp_print_obligation : Format.formatter -> Proof.T.obligation -> unit;;
23
74
0.717391
176457f6dd9692b0fba2e3b8471ffe41f89f33e3
11,913
ml
OCaml
infer/src/backend/Attribute.ml
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
infer/src/backend/Attribute.ml
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
infer/src/backend/Attribute.ml
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2009 - 2013 Monoidics ltd. * Copyright (c) 2013 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS...
36.431193
100
0.640645
17d2e61d671eac046e33d960b9d6be4d65c4110a
76
mli
OCaml
instrumentor/coverageFinder.mli
liblit/sampler
eaedba51ee8367b9b355e6f85a6c677878160d49
[ "BSD-3-Clause" ]
null
null
null
instrumentor/coverageFinder.mli
liblit/sampler
eaedba51ee8367b9b355e6f85a6c677878160d49
[ "BSD-3-Clause" ]
null
null
null
instrumentor/coverageFinder.mli
liblit/sampler
eaedba51ee8367b9b355e6f85a6c677878160d49
[ "BSD-3-Clause" ]
1
2019-01-08T11:09:59.000Z
2019-01-08T11:09:59.000Z
open Cil class visitor : Counters.manager -> fundec -> SiteFinder.visitor
15.2
64
0.75
1779801cc7f4f555707d6d37e3b10f87502978cc
5,046
ml
OCaml
data/sp14/0800.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0800.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0800.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr | Sqrt of expr | Abs of expr | Gauss of expr* expr* expr;; let buildAverage (e1,e2) = Average (e1, e2);; let buildCosine e = Cosine e;; let buildGauss (e1,e2...
19.259542
77
0.508125
aa4ab335d80c8fb37192536544bd8273067a579d
5,171
ml
OCaml
src/eff/eff.ml
jO-Osko/eff
d1a0405ed6c1ffe4ceb872d05994ac817300d9fd
[ "BSD-2-Clause" ]
659
2015-01-09T21:04:44.000Z
2022-03-30T05:54:03.000Z
src/eff/eff.ml
jO-Osko/eff
d1a0405ed6c1ffe4ceb872d05994ac817300d9fd
[ "BSD-2-Clause" ]
44
2015-03-27T03:37:05.000Z
2022-03-04T12:27:21.000Z
src/eff/eff.ml
jO-Osko/eff
d1a0405ed6c1ffe4ceb872d05994ac817300d9fd
[ "BSD-2-Clause" ]
38
2015-03-27T23:28:30.000Z
2022-03-29T00:21:25.000Z
open Utils let usage = "Usage: eff [option] ... [file] ..." (* A list of files to be loaded and run. *) type use_file = Run of string | Load of string let file_queue = ref [] let enqueue_file filename = file_queue := filename :: !file_queue (* Command-line options *) let options = Arg.align [ ( "--no-s...
31.150602
80
0.601044
179bca73c9b36c1de2998344a44808d60c11754b
775
ml
OCaml
examples/ghz/extraction/ml/ExtractionGateSet.ml
inQWIRE/SQIRE
37b35dc2b5eadbce0f9a34dba0b0173a6e914f00
[ "MIT" ]
8
2019-05-23T18:33:50.000Z
2019-07-26T06:18:10.000Z
examples/ghz/extraction/ml/ExtractionGateSet.ml
inQWIRE/SQIMP
37b35dc2b5eadbce0f9a34dba0b0173a6e914f00
[ "MIT" ]
1
2019-09-10T13:45:30.000Z
2019-09-10T22:06:56.000Z
examples/ghz/extraction/ml/ExtractionGateSet.ml
inQWIRE/SQIMP
37b35dc2b5eadbce0f9a34dba0b0173a6e914f00
[ "MIT" ]
4
2019-05-06T22:22:52.000Z
2019-09-03T12:42:30.000Z
type 'u ucom = | Coq_useq of 'u ucom * 'u ucom | Coq_uapp of int * 'u * int list type coq_U = | U_X | U_H | U_U1 of float | U_U2 of float * float | U_U3 of float * float * float | U_CX | U_CU1 of float | U_CH | U_SWAP | U_CCX | U_CCU1 of float | U_CSWAP | U_C3X | U_C4X (** val coq_H : int -> coq_U ucom **) let coq_...
16.847826
76
0.590968
cd1e92be6613c21a6b9906460a25463da50234ad
1,358
mli
OCaml
src/lib/coda_base/sparse_ledger.mli
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
2
2020-11-14T20:16:02.000Z
2021-08-19T12:44:52.000Z
src/lib/coda_base/sparse_ledger.mli
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
11
2021-09-02T10:10:36.000Z
2022-02-27T08:56:41.000Z
src/lib/coda_base/sparse_ledger.mli
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
null
null
null
open Core open Snark_params.Tick [%%versioned: module Stable : sig module V1 : sig type t = ( Ledger_hash.Stable.V1.t , Account_id.Stable.V1.t , Account.Stable.V1.t , Token_id.Stable.V1.t ) Sparse_ledger_lib.Sparse_ledger.T.Stable.V1.t [@@deriving sexp, to_yojson] end end] ty...
24.25
75
0.702504
cd1ab4d75af5b419c2635b7bb9e6fb3214c7bbdd
5,247
ml
OCaml
src/nucleus/alpha_equal.ml
Andromedans/andromeda
761b0fd07cab5cbcf68a06e79b7f27301826ca82
[ "BSD-2-Clause" ]
210
2015-11-10T17:16:02.000Z
2022-03-31T16:08:42.000Z
src/nucleus/alpha_equal.ml
anjapetkovic/andromeda
a5c678450e6c6d4a7cd5eee1196bde558541b994
[ "BSD-2-Clause" ]
244
2015-11-10T16:20:24.000Z
2020-09-06T03:55:46.000Z
src/nucleus/alpha_equal.ml
anjapetkovic/andromeda
a5c678450e6c6d4a7cd5eee1196bde558541b994
[ "BSD-2-Clause" ]
20
2015-11-10T16:15:10.000Z
2022-02-16T08:08:23.000Z
(****** Alpha equality ******) open Nucleus_types let equal_bound (i : bound) (j : bound) = (i = j) let rec is_type t1 t2 = t1 == t2 || match t1, t2 with | TypeMeta (mv, args), TypeMeta (mv', args') -> meta mv mv' && term_arguments args args' | TypeConstructor (c, args), TypeConstructor (c', args') ->...
31.419162
99
0.647799
177825d7b0ee82afe72d015ea5d3d8f155f277fc
9,889
ml
OCaml
src/lang/TermTypes.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
2
2022-01-12T16:50:30.000Z
2022-01-28T16:14:40.000Z
src/lang/TermTypes.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
src/lang/TermTypes.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
open Base open Lexing module O = Option (** Variables have unique integer ids but two variables can have the same name. Additional information can be added via variable attributes. For example, a variable can be a Terminal or a NonTerminal in the context of a pattern matching recursion scheme. *) module At...
22.272523
103
0.548589
17c26efc4b050118ad49ab3d420dc23d3c601a08
137
ml
OCaml
src/config.ml
daypack-dev/timeteller
3ccdafae9bdb60572f81c8e262e6a61e2a0679e6
[ "MIT" ]
2
2020-09-20T18:30:17.000Z
2021-01-28T13:28:34.000Z
src/config.ml
daypack-dev/timeteller
3ccdafae9bdb60572f81c8e262e6a61e2a0679e6
[ "MIT" ]
null
null
null
src/config.ml
daypack-dev/timeteller
3ccdafae9bdb60572f81c8e262e6a61e2a0679e6
[ "MIT" ]
null
null
null
let max_input_char_count = 20480 let batch_window_in_seconds = 60L let batch_max_count = 43 let max_time_slot_count_to_send_over = 10
17.125
41
0.832117
aaab9780230a87ef5d87ad7ab5910c5f22ec63c0
1,354
ml
OCaml
src/dune_rules/lib_file_deps.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
245
2016-12-02T14:13:32.000Z
2018-01-14T20:00:40.000Z
src/dune_rules/lib_file_deps.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
380
2017-01-28T18:46:52.000Z
2018-01-17T13:34:51.000Z
src/dune_rules/lib_file_deps.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
59
2016-12-02T13:58:19.000Z
2018-01-06T18:23:02.000Z
open! Dune_engine open Stdune module Group = struct type t = | Cmi | Cmx | Header let all = [ Cmi; Cmx; Header ] let ext = function | Cmi -> Cm_kind.ext Cmi | Cmx -> Cm_kind.ext Cmx | Header -> Foreign_language.header_extension let obj_dir t obj_dir = match t with | Cmi -> Ob...
25.54717
77
0.593058
17f94d05a37f50bdf7416383a70ad18579b893a3
4,305
ml
OCaml
hphp/hack/src/hhbc/emit_memoize_function.ml
kkopachev/hhvm
a9f242ec029c37b1e9d1715b13661e66293d87ab
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-03T16:16:53.000Z
2021-08-03T16:16:53.000Z
hphp/hack/src/hhbc/emit_memoize_function.ml
kkopachev/hhvm
a9f242ec029c37b1e9d1715b13661e66293d87ab
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/emit_memoize_function.ml
kkopachev/hhvm
a9f242ec029c37b1e9d1715b13661e66293d87ab
[ "PHP-3.01", "Zend-2.0" ]
1
2018-11-17T04:11:10.000Z
2018-11-17T04:11:10.000Z
(** * Copyright (c) 2017, 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 Instruction_sequence open Emit_memoize_helpers let make_memoize_function_no_params_code ~de...
33.115385
91
0.755633
171a439b165771aa8c4bc0a7f44282ee29d4335f
333
ml
OCaml
data/derived/comb/progs/unify/prog4610.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/prog4610.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4610.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 buildSine e = Sine e;; let buildX () = VarX;; let buildY () = VarY;; let rec eval (e,x,y) = match e with | VarX -> buildX | VarY -> buildY | Sine e -> b...
17.526316
76
0.588589
cd1797b5acdcf0020a5881d3ab1130060e6cdc26
2,026
ml
OCaml
code/ZAnalyser.ml
ycechungAI/rxxr2
154a62e284d7bc4b96c149b3d4fcf75be0288b9e
[ "Unlicense" ]
86
2019-10-23T08:28:38.000Z
2022-03-25T07:35:12.000Z
code/ZAnalyser.ml
ycechungAI/rxxr2
154a62e284d7bc4b96c149b3d4fcf75be0288b9e
[ "Unlicense" ]
11
2020-01-07T18:40:57.000Z
2022-02-26T21:14:32.000Z
code/ZAnalyser.ml
ycechungAI/rxxr2
154a62e284d7bc4b96c149b3d4fcf75be0288b9e
[ "Unlicense" ]
13
2019-10-28T04:03:18.000Z
2022-03-25T16:03:58.000Z
(* © Copyright University of Birmingham, UK *) open Common open Phi type t = { (* NFA being analysed *) nfa : Nfa.t; (* current prefix *) w : Word.t; (* set of phis seen so far *) mutable cache : PhiSet.t; (* machine component - phis to be checked for non-acceptance *) mutable evolve : (Word.t * Phi.t...
28.942857
110
0.540474
cd204092cbb1264c0ea3085600e45e49a5d284b4
1,689
ml
OCaml
data/fa15_min/2635.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15_min/2635.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/2635.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec removeZero l = match l with | [] -> [] | h::t -> if h = 0 then removeZero t else l;; let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));; let rec mulByDigit i l = let f a x = let y = i * x in match a with | h::t -> ((h + y) / 10) :: ((h + y) mod 10) :: t | _ -> [y / 10; y m...
22.52
73
0.537596
174f5b82a90845355aa20e189e888fb277318a07
6,131
ml
OCaml
src/smt/CVC4Driver.ml
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
62
2015-02-04T17:49:51.000Z
2022-03-19T21:52:06.000Z
src/smt/CVC4Driver.ml
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
110
2015-01-20T14:26:17.000Z
2022-03-22T02:25:49.000Z
src/smt/CVC4Driver.ml
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
25
2017-02-20T21:13:55.000Z
2021-07-20T19:46:09.000Z
(* This file is part of the Kind 2 model checker. Copyright (c) 2015 by the Board of Trustees of the University of Iowa Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.a...
28.384259
88
0.611483
17adc5e9b5faef8f32300fa1265fe37cee96570a
15,525
ml
OCaml
interprocedural_analyses/taint/test/fixpointTest.ml
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/test/fixpointTest.ml
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/test/fixpointTest.ml
dirn/pyre-check
34b87fd73ae38451843fea37cf27ab951bf7f5ae
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Taint open Interprocedural open TestHelper type expect_fixpoint = { expect: expectation list; itera...
28.910615
101
0.510274
17b7445fe7261ded8e697011878742a31f11777e
582
mly
OCaml
parser.mly
kortescode/Big-Integer-Calculator
09d4944d324a446caf730b2256a0f6e31a44afe0
[ "Apache-2.0" ]
null
null
null
parser.mly
kortescode/Big-Integer-Calculator
09d4944d324a446caf730b2256a0f6e31a44afe0
[ "Apache-2.0" ]
null
null
null
parser.mly
kortescode/Big-Integer-Calculator
09d4944d324a446caf730b2256a0f6e31a44afe0
[ "Apache-2.0" ]
null
null
null
%token <Bigint.Bigint.bigint> BIGINT %token ADD SUB MUL DIV MODULO PARO PARC EOL QUIT %left ADD SUB %left MUL DIV MODULO %start main %type <Arithexpr.ArithExpr.arith_expr> main %% main: expr EOL { $1 }; expr: | BIGINT { Arithexpr.ArithExpr.value($1) } | PARO expr PARC { $2 } | expr ADD expr { Arithexpr.ArithE...
29.1
59
0.656357
aa9bea1fc053a3baa3bff99977e0168e2873e2cb
1,370
ml
OCaml
analysis/test/annotatedResolveTest.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
analysis/test/annotatedResolveTest.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
analysis/test/annotatedResolveTest.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
(** Copyright (c) 2016-present, Facebook, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Ast open Analysis open Statement open Test open AnnotatedTest module Assign = Annotated.Assign let test_reso...
24.909091
95
0.691971
aaaa922277ffc394cee7d33b5bb8fedb7f1e8610
4,905
ml
OCaml
src/spartan.ml
williamsam1/spartan-type-theory
1136c5e6e9153c4927925a39ab1869c00b698975
[ "MIT" ]
201
2017-12-14T15:42:36.000Z
2022-03-15T18:22:46.000Z
src/spartan.ml
unshorn/spartan-type-theory
3806830b2a52a630696b7d218f033fd92b148d2e
[ "MIT" ]
4
2021-05-03T12:35:45.000Z
2021-05-06T12:56:19.000Z
src/spartan.ml
unshorn/spartan-type-theory
3806830b2a52a630696b7d218f033fd92b148d2e
[ "MIT" ]
18
2018-01-24T11:00:24.000Z
2021-12-03T13:59:02.000Z
(** Command-line processing and the main program. *) (** The usage message. *) let usage = "Usage: spartan [option] ... [file] ..." (** A list of files to be loaded and run, together with information on whether they should be loaded in interactive mode. *) let files = ref [] (** Add a file to the list of files t...
32.058824
96
0.610601
17e8b7ddc015d70f7e473617551b477b03f687c3
1,997
mli
OCaml
lib/rate_matrix.mli
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
11
2017-12-05T16:13:46.000Z
2021-11-16T17:02:32.000Z
lib/rate_matrix.mli
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
8
2020-01-05T18:49:57.000Z
2022-03-16T19:47:45.000Z
lib/rate_matrix.mli
biocaml/phylogenetics
ebf87b3aef63babe9b41b9d44c303f61f7921205
[ "CECILL-B" ]
2
2021-03-29T13:21:25.000Z
2022-03-29T19:08:37.000Z
(** Continuous Time Markov Chain rate matrix A rate matrix is the {{:https://en.wikipedia.org/wiki/Infinitesimal_generator_(stochastic_processes)}infinitesimal generator} for a discrete-space continuous time markov process. It is basically a matrix such that all off-diagonal elements are positive and e...
31.203125
123
0.68653
17c63df24d96c81945de8c199397ac62580f4d27
3,664
ml
OCaml
src/lp-gurobi/lp_gurobi.ml
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
29
2020-05-12T23:47:14.000Z
2022-02-03T02:11:20.000Z
src/lp-gurobi/lp_gurobi.ml
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
4
2021-11-01T21:08:25.000Z
2021-11-25T15:22:20.000Z
src/lp-gurobi/lp_gurobi.ml
ktahar/ocaml-lp
00d2df4e446adde46cf19883e336e4355ebf242c
[ "MIT" ]
null
null
null
(* solve MIP using Gurobi *) module C = Ctypes open Lp open Lp_grb let make_pmap vars xs = List.fold_left2 (fun m k v -> Lp.PMap.add k v m) Lp.PMap.empty (List.map Poly.of_var vars) xs module Var_attrs = struct type t = { objs: float list ; lbs: float list ; ubs: float list ; type...
27.548872
81
0.624454
174430414e12abe2055295ffa79d93eaf3fcec13
288
mli
OCaml
lwt_reporter/lib/reporter.mli
anuragsoni/apm-agent-ocaml
0611fd0176126f9b128fb87e42e849985ef5f20e
[ "Apache-2.0" ]
null
null
null
lwt_reporter/lib/reporter.mli
anuragsoni/apm-agent-ocaml
0611fd0176126f9b128fb87e42e849985ef5f20e
[ "Apache-2.0" ]
null
null
null
lwt_reporter/lib/reporter.mli
anuragsoni/apm-agent-ocaml
0611fd0176126f9b128fb87e42e849985ef5f20e
[ "Apache-2.0" ]
null
null
null
include Elastic_apm.Reporter_intf.S module Host : sig type t val server_env_key : string val token_env_key : string val of_env : unit -> t option val make : Uri.t -> token:string -> t end val create : ?max_messages_per_batch:int -> Host.t -> Elastic_apm.Metadata.t -> t
16.941176
70
0.697917
bc63b3e3f686672a099583cab9021a6d42af7e16
246
mli
OCaml
libraries/ec2/lib/disassociateIamInstanceProfile.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ec2/lib/disassociateIamInstanceProfile.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ec2/lib/disassociateIamInstanceProfile.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 = DisassociateIamInstanceProfileRequest.t type output = DisassociateIamInstanceProfileResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
22.363636
85
0.796748
17528bcf97b688c5b1d932abe77372e20312c7ae
1,030
mli
OCaml
src/lib/bootstrap_controller/bootstrap_controller.mli
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/bootstrap_controller/bootstrap_controller.mli
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/bootstrap_controller/bootstrap_controller.mli
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
open Async_kernel open Mina_transition open Pipe_lib open Network_peer type Structured_log_events.t += Bootstrap_complete [@@deriving register_event] val run : logger:Logger.t -> trust_system:Trust_system.t -> verifier:Verifier.t -> network:Mina_networking.t -> consensus_local_state:Consensus.Data.Local_...
35.517241
80
0.764078
179fa4d033407b63c469e4bc7207080bacda4832
2,713
mli
OCaml
src/ast/analyzing/langs/common/astloc.mli
petr-bauch/cca
6011c602e1184fff4fc9a9b880cb59a070746929
[ "Apache-2.0" ]
4
2021-03-26T01:43:06.000Z
2022-02-22T13:16:26.000Z
src/ast/analyzing/langs/common/astloc.mli
petr-bauch/cca
6011c602e1184fff4fc9a9b880cb59a070746929
[ "Apache-2.0" ]
2
2020-10-25T07:44:54.000Z
2021-03-28T08:15:14.000Z
src/ast/analyzing/langs/common/astloc.mli
petr-bauch/cca
6011c602e1184fff4fc9a9b880cb59a070746929
[ "Apache-2.0" ]
3
2017-02-28T02:57:32.000Z
2022-02-09T07:01:11.000Z
(* Copyright 2012-2020 Codinuum Software Lab <https://codinuum.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required...
41.106061
102
0.689274
1740806245d54b24df6009d7627275c7aa1bfcd0
3,568
ml
OCaml
data/sp14/0030.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0030.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0030.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec clone x n = match n > 0 with | true -> x :: (clone x (n - 1)) | false -> [];; let padZero l1 l2 = let length1 = List.length l1 in let length2 = List.length l2 in match length1 >= length2 with | true -> let n = length1 - length2 in let zeroes = clone 0 n in (l1, (List.append zeroes l2)...
18.204082
71
0.512332
aa3f1ff9caa8c5b931cdfa6b707b582b6e8e93ca
426
ml
OCaml
lib/es2020/es2020.ml
tmattio/js-bindings
109076fe682c84eb1cf01c7f38ee1f4163fb3a9a
[ "MIT" ]
18
2021-04-14T02:52:09.000Z
2021-11-14T17:08:09.000Z
lib/es2020/gen/es2020.ml
smorimoto/js-bindings
0812fbba1ccd616a4591b5c3da89b8623c0e5d85
[ "MIT" ]
4
2021-04-14T16:23:13.000Z
2021-05-22T00:00:55.000Z
lib/es2020/gen/es2020.ml
smorimoto/js-bindings
0812fbba1ccd616a4591b5c3da89b8623c0e5d85
[ "MIT" ]
1
2021-04-14T15:29:24.000Z
2021-04-14T15:29:24.000Z
[@@@js.dummy "!! This code has been generated by gen_js_api !!"] [@@@ocaml.warning "-7-32-39"] [@@@ocaml.warning "-7-11-32-33-39"] include struct include Es2019 end include struct include Es2020_bigint end include struct include Es2020_promise end include struct include Es2020_sharedmemory end include struct include Es...
38.727273
64
0.800469
17de63bb3ad38f24f727c39f8bdae6db1328577c
2,760
ml
OCaml
hphp/hack/src/options/globalOptions.ml
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/options/globalOptions.ml
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/options/globalOptions.ml
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) type t = { ...
31.724138
80
0.718841
177529a7d5b8cf647b77ec24be2d3a5ee11c3803
14,064
ml
OCaml
src/lib/integration_test_cloud_engine/stack_driver_log_engine.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/integration_test_cloud_engine/stack_driver_log_engine.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/integration_test_cloud_engine/stack_driver_log_engine.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
open Async open Core open Integration_test_lib.Util open Integration_test_lib module Timeout = Timeout_lib.Core_time module Node = Kubernetes_network.Node (** This implements Log_engine_intf for stack driver logs for integration tests Assumptions: 1. gcloud is installed and authorized to perform logging and ...
34.218978
157
0.64498
179da00dc218221c9d7afa00c90e971e353c6eda
4,851
ml
OCaml
hack/procs/multiWorkerLwt.ml
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
1
2019-05-10T18:08:46.000Z
2019-05-10T18:08:46.000Z
hack/procs/multiWorkerLwt.ml
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
hack/procs/multiWorkerLwt.ml
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
(** * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) let report_canceled_callback = ref (fun ~total:_ ~finished:_ -> ()) let set_report_canceled_callback callback = rep...
37.315385
100
0.669965
175bc8b743a12a7c0454dcbdd8be436afbe85d8d
97
ml
OCaml
tests/regression/pr5080-notes/pr5080_notes_ok.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
1
2016-05-17T14:29:13.000Z
2016-05-17T14:29:13.000Z
tests/regression/pr5080-notes/pr5080_notes_ok.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
tests/regression/pr5080-notes/pr5080_notes_ok.ml
objmagic/synsyn
afad917e975fe16cb725e6cdd5a46e72ac8cb735
[ "WTFPL" ]
null
null
null
let marshal_int f = match [] with | _ :: `INT n :: _ -> f n | _ -> failwith "marshal_int"
19.4
31
0.536082
cd13f7b1a59d4759c2eddba55c462fe8ae919924
1,716
ml
OCaml
lib/day_9/day_9.ml
p1xelHer0/advent-of-code-2021-ocaml
769e3f8f7b201085963108a4536cd33b32683b90
[ "MIT" ]
2
2021-12-01T11:00:41.000Z
2021-12-03T17:24:17.000Z
lib/day_9/day_9.ml
p1xelHer0/advent-of-code-2021-ocaml
769e3f8f7b201085963108a4536cd33b32683b90
[ "MIT" ]
null
null
null
lib/day_9/day_9.ml
p1xelHer0/advent-of-code-2021-ocaml
769e3f8f7b201085963108a4536cd33b32683b90
[ "MIT" ]
null
null
null
open ContainersLabels let parse l = let parse_aux l = l |> String.to_seq |> List.of_seq |> List.map ~f:(fun c -> int_of_char c - Char.code '0') |> Array.of_list in l |> Array.of_list |> Array.map ~f:parse_aux let neighbours (i, j) ~matrix = let m_height = Array.length matrix in let m_wid...
26.4
84
0.571096
cd1f9cb65b15c1dfdfbe70b3128f501809842b06
202
mli
OCaml
libraries/s3/lib/putBucketCors.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/putBucketCors.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/putBucketCors.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types type input = PutBucketCorsRequest.t type output = unit type error = Errors_internal.t include (Aws.Call with type input := input and type output := output and type error := error)
28.857143
75
0.722772
17d9c77bcc40963441c2630c41cb2b487ff2ea95
214
mli
OCaml
src/main/FomBasis/Fun.mli
polytypic/f-omega-mu
3ced242c94db041f1b6d7e59f762feb1b81c5eb7
[ "MIT" ]
20
2021-01-31T13:37:35.000Z
2022-03-24T11:12:46.000Z
src/main/FomBasis/Fun.mli
polytypic/f-omega-mu
3ced242c94db041f1b6d7e59f762feb1b81c5eb7
[ "MIT" ]
null
null
null
src/main/FomBasis/Fun.mli
polytypic/f-omega-mu
3ced242c94db041f1b6d7e59f762feb1b81c5eb7
[ "MIT" ]
1
2021-02-24T09:54:33.000Z
2021-02-24T09:54:33.000Z
include module type of Stdlib.Fun module Syntax : sig val id : 'a -> 'a val const : 'a -> 'b -> 'a val ( >>> ) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c val ( <<< ) : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'c end
23.777778
52
0.383178
17712647bf9feeedeabcbd09a117d9eada5db99c
2,512
mli
OCaml
src/Var.mli
diaozheng999/boost-inc
d129f9eaf00a7dab2059c0c1fed06dfd750edc15
[ "MIT" ]
1
2021-07-06T15:05:14.000Z
2021-07-06T15:05:14.000Z
src/Var.mli
diaozheng999/boost-inc
d129f9eaf00a7dab2059c0c1fed06dfd750edc15
[ "MIT" ]
null
null
null
src/Var.mli
diaozheng999/boost-inc
d129f9eaf00a7dab2059c0c1fed06dfd750edc15
[ "MIT" ]
null
null
null
open Basis open Combinators type 'a var = { modref: 'a Box.t modref; change: 'a -> unit; create: 'a -> 'a Box.t; change_async : 'a -> unit Js.Promise.t; eq: 'a Box.t equality; change_eagerly: 'a -> unit; deref: unit -> 'a; subscribe: ('a -> unit) -> unit -> unit; subscribe_box: ('a Box.t -> unit) -> ...
33.052632
128
0.562898
173fcfa89cc0ce22222f8b62622c3b16407b7dd2
5,393
ml
OCaml
vendors/tezos-modded/src/lib_client_base/client_context.ml
web-vertalo/ligo
153bf691992580f4d163f4e8129292f7759efd5b
[ "MIT" ]
null
null
null
vendors/tezos-modded/src/lib_client_base/client_context.ml
web-vertalo/ligo
153bf691992580f4d163f4e8129292f7759efd5b
[ "MIT" ]
null
null
null
vendors/tezos-modded/src/lib_client_base/client_context.ml
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> *) ...
42.464567
102
0.58372
17d8e316c31dff9ffc707a61882a3fe24694d37d
4,447
mli
OCaml
src/in_thread.mli
npm-opam/async_unix
bf384d5a8c5f66b6c4b78410a2907bc4e8a1afdc
[ "Apache-2.0" ]
null
null
null
src/in_thread.mli
npm-opam/async_unix
bf384d5a8c5f66b6c4b78410a2907bc4e8a1afdc
[ "Apache-2.0" ]
null
null
null
src/in_thread.mli
npm-opam/async_unix
bf384d5a8c5f66b6c4b78410a2907bc4e8a1afdc
[ "Apache-2.0" ]
null
null
null
(** The [In_thread] module has functions for interaction between the Async world and other (kernel) threads. The name is to remind us to think about threads and race conditions. All threads come from the one thread pool used for all Async-managed threads. *) open! Core.Std open Async_kernel module Prior...
46.322917
90
0.685406
17d98f0df5365f070e9a0fa79d4d4de6e3b6f9e6
5,444
ml
OCaml
src/07/cfa-solver/fun.ml
nicdard/languages-compilers-interpreters-2020
9486c58aadf42412517bfc05bd974e6770522a44
[ "MIT" ]
null
null
null
src/07/cfa-solver/fun.ml
nicdard/languages-compilers-interpreters-2020
9486c58aadf42412517bfc05bd974e6770522a44
[ "MIT" ]
null
null
null
src/07/cfa-solver/fun.ml
nicdard/languages-compilers-interpreters-2020
9486c58aadf42412517bfc05bd974e6770522a44
[ "MIT" ]
1
2021-11-15T22:26:11.000Z
2021-11-15T22:26:11.000Z
(** An example of an interpreter for a small strongly typed functional language. *) (** Syntax of the language *) type expr = | CstI of int | CstB of bool | Var of string | Let of string * expr * expr | Prim of string * expr * expr | If of expr * expr * expr | Letfun of string * string * ttype * expr...
31.836257
111
0.585415
17f70d9069d731a30011b0837e1194ad73ec7b62
942
ml
OCaml
bin/test.ml
codeanonorg/aagsc
b34abfaba22aefae6721fe169c868db1e8b13b69
[ "MIT" ]
3
2021-03-24T17:07:44.000Z
2022-03-14T03:27:25.000Z
bin/test.ml
codeanonorg/Octo-syn
b34abfaba22aefae6721fe169c868db1e8b13b69
[ "MIT" ]
null
null
null
bin/test.ml
codeanonorg/Octo-syn
b34abfaba22aefae6721fe169c868db1e8b13b69
[ "MIT" ]
null
null
null
open Octosyn open Exploit open Syn open Sem let atk0 = open_out "atk0.bin" let _ = mini_exploit 56 "42 1d 6a" |> (fun x -> Utils.bytes_to_raw x atk0; x) |> Asm.print_bytes |> print_newline; close_out atk0 let payload = "mov edi, 0x40c15130; push 0x00421d96; ret" let _ = Asm.asm payload |> ...
23.55
76
0.630573
cd0e8cd5bdfa9be957511d70ca7751241217df09
4,526
ml
OCaml
test/runtime/test_compiles_base.ml
anmonteiro/ppx_rapper
4a8c77343fd35cedaf592f47b10c41ca0dea8b3b
[ "Apache-2.0", "MIT" ]
null
null
null
test/runtime/test_compiles_base.ml
anmonteiro/ppx_rapper
4a8c77343fd35cedaf592f47b10c41ca0dea8b3b
[ "Apache-2.0", "MIT" ]
null
null
null
test/runtime/test_compiles_base.ml
anmonteiro/ppx_rapper
4a8c77343fd35cedaf592f47b10c41ca0dea8b3b
[ "Apache-2.0", "MIT" ]
null
null
null
open Base (* Simple queries *) type a = { username: string } type b = { id: int; username: string } let many_arg_execute = [%rapper execute {sql| UPDATE users SET (username, email, bio) = (%string{username}, %string{email}, %string?{bio}) WHERE id = %int{id} |sql}] let many_arg_ge...
21.970874
85
0.571365
17dae3c19bd50c567ef08d0cf8826d5f17b6feea
2,314
mll
OCaml
2A/S8/VAS/TPs/G14/be/analyzer/src/lexer.mll
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
4
2020-05-02T12:32:32.000Z
2022-01-12T20:20:35.000Z
2A/S8/VAS/TPs/G14/be/analyzer/src/_build/lexer.mll
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
2
2021-01-14T20:03:26.000Z
2022-01-30T01:10:00.000Z
2A/S8/VAS/TPs/G14/be/analyzer/src/lexer.mll
MOUDDENEHamza/ENSEEIHT
a90b1dee0c8d18a9578153a357278d99405bb534
[ "Apache-2.0" ]
13
2020-11-11T21:28:11.000Z
2022-02-19T13:54:22.000Z
{ (* * TINY (Tiny Is Not Yasa (Yet Another Static Analyzer)): * a simple abstract interpreter for teaching purpose. * Copyright (C) 2012 P. Roux * * 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 Fou...
28.219512
97
0.563094
aa0cfdbaa676a006be11cb011288db78a8199545
4,091
ml
OCaml
src/fut_backend_base.ml
dbuenzli/fut
907de63df12815f2df2cb796baa7fa37ac2758d4
[ "ISC" ]
10
2015-01-14T09:59:14.000Z
2020-10-22T01:28:25.000Z
src/fut_backend_base.ml
dbuenzli/fut
907de63df12815f2df2cb796baa7fa37ac2758d4
[ "ISC" ]
null
null
null
src/fut_backend_base.ml
dbuenzli/fut
907de63df12815f2df2cb796baa7fa37ac2758d4
[ "ISC" ]
1
2016-03-30T18:31:32.000Z
2016-03-30T18:31:32.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2014 Daniel C. Bünzli. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (* E...
34.669492
79
0.587631
17f6f9613ab8674ca814cae778e6a86a13de6f76
4,147
ml
OCaml
lib/libmythtvguide.ml
spencerwi/mythtv-guide
ee852b7faca85817aa9afaa3dc4f21e2a8ceda7e
[ "MIT" ]
null
null
null
lib/libmythtvguide.ml
spencerwi/mythtv-guide
ee852b7faca85817aa9afaa3dc4f21e2a8ceda7e
[ "MIT" ]
null
null
null
lib/libmythtvguide.ml
spencerwi/mythtv-guide
ee852b7faca85817aa9afaa3dc4f21e2a8ceda7e
[ "MIT" ]
null
null
null
open Lwt open Cohttp_lwt_unix open Prelude type program_recording_preferences = { status: string [@key "Status"] [@default ""]; priority: string [@key "Priority"] [@default ""]; startTs: string [@key "StartTs"] [@default ""]; endTs: string [@key "EndTs"] [@default ""]; recordId: string [@key "Recor...
43.652632
229
0.638534
aa7a6347d91ea7f15024adb10594ffd98c427d92
8,578
ml
OCaml
infer/src/IR/Subtype.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/src/IR/Subtype.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/src/IR/Subtype.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
2,225
2015-06-11T16:36:10.000Z
2022-03-31T05:16:59.000Z
(* * Copyright (c) 2009-2013, Monoidics ltd. * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (** The Smallfoot Intermediate Language: Subtypes *) open! IStd module F = Format let ...
31.536765
100
0.641175
aad5e8ce6e96539368a75a45818fae40b07855fa
16,483
ml
OCaml
interprocedural_analyses/taint/test/testHelper.ml
KaisongHuang/pyre-check
12e0804b72a8c39318245fa56349806ee8bf8116
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/test/testHelper.ml
KaisongHuang/pyre-check
12e0804b72a8c39318245fa56349806ee8bf8116
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/test/testHelper.ml
KaisongHuang/pyre-check
12e0804b72a8c39318245fa56349806ee8bf8116
[ "MIT" ]
null
null
null
(* Copyright (c) 2018-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module TypeCheck = Analysis.TypeCheck open Core open OUnit2 open Analysis module AnalysisError = Analysis.AnalysisError open Ast open Pyre op...
32.9002
101
0.670266
17594309a1ff057d603c47f252c8c80c82a90382
732
ml
OCaml
src/frontend/typing/type_program.ml
paulocoghi/bolt
a81627f95af6577cd465df09290a51c9d469c667
[ "MIT" ]
305
2020-05-08T11:09:53.000Z
2022-03-19T18:43:58.000Z
src/frontend/typing/type_program.ml
lqwu/bolt
1faf19d698852fdb6af2ee005a5f036ee1c76503
[ "MIT" ]
53
2019-11-10T13:46:46.000Z
2022-02-04T17:20:15.000Z
src/frontend/typing/type_program.ml
lqwu/bolt
1faf19d698852fdb6af2ee005a5f036ee1c76503
[ "MIT" ]
33
2020-05-09T00:35:53.000Z
2022-03-14T21:10:25.000Z
open Core open Type_generics open Parsing let type_program (Parsed_ast.Prog (class_defns, function_defns, main_expr)) = let open Result in (* Check if class defns well-formed *) Type_classes.type_class_defns class_defns function_defns >>= fun typed_class_defns -> Type_functions.type_function_defns class_defn...
36.6
89
0.784153
aa9ec708315e0c4d185e92666e415fcc51cab73d
5,487
ml
OCaml
eval/ocaml/debugger/source.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/ocaml/debugger/source.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/ocaml/debugger/source.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Jerome Vouil...
29.031746
80
0.548387
cd0fc886c954d19bfd8d993611e4b799cdcf5bb8
19,614
ml
OCaml
data/derived/comb/progs/unify/prog3031.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/prog3031.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3031.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.964706
208
0.652136
17d0f4262e9c5e5ae3df684026ff5d1c7f9962cf
29,836
ml
OCaml
src/services/inference/merge_service.ml
marcmenn/flow
96e2ae6e50401594a2fbffcce883cf7349a5a15a
[ "MIT" ]
1
2020-12-23T05:42:50.000Z
2020-12-23T05:42:50.000Z
src/services/inference/merge_service.ml
Miazzy/flow
9ec27c7b6582d0e46a57508a2491130e7912e533
[ "MIT" ]
null
null
null
src/services/inference/merge_service.ml
Miazzy/flow
9ec27c7b6582d0e46a57508a2491130e7912e533
[ "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 open Loc_collections module Reqs = Merge_js.Reqs type 'a unit_result = ('a, ALoc.t * Error_message.internal_error) r...
39.001307
100
0.672778
aa33454bddd62dee3dfd8d8606fed3dd72a9068e
1,303
mli
OCaml
src/fspath.mli
paulp/unison
1bece7bf3b8f6ee62c64a0aa4e0045a6dbdd7eb2
[ "MIT" ]
2
2016-03-17T02:42:43.000Z
2016-03-17T13:59:31.000Z
src/fspath.mli
paulp/unison
1bece7bf3b8f6ee62c64a0aa4e0045a6dbdd7eb2
[ "MIT" ]
null
null
null
src/fspath.mli
paulp/unison
1bece7bf3b8f6ee62c64a0aa4e0045a6dbdd7eb2
[ "MIT" ]
null
null
null
(* Unison file synchronizer: src/fspath.mli *) (* Copyright 1999-2020, Benjamin C. Pierce (see COPYING for details) *) (* Defines an abstract type of absolute filenames (fspaths) *) type t val m : t Umarshal.t val child : t -> Name.t -> t val concat : t -> Path.local -> t val canonize : string option -> t val toSt...
34.289474
79
0.645434