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
176789f43bf93bede836582f207359fd0f458e07
8,415
ml
OCaml
data/derived/comb/progs/unify/prog1704.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/prog1704.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1704.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.629747
148
0.641236
171eef3a37ffc82bcedf90d12cdd6c10df2a651e
16,160
ml
OCaml
src/eval_fun.ml
jserot/hocl
3fbe0521d6d6b6aeb1ffa277fbd74abf7e5ebe43
[ "MIT" ]
19
2019-09-26T03:18:05.000Z
2020-09-15T21:37:03.000Z
src/eval_fun.ml
jserot/hocl
3fbe0521d6d6b6aeb1ffa277fbd74abf7e5ebe43
[ "MIT" ]
9
2019-10-04T08:18:24.000Z
2021-08-13T14:12:15.000Z
src/eval_fun.ml
jserot/hocl
3fbe0521d6d6b6aeb1ffa277fbd74abf7e5ebe43
[ "MIT" ]
null
null
null
(**********************************************************************) (* *) (* This file is part of the HOCL package *) (* *) (* Copyright (c) 2019-prese...
38.293839
124
0.535582
170df38c2c6baeb3537b55faa2e6c18db041b361
5,341
mll
OCaml
Flap/src/retrolix/retrolixLexer.mll
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
1
2022-02-16T08:38:10.000Z
2022-02-16T08:38:10.000Z
Flap/src/retrolix/retrolixLexer.mll
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
null
null
null
Flap/src/retrolix/retrolixLexer.mll
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
2
2020-01-11T19:07:41.000Z
2020-10-08T14:12:54.000Z
{ (* Emacs, use -*- tuareg -*- to open this file! *) open Lexing open Error open Position open RetrolixParser let next_line_and f lexbuf = Lexing.new_line lexbuf; f lexbuf let error lexbuf = error "during lexing" (lex_join lexbuf.lex_start_p lexbuf.lex_curr_p) let string_buffer = Buffe...
31.791667
93
0.41584
17b9b2ef9cf4e5f60754f56edc80676871c29675
652
ml
OCaml
src/utils/dns.ml
dakk/caravand
0636aeb23139354f85fd2b7b2095a67fd6a28b2d
[ "MIT" ]
7
2018-04-28T14:36:40.000Z
2020-07-04T15:52:37.000Z
src/utils/dns.ml
dakk/caravand
0636aeb23139354f85fd2b7b2095a67fd6a28b2d
[ "MIT" ]
9
2018-04-02T17:17:00.000Z
2019-03-08T13:57:27.000Z
src/utils/dns.ml
dakk/caravand
0636aeb23139354f85fd2b7b2095a67fd6a28b2d
[ "MIT" ]
null
null
null
open Unix;; let query server = try Log.debug "Dns" "Fetching peer list from seed %s..." server; let host = Unix.gethostbyname server in let addrs = Array.to_list host.h_addr_list in Log.debug "Dns" "Fetched %d peer addresses from seed %s" (List.length addrs) server; addrs with Not_found -> Log.error...
25.076923
86
0.665644
bcfe4589d9b75d576850aaa2e883352ed43ecf14
14,467
ml
OCaml
src/of_sexp.ml
dmbaturin/timere
6bf8c0697c511687556ffa24899219d416321fcc
[ "MIT" ]
null
null
null
src/of_sexp.ml
dmbaturin/timere
6bf8c0697c511687556ffa24899219d416321fcc
[ "MIT" ]
null
null
null
src/of_sexp.ml
dmbaturin/timere
6bf8c0697c511687556ffa24899219d416321fcc
[ "MIT" ]
null
null
null
open Of_sexp_utils let month_of_sexp (x : CCSexp.t) = match x with | `Atom s -> ( match Time.month_of_abbr_string s with | Some x -> x | None -> invalid_data (Printf.sprintf "Failed to parse month: %s" s)) | `List _ -> invalid_data (Printf.sprintf "Expected atom for month: %s" (CCSexp...
34.776442
84
0.543444
1751a1e2da6216c82e382f49381cee5d045b6e93
2,540
ml
OCaml
source/hack_parallel/scripts/script_utils.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "MIT" ]
1
2022-02-10T10:51:32.000Z
2022-02-10T10:51:32.000Z
source/hack_parallel/scripts/script_utils.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "MIT" ]
null
null
null
source/hack_parallel/scripts/script_utils.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "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. *) let with_pipe f = let fd_r, fd_w = Unix.pipe () in try let res = f (fd_r, fd_w) in Unix.close fd_r; Unix.close fd...
32.151899
78
0.672047
17b0339a4660ff6be125aa5faacefe7bdb597683
670
mli
OCaml
infer/src/biabduction/Absarray.mli
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "MIT" ]
null
null
null
infer/src/biabduction/Absarray.mli
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "MIT" ]
null
null
null
infer/src/biabduction/Absarray.mli
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "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. *) open! IStd (** Abstraction for Arrays *) val abstract_array_check : Tenv.t -> Prop.normal Pr...
31.904762
97
0.732836
bc50f5bdb7f09f465f04f19197f164bad613ab11
743
ml
OCaml
lib/kerberos_time.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
3
2017-06-25T12:49:34.000Z
2019-11-07T21:13:50.000Z
lib/kerberos_time.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
null
null
null
lib/kerberos_time.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
null
null
null
open Sexplib.Std open Asn.S type t = { year : int ; month : int ; day : int ; hour : int ; minute : int ; second : int } [@@deriving sexp] module Ast = struct type t = Ptime.t let asn = generalized_time end (* Per RFC 4120, all kerberos times are UTC, no fractional seconds. *) let ast_of_t t = l...
23.967742
71
0.620458
aa78b6b3c530bc3026e2f518d3e64b77954efbd4
2,098
ml
OCaml
src/ail.ml
mraszyk/ailamazyan
476e081ea4ec8b412ac55dfa84c62d83187f89db
[ "BSD-3-Clause" ]
null
null
null
src/ail.ml
mraszyk/ailamazyan
476e081ea4ec8b412ac55dfa84c62d83187f89db
[ "BSD-3-Clause" ]
null
null
null
src/ail.ml
mraszyk/ailamazyan
476e081ea4ec8b412ac55dfa84c62d83187f89db
[ "BSD-3-Clause" ]
1
2021-11-02T09:29:23.000Z
2021-11-02T09:29:23.000Z
open Verified.Eval_FO exception EXIT let fmla_ref = ref None let db_ref = ref None let usage () = Format.printf "Usage: ail -fmla test.fo -db test.db Arguments: -fmla <file> - FO formula to be evaluated\n -db <file> - database file\n"; raise EXIT let process_args = let rec go = function | ("-fmla" :: fmla...
32.78125
113
0.631077
178eca447b457dc0f32af38488312d6ed234c683
31,101
ml
OCaml
src/loader/cmti.ml
gpetiot/odoc
da5986d73a66388adae1cc0f77336885d12d4ee8
[ "0BSD" ]
234
2018-03-21T20:12:53.000Z
2022-03-24T22:49:21.000Z
src/loader/cmti.ml
gpetiot/odoc
da5986d73a66388adae1cc0f77336885d12d4ee8
[ "0BSD" ]
685
2018-03-23T11:09:19.000Z
2022-03-29T09:19:23.000Z
src/loader/cmti.ml
gpetiot/odoc
da5986d73a66388adae1cc0f77336885d12d4ee8
[ "0BSD" ]
62
2018-04-16T18:03:20.000Z
2022-03-30T11:29:33.000Z
(* * 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...
39.022585
178
0.67747
1784cd92304a70dd63a632e14acad483eba11dcf
989
ml
OCaml
benchmarks/formula/formula1/submissions/sub198.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/formula/formula1/submissions/sub198.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/formula/formula1/submissions/sub198.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(* department : computer science & engineering student ID : 2012-11242 / name : Seon-bi, Park *) type formula = TRUE | FALSE | NOT of formula | ANDALSO of formula * formula | ORELSE of formula * formula | IMPLY of formula * formula | LESS of expr * expr and expr = NUM of int | PLUS of expr * expr |...
25.358974
66
0.560162
aa9ac8f51a81cfa6f5bddc4707a4d2a58a99964d
1,733
mli
OCaml
ocaml-sources/ocamltest/builtin_actions.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/ocamltest/builtin_actions.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/ocamltest/builtin_actions.mli
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
33.326923
76
0.43393
1769705b12487dafb6b1edae753b6f5a8a181ca1
30
mli
OCaml
src/lib/test_genesis_ledger/test_genesis_ledger.mli
creativcoder/mina
91d6d536345f7e313b73fcb78bdea657ff584b72
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/lib/test_genesis_ledger/test_genesis_ledger.mli
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/lib/test_genesis_ledger/test_genesis_ledger.mli
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
include Genesis_ledger.Intf.S
15
29
0.866667
1774a2fc3c89b736794bfe0d8843ec785f1336e0
10,063
ml
OCaml
hphp/hack/src/typing/write_symbol_info/symbol_build_json.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
1
2021-12-02T18:52:19.000Z
2021-12-02T18:52:19.000Z
hphp/hack/src/typing/write_symbol_info/symbol_build_json.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/write_symbol_info/symbol_build_json.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "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. * * JSON builder functions. These all return JSON objects, which * may be used to build up larger objects. The functions with suffi...
29.338192
80
0.681507
17b9ebaf88047d611157feae561f2842a7b06b54
28,201
ml
OCaml
src/main/interpreter/monad.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
null
null
null
src/main/interpreter/monad.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
null
null
null
src/main/interpreter/monad.ml
tezos-checker/ligo
a7fa6d848e09ca546331df827caa48b2d7925dff
[ "MIT" ]
null
null
null
open Trace (* That monad do not seem very useful now, but it could become useful if we want to support multiple testing mode (against node, or memory) *) module LT = Ligo_interpreter.Types module LC = Ligo_interpreter.Combinators module Int_repr = Ligo_interpreter.Int_repr_copied module Exc = Ligo_interpreter_exc...
51.744954
182
0.651998
17c01f2348ee74f7bbd2deb9d8d17067f212ea9c
2,476
ml
OCaml
data/fa15/1129.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/1129.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/1129.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec clone x n = if n < 1 then [] else x :: (clone x (n - 1));; let padZero l1 l2 = if (List.length l1) < (List.length l2) then (((clone 0 ((List.length l2) - (List.length l1))) @ l1), l2) else if (List.length l1) > (List.length l2) then (l1, ((clone 0 ((List.length l1) - (List.length l2))) @ l2)) ...
26.913043
81
0.492326
17acdf7b91b8946f2dcb0e806acfcc7d142105e9
5,264
mli
OCaml
src/sexp/CCSexp.mli
struktured/ocaml-containers
da09bfa02e2d4c74949834847df654a7859729e9
[ "BSD-2-Clause" ]
null
null
null
src/sexp/CCSexp.mli
struktured/ocaml-containers
da09bfa02e2d4c74949834847df654a7859729e9
[ "BSD-2-Clause" ]
null
null
null
src/sexp/CCSexp.mli
struktured/ocaml-containers
da09bfa02e2d4c74949834847df654a7859729e9
[ "BSD-2-Clause" ]
null
null
null
(* Copyright (c) 2013, Simon Cruanes All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disc...
31.147929
79
0.643427
172d9ab1092461177b0c451d374cd08e6b6a552f
276,270
ml
OCaml
src/ocaml-output/FStar_TypeChecker_Env.ml
hacklex/FStar
b6ac3a0ae6110c02492aab9ffc6e65366bd4d6bc
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_TypeChecker_Env.ml
hacklex/FStar
b6ac3a0ae6110c02492aab9ffc6e65366bd4d6bc
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_TypeChecker_Env.ml
hacklex/FStar
b6ac3a0ae6110c02492aab9ffc6e65366bd4d6bc
[ "Apache-2.0" ]
null
null
null
open Prims type step = | Beta | Iota | Zeta | ZetaFull | Exclude of step | Weak | HNF | Primops | Eager_unfolding | Inlining | DoNotUnfoldPureLets | UnfoldUntil of FStar_Syntax_Syntax.delta_depth | UnfoldOnly of FStar_Ident.lid Prims.list | UnfoldFully of FStar_Ident.lid Prims.l...
44.020076
267
0.599443
17b2517fb709fb69d690ea1e94e5b600f9dbe7a3
3,157
mli
OCaml
duniverse/ocp-indent/src/indentBlock.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ocp-indent/src/indentBlock.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ocp-indent/src/indentBlock.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2011 Jun Furuse *) (* Copyright 2012,2013 OCamlPro *) (* ...
41
80
0.55464
17b73703e2958e320ec133d0e294c9438b4c0c79
9,925
ml
OCaml
hphp/hack/src/typing/typing_suggest_service.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_suggest_service.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_suggest_service.ml
NunoEdgarGFlowHub/hhvm
991973e74588e2da4cd800c0e4cf03430094649a
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) (************...
35.960145
81
0.644232
175b6f4137d9df57dfca9c379f54f3953ce60ad8
398
ml
OCaml
runtime/examples/calculator/calculatorlib/calculator.ml
emtst/zooid-cmpst
333dcf161ad2130c10c48684494830d12bae3889
[ "MIT" ]
5
2021-05-01T09:48:04.000Z
2022-02-18T10:33:25.000Z
runtime/examples/calculator/calculatorlib/calculator.ml
emtst/zooid-cmpst
333dcf161ad2130c10c48684494830d12bae3889
[ "MIT" ]
null
null
null
runtime/examples/calculator/calculatorlib/calculator.ml
emtst/zooid-cmpst
333dcf161ad2130c10c48684494830d12bae3889
[ "MIT" ]
null
null
null
open Datatypes let ask_user () = print_endline "Enter: 'a' for adding, 'q' for quitting"; let inp = read_line () in if inp = "a" then let n1 = print_string "Enter a first summand: " ; read_int () in let n2 = print_string "Enter a second summand: " ; read_int () in Coq_inl (n1, n2) else Coq_in...
23.411765
69
0.628141
1749085b9328352502ab7692d623a8ca300dfcc3
3,781
ml
OCaml
lib/bap_primus_track_visited/bap_primus_track_visited.ml
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
lib/bap_primus_track_visited/bap_primus_track_visited.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
lib/bap_primus_track_visited/bap_primus_track_visited.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
open Core_kernel open Bap.Std open Bap_primus.Std type state = { visited : Tid.Set.t; total : int; } let count_blks p = (object inherit [int] Term.visitor method! enter_blk _ bs = bs + 1 end)#run p 0 let init_visited prog = (object inherit [Tid.Set.t] Term.visitor method! enter_blk blk visited = ...
28.862595
68
0.643481
aad116765742128332d97dd07084af592eb3e302
4,253
ml
OCaml
cprocs/cpolo.ml
s-falke/kittel-koat
c00d21f6a4485d2b085949b936b2a379e2d30be0
[ "Apache-2.0" ]
16
2015-02-12T21:46:52.000Z
2020-11-02T07:47:28.000Z
cprocs/cpolo.ml
s-falke/kittel-koat
c00d21f6a4485d2b085949b936b2a379e2d30be0
[ "Apache-2.0" ]
6
2017-01-15T08:38:39.000Z
2021-08-06T15:42:39.000Z
cprocs/cpolo.ml
s-falke/kittel-koat
c00d21f6a4485d2b085949b936b2a379e2d30be0
[ "Apache-2.0" ]
11
2015-01-13T10:35:37.000Z
2020-05-21T15:38:01.000Z
(* Polynomial interpretations @author Stephan Falke Copyright 2010-2014 Stephan Falke 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 ...
44.302083
162
0.710557
175a6bb1bd88f450f0cd1e741c4fbc7d3068c1d3
2,059
ml
OCaml
src/analysis/ssa_api.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
20,996
2015-01-01T13:51:47.000Z
2022-03-31T17:44:01.000Z
src/analysis/ssa_api.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
8,315
2015-01-01T19:56:43.000Z
2022-03-31T15:58:10.000Z
src/analysis/ssa_api.ml
zhangmaijun/flow
f60e2a745b06f6f0739a4e4518eb5e2481f9e011
[ "MIT" ]
2,338
2015-01-05T03:28:26.000Z
2022-03-26T20:40:56.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module type S = sig module L : Loc_sig.S type read_loc = L.t type write_loc = | Write of L.t Reason.virtual_reason ...
24.223529
80
0.637203
aa1d7a3a1c675393970a1da5c622cc8ea2bc5d77
3,075
ml
OCaml
src/proto_011_PtHangz2/lib_parameters/gen.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_011_PtHangz2/lib_parameters/gen.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_011_PtHangz2/lib_parameters/gen.ml
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> *) ...
49.596774
80
0.537236
aa2ece020a5015e21436a33ff14729c613d29bab
5,682
ml
OCaml
desc/parser_components.ml
daypack-dev/timere
e7b6096acb9a5f87336460b3f88865f5a1302819
[ "MIT" ]
44
2020-11-13T17:11:00.000Z
2022-03-19T05:18:20.000Z
desc/parser_components.ml
daypack-dev/timere
e7b6096acb9a5f87336460b3f88865f5a1302819
[ "MIT" ]
42
2020-11-15T13:00:38.000Z
2022-03-18T08:08:03.000Z
desc/parser_components.ml
daypack-dev/timere
e7b6096acb9a5f87336460b3f88865f5a1302819
[ "MIT" ]
4
2020-11-13T17:03:31.000Z
2022-02-26T13:27:56.000Z
open MParser let alpha_string : (string, unit) t = many1_chars letter let any_string : (string, unit) t = many_satisfy (fun _ -> true) let take_space : (string, unit) t = many_chars space let ident_string ~(reserved_words : string list) : (string, unit) t = let reserved_words = List.map String.lowercase_ascii res...
32.101695
114
0.536783
17073de1a9fbbc506c38d9b2a93b388a7f93546b
100,097
ml
OCaml
hphp/hack/src/hh_single_type_check.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_single_type_check.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_single_type_check.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open String_utils open Sys_utils open Typing_env_types module Inf = Typing_inference_env module Cls ...
37.573949
124
0.641688
1723dbf11f56ca62bf2ba775e658c76a445a8fa9
7,885
ml
OCaml
GillianCore/engine/GeneralSemantics/Store.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
41
2020-05-21T18:16:26.000Z
2022-03-20T10:23:46.000Z
GillianCore/engine/GeneralSemantics/Store.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
26
2020-02-29T10:26:27.000Z
2021-10-20T14:04:20.000Z
GillianCore/engine/GeneralSemantics/Store.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
5
2020-03-20T17:45:28.000Z
2022-02-24T18:18:26.000Z
open SVal (** Interface for GIL Stores. GIL stores are mappings from GIL variables to GIL values. GIL stores are mutable. *) module type S = sig (** Type of GIL values *) type vt (** Type of GIL stores *) type t (** Return the set of bindings in a given store *) val bindings : t -> (Var.t * vt) lis...
25.9375
98
0.606214
175a2a76d2862209214608ab1f3a506f879a13da
72
mli
OCaml
src/datakit-io/datakit_io.mli
samoht/datakit
5b98f909ef04ac686c65bee699ac3b53c727bd87
[ "Apache-2.0" ]
null
null
null
src/datakit-io/datakit_io.mli
samoht/datakit
5b98f909ef04ac686c65bee699ac3b53c727bd87
[ "Apache-2.0" ]
null
null
null
src/datakit-io/datakit_io.mli
samoht/datakit
5b98f909ef04ac686c65bee699ac3b53c727bd87
[ "Apache-2.0" ]
null
null
null
module IO: Irmin_git.IO module Zlib: Git.Inflate.S module FS: Git.FS.IO
18
26
0.763889
17b5070fcf816c72461b13f6a3c7b555f1855651
432
mli
OCaml
sledge/src/control.mli
hakjoooh/infer
27150cb7d3d0dc3b37b631e023fb3e4ac5e6c14d
[ "MIT" ]
1
2021-01-29T07:47:59.000Z
2021-01-29T07:47:59.000Z
sledge/src/control.mli
hakjoooh/infer
27150cb7d3d0dc3b37b631e023fb3e4ac5e6c14d
[ "MIT" ]
6
2021-06-28T20:43:36.000Z
2022-02-27T11:27:43.000Z
sledge/src/control.mli
hakjoooh/infer
27150cb7d3d0dc3b37b631e023fb3e4ac5e6c14d
[ "MIT" ]
1
2021-01-29T07:48:02.000Z
2021-01-29T07:48:02.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. *) (** The analysis' semantics of control flow. *) module Make (_ : Domain_intf.Opts) (Dom : Domain_intf.Dom) : sig val exec_pgm : ...
27
66
0.708333
17a198a4cf8bc97adddb2cacc8d6c936d9bad46a
166
mli
OCaml
lib/MYResult.mli
tommyip/aoc2020
0b857bb07a531500e18efdc8131e39d552c5903c
[ "MIT" ]
null
null
null
lib/MYResult.mli
tommyip/aoc2020
0b857bb07a531500e18efdc8131e39d552c5903c
[ "MIT" ]
null
null
null
lib/MYResult.mli
tommyip/aoc2020
0b857bb07a531500e18efdc8131e39d552c5903c
[ "MIT" ]
null
null
null
val get_err_exn : ('a, 'b) result -> 'b (** [get_err_exn result] extract the value [x] for [Error x], fails otherwise. @raise Get_error if the value is [Ok x] *)
41.5
78
0.650602
aae7811ef5836fb918e41dc843ef6ba1e0464de9
15,236
ml
OCaml
solvers/pregex.ml
Fraser-Greenlee/ec
b0c033647ab3237fb025e9404ca770e49b3ed741
[ "MIT" ]
290
2018-02-09T01:29:07.000Z
2022-03-20T14:49:53.000Z
solvers/pregex.ml
Fraser-Greenlee/ec
b0c033647ab3237fb025e9404ca770e49b3ed741
[ "MIT" ]
34
2018-03-23T00:33:49.000Z
2022-03-19T21:48:09.000Z
solvers/pregex.ml
Fraser-Greenlee/ec
b0c033647ab3237fb025e9404ca770e49b3ed741
[ "MIT" ]
98
2018-03-07T19:26:55.000Z
2022-03-28T14:36:38.000Z
open Core open Timeout open Task open Utils open Program open Type open Yojson.Basic.Util type str = String of char list | Dot | D | S | W | L | U [@@deriving compare] let dot_ls = List.rev (String.to_list_rev "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t"...
33.707965
145
0.592807
aa9a186d0ebee16e135c41b7d50e0d5a3510ba2e
1,332
mli
OCaml
ocaml_typing/407/longident.mli
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
684
2018-05-24T14:14:06.000Z
2022-03-14T21:13:22.000Z
ocaml_typing/407/longident.mli
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
439
2018-05-25T21:16:18.000Z
2021-12-03T11:28:10.000Z
ocaml_typing/407/longident.mli
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
107
2018-05-30T23:53:50.000Z
2022-01-10T10:50:53.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
49.333333
76
0.325075
177541e2513102b3f9d1973899da164d5c2b9a7b
2,107
ml
OCaml
unittest/cdomains/lvalTest.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
null
null
null
unittest/cdomains/lvalTest.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
7
2022-02-23T17:37:19.000Z
2022-03-30T16:23:06.000Z
unittest/cdomains/lvalTest.ml
MartinWehking/analyzer
11789260de08a3b619f1482f9ef2d77d21699265
[ "MIT" ]
null
null
null
open OUnit2 module ID = IntDomain.IntDomWithDefaultIkind (IntDomain.IntDomLifter (IntDomain.DefExc)) (IntDomain.PtrDiffIkind) module LV = Lval.NormalLat (ID) let ikind = IntDomain.PtrDiffIkind.ikind () let a_var = Cil.makeGlobalVar "a" Cil.intPtrType let a_lv = LV.from_var a_var let i_0 = ID.of_int ikind (Z.of_int 0...
33.444444
146
0.711913
bcc2b5dc6b0a48e0d824c3d3b806a0fa2c9f5fc3
1,717
ml
OCaml
code/async/search_out_of_order.ml
bguil/examples
506e420c23c127430533ca5ee0b04be12278218b
[ "Unlicense" ]
328
2015-01-08T13:55:08.000Z
2022-03-11T12:56:04.000Z
code/async/search_out_of_order.ml
bguil/examples
506e420c23c127430533ca5ee0b04be12278218b
[ "Unlicense" ]
17
2015-01-04T00:26:01.000Z
2018-05-31T08:16:44.000Z
code/async/search_out_of_order.ml
bguil/examples
506e420c23c127430533ca5ee0b04be12278218b
[ "Unlicense" ]
83
2015-01-21T15:07:56.000Z
2022-03-11T12:56:08.000Z
open Core.Std open Async.Std (* Generate a DuckDuckGo search URI from a query string *) let query_uri = let base_uri = Uri.of_string "http://api.duckduckgo.com/?format=json" in fun query -> Uri.add_query_param base_uri ("q", [query]) (* Extract the "Definition" or "Abstract" field from the DuckDuckGo results *) l...
29.603448
80
0.657542
17b07f2400ef709720411c5cb8af4780b9819b1f
2,146
ml
OCaml
test/typed_test/typed_resolve_test.ml
havr/lefunq
afd61807281964e1d0f51fc49516e14041a85c76
[ "Apache-2.0" ]
2
2021-07-16T12:54:55.000Z
2021-07-17T17:32:44.000Z
test/typed_test/typed_resolve_test.ml
havr/lefunq
afd61807281964e1d0f51fc49516e14041a85c76
[ "Apache-2.0" ]
null
null
null
test/typed_test/typed_resolve_test.ml
havr/lefunq
afd61807281964e1d0f51fc49516e14041a85c76
[ "Apache-2.0" ]
null
null
null
(* open Common open Base open Typed let check_result args_expect args_got = List.zip_exn args_expect args_got |> List.iter ~f: (fun (expect, got) -> if not @@ Param.equals expect got then Alcotest.fail @@ String.concat ~sep: " " [ "arg mismatch:"; (Pp.to_str...
27.512821
135
0.579683
aa39ce66d791ab5c6f6b65cedc8d2fc603b7b22c
319
mli
OCaml
test/expect-tests/dune_rpc_e2e/dune_rpc_e2e.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
test/expect-tests/dune_rpc_e2e/dune_rpc_e2e.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
test/expect-tests/dune_rpc_e2e/dune_rpc_e2e.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
open Stdune val with_dune_watch : ?env:string list -> (Pid.t -> 'a Fiber.t) -> 'a Fiber.t val dune_build : Dune_rpc_impl.Client.t -> string -> unit Fiber.t val run_client : ?handler:Dune_rpc_impl.Client.Handler.t -> (Dune_rpc_impl.Client.t -> 'a Fiber.t) -> 'a Fiber.t val run : (unit -> 'a Fiber.t) -> 'a
24.538462
77
0.648903
1798c4e0c3f7dcfb6e2fcf3014009ee783db5302
52,635
mli
OCaml
vendor/ocamlformat_support/format_.mli
ulrikstrid/ocamlformat
1d82ab5fe9ffc9e04d6a7f70f2ff4324c764b3f0
[ "MIT" ]
6
2018-06-26T10:08:18.000Z
2021-12-17T03:01:06.000Z
vendor/ocamlformat_support/format_.mli
ulrikstrid/ocamlformat
1d82ab5fe9ffc9e04d6a7f70f2ff4324c764b3f0
[ "MIT" ]
1
2022-02-08T19:16:58.000Z
2022-02-09T10:55:37.000Z
vendor/ocamlformat_support/format_.mli
ulrikstrid/ocamlformat
1d82ab5fe9ffc9e04d6a7f70f2ff4324c764b3f0
[ "MIT" ]
4
2018-04-11T11:35:14.000Z
2021-12-17T03:02:13.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
38.902439
79
0.718571
176f61998ed67a1b8426143767d650bee09686be
11,773
ml
OCaml
hphp/hack/src/hhbc/jump_targets.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-21T09:08:35.000Z
2019-07-21T09:08:35.000Z
hphp/hack/src/hhbc/jump_targets.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/jump_targets.ml
jeffomatic/hhvm
afd1a0c089aff36a31b8990490366606694a2842
[ "PHP-3.01", "Zend-2.0" ]
1
2019-07-30T11:52:42.000Z
2019-07-30T11:52:42.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 module A = Ast module T = Tast let labels_in_function_: (bool SMap.t) ref = ref SMap.empty let fu...
31.991848
94
0.695235
aa97bc313e2c205daaeaa7ce942fe08699fa26dd
15,381
ml
OCaml
ast.ml
jgranick/haxe
d6a79a813bce6ed47f1247057920bd0a23f61e75
[ "MIT" ]
1
2015-05-07T19:04:28.000Z
2015-05-07T19:04:28.000Z
ast.ml
IVPR/haxe
7c322429f839e298b0c323bdb9d21a993f8adb14
[ "MIT" ]
null
null
null
ast.ml
IVPR/haxe
7c322429f839e298b0c323bdb9d21a993f8adb14
[ "MIT" ]
null
null
null
(* * Copyright (C)2005-2013 Haxe Foundation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge,...
21.910256
141
0.619596
17ad299ad292ac1d8afea03a1f710159a33ff6db
1,335
ml
OCaml
benchmarks/numbers/int_nat_twomul.ml
victornicolet/atropos
86a96d263f49c1eccd8f584d624de119180e0eea
[ "MIT" ]
3
2021-05-03T16:20:32.000Z
2021-05-14T19:59:51.000Z
benchmarks/numbers/int_nat_twomul.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
null
null
null
benchmarks/numbers/int_nat_twomul.ml
synduce/Synduce
11e9eb1d420113ae85ec63399dd493034c51a354
[ "MIT" ]
1
2021-05-12T15:14:40.000Z
2021-05-12T15:14:40.000Z
(* First representation of integers: positive or negative natural numbers. *) type nat = Z | S of nat type inat = P of nat | N of nat type two_inats = TwoInats of inat * inat (* Reference function: sum two inats. *) let rec two_imul = function TwoInats (n1, n2) -> ival n1 * ival n2 and ival = function N n -> -(nva...
27.244898
88
0.621723
171ae4e3da9b6b99f25eb3141dc54c5e56a61fb1
1,178
ml
OCaml
duniverse/async_unix/src/scheduler.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/async_unix/src/scheduler.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/async_unix/src/scheduler.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(* [Raw_scheduler] is distinct from [Scheduler], because the former exposes some things that are used internally within Async that are not exposed in scheduler.mli. Also, it breaks a cyclic dependency [Raw_scheduler -> Log -> Scheduler]. *) open! Core open! Import include Raw_scheduler let time_spent_waiting_fo...
34.647059
89
0.731749
aaac8162ba0e9d841f558af66c81c48c40fc8b35
726
ml
OCaml
lib/ap_rep.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
3
2017-06-25T12:49:34.000Z
2019-11-07T21:13:50.000Z
lib/ap_rep.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
null
null
null
lib/ap_rep.ml
awuersch/krb5lib
688d4f120d2a9c342329280ea89a14ec003e2dd8
[ "0BSD" ]
null
null
null
open Asn.S include Krb_combinators type t = { enc_part : Encrypted_data.t } [@@deriving sexp] module Ast = struct type t = Z.t (* pvno - 5 *) * Z.t (* msg_type *) * Encrypted_data.Ast.t let asn = Application_tag.tag `Ap_req (sequence3 (tag_required 0 ~label:"pvno" integer) ...
22.6875
68
0.626722
171c49b53dc06d6d61e160cd053b5db60a573156
1,048
ml
OCaml
data/derived/comb/progs/unify/prog1958.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/prog1958.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1958.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = let rec helper acc x n = if n <= 0 then acc else helper (x :: acc) x (n - 1) in helper [] x n;; let padZero l1 l2 = let len1 = List.length l1 in let len2 = List.length l2 in if len1 < len2 then ((List.append (clone 0 (len2 - len1)) l1), l2) else (l1, (List.append (clone 0 (len1 -...
27.578947
62
0.5
1741dba73435572dc51a5a33fb3238be3d53197a
6,745
ml
OCaml
hphp/hack/test/utils/process/process_test.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2021-02-04T22:07:59.000Z
2021-02-04T22:07:59.000Z
hphp/hack/test/utils/process/process_test.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/utils/process/process_test.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
open Asserter let test_echo () = let process = Process.exec "echo" [ "hello world"; ] in match Process.read_and_wait_pid ~timeout:2 process with | Ok (result, _err) -> let () = String_asserter.assert_equals "hello world\n" result "" in true | _ -> false let test_echo_in_a_loop () = let rec loop ...
34.238579
89
0.708525
175d5f7a4227a648667d40374e56c37f526c5583
253
ml
OCaml
tests/slap.ml
akabe/docker-ocaml-jupyter-datascience
98c4f04beac88149c7ab9dbfce2c4a1043dc993d
[ "MIT" ]
38
2017-08-16T15:24:27.000Z
2022-03-12T03:51:14.000Z
tests/slap.ml
akabe/docker-ocaml-jupyter-datascience
98c4f04beac88149c7ab9dbfce2c4a1043dc993d
[ "MIT" ]
6
2017-08-29T02:12:51.000Z
2020-12-23T02:25:08.000Z
tests/slap.ml
akabe/docker-ocaml-jupyter-datascience
98c4f04beac88149c7ab9dbfce2c4a1043dc993d
[ "MIT" ]
6
2018-07-30T20:35:52.000Z
2021-09-06T14:01:17.000Z
#require "slap,slap.ppx,slap.top" ;; open Slap.D ;; let a = Mat.random Slap.Size.five Slap.Size.three in let b = Mat.random Slap.Size.three Slap.Size.four in gemm ~transa:Slap.Common.normal ~transb:Slap.Common.normal a b ;; [%vec [1.0; 2.0; 3.0]] ;;
25.3
65
0.683794
aae27bfd333359406db0159d07b570f7ef600d93
402
mli
OCaml
lib/core_weak.mli
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
lib/core_weak.mli
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
lib/core_weak.mli
chambart/core_kernel
025f7a0695bf51317b23750c23f7c7824a0f9af1
[ "Apache-2.0" ]
null
null
null
(** [Weak] is like the OCaml standard library module of the same name, except that it requires that the values in the weak set are heap blocks. *) type 'a t with sexp_of val create : len:int -> _ t val length : _ t -> int val set : 'a t -> int -> 'a Heap_block.t option -> unit val get : 'a t -> int -> 'a Heap_...
25.125
85
0.641791
17b5c81ba387711b1a12cc1ae748ee8cc1f31c42
2,532
mll
OCaml
trs/trs_lexer.mll
s-falke/sail2
14583d1bcff7d301c89f9ce363adffbf3f1e2590
[ "Apache-2.0" ]
2
2015-02-21T00:47:09.000Z
2018-02-07T23:33:04.000Z
trs/trs_lexer.mll
s-falke/sail2
14583d1bcff7d301c89f9ce363adffbf3f1e2590
[ "Apache-2.0" ]
null
null
null
trs/trs_lexer.mll
s-falke/sail2
14583d1bcff7d301c89f9ce363adffbf3f1e2590
[ "Apache-2.0" ]
null
null
null
(* Lexer for TRSs. @author Stephan Falke @version $Id: trs_lexer.mll,v 1.3 2009/03/18 20:46:27 spf Exp $ *) { open Trs_parser exception Eof exception Unknown let line = ref 1 let pos = ref 1 } rule token = parse | '#'[^'\n']* { EOL } | [' '] ...
50.64
84
0.241311
bc9282d34185b09d7e7997eb7a1573ebf6fc0fa8
1,994
ml
OCaml
examples/async/async_post.ml
ovcharovvladimir/httpaf
a58e35987f4efa160529c131e5c7e523bd74a444
[ "BSD-3-Clause" ]
null
null
null
examples/async/async_post.ml
ovcharovvladimir/httpaf
a58e35987f4efa160529c131e5c7e523bd74a444
[ "BSD-3-Clause" ]
1
2021-02-23T20:39:12.000Z
2021-02-23T20:39:12.000Z
examples/async/async_post.ml
ovcharovvladimir/httpaf
a58e35987f4efa160529c131e5c7e523bd74a444
[ "BSD-3-Clause" ]
1
2020-12-02T11:33:54.000Z
2020-12-02T11:33:54.000Z
open Core open Async open Httpaf open Httpaf_async let response_handler finished response response_body = match response with | { Response.status = `OK; _ } -> let rec on_read bs ~off ~len = Bigstring.to_string ~off ~len bs |> Core.Printf.printf "%s"; Body.schedule_read response_body ~on_read ~on_...
30.676923
105
0.630893
17ac23bb1a130e2207c4909c39ca16d24fb3528d
3,806
ml
OCaml
sihl-persistence/src/migration_repo.ml
emilgoldsmith/sihl
588f9bc59b1f2d3c72fbde10bd1867caf7a1986c
[ "MIT" ]
null
null
null
sihl-persistence/src/migration_repo.ml
emilgoldsmith/sihl
588f9bc59b1f2d3c72fbde10bd1867caf7a1986c
[ "MIT" ]
null
null
null
sihl-persistence/src/migration_repo.ml
emilgoldsmith/sihl
588f9bc59b1f2d3c72fbde10bd1867caf7a1986c
[ "MIT" ]
null
null
null
module Migration = struct type t = { namespace : string ; version : int ; dirty : bool } let create ~namespace = { namespace; version = 0; dirty = true } let mark_dirty state = { state with dirty = true } let mark_clean state = { state with dirty = false } let increment state = { state with v...
23.493827
74
0.686548
bc3cf32b9654f5d553ab040ef924643a3f31a82d
5,788
mli
OCaml
server/dns_trie.mli
cfcs/udns
4493b1ca50c749d3dbeb013f0a2d2bf6fb9b2fbc
[ "BSD-2-Clause" ]
1
2019-05-07T15:04:31.000Z
2019-05-07T15:04:31.000Z
server/dns_trie.mli
DavidAlphaFox/ocaml-dns
818c85702787c1f292e89229c65447edcf932dfe
[ "ISC" ]
null
null
null
server/dns_trie.mli
DavidAlphaFox/ocaml-dns
818c85702787c1f292e89229c65447edcf932dfe
[ "ISC" ]
null
null
null
(* (c) 2017, 2018 Hannes Mehnert, all rights reserved *) (** Prefix tree data structure for domain names The key is a {!Dns_name}, whereas the value may be any resource record. The representation is a tree, where the edges are domain name labels, and the nodes carry a {{!Dns_map.t}resource map}. Some ...
41.342857
102
0.648583
17c0dfc2fb38a0b6cf0c6be24894145c3b6fa0fb
953
ml
OCaml
terms/its_aux.ml
draperlaboratory/cage-koat
07956c1ce1206c2c6e730c4d59c5a294d174a66e
[ "Apache-2.0" ]
4
2018-04-25T16:01:18.000Z
2020-05-06T21:46:22.000Z
terms/its_aux.ml
draperlaboratory/cage-koat
07956c1ce1206c2c6e730c4d59c5a294d174a66e
[ "Apache-2.0" ]
2
2018-04-06T20:07:17.000Z
2018-05-02T07:28:35.000Z
terms/its_aux.ml
draperlaboratory/cage-koat
07956c1ce1206c2c6e730c4d59c5a294d174a66e
[ "Apache-2.0" ]
null
null
null
let readIn filename = let inchan = open_in filename in try Its_lexer.pos := 1; Its_lexer.line := 1; let lexbuf = Lexing.from_channel inchan in let res = Its_parser.cint_eol Its_lexer.token lexbuf in close_in inchan; res with | Parsing.Parse_error -> raise ( ...
25.078947
111
0.536201
1785b692e02b0deea085c549c862e1bac198e860
6,091
ml
OCaml
src/main/mc2.ml
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
26
2017-09-01T10:17:25.000Z
2021-12-09T05:12:28.000Z
src/main/mc2.ml
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
5
2018-01-01T17:56:42.000Z
2020-02-10T21:06:00.000Z
src/main/mc2.ml
c-cube/mc2
bec224a80e34ddac6441ec0bc95c373911464ea5
[ "Apache-2.0" ]
1
2017-11-24T15:43:53.000Z
2017-11-24T15:43:53.000Z
(* MSAT is free software, using the Apache license, see file LICENSE Copyright 2014 Guillaume Bury Copyright 2014 Simon Cruanes *) open Mc2_core open CCResult.Infix module E = CCResult module Fmt = CCFormat type 'a or_error = ('a, string) E.t let file = ref "" let p_cnf = ref false let p_dot_proof = ref "" let p_pr...
30.303483
101
0.612871
178909f3f564c9b9599ee2ab83a7b8a9f26912d9
662
ml
OCaml
example/confirm_cli.ml
tmattio/inquire
cd18ae5556bd44158f53b7215474679c32ad0306
[ "MIT" ]
39
2020-02-12T18:26:30.000Z
2022-01-22T05:40:28.000Z
example/confirm_cli.ml
tmattio/inquire
cd18ae5556bd44158f53b7215474679c32ad0306
[ "MIT" ]
5
2020-02-18T21:28:54.000Z
2021-11-20T16:22:46.000Z
example/confirm_cli.ml
tmattio/inquire
cd18ae5556bd44158f53b7215474679c32ad0306
[ "MIT" ]
2
2020-05-21T05:42:24.000Z
2020-10-08T16:36:04.000Z
(* Implementation of the command, we just print the args. *) let confirm default auto_enter message = let choice = Inquire.confirm ?default ?auto_enter message in if choice then print_endline "Yes!" else print_endline "No!" (* Command line interface *) open Cmdliner let default = Arg.(value & opt (some bool) No...
28.782609
75
0.685801
aaca50ea74df0e51f7d94dd6bbc817075f5ff640
3,174
ml
OCaml
src/optimization/ljs_fold_const.ml
raugfer/LambdaS5
f0bf5c7baf1daa4ead4e398ba7d430bedb7de9cf
[ "BSD-3-Clause" ]
null
null
null
src/optimization/ljs_fold_const.ml
raugfer/LambdaS5
f0bf5c7baf1daa4ead4e398ba7d430bedb7de9cf
[ "BSD-3-Clause" ]
null
null
null
src/optimization/ljs_fold_const.ml
raugfer/LambdaS5
f0bf5c7baf1daa4ead4e398ba7d430bedb7de9cf
[ "BSD-3-Clause" ]
null
null
null
open Prelude open Ljs_syntax open Ljs_opt module EU = Exp_util (* TODO: should the opt phase check type error? e.g. to check the op1 args has the right type for op1. *) (* try to simplify the op1, * return new exp in option on success, None otherwise. * Note: the e should be a simplified exp. *) let fold_cons...
25.392
82
0.532451
17b2a5f3164cf5771c8b297bdfa8247629887a8c
319
ml
OCaml
tests/types/class/minimal-def.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
1
2021-11-23T13:07:37.000Z
2021-11-23T13:07:37.000Z
tests/types/class/minimal-def.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
null
null
null
tests/types/class/minimal-def.ml
CrazedProgrammer/amulet
a4f37db434a7d69e1f40d25402cf9ec4f1f54fbe
[ "BSD-3-Clause" ]
null
null
null
class foo 'a begin val f : 'a -> unit val g : 'a -> unit let f x = g x let g x = f x val h : 'a -> unit let h x = f x val i : 'a -> unit val j : 'a -> unit val k : 'a -> unit let k x = m x val m : 'a -> unit let m x = l x val l : 'a -> unit let l x = k x end instance foo int begin end
13.869565
26
0.479624
17583dc1193dc1e24d71262f687ba327f89c90d6
772
ml
OCaml
unrealizable/duplicate.ml
sebis-anon/pldi22-benchmarks
dbae73f98d13af7754c4dce9547969a5955df4fd
[ "MIT" ]
null
null
null
unrealizable/duplicate.ml
sebis-anon/pldi22-benchmarks
dbae73f98d13af7754c4dce9547969a5955df4fd
[ "MIT" ]
null
null
null
unrealizable/duplicate.ml
sebis-anon/pldi22-benchmarks
dbae73f98d13af7754c4dce9547969a5955df4fd
[ "MIT" ]
null
null
null
type 'a list = Nil | Cons of 'a * 'a list let rec has_dup = function | Nil -> 0 | Cons (hd, tl) -> if dups_of hd tl > 0 then hd else has_dup tl and dups_of x = function | Nil -> 0 | Cons (hd, tl) -> let i = dups_of x tl in if hd = x then i + 1 else i type 'a clist = CNil | Single of 'a | Concat o...
24.125
67
0.579016
17a307f0b6f8fa9399ae18c4f625e70333aef715
9,543
ml
OCaml
bastet/src/ArrayF.ml
floscr/bastet
09b98df6a9e38282fc76612b5ada5d35180985bc
[ "BSD-3-Clause" ]
151
2017-12-27T14:58:01.000Z
2020-03-14T02:37:44.000Z
bastet/src/ArrayF.ml
floscr/bastet
09b98df6a9e38282fc76612b5ada5d35180985bc
[ "BSD-3-Clause" ]
20
2018-04-09T13:14:56.000Z
2020-02-27T09:14:05.000Z
bastet/src/ArrayF.ml
floscr/bastet
09b98df6a9e38282fc76612b5ada5d35180985bc
[ "BSD-3-Clause" ]
8
2018-02-22T16:48:43.000Z
2020-02-02T04:57:29.000Z
open Interface module type IMPL = sig val length : 'a array -> int val make : int -> 'a -> 'a array val append : 'a array -> 'a array -> 'a array val map : ('a -> 'b) -> 'a array -> 'b array val mapi : ('a -> int -> 'b) -> 'a array -> 'b array val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b array -> 'a ...
23.679901
94
0.511265
aab63bc8d4a047671318c099638f48e2110ba0a0
76,124
ml
OCaml
src/dune_rules/dune_file.ml
gpetiot/dune
8c19607f75d82ff886da8f596634a4398f3108bf
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
src/dune_rules/dune_file.ml
gpetiot/dune
8c19607f75d82ff886da8f596634a4398f3108bf
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
src/dune_rules/dune_file.ml
gpetiot/dune
8c19607f75d82ff886da8f596634a4398f3108bf
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
open! Dune_engine open! Stdune open Import open Dune_lang.Decoder (* This file defines Dune types as well as the S-expression syntax for the various supported versions of the specification. *) (* Deprecated *) module Jbuild_version = struct type t = V1 let decode = enum [ ("1", V1) ] end let () = Dune_proj...
32.476109
81
0.578228
aac0b3bc5f220bd67ce42404b646896558316845
2,148
ml
OCaml
test/client_server_test.ml
jyc/ocaml-scgi
a1858ca7bfb4d3cf8c3406e4035319aeff4f57fb
[ "BSD-3-Clause" ]
null
null
null
test/client_server_test.ml
jyc/ocaml-scgi
a1858ca7bfb4d3cf8c3406e4035319aeff4f57fb
[ "BSD-3-Clause" ]
null
null
null
test/client_server_test.ml
jyc/ocaml-scgi
a1858ca7bfb4d3cf8c3406e4035319aeff4f57fb
[ "BSD-3-Clause" ]
null
null
null
open Printf open Lwt let socket_filename = "ocaml-scgi-test.sock" let request_handler req = printf "Server got request for path %S\n" (Scgi.Request.path req); match Scgi.Request.path req with | "/hello" -> return { Scgi.Response.status = `Ok; headers = [`Content_type "text/plain"]; ...
28.263158
75
0.647579
17a50be2946e226efdc10098ea57347dc3702287
32,008
ml
OCaml
src/typing/context.ml
Sam9799/flow
3255fc9ed24e0913923459cad3392339757b6472
[ "MIT" ]
null
null
null
src/typing/context.ml
Sam9799/flow
3255fc9ed24e0913923459cad3392339757b6472
[ "MIT" ]
null
null
null
src/typing/context.ml
Sam9799/flow
3255fc9ed24e0913923459cad3392339757b6472
[ "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 Type.TypeContext module ALocMap = Loc_collections.ALocMap module Scope_api = Scope_api.With_ALoc exception Props_not_found of...
34.829162
100
0.745345
1786e2a9a27dd64e824cf7bafd2a85cb69d22eb4
2,327
ml
OCaml
src/tools/lwt_extra.ml
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
41
2015-02-11T03:23:36.000Z
2020-12-27T12:13:52.000Z
src/tools/lwt_extra.ml
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
36
2015-01-04T16:58:51.000Z
2020-11-12T12:05:37.000Z
src/tools/lwt_extra.ml
Incubaid/arakoon
43a8d0b26e4876ef91d9657149f105c7e57e0cb0
[ "Apache-2.0" ]
7
2015-07-10T08:04:01.000Z
2021-09-28T08:09:23.000Z
(* * Copyright 2014 Incubaid BVBA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
31.445946
82
0.574989
17087961044b31a37bb8c843fdae6c9a7e36bb1c
129
ml
OCaml
example/f-static/static.ml
dinosaure/dream
fb9a1c7cb635af45e89c34ffda1e5dcf9e9ee299
[ "MIT" ]
null
null
null
example/f-static/static.ml
dinosaure/dream
fb9a1c7cb635af45e89c34ffda1e5dcf9e9ee299
[ "MIT" ]
null
null
null
example/f-static/static.ml
dinosaure/dream
fb9a1c7cb635af45e89c34ffda1e5dcf9e9ee299
[ "MIT" ]
null
null
null
let () = Dream.run @@ Dream.logger @@ Dream.router [ Dream.get "/static/*" (Dream.static ".") ] @@ Dream.not_found
16.125
44
0.55814
aa05248adc54ad8e7a264d0dda26d28e94eac6c1
1,755
mli
OCaml
experiments/ownership-inference/infer/infer/src/integration/Driver.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/integration/Driver.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/integration/Driver.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
17
2019-06-28T14:40:41.000Z
2021-03-11T19:26:13.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd (** entry points for top-level functionalities such as capture under various build systems, analysis, and reporting...
37.340426
99
0.747009
17b0f501b629862062990b4b9eedbffa9dab7576
345
ml
OCaml
src/util/int.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
src/util/int.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
src/util/int.ml
iceluke/cyclist
6983f1c7a5aacf142fb7edc6a2803ebd8924310c
[ "BSD-3-Clause" ]
null
null
null
module IntType : Utilsigs.BasicType with type t = int = struct type t = int let compare (i:t) (j:t) = if i<j then -1 else if i>j then +1 else 0 let equal (i:t) (j:t) = i=j let hash (i:t) = Hashtbl.hash i let to_string = string_of_int let pp = Format.pp_print_int end include IntType include ...
26.538462
71
0.652174
17bbff0326c0757f41a7d2816a2572e050148969
20,172
mli
OCaml
lib/command.mli
agarwal/core
5ee4c65df85e5720dbbcc14087e2ef28259930ab
[ "Apache-2.0" ]
null
null
null
lib/command.mli
agarwal/core
5ee4c65df85e5720dbbcc14087e2ef28259930ab
[ "Apache-2.0" ]
null
null
null
lib/command.mli
agarwal/core
5ee4c65df85e5720dbbcc14087e2ef28259930ab
[ "Apache-2.0" ]
null
null
null
(** purely functional command line parsing *) open Core_kernel.Std (** composable command-line specifications *) module Spec : sig (** {1 command parameters} *) (** specification of an individual parameter to the command's main function *) type 'a param (** a hard-coded parameter *) val const : 'a -> 'a ...
39.245136
91
0.62215
173ac9ab19a946f840d6dc546deb74aff5e9be3b
2,105
ml
OCaml
src/proto_alpha/lib_protocol/fitness_storage.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_alpha/lib_protocol/fitness_storage.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_alpha/lib_protocol/fitness_storage.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
4
2021-04-27T15:00:34.000Z
2021-09-26T21:50:01.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
67.903226
79
0.493112
17b9afa5f040455098ab7277dd610b73b032710d
2,762
mli
OCaml
src/lib_store/floating_block_index.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/lib_store/floating_block_index.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/lib_store/floating_block_index.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020-2021 Nomadic Labs, <contact@nomadic-labs.com> *) ...
55.24
79
0.529327
17070cd415fe814b2e0e0e6c51869a4b9d6a784c
14,544
ml
OCaml
src/proto_alpha/lib_protocol/sc_rollup_game_repr.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/sc_rollup_game_repr.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/sc_rollup_game_repr.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
31.076923
80
0.582439
aa808a5a0ec1f3a8d6a373f78962b45c83a9b85c
1,103
ml
OCaml
day19/bin/main.ml
hongchangwu/advent-of-code-2021
1fd6a6604be1cdca53c241b28d4d893ac18e4c0f
[ "MIT" ]
null
null
null
day19/bin/main.ml
hongchangwu/advent-of-code-2021
1fd6a6604be1cdca53c241b28d4d893ac18e4c0f
[ "MIT" ]
null
null
null
day19/bin/main.ml
hongchangwu/advent-of-code-2021
1fd6a6604be1cdca53c241b28d4d893ac18e4c0f
[ "MIT" ]
null
null
null
let usage = "day19 [--part2] FILE" let part2 = ref false let input_file = ref "" let specs = [("--part2", Arg.Set part2, "Solve part 2")] let anon filename = input_file := filename let () = Arg.parse specs anon usage; let beacons = let parse_line line = match String.split_on_char ',' line with ...
28.282051
72
0.553944
179b6b7e251d074f223349bce1350c5d82b4d8e7
106
ml
OCaml
vendor/cuz/src/cuz_unix.ml
dinosaure/doi2bib
a3778cf63cdf21d3df79aff8d16ef89a8c0dbc4e
[ "MIT" ]
31
2020-10-09T21:24:22.000Z
2022-03-23T18:51:03.000Z
vendor/cuz/src/cuz_unix.ml
dinosaure/doi2bib
a3778cf63cdf21d3df79aff8d16ef89a8c0dbc4e
[ "MIT" ]
6
2020-10-10T10:40:08.000Z
2022-02-03T16:01:19.000Z
vendor/cuz/src/cuz_unix.ml
dinosaure/doi2bib
a3778cf63cdf21d3df79aff8d16ef89a8c0dbc4e
[ "MIT" ]
3
2020-10-18T20:50:14.000Z
2021-07-30T14:54:56.000Z
let cfg = let time () = Int32.of_float (Unix.gettimeofday ()) in Gz.Higher.configuration Gz.Unix time
26.5
56
0.707547
aada37dbc20c8211740205380aa16ef4801257a5
4,094
ml
OCaml
src/owl/core/owl_slicing_fancy.ml
Drup/owl
cc2520b2f057d6b7f64d175e97ae810b63d3d14b
[ "MIT" ]
null
null
null
src/owl/core/owl_slicing_fancy.ml
Drup/owl
cc2520b2f057d6b7f64d175e97ae810b63d3d14b
[ "MIT" ]
null
null
null
src/owl/core/owl_slicing_fancy.ml
Drup/owl
cc2520b2f057d6b7f64d175e97ae810b63d3d14b
[ "MIT" ]
null
null
null
(* * OWL - an OCaml numerical library for scientific computing * Copyright (c) 2016-2018 Liang Wang <liang.wang@cl.cam.ac.uk> *) open Bigarray open Owl_types open Owl_dense_common_types (* Interface to the native c functions *) external owl_float32_ndarray_get_fancy : ('a, 'b) owl_arr -> ('a, 'b) owl_arr -> (i...
39.747573
170
0.664387
aadd98f6776cd91eb959bd5f33e3971fa2546faa
3,924
ml
OCaml
infer/src/absint/Scheduler.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
4
2021-11-19T02:07:46.000Z
2022-03-24T06:03:50.000Z
infer/src/absint/Scheduler.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2021-04-05T15:19:58.000Z
2021-12-16T04:22:26.000Z
infer/src/absint/Scheduler.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2019-04-26T02:27:43.000Z
2019-04-26T02:27:43.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! IStd module type S = sig module CFG : ProcCfg.S type t val schedule_succs : t -> CFG.Node.t -> t (** schedule the succes...
34.421053
99
0.679664
1748b6047507d2ec06939290f4688b259bbdde90
2,972
ml
OCaml
src/transfercoefs.ml
wusunlab/leaf-pst
2b192a58efc52d1facd371720b2242efa01749d3
[ "MIT" ]
null
null
null
src/transfercoefs.ml
wusunlab/leaf-pst
2b192a58efc52d1facd371720b2242efa01749d3
[ "MIT" ]
3
2019-06-24T04:34:13.000Z
2019-09-24T03:02:09.000Z
src/transfercoefs.ml
wusunlab/leaf-pst
2b192a58efc52d1facd371720b2242efa01749d3
[ "MIT" ]
null
null
null
open Constants open Math_helpers open Thermodyn let dyn_visc_dryair t = polyval [-9.8601e-7; 9.080125e-8; -1.17635575e-10; 1.2349703e-13; -5.7971299e-17] t let dyn_visc_vapor t = -2.869368957406498e-06 +. (4.000549451e-8 *. t) (* Calculate viscosity interaction terms from temperature \[K\]. This is a pr...
30.326531
77
0.645693
17206984ad9d151f6b7383799a2de1d18852c63c
73
ml
OCaml
lib/protocol/textSynchronization/didCloseTextDocumentParams.ml
giltho/ocaml-lsplib
64ad0532bba22c0baacba04e83d5e760f9466934
[ "MIT" ]
null
null
null
lib/protocol/textSynchronization/didCloseTextDocumentParams.ml
giltho/ocaml-lsplib
64ad0532bba22c0baacba04e83d5e760f9466934
[ "MIT" ]
2
2018-11-19T18:03:17.000Z
2019-04-01T16:41:18.000Z
lib/protocol/textSynchronization/didCloseTextDocumentParams.ml
giltho/ocaml-lsp-implementation
64ad0532bba22c0baacba04e83d5e760f9466934
[ "MIT" ]
null
null
null
type t = { textDocument : TextDocumentIdentifier.t } [@@deriving yojson]
36.5
72
0.739726
176774d3558fb791a4a689cad80b13c20e341a16
168
ml
OCaml
benchmarks/C/iter/sol333.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/iter/sol333.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/iter/sol333.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(* problem 3*) let iter : int * (int -> int) -> (int -> int) = fun (n,f) -> fun x -> let rec g (n, f) = if n == 0 then x else f(g (n-1, f)) in g (n, f)
33.6
81
0.422619
17caf504b371a5da0dc763629eb386f058cd6463
86
mli
OCaml
src/parsing/parse.mli
juliansf/rltl2ba
45456b3ef1faa8f1bd95d20581b17fc6246ff3cd
[ "BSD-3-Clause" ]
2
2015-06-25T19:16:40.000Z
2017-11-01T15:32:15.000Z
src/parsing/parse.mli
juliansf/rltl2ba
45456b3ef1faa8f1bd95d20581b17fc6246ff3cd
[ "BSD-3-Clause" ]
null
null
null
src/parsing/parse.mli
juliansf/rltl2ba
45456b3ef1faa8f1bd95d20581b17fc6246ff3cd
[ "BSD-3-Clause" ]
null
null
null
(* Entry points in parser *) val expression : Lexing.lexbuf -> Parsetree.expression
17.2
54
0.732558
44a28b240122b80ce8e6d5f6a962df5d91acca6a
50,748
ml
OCaml
infer/src/java/jTrans.ml
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "MIT" ]
null
null
null
infer/src/java/jTrans.ml
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "MIT" ]
null
null
null
infer/src/java/jTrans.ml
sjcjoosten/infer
4b69087ad50ad50c43e536351777999e8c256fd4
[ "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. *) open! IStd open Javalib_pack open Sawja_pack module L = Logging type invoke_kind = I_Virtual ...
41.836768
102
0.667948
aaf043b096b43ebb714c829f3b6959d8f5247938
640
ml
OCaml
bootstrap/test/basis/list/test_rev_mapi2.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/test/basis/list/test_rev_mapi2.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/test/basis/list/test_rev_mapi2.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open! Basis.Rudiments open! Basis open List let test () = let list_pairs = [ ([], []); ([10L], [100L]); ([10L; 20L], [100L; 200L]); ([10L; 20L; 30L], [100L; 200L; 300L]); ] in let f i a b = (b + a + i + 1L) in iter list_pairs ~f:(fun (a, b) -> File.Fmt.stdout |> Fmt.fmt " mapi2 " ...
20
42
0.44375
1789936829c41295ad997f6e1aef6195e1f8130e
7,105
ml
OCaml
tests/idempotency/bucklescript/belt/belt_SetDict.ml
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
166
2020-08-11T15:49:10.000Z
2022-03-23T17:28:36.000Z
tests/idempotency/bucklescript/belt/belt_SetDict.ml
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
305
2020-08-12T07:41:01.000Z
2022-03-25T06:33:14.000Z
tests/idempotency/bucklescript/belt/belt_SetDict.ml
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
19
2020-08-30T14:25:33.000Z
2022-03-21T07:58:43.000Z
(* Copyright (C) 2017 Authors of BuckleScript * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * In ad...
29.852941
80
0.606474
17a737c48df1d7c57a81e17acafb80dd56b04779
1,660
mli
OCaml
CodeHawk/CHJ/jchlib/jCHInstruction.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHJ/jchlib/jCHInstruction.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHJ/jchlib/jCHInstruction.mli
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Java Analyzer Author: Arnaud Venet ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2020 Kestrel Technology LLC Permission is hereby gran...
46.111111
83
0.651807
172a01b16812d9a1da93d0b7208d240bcc255026
1,449
ml
OCaml
test/common/test_statistics.ml
elimisteve/comby
8ea31dc5a9d9ba22980f2123e679169bcc76622c
[ "Apache-2.0" ]
1,470
2019-04-17T22:51:49.000Z
2022-03-25T03:04:35.000Z
test/common/test_statistics.ml
elimisteve/comby
8ea31dc5a9d9ba22980f2123e679169bcc76622c
[ "Apache-2.0" ]
158
2019-04-22T03:05:10.000Z
2022-03-16T22:10:14.000Z
test/common/test_statistics.ml
elimisteve/comby
8ea31dc5a9d9ba22980f2123e679169bcc76622c
[ "Apache-2.0" ]
42
2019-06-24T18:52:04.000Z
2022-02-22T16:12:26.000Z
open Core open Test_helpers open Comby_kernel open Matchers open Match let %expect_test "statistics" = let template = {| def :[fn_name](:[fn_params]) |} |> format in let source = {| def foo(bar): pass def bar(bazz): pass |} |> format in let rule =...
18.818182
117
0.57695
aa6f1b39ef77f6158eb5691c7bc5ec2cb0093c4f
1,289
ml
OCaml
streaming_xpath/stream_analysis_builtin.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
3
2016-05-03T23:32:16.000Z
2019-07-04T10:29:09.000Z
streaming_xpath/stream_analysis_builtin.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
1
2016-05-10T09:10:16.000Z
2016-05-10T09:10:16.000Z
streaming_xpath/stream_analysis_builtin.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
2
2019-05-08T16:29:48.000Z
2020-02-20T21:44:11.000Z
(***********************************************************************) (* *) (* GALAX *) (* XQuery Engine *) (* ...
33.921053
76
0.37083
177cf6374b7be8a41eea8be405f0ea5618016366
5,186
ml
OCaml
lib/models/channel/channel_t.ml
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
lib/models/channel/channel_t.ml
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
lib/models/channel/channel_t.ml
EmileTrotignon/disml
24526c8500e095c54ff45f6541ae2f8b3326b968
[ "MIT" ]
null
null
null
open Core exception Invalid_channel of Yojson.Safe.t type group = { id: Channel_id_t.t ; last_message_id: Message_id.t option [@default None] ; last_pin_timestamp: string option [@default None] ; icon: string option [@default None] ; name: string option [@default None] ; owner_id: User_id_t.t ; recipien...
27.73262
79
0.672194
172c31d1b85c0a954f9c587230242b78c7670cbb
394
ml
OCaml
test/parsing_tests.ml
luml-lang/luml
9e705adb273a0c260613d86acb0959ba758e3954
[ "MIT" ]
5
2018-06-25T11:03:53.000Z
2019-01-13T12:33:02.000Z
test/parsing_tests.ml
merle-lang/luml
9e705adb273a0c260613d86acb0959ba758e3954
[ "MIT" ]
null
null
null
test/parsing_tests.ml
merle-lang/luml
9e705adb273a0c260613d86acb0959ba758e3954
[ "MIT" ]
null
null
null
open Lib open Helpers let breaks () = let code = "(+) : Int -> Int -> Int\n(+) x y =\n @lua.+ x y\nadd10 = (+) 10" in (*add10 = (+) 10 in *) exec_with_type_and_res code "add10" "add10" |> must_succeed (fun (res_string, type_str) -> Alcotest.(check string) "Inferred Breaks" type_str "Int -...
28.142857
82
0.583756
17c47a3d2f43512817a1c4b8880f8444078fab91
603
ml
OCaml
Flap/src/retrolix/retrolix.ml
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
1
2022-02-16T08:38:10.000Z
2022-02-16T08:38:10.000Z
Flap/src/retrolix/retrolix.ml
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
null
null
null
Flap/src/retrolix/retrolix.ml
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
2
2020-01-11T19:07:41.000Z
2020-10-08T14:12:54.000Z
(** The retrolix programming language. *) module AST = RetrolixAST let name = "retrolix" type ast = RetrolixAST.t let parse lexer_init input = SyntacticAnalysis.process ~lexer_init ~lexer_fun:RetrolixLexer.token ~parser_fun:RetrolixParser.program ~input let parse_filename filename = parse L...
17.735294
55
0.771144
1734bb2b6766c97666070eeaca129c0dcb6ac197
2,985
ml
OCaml
data/sp14_min/1684.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/1684.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/1684.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let buildAverage (e1,e2) = Average (e1, e2);; let buildCosine e = Cosine e;; let buildSine e = Sine e;; let buildThresh (a,b,a_less,b_less) = Thresh (a, b, a_le...
23.320313
194
0.584925
aa7fac337e2600282bbeacbfcde7f2c76a9315d3
600
ml
OCaml
src/parser_utils/json_of_estree.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
2
2019-01-31T09:33:15.000Z
2019-01-31T09:35:08.000Z
src/parser_utils/json_of_estree.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
null
null
null
src/parser_utils/json_of_estree.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
2
2021-02-02T14:51:26.000Z
2021-02-02T14:52:05.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Hh_json_translator : ( Translator_intf.S with type t = Hh_json.json ) = struct type t = Hh_json.json open Hh_json let s...
24
66
0.731667
aadc6de065ab82a25a5e6ed227925602cd4394c7
29,555
ml
OCaml
cil/ocamlutil/pretty.ml
jiseongg/ParaDySE
1a0dc477b9fc60602e8e130a8dcc3b1955bd4eec
[ "BSD-2-Clause" ]
40
2018-03-13T07:02:53.000Z
2022-02-21T08:07:15.000Z
cil/ocamlutil/pretty.ml
kupl/ConTest
ecd0765ce8be1f1e06c33779823617dac6679392
[ "BSD-2-Clause" ]
null
null
null
cil/ocamlutil/pretty.ml
kupl/ConTest
ecd0765ce8be1f1e06c33779823617dac6679392
[ "BSD-2-Clause" ]
8
2018-04-24T16:32:58.000Z
2022-03-23T07:04:16.000Z
(* * * Copyright (c) 2001-2002, * George C. Necula <necula@cs.berkeley.edu> * Scott McPeak <smcpeak@cs.berkeley.edu> * Wes Weimer <weimer@cs.berkeley.edu> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provide...
33.971264
121
0.548672
176a8b213214884ccdbc5c905ab0c22c65a253bd
5,969
ml
OCaml
infer/src/checkers/annotations.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
infer/src/checkers/annotations.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
null
null
null
infer/src/checkers/annotations.ml
mihelem/infer
e3360c684f2737b77d772b69910c52149c319def
[ "MIT" ]
1
2019-04-26T02:27:43.000Z
2019-04-26T02:27:43.000Z
(* * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd (** Annotations. *) let any_thread = "AnyThread" let auto_cleanup = "AutoCleanup" let bind = "Bind" let bind_view = "Bind...
26.179825
101
0.783213
17687a0503338ede710c0452903f0c509b40e05a
51
ml
OCaml
Task/Matrix-multiplication/Standard-ML/matrix-multiplication-2.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2021-05-05T13:42:20.000Z
2021-05-05T13:42:20.000Z
Task/Matrix-multiplication/Standard-ML/matrix-multiplication-2.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
Task/Matrix-multiplication/Standard-ML/matrix-multiplication-2.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
val it = [[~7,~6,11],[~17,~20,25]] : int list list
25.5
50
0.509804
17a2a9159c72735f839018ff471aa449406db647
1,404
ml
OCaml
plugin/test/pluginTest.ml
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
plugin/test/pluginTest.ml
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
plugin/test/pluginTest.ml
ishaanthakur/pyre-check
b0f12f8a3e6a817a81d87feae301c96d57d167b9
[ "MIT" ]
null
null
null
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open Analysis open Ast open Statement open Test let assert_environment_contains source expected = Annotated.Class.AttributeCache...
33.428571
89
0.7151
173055ceee5925111a28558a9b489620a2962cac
3,394
mli
OCaml
src/commands/config/flowConfig.mli
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
src/commands/config/flowConfig.mli
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
src/commands/config/flowConfig.mli
mxstbr/flow
a0ed2e28278e66add6f963d9c4f2328428c04480
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) type config val get: ?allow_cache:bool -> string -> config val get_hash: ?allow_cache:bool -> string -> Xx.hash val empty_config: confi...
36.891304
79
0.774308
1716024096e8b30c5a482c5328a2f968647df775
504
ml
OCaml
lib_test/postgresql/test.ml
tmattio/ocaml-session
9aab1ec4e4f013fb7dc932a0cc32f32b92e94897
[ "BSD-3-Clause" ]
47
2015-12-15T15:32:39.000Z
2021-08-03T18:56:49.000Z
lib_test/postgresql/test.ml
tmattio/ocaml-session
9aab1ec4e4f013fb7dc932a0cc32f32b92e94897
[ "BSD-3-Clause" ]
15
2015-12-16T19:15:41.000Z
2021-08-17T09:07:16.000Z
lib_test/postgresql/test.ml
tmattio/ocaml-session
9aab1ec4e4f013fb7dc932a0cc32f32b92e94897
[ "BSD-3-Clause" ]
9
2016-12-05T15:27:26.000Z
2022-03-18T19:47:56.000Z
module Backend = struct include Session_postgresql let name = "postgresql" let create () = let t = connect ~dbname:"i3_test" () in let open Postgresql in ignore (t#exec ~expect:[Command_ok] "DELETE FROM session"); t end let () = let open Postgresql in Printexc.register_printer @@ function ...
25.2
81
0.684524
aacee72499a91361fe06e141dbb11ea844c94c48
2,580
ml
OCaml
pages/Multiline_input.ml
joelburget/lvca
2192e31977a9368ea54b376d7887b8fb93ef6e89
[ "MIT" ]
22
2019-01-22T23:06:29.000Z
2022-02-10T02:52:56.000Z
pages/Multiline_input.ml
joelburget/lvca
2192e31977a9368ea54b376d7887b8fb93ef6e89
[ "MIT" ]
28
2019-01-20T23:10:46.000Z
2022-02-28T00:59:52.000Z
pages/Multiline_input.ml
joelburget/lvca
2192e31977a9368ea54b376d7887b8fb93ef6e89
[ "MIT" ]
null
null
null
open Base open Brr open Brr_note open Note open Prelude let txt' = El.txt' let mk ?(autofocus = true) ?(border = true) ?(rows = None) ?(cols = 60) ?(at = []) input_s = let input_dirty_s, update_input_dirty = S.create false in let needed_rows = match rows with | Some n -> n | None -> String.count (S....
30.714286
90
0.605814
17ab353859c35753da90ecbfeb371f681ab1a15c
5,901
ml
OCaml
src/passes/12-spilling/errors.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
null
null
null
src/passes/12-spilling/errors.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
null
null
null
src/passes/12-spilling/errors.ml
ligolang/ligo-mirror
8b491cbb5830071a8ef691f80148382eac1b2937
[ "MIT" ]
null
null
null
module Var = Simple_utils.Var module Tree = Simple_utils.Tree module Snippet = Simple_utils.Snippet module Location = Simple_utils.Location open Simple_utils.Display type spilling_error = [ | `Spilling_corner_case of string * string | `Spilling_no_type_variable of Ast_typed.type_variable | `Spilling_un...
41.851064
120
0.674123
17c7920323d945a756438526d41a6fd4fd4c53a8
2,286
ml
OCaml
libraries/rds/lib/modifyDBCluster.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/modifyDBCluster.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/modifyDBCluster.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = ModifyDBClusterMessage.t type output = ModifyDBClusterResult.t type error = Errors_internal.t let service = "rds" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) (List.a...
33.130435
95
0.630796
bc50b3b386327bc345b75e41258b919fcf2d6fa1
989
ml
OCaml
result/cafe2/lambda/sub133/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/prog/lambda/sub133/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/prog/lambda/sub133/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type lambda = V of var | P of (var * lambda) | C of (lambda * lambda) and var = string let rec check (lam : lambda) : bool = let rec get (lam : lambda) (lst1 : string list) (lst2 : string list) : string list * string list = match lam with | V x -> (lst1, x :: lst2) | P (x, e) -> let lst' :...
28.257143
72
0.519717
aabea01ec02e7eea25b4449c74b91326170513f8
1,958
mli
OCaml
tests/idempotency/bucklescript/belt/belt_internalSetBuckets.mli
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
166
2020-08-11T15:49:10.000Z
2022-03-23T17:28:36.000Z
tests/idempotency/bucklescript/belt/belt_internalSetBuckets.mli
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
305
2020-08-12T07:41:01.000Z
2022-03-25T06:33:14.000Z
tests/idempotency/bucklescript/belt/belt_internalSetBuckets.mli
cknitt/syntax
b6932372454c0c635dc3746c18df5cb059c1ded1
[ "MIT" ]
19
2020-08-30T14:25:33.000Z
2022-03-21T07:58:43.000Z
(* Copyright (C) 2018 Authors of BuckleScript * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * In ad...
40.791667
80
0.680286
179a8da7c8ea356b75c31026d825dc2b3fc931e3
9,441
ml
OCaml
duniverse/ocp-indent/src/indentArgs.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ocp-indent/src/indentArgs.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/ocp-indent/src/indentArgs.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2011 Jun Furuse *) (* Copyright 2013 OCamlPro *) (* ...
39.174274
82
0.540091