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
af1f8b3bb6396561eb6b49d1ed7bed23176071ea
18,138
ml
OCaml
src/inverse.ml
chaudhuri/maetning
4b0aad8ea2673902f2a0aec09eb2c70de0095b17
[ "BSD-2-Clause-FreeBSD" ]
1
2015-10-12T12:38:42.000Z
2015-10-12T12:38:42.000Z
src/inverse.ml
chaudhuri/maetning
4b0aad8ea2673902f2a0aec09eb2c70de0095b17
[ "BSD-2-Clause-FreeBSD" ]
7
2015-02-25T22:15:11.000Z
2015-05-04T14:01:27.000Z
src/inverse.ml
chaudhuri/maetning
4b0aad8ea2673902f2a0aec09eb2c70de0095b17
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
(* * Author: Kaustuv Chaudhuri <kaustuv.chaudhuri@inria.fr> * Copyright (C) 2015 Inria (Institut National de Recherche * en Informatique et en Automatique) * See LICENSE for licensing details. *) (* prover internals *) open Batteries open Debug open Idt open Term open Form open Rule open Se...
35.916832
123
0.528173
8a700594bec9d522c2b55bee1ab17efa685504a1
15,845
ml
OCaml
source/interprocedural_analyses/taint/modelVerifier.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/modelVerifier.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/interprocedural_analyses/taint/modelVerifier.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open Pyre open Ast open Analysis open Expression module DefinitionsCache (Type : sig type t end) = struct let cach...
38.180723
103
0.654339
afef15e36122f1a3a4789787cbb368ae7e44910e
2,736
ml
OCaml
main.ml
hielis/awesome_compiler
06a8b854dde55901a9ed54ee21b40d4e4c2a5bc5
[ "MIT" ]
null
null
null
main.ml
hielis/awesome_compiler
06a8b854dde55901a9ed54ee21b40d4e4c2a5bc5
[ "MIT" ]
null
null
null
main.ml
hielis/awesome_compiler
06a8b854dde55901a9ed54ee21b40d4e4c2a5bc5
[ "MIT" ]
null
null
null
(* Fichier principal du compilateur mini-c *) open Format open Lexing open Asm let () = Printexc.record_backtrace true let parse_only = ref false let type_only = ref false let interp_rtl = ref false let interp_ertl = ref false let interp_ltl = ref false let debug = ref false let ifile = ref "" let set_file f s = ...
28.5
95
0.660088
8a125800761ca103c473a59dffb45fe253dc48e9
161
ml
OCaml
HW-5/fbdk-1.23/src/AFbV/afbvoptions.ml
thewickedaxe/Programming-Languages---600.426
9c903f406c835f22fd9763f0a8fbcfc4db4cda64
[ "MIT" ]
1
2019-03-08T17:20:09.000Z
2019-03-08T17:20:09.000Z
HW-5/fbdk-1.23/src/TFbSRX/tfbsrxoptions.ml
thewickedaxe/Programming-Languages---600.426
9c903f406c835f22fd9763f0a8fbcfc4db4cda64
[ "MIT" ]
null
null
null
HW-5/fbdk-1.23/src/TFbSRX/tfbsrxoptions.ml
thewickedaxe/Programming-Languages---600.426
9c903f406c835f22fd9763f0a8fbcfc4db4cda64
[ "MIT" ]
null
null
null
type options_type = { mutable debug : bool } let options = { debug = false } let get_debug () = options.debug let set_debug v = options.debug <- v
16.1
45
0.63354
af2017378a28453207073953624d6fcd9338b553
9,476
ml
OCaml
infer/src/bufferoverrun/symb.ml
jesmg/infer
8ae6b1faf3d72d0bbafe352a3c9e15bc62e9d733
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/symb.ml
jesmg/infer
8ae6b1faf3d72d0bbafe352a3c9e15bc62e9d733
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/symb.ml
jesmg/infer
8ae6b1faf3d72d0bbafe352a3c9e15bc62e9d733
[ "MIT" ]
null
null
null
(* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format module BoundEnd = struct type t = LowerBound | UpperBound [@@deriving compare] let equal = [%compare.eq...
30.469453
99
0.611334
af699bdd5782c5b6e2cf8f3536d39a32196588d1
42,006
ml
OCaml
typing/typing_step.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
3
2016-05-03T23:32:16.000Z
2019-07-04T10:29:09.000Z
typing/typing_step.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
1
2016-05-10T09:10:16.000Z
2016-05-10T09:10:16.000Z
typing/typing_step.ml
tsuyoshi2/Galax
8871d4b4afb623e1a496cfe5fe142de9ebb2a2a8
[ "LPL-1.02" ]
2
2019-05-08T16:29:48.000Z
2020-02-20T21:44:11.000Z
(***********************************************************************) (* *) (* GALAX *) (* XQuery Engine *) (* ...
45.510293
138
0.58106
af893e867e568793cc4d21535756201d8f704b5a
647
ml
OCaml
src/longest_words/test.ml
yuanqing/code-problems
30eb34ad616146306cddc50594a47deff111f341
[ "MIT" ]
8
2017-04-21T17:30:09.000Z
2020-10-28T21:14:11.000Z
src/longest_words/test.ml
yuanqing/code-problems
30eb34ad616146306cddc50594a47deff111f341
[ "MIT" ]
null
null
null
src/longest_words/test.ml
yuanqing/code-problems
30eb34ad616146306cddc50594a47deff111f341
[ "MIT" ]
3
2018-01-18T22:45:50.000Z
2020-10-29T03:04:34.000Z
open Longest_words open OUnit2 let () = run_test_tt_main ("longest_words sentence" >::: [ "no words" >:: (fun _ -> assert_equal [] (longest_words ""); assert_equal [] (longest_words " "); ); "a single word" >:: (fun _ -> assert_equal ["word"] (longest_words "word"); ); "multiple words, no repe...
24.884615
68
0.5966
8a34185d3ddd09d330f0aa703819f27e7a01ecf5
18,519
ml
OCaml
data/derived/comb/progs/unify/prog6649.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog1819.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1819.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.367568
208
0.671905
8a5b1bb16a124c02f93d2c97fb34fbe45ab44813
3,255
ml
OCaml
bin/piecewise_linear_perf_test.ml
arenadotio/core
49dc8358869dfb9cd26c9b4401c9cc76f77ae9b4
[ "Apache-2.0" ]
null
null
null
bin/piecewise_linear_perf_test.ml
arenadotio/core
49dc8358869dfb9cd26c9b4401c9cc76f77ae9b4
[ "Apache-2.0" ]
null
null
null
bin/piecewise_linear_perf_test.ml
arenadotio/core
49dc8358869dfb9cd26c9b4401c9cc76f77ae9b4
[ "Apache-2.0" ]
null
null
null
open Core.Std let test_with_overhead number_of_knots number_of_lookups = let xmax = 10. in let kx = Array.init number_of_knots ~f:(fun _i -> Random.float xmax) in Array.sort kx ~cmp:Float.compare; let ky = Array.init number_of_knots ~f:(fun _i -> Random.float 20.) in let knots = Array.map2_exn kx ky ~f:(fun ...
39.216867
91
0.65745
afb32d55b9ae6e04a48f1b9abb2c8b15b24afcff
2,771
ml
OCaml
examples/low-level/ml/test_chacha.ml
YaccConstructor/FStar
a8db6c47e8b699b98be4c7c6f8c2e0edbce85933
[ "Apache-2.0" ]
1
2021-06-24T15:18:39.000Z
2021-06-24T15:18:39.000Z
examples/low-level/ml/test_chacha.ml
YaccConstructor/FStar
a8db6c47e8b699b98be4c7c6f8c2e0edbce85933
[ "Apache-2.0" ]
null
null
null
examples/low-level/ml/test_chacha.ml
YaccConstructor/FStar
a8db6c47e8b699b98be4c7c6f8c2e0edbce85933
[ "Apache-2.0" ]
2
2015-10-22T11:55:17.000Z
2016-07-20T14:59:29.000Z
open Chacha open Char open FStar_Buffer let key = {content = Array.init 32 (fun x -> x); idx = 0; length = 32 } let nonce = let n = create FStar_UInt8.zero 12 in upd n 7 0x4a; n let counter = FStar_UInt32.one let from_string s = let b = create FStar_UInt8.zero (String.length s) in for i = 0 to (Str...
34.209877
144
0.623962
8a70c7ff38599eefdb4812b1a25b92a52a1725ce
1,669
mli
OCaml
gospel/test/ocaml-source-mli/variables.mli
enieber/vocal
f1e0930863d4f9c44370d5bb9b435727b7c8efcf
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
gospel/test/ocaml-source-mli/variables.mli
enieber/vocal
f1e0930863d4f9c44370d5bb9b435727b7c8efcf
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
gospel/test/ocaml-source-mli/variables.mli
enieber/vocal
f1e0930863d4f9c44370d5bb9b435727b7c8efcf
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
35.510638
76
0.42121
af5a03bebeaad6e39a62a3ae50561f6624e1bb07
43,735
ml
OCaml
source/interprocedural_analyses/taint/test/backwardAnalysisTest.ml
0xedward/pyre-check
dcfe8f45e40f235b49b5d04ed826433e0808f168
[ "MIT" ]
5,975
2018-05-11T15:54:32.000Z
2022-03-31T14:38:00.000Z
source/interprocedural_analyses/taint/test/backwardAnalysisTest.ml
0xedward/pyre-check
dcfe8f45e40f235b49b5d04ed826433e0808f168
[ "MIT" ]
524
2018-05-11T16:47:20.000Z
2022-03-22T17:43:06.000Z
source/interprocedural_analyses/taint/test/backwardAnalysisTest.ml
0xedward/pyre-check
dcfe8f45e40f235b49b5d04ed826433e0808f168
[ "MIT" ]
501
2018-05-11T16:46:29.000Z
2022-03-19T04:41:57.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open Analysis open Pyre open Taint open Interprocedural open TestHelper let assert_taint ~context source expected = le...
28.125402
101
0.58891
afd8305dbcf3f1564f24cae1ea057985165496ab
49,811
ml
OCaml
src/server/command_handler/commandHandler.ml
Jabher/flow
abc5188e724ee496dcf0146fbfc3322cdc1a7262
[ "MIT" ]
null
null
null
src/server/command_handler/commandHandler.ml
Jabher/flow
abc5188e724ee496dcf0146fbfc3322cdc1a7262
[ "MIT" ]
null
null
null
src/server/command_handler/commandHandler.ml
Jabher/flow
abc5188e724ee496dcf0146fbfc3322cdc1a7262
[ "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. *) open Core_result open ServerEnv open Utils_js open Lsp let status_log errors = if Errors.ErrorSet.is_empty errors then Hh_logger....
44.355298
100
0.684768
afb6860a4746e97263de845deaf4f976854ed518
6,159
ml
OCaml
src/bin_codec/codec.ml
osiz-blockchainapp/micashV1.0
8c4efe0f59110210502f1bf9f19952ea053771e1
[ "MIT" ]
null
null
null
src/bin_codec/codec.ml
osiz-blockchainapp/micashV1.0
8c4efe0f59110210502f1bf9f19952ea053771e1
[ "MIT" ]
null
null
null
src/bin_codec/codec.ml
osiz-blockchainapp/micashV1.0
8c4efe0f59110210502f1bf9f19952ea053771e1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2019 Nomadic Labs, <contact@nomadic-labs.com> *) ...
38.018519
79
0.534989
f3d7cb1b732f91e3d60ac7ec8c11d9510b33252d
502
ml
OCaml
functional-programming/introduction/solve-me-first-fp/solve_me_first_fp.ml
franklingu/HackerRank
9ad9ee8410c82660205365fdbc493f8305fc9d41
[ "MIT" ]
null
null
null
functional-programming/introduction/solve-me-first-fp/solve_me_first_fp.ml
franklingu/HackerRank
9ad9ee8410c82660205365fdbc493f8305fc9d41
[ "MIT" ]
1
2017-11-18T15:56:47.000Z
2018-02-04T04:03:34.000Z
functional-programming/introduction/solve-me-first-fp/solve_me_first_fp.ml
franklingu/HackerRankFP
9ad9ee8410c82660205365fdbc493f8305fc9d41
[ "MIT" ]
null
null
null
(** * https://www.hackerrank.com/challenges/fp-solve-me-first * * Problem Statement * This is an introductory challenge. The purpose of this challenge is to give you a working I/O * template in your preferred language. It includes scanning 2 integers from STDIN, calling a * function, returning a value, and printi...
31.375
96
0.709163
aff7f1fe24cadb312dcc730bf1e50ada8d666970
19,848
ml
OCaml
src/analysis/construct.ml
antalsz/merlin
872205e62c69e22714a0a1609f8c074d01229c87
[ "MIT" ]
null
null
null
src/analysis/construct.ml
antalsz/merlin
872205e62c69e22714a0a1609f8c074d01229c87
[ "MIT" ]
null
null
null
src/analysis/construct.ml
antalsz/merlin
872205e62c69e22714a0a1609f8c074d01229c87
[ "MIT" ]
1
2019-10-23T21:29:19.000Z
2019-10-23T21:29:19.000Z
open Std open Typedtree let {Logger. log} = Logger.for_section "construct" type values_scope = Null | Local type what = Modtype | Mod exception Not_allowed of string exception Not_a_hole exception Modtype_not_found of what * string exception No_constraint let () = Location.register_error_of_exn (function | No...
36.687616
84
0.595728
af7a2bfddbb98f4f325a7e54514767f41a998bbe
5,237
ml
OCaml
src/rresult.ml
ryanartecona/rresult
5e0a87fae06546396fd885b8e0fd6775d6ff4ee6
[ "0BSD" ]
null
null
null
src/rresult.ml
ryanartecona/rresult
5e0a87fae06546396fd885b8e0fd6775d6ff4ee6
[ "0BSD" ]
null
null
null
src/rresult.ml
ryanartecona/rresult
5e0a87fae06546396fd885b8e0fd6775d6ff4ee6
[ "0BSD" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2015 Daniel C. Bünzli. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) type...
33.356688
79
0.587932
8a4aae4e2a8a80c4f5d24496e5abcf5f02e3a2c8
48,268
ml
OCaml
lib/bap_primus/bap_primus_lisp_program.ml
r4b3rt/bap
2ef02d66e0f7ae691d932a2a605999f15fcde0eb
[ "MIT" ]
1
2022-03-17T23:08:46.000Z
2022-03-17T23:08:46.000Z
lib/bap_primus/bap_primus_lisp_program.ml
Stokes1114/bap
36a04babae0da0494d61d1ab8663adb3bbf38d85
[ "MIT" ]
null
null
null
lib/bap_primus/bap_primus_lisp_program.ml
Stokes1114/bap
36a04babae0da0494d61d1ab8663adb3bbf38d85
[ "MIT" ]
null
null
null
open Bap.Std open Bap_core_theory open Core_kernel open Graphlib.Std open Regular.Std open Monads.Std open Bap_primus_lisp_types open Format module Lisp = struct module Context = Bap_primus_lisp_context module Type = Bap_primus_lisp_type module Attribute = Bap_primus_lisp_attribute module Attributes = Bap_pri...
31.160749
79
0.587574
af3226f74eabefb80a8ab1368c40dd3458bf04d4
5,266
ml
OCaml
data/seminal/20060323-17:42:56-fde71158703a08ba423540e01ef09474.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/seminal/20060323-17:42:56-fde71158703a08ba423540e01ef09474.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/seminal/20060323-17:42:56-fde71158703a08ba423540e01ef09474.seminal.ml
ucsd-progsys/nanoml
0de06f2c3a41063b1bf87d5f6dd11ad830be0512
[ "BSD-3-Clause" ]
3
2016-10-11T21:36:24.000Z
2021-12-08T21:52:40.000Z
exception Unimplemented exception AlreadyDone (*** part a ***) type move = Home | Forward of float | Turn of float | For of int * (move)list (*** part b -- return move***) let makePoly sides len = let turnAmount = 2.0 in (* ##################### *) let rec makePolyHelp sidesLeft turn = ma...
29.418994
81
0.440752
afa46d91f55c9666543bddd0c959152b1a687ae7
198
mli
OCaml
libraries/sqs/lib/removePermission.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/sqs/lib/removePermission.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/sqs/lib/removePermission.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 = RemovePermissionRequest.t type output = unit type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
18
85
0.752525
8a16a7c3fca5d6ee4339017b9fb13b8ce002e928
5,199
ml4
OCaml
src.8.9/abstraction.ml4
ckeller/paramcoq
661ed6620b6ec91cba60d8dc653a7bca4d0c2804
[ "MIT" ]
7
2016-11-14T05:23:45.000Z
2018-10-11T05:39:04.000Z
src.8.9/abstraction.ml4
ckeller/paramcoq
661ed6620b6ec91cba60d8dc653a7bca4d0c2804
[ "MIT" ]
7
2017-11-02T18:05:37.000Z
2018-08-08T13:52:10.000Z
src.8.9/abstraction.ml4
ckeller/paramcoq
661ed6620b6ec91cba60d8dc653a7bca4d0c2804
[ "MIT" ]
4
2017-11-07T12:40:31.000Z
2020-08-04T09:28:22.000Z
(**************************************************************************) (* *) (* ParamCoq *) (* Copyright (C) 2012 - 2018 *) (* ...
34.892617
104
0.624736
afd9de55d951b5ebe31d1a4550315937c8f34f5f
37,341
ml
OCaml
src/lib_store/consistency.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/lib_store/consistency.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/lib_store/consistency.ml
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020-2021 Nomadic Labs, <contact@nomadic-labs.com> *) ...
42.38479
84
0.65416
afae6a3884821a23522a355defb07340d46893ea
3,891
ml
OCaml
test/bench/bench_prelude_float.ml
bendiken/consensus
e03328ef1f0056b58e4ffe181a279a1dc776e094
[ "Unlicense" ]
2
2015-09-23T19:18:50.000Z
2015-09-24T21:08:13.000Z
test/bench/bench_prelude_float.ml
bendiken/consensus
e03328ef1f0056b58e4ffe181a279a1dc776e094
[ "Unlicense" ]
3
2015-09-24T20:38:41.000Z
2015-09-26T21:26:49.000Z
test/bench/bench_prelude_float.ml
bendiken/consensus
e03328ef1f0056b58e4ffe181a279a1dc776e094
[ "Unlicense" ]
null
null
null
(* This is free and unencumbered software released into the public domain. *) open Core.Std open Core_bench.Std open Consensus.Prelude open Consensus.Prelude_float open Consensus.Prelude_math let () = let f0 = 0. in let f1 = 1. in let i0 = 1 in let s0 = "1.234" in Command.run (Bench.make_command [ Ben...
39.704082
77
0.542534
f39b1e6a0a16765a5295ee7cec6d3e2e7771c546
2,392
ml
OCaml
bin/cli_option.ml
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
4
2015-03-14T10:53:27.000Z
2020-09-12T01:13:00.000Z
bin/cli_option.ml
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
null
null
null
bin/cli_option.ml
derui/oif
e14dcff251c1e32faff08578025ff73d82209e90
[ "MIT" ]
null
null
null
type t = { prompt : string option; migemo_dict_directory : string option; query : string option; record_event_path : string option; replay_event_path : string option; print_nul : bool; } let empty = { prompt = None; migemo_dict_directory = None; query = None; record_event_path = None; ...
39.213115
120
0.695652
afafcc7b764970f17132d52878c6cecb9b17eee2
4,111
ml
OCaml
hack/utils/relative_path.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2020-07-11T17:49:59.000Z
2020-07-11T17:49:59.000Z
hack/utils/relative_path.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
hack/utils/relative_path.ml
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
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_core open Reordered_argument_collections open Utils open String_utils type prefix = | Root | Hhi | Du...
23.763006
78
0.653369
d2d3cfd2d075cc8913be86c55667a40d491b00b0
1,113
ml
OCaml
ocamllib/libbase/testconsole.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
ocamllib/libbase/testconsole.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
ocamllib/libbase/testconsole.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
58
2015-01-02T23:57:42.000Z
2022-03-02T12:44:42.000Z
(* Copyright © 2011 MLstate This file is part of Opa. Opa is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3, as published by the Free Software Foundation. Opa is distributed in the hope that it will be useful, but WI...
31.8
78
0.683738
d2fcc730c82d1d0024bdc995251a0878ead72612
5,493
ml
OCaml
src/js_of_ocaml_rules.ml
trefis/dune
b70df07955a825758989e9fdce62b5ba8fff8931
[ "Apache-2.0" ]
3
2020-09-06T21:32:35.000Z
2020-09-08T14:27:27.000Z
src/js_of_ocaml_rules.ml
trefis/dune
b70df07955a825758989e9fdce62b5ba8fff8931
[ "Apache-2.0" ]
null
null
null
src/js_of_ocaml_rules.ml
trefis/dune
b70df07955a825758989e9fdce62b5ba8fff8931
[ "Apache-2.0" ]
null
null
null
open Import open! No_io open Build.O module SC = Super_context let separate_compilation_enabled () = !Clflags.dev_mode let pretty () = if !Clflags.dev_mode then ["--pretty" ] else [] let sourcemap () = if !Clflags.dev_mode then ["--source-map-inline"] else [] let standard () = pretty () @ sourcemap () ...
34.33125
88
0.643546
8a59e0e00fdb31e11939b973b87b6a94c6bc5427
175,120
ml
OCaml
source/parser/test/generatorTest.ml
ddainesefb/pyre-check
dedd67493f4334b6b5bf446260ed364b35b4a6aa
[ "MIT" ]
null
null
null
source/parser/test/generatorTest.ml
ddainesefb/pyre-check
dedd67493f4334b6b5bf446260ed364b35b4a6aa
[ "MIT" ]
1
2021-08-16T12:11:37.000Z
2021-08-16T12:11:37.000Z
source/parser/test/generatorTest.ml
abishekvashok/pyre-check
20ae7df26216db06fcb17246f6125f4b6655890f
[ "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 Ast open Expression open Statement open Test let assert_parsed_equal source statements = let handle =...
31.215686
102
0.400976
afd8b55aaea84eda5b69ed958b0adb89c02f20bb
2,425
ml
OCaml
lib/preface_stdlib/stream.ml
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
lib/preface_stdlib/stream.ml
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
lib/preface_stdlib/stream.ml
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
type 'a t = C of 'a * 'a t Lazy.t let stream a l = C (a, l) let rec pure x = C (x, lazy (pure x)) let repeat = pure let cons x s = C (x, lazy s) let hd = function C (x, _) -> x let tl = function C (_, xs) -> Lazy.force xs let rec map f = function C (x, xs) -> C (f x, lazy (map f @@ Lazy.force xs)) module Functo...
21.27193
80
0.614021
8a3eba72be20b0ba68e82b9504ec9ecc1ed35af3
7,999
ml
OCaml
hphp/hack/src/server/diagnostic_subscription.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
2
2019-09-01T19:40:10.000Z
2019-10-18T13:30:30.000Z
hphp/hack/src/server/diagnostic_subscription.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
1
2018-12-16T15:39:15.000Z
2018-12-16T15:39:16.000Z
hphp/hack/src/server/diagnostic_subscription.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
1
2018-11-17T04:11:10.000Z
2018-11-17T04:11:10.000Z
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open Reordered_argument_collections module RP = Relative_path (* Throttle errors - pause pushing ...
38.090476
89
0.67671
8a77062557b5534546c281eec1d5ca29fae32123
417
ml
OCaml
benchmarks/C/nat/sol216.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/nat/sol216.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/nat/sol216.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
(* problem 2*) type nat = ZERO | SUCC of nat let rec natadd : nat -> nat -> nat = fun n1 n2 -> match n1 with |SUCC(nat) -> SUCC(natadd nat n2) |ZERO -> n2 let rec natmul : nat -> nat -> nat = fun n1 n2 -> match n1 with |SUCC(nat) -> natadd n2 (natmul nat n2) |ZERO -> ZERO let rec natexp : nat -> nat -> nat = fun...
19.857143
39
0.601918
af4653e629d5cde7173b52ed7b357833eb4b0604
1,263
ml
OCaml
day13.ml
laurent-leconte/advent-of-code-2019
341ec3cc6cfc8b0fc934322a3c48ca679b40ca1b
[ "MIT" ]
null
null
null
day13.ml
laurent-leconte/advent-of-code-2019
341ec3cc6cfc8b0fc934322a3c48ca679b40ca1b
[ "MIT" ]
null
null
null
day13.ml
laurent-leconte/advent-of-code-2019
341ec3cc6cfc8b0fc934322a3c48ca679b40ca1b
[ "MIT" ]
null
null
null
#load "intercom.cmo";; #load "utils.cmo";; type tile = { x: int; y: int; id: int } let string_of_tile_id = function | 0 -> " " | 1 -> "X" | 2 -> "#" | 3 -> "=" | 4 -> "o" | n -> failwith (Printf.sprintf "Unkown tile id %d" n) let rec tiles_of_list = function | [] -> [] | x::y::id::tl -> {x; y; ...
23.388889
92
0.597783
af30f268920e293bdc000103d67df34cec661f2c
196
ml
OCaml
08_procedury_wyzszych_rzedow_i_listy/winda/rozwiazanie1.ml
Laplasjan107/WPF-cwiczenia
1cf43f6c9b3ac3a44827dd0dd7426494536d084a
[ "CC0-1.0" ]
2
2020-10-27T11:37:55.000Z
2021-11-09T13:03:16.000Z
08_procedury_wyzszych_rzedow_i_listy/winda/rozwiazanie1.ml
Laplasjan107/WPF-cwiczenia
1cf43f6c9b3ac3a44827dd0dd7426494536d084a
[ "CC0-1.0" ]
3
2020-11-14T16:13:02.000Z
2021-01-19T17:29:45.000Z
08_procedury_wyzszych_rzedow_i_listy/winda/rozwiazanie1.ml
Laplasjan107/WPF-cwiczenia
1cf43f6c9b3ac3a44827dd0dd7426494536d084a
[ "CC0-1.0" ]
5
2020-01-08T12:05:15.000Z
2020-12-30T20:51:14.000Z
let winda w ciezary = let step (cnt, sum) x = if sum + x > w then (cnt + 1, x) else (cnt, sum + x) in fst (List.fold_left step (0, 0) ciezary)
21.777778
44
0.44898
8a77713102cb8f82e0166f8f3f52727b5822e537
65,466
mli
OCaml
lib/knowledge/bap_knowledge.mli
thestr4ng3r/bap
79dc0479a190ba56ad04525b78fb0fd7ebad24ce
[ "MIT" ]
null
null
null
lib/knowledge/bap_knowledge.mli
thestr4ng3r/bap
79dc0479a190ba56ad04525b78fb0fd7ebad24ce
[ "MIT" ]
null
null
null
lib/knowledge/bap_knowledge.mli
thestr4ng3r/bap
79dc0479a190ba56ad04525b78fb0fd7ebad24ce
[ "MIT" ]
null
null
null
open Core_kernel open Monads.Std (** The Knowledge Representation Library. A library for building knowledge representation and reasoning systems. *) (** a knowledge dependent computation. *) type 'a knowledge (** The Knowledge Representation Library. {2 Introduction} The library provides faci...
33.693258
92
0.626371
8a33e07225a8a5a9d81f6d6dc34fbfe191346ff2
4,041
mli
OCaml
src/lib_shell/distributed_db_requester.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/lib_shell/distributed_db_requester.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/lib_shell/distributed_db_requester.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
42.989362
79
0.599357
8a343497ffc138b30e1bd93fda654c78ad2dce99
753
ml
OCaml
proj/src/test/run_tests.ml
samoht/dune-starter
a210778cccef1e761087203ff1a41681fe6a2935
[ "Unlicense" ]
null
null
null
proj/src/test/run_tests.ml
samoht/dune-starter
a210778cccef1e761087203ff1a41681fe6a2935
[ "Unlicense" ]
null
null
null
proj/src/test/run_tests.ml
samoht/dune-starter
a210778cccef1e761087203ff1a41681fe6a2935
[ "Unlicense" ]
null
null
null
(* Run all the OCaml test suites defined in the project. *) let flatten_test_suites test_suites = List.map (fun (suite_name, tests) -> List.map (fun (test_name, test_fun) -> (suite_name ^ "." ^ test_name, test_fun) ) tests ) test_suites |> List.flatten let run_test name fun_ = print_endline n...
21.514286
59
0.667995
8a6d4546141d8769b4bd382bf17ed12666dfcc99
21,060
ml
OCaml
src/context.ml
zploskey/dune
8bc5e202b7f192b965f59a975307f069d11133a4
[ "MIT" ]
null
null
null
src/context.ml
zploskey/dune
8bc5e202b7f192b965f59a975307f069d11133a4
[ "MIT" ]
null
null
null
src/context.ml
zploskey/dune
8bc5e202b7f192b965f59a975307f069d11133a4
[ "MIT" ]
null
null
null
open! Stdune open Import open Fiber.O module Kind = struct module Opam = struct type t = { root : string ; switch : string } end type t = Default | Opam of Opam.t let to_sexp : t -> Sexp.t = function | Default -> Sexp.To_sexp.string "default" | Opam o -> Sexp.To_sexp.(re...
35.574324
100
0.596629
f37a7c6f8a61f240cc23824e784d2d198bb88d9a
6,883
ml
OCaml
support/gen_norm.ml
dbuenzli/uunf
2b1490225b9c8dcc924d3641ee376b4e10b858ab
[ "0BSD" ]
17
2016-11-23T16:22:16.000Z
2021-12-02T09:40:22.000Z
support/gen_norm.ml
dbuenzli/uunf
2b1490225b9c8dcc924d3641ee376b4e10b858ab
[ "0BSD" ]
19
2015-11-01T13:14:42.000Z
2021-09-17T10:34:54.000Z
support/gen_norm.ml
dbuenzli/uunf
2b1490225b9c8dcc924d3641ee376b4e10b858ab
[ "0BSD" ]
6
2016-12-01T11:16:33.000Z
2021-09-13T16:52:57.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2015 The uunf programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) let strf = Printf.sprint...
38.027624
80
0.622984
8a22d87c47be7329801ea7ea3f66020a5ff20a35
625
ml
OCaml
vendor/dune/src/stdune/id.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/stdune/id.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/stdune/id.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
module type S = sig type t module Set : Set.S with type elt = t module Map : Map_intf.S with type key = t val gen : unit -> t val peek : unit -> t val to_int : t -> int val compare : t -> t -> Ordering.t val equal : t -> t -> bool val hash : t -> int val to_dyn : t -> Dyn.t end module Make () : ...
16.025641
43
0.56
8a05d103fe5a0bc31872128b2b9277d14f52c4a1
723
ml
OCaml
src/Typer.ml
nilern/r1ml
44fdc71cde74984dca28ffb083abefbf3eb3da9c
[ "MIT" ]
3
2020-06-16T02:14:11.000Z
2021-09-25T10:30:42.000Z
src/Typer.ml
nilern/r1ml
44fdc71cde74984dca28ffb083abefbf3eb3da9c
[ "MIT" ]
null
null
null
src/Typer.ml
nilern/r1ml
44fdc71cde74984dca28ffb083abefbf3eb3da9c
[ "MIT" ]
null
null
null
type 'a typing = 'a TyperSigs.typing module Env = Env module rec E : TyperSigs.ELABORATION = Elaboration.Make(C)(M) and C : TyperSigs.CHECKING = Checking.Make(E)(M) and M : TyperSigs.MATCHING = Matching.Make(E) (* # REPL support *) let check_interaction env : Ast.Term.stmt -> FcTerm.stmt typing = function | Ast...
34.428571
74
0.636238
afc3938bcb32aa66b8f34852ca178c53220b8bb1
142
ml
OCaml
data/derived/comb/progs/unify/prog3265.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/prog3265.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3265.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x y z = y z in let base b = b in List.fold_left f base fs;; let _ = pipe [(fun x -> x + x); (fun x -> x + 3)] 3;;
23.666667
69
0.514085
8a2cffb72d9dee416fb26a331e764f275a96e897
4,888
mli
OCaml
src/dune_engine/build_system.mli
ddickstein/dune
08d27d547f09d86cf5d7230f8a5cbe027708f979
[ "MIT" ]
null
null
null
src/dune_engine/build_system.mli
ddickstein/dune
08d27d547f09d86cf5d7230f8a5cbe027708f979
[ "MIT" ]
null
null
null
src/dune_engine/build_system.mli
ddickstein/dune
08d27d547f09d86cf5d7230f8a5cbe027708f979
[ "MIT" ]
null
null
null
(** Build rules *) open! Stdune open! Import (** {1 Setup} *) (** {2 Creation} *) type caching = { cache : (module Cache.Caching) ; check_probability : float } (** Initializes the build system. This must be called first. *) val init : contexts:Build_context.t list -> ?caching:caching -> sandboxing_p...
27.615819
80
0.673895
aff93881ff9155b4ebf0be98d615d86071af5745
1,250
ml
OCaml
infer/src/clang/objcProperty_decl.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/clang/objcProperty_decl.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/clang/objcProperty_decl.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
(* * 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 file in the same directory. *) open! IStd...
40.322581
108
0.728
8a757e0b11468fd8456b22aeb56a2544cec9ced8
5,911
ml
OCaml
examples/examples.ml
justinlubin/bark
8586a2796361d54009c2f942e24fd5aad71f1cd0
[ "BSD-3-Clause" ]
4
2020-03-29T08:12:03.000Z
2020-05-12T03:43:42.000Z
examples/examples.ml
justinlubin/bark
8586a2796361d54009c2f942e24fd5aad71f1cd0
[ "BSD-3-Clause" ]
1
2020-07-07T19:51:27.000Z
2020-07-07T19:51:27.000Z
examples/examples.ml
justinlubin/bark
8586a2796361d54009c2f942e24fd5aad71f1cd0
[ "BSD-3-Clause" ]
null
null
null
open Bark (* Helpers *) let parenthesize : string list -> string = fun xs -> "(" ^ String.concat " " xs ^ ")" (* Specialized parser *) type problem = | ExpectingEnd | ExpectingLeftParen | ExpectingRightParen | ExpectingComma | ExpectingFloat | InvalidFloat | ExpectingTrue | ExpectingFalse ...
24.629167
79
0.539503
afc2df64ffd1af3eb5dc5b47c1c0d82f88b50b07
13,702
ml
OCaml
hphp/hack/src/server/fileOutline.ml
schien-dong/hhvm
d4c8a50001d3e6b75b051006cec96a4e73cb1916
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-09T16:16:00.000Z
2021-08-09T16:16:00.000Z
hphp/hack/src/server/fileOutline.ml
schien-dong/hhvm
d4c8a50001d3e6b75b051006cec96a4e73cb1916
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/fileOutline.ml
schien-dong/hhvm
d4c8a50001d3e6b75b051006cec96a4e73cb1916
[ "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 Reordered_argument_collections open SymbolDefinition open Aast module Parser = Full_fidelity_as...
24.867514
80
0.631295
8a30c66262e9439ea69dd4ac8294a2dbbfc606e9
4,643
mli
OCaml
infer/src/bufferoverrun/absLoc.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/src/bufferoverrun/absLoc.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/src/bufferoverrun/absLoc.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
2,225
2015-06-11T16:36:10.000Z
2022-03-31T05:16:59.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module Allocsite : sig type t = private | Unknown | Symbol of Symb.SymbolPath.partial | Known of ...
27.152047
102
0.650872
afd6956987dcb5300c72661c2a138b31fb1f4fd0
1,313
ml
OCaml
facebook-clang-plugins/clang-ocaml/clang_ast_visit.ml
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
facebook-clang-plugins/clang-ocaml/clang_ast_visit.ml
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
facebook-clang-plugins/clang-ocaml/clang_ast_visit.ml
squaresLab/infer-linux64-v0.9.3
b9d7c23d3556eab55d25584183dc9e1bc40f298f
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) type visit_...
31.261905
85
0.755522
af9559374e3f667dab1545adfdbc885e82829cdc
6,562
mli
OCaml
compiler/runtime.mli
ammkrn/catala
c9c070ffe2b3cc14a4b135ad94b87d51c2d37563
[ "Apache-2.0" ]
null
null
null
compiler/runtime.mli
ammkrn/catala
c9c070ffe2b3cc14a4b135ad94b87d51c2d37563
[ "Apache-2.0" ]
null
null
null
compiler/runtime.mli
ammkrn/catala
c9c070ffe2b3cc14a4b135ad94b87d51c2d37563
[ "Apache-2.0" ]
null
null
null
(* This file is part of the Catala compiler, a specification language for tax and social benefits computation rules. Copyright (C) 2020 Inria, contributors: Denis Merigoux <denis.merigoux@inria.fr>, Emile Rolley <emile.rolley@tuta.io> Licensed under the Apache License, Version 2.0 (the "License"); you may not...
21.800664
100
0.649345
8a69caad4215ec5ddb0492ae1111624d35bbe9da
290
ml
OCaml
Task/User-input-Text/Standard-ML/user-input-text.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/User-input-Text/Standard-ML/user-input-text.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
null
null
null
Task/User-input-Text/Standard-ML/user-input-text.ml
mullikine/RosettaCodeData
4f0027c6ce83daa36118ee8b67915a13cd23ab67
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
print "Enter a string: "; let val str = valOf (TextIO.inputLine TextIO.stdIn) in (* note: this keeps the trailing newline *) print "Enter an integer: "; let val num = valOf (TextIO.scanStream (Int.scan StringCvt.DEC) TextIO.stdIn) in print (str ^ Int.toString num ^ "\n") end end
36.25
98
0.689655
afd8a6021941f9b9003711e4a9135b5e2b5e745e
24,427
ml
OCaml
src/lib/mina_base/sparse_ledger.ml
junjiequ123/mina
0d0e15cc3276f5d9f66ef9024ecad929fc93ddac
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/lib/mina_base/sparse_ledger.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/lib/mina_base/sparse_ledger.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
open Core open Import open Snark_params.Tick [%%versioned module Stable = struct module V1 = struct 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 to_yojson, sex...
37.464724
332
0.649977
afbd01fa32194c3fdfc499b1908c19d4082e530c
1,174
ml
OCaml
etc/example/matmul-flat.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
24
2018-01-29T12:51:24.000Z
2022-03-24T09:06:50.000Z
etc/example/matmul-flat.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
8
2017-12-26T11:01:51.000Z
2018-10-11T14:04:57.000Z
etc/example/matmul-flat.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
2
2019-02-19T20:40:37.000Z
2020-04-09T23:20:58.000Z
;; let rec loop3 i k j a b c = if k < 0 then () else ( c.(i).(j) <- c.(i).(j) +. (a.(i).(k) *. b.(k).(j)); loop3 i (k - 1) j a b c) in let rec loop2 i m j a b c = if j < 0 then () else ( loop3 i (m - 1) j a b c; loop2 i m (j - 1) a b c) in let rec loop1 i m n a b c = if i < 0 then () e...
19.245902
55
0.482964
f356ddd5e375d4f7f32e0d9442628c5e0ceae6ae
2,482
ml
OCaml
data/sp14/1197.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/1197.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/1197.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 = let rec helper a x n = if n <= 0 then a else (let a' = x :: a in helper a' x (n - 1)) in helper [] x n;; let padZero l1 l2 = let length1 = List.length l1 in let length2 = List.length l2 in if length1 > length2 then (l1, (List.append (clone 0 (length1 - length2)) l2)) else if ...
23.865385
71
0.498791
afad12b82c015291806af6735f6a490881e43400
10,041
mli
OCaml
srcs/java/jcall.mli
Julow/ocaml-java
5387eb7d85b3e1bbab35b7cc2c5a927193e8d299
[ "MIT" ]
6
2018-02-11T13:56:53.000Z
2022-01-16T16:58:29.000Z
srcs/java/jcall.mli
Julow/ocaml-java
5387eb7d85b3e1bbab35b7cc2c5a927193e8d299
[ "MIT" ]
null
null
null
srcs/java/jcall.mli
Julow/ocaml-java
5387eb7d85b3e1bbab35b7cc2c5a927193e8d299
[ "MIT" ]
1
2020-11-01T18:48:48.000Z
2020-11-01T18:48:48.000Z
(** Unsafe interface for calling Java methods - The procedure to call a Java method is: - Query the class handle with Jclass.find_class - Query the method handle with Jclass.get_meth - Push the arguments with the push_ functions - Finally call the method with one of the call_ functions - Convertions: | Jav...
49.707921
85
0.713574
af8bab28e0c9688e4f0a38e834866c76698c978a
85
ml
OCaml
data/derived/comb/progs/unify/prog8736.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/prog3953.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3953.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x x = x a in let base fs = fs in List.fold_left f base fs;;
21.25
69
0.623529
af95cf34e382f67a173f40dcca25a63f0111f76b
1,593
ml
OCaml
source/c_literals.ml
ytomino/headmaster
11571992e480aa9fbc5821fe1be1b62edf5f924f
[ "BSD-2-Clause" ]
15
2015-06-29T20:15:08.000Z
2021-06-12T07:42:04.000Z
source/c_literals.ml
ytomino/headmaster
11571992e480aa9fbc5821fe1be1b62edf5f924f
[ "BSD-2-Clause" ]
5
2017-11-16T19:00:09.000Z
2018-07-05T14:53:33.000Z
source/c_literals.ml
ytomino/headmaster
11571992e480aa9fbc5821fe1be1b62edf5f924f
[ "BSD-2-Clause" ]
2
2017-11-16T19:17:02.000Z
2021-06-12T07:42:06.000Z
open Value;; (* precision *) type signed_int_prec = [ | `signed_char | `signed_short | `signed_int | `signed_long | `signed_long_long];; type unsigned_int_prec = [ | `unsigned_char | `unsigned_short | `unsigned_int | `unsigned_long | `unsigned_long_long];; type int_prec = [signed_int_prec | unsigned_int_p...
18.523256
64
0.675455
afcb1b58cfa33c57bb93a82a89d788de6a56c2f2
27,602
ml
OCaml
src/machine.ml
ppedrot/Mtac2
9dfd59db3c09dbbb26e2bf9323272eff2cf5b9f1
[ "MIT" ]
null
null
null
src/machine.ml
ppedrot/Mtac2
9dfd59db3c09dbbb26e2bf9323272eff2cf5b9f1
[ "MIT" ]
null
null
null
src/machine.ml
ppedrot/Mtac2
9dfd59db3c09dbbb26e2bf9323272eff2cf5b9f1
[ "MIT" ]
null
null
null
(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2017 *) (* \VV/ **************************************************************) (* // * Th...
37.199461
114
0.547062
afbb40e3f831617b101e32f417fc2d7b540a6b45
1,252
mli
OCaml
lib/dump.mli
jaked/deriving
c7b9cea3eb4bbfb9e09673faf725f70247c9df78
[ "MIT" ]
8
2015-09-23T06:25:30.000Z
2022-03-27T11:28:54.000Z
lib/dump.mli
jaked/deriving
c7b9cea3eb4bbfb9e09673faf725f70247c9df78
[ "MIT" ]
null
null
null
lib/dump.mli
jaked/deriving
c7b9cea3eb4bbfb9e09673faf725f70247c9df78
[ "MIT" ]
1
2019-08-15T22:20:41.000Z
2019-08-15T22:20:41.000Z
module type Dump = sig type a val to_buffer : Buffer.t -> a -> unit val to_string : a -> string val to_channel : out_channel -> a -> unit val from_stream : char Stream.t -> a val from_string : string -> a val from_channel : in_channel -> a end module Defaults (P : sig type a ...
32.947368
63
0.657348
8a7c7568194f40433b0e58db71a206f063e276c7
17,859
ml
OCaml
src/map_reduce.ml
janestreet/rpc_parallel
bf7488b2595403b283586cf0e2b706377c483d7d
[ "MIT" ]
38
2015-01-16T12:36:12.000Z
2021-12-17T02:45:33.000Z
src/map_reduce.ml
janestreet/rpc_parallel
bf7488b2595403b283586cf0e2b706377c483d7d
[ "MIT" ]
8
2015-07-12T17:17:56.000Z
2021-06-18T19:25:34.000Z
src/map_reduce.ml
janestreet/rpc_parallel
bf7488b2595403b283586cf0e2b706377c483d7d
[ "MIT" ]
10
2017-05-10T18:57:34.000Z
2021-12-17T02:48:10.000Z
open Core open Poly open Async module Heap = Pairing_heap module Half_open_interval = struct module T = struct type t = int * int [@@deriving sexp] let create_exn l u = if l >= u then failwiths ~here:[%here] "Lower bound must be less than upper bound" (l, u)...
31.386643
89
0.632174
8a656c250145a90ef20c49cee3413ca25c71bd15
3,781
ml
OCaml
src/dune/format_config.ml
progman1/dune
e937feef4fb03d83bd551489420a557a5a6fc1c0
[ "MIT" ]
4
2020-02-04T15:33:29.000Z
2020-02-04T21:37:09.000Z
src/dune/format_config.ml
samoht/dune-mirage
bb2300c1859c452a4140fa33e3afb3c6b755350c
[ "MIT" ]
null
null
null
src/dune/format_config.ml
samoht/dune-mirage
bb2300c1859c452a4140fa33e3afb3c6b755350c
[ "MIT" ]
null
null
null
open! Stdune open Import open Dune_lang.Decoder let syntax = Dune_lang.Syntax.create ~name:"fmt" ~desc:"integration with automatic formatters" [ (1, 2) ] module Language = struct type t = | Dialect of string | Dune let to_dyn = let open Dyn.Encoder in function | Dialect name -> constr "...
25.375839
80
0.648506
8a007b744dcb73ae766138270338b1b1522260cb
485
ml
OCaml
ast_deprecated/ppx_ast_deprecated.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
null
null
null
ast_deprecated/ppx_ast_deprecated.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
null
null
null
ast_deprecated/ppx_ast_deprecated.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
null
null
null
open Import module Ast = Ast module Ast_helper = Ast_helper module Ast_magic = Selected_ast.Ast.Config module Asttypes = Asttypes module Docstrings = Docstrings module Extra_warnings = Warn module Lexer = Lexer module Parse = Parse module Parser = Parser module P...
26.944444
47
0.694845
af636e1a7733b3088d637c9921031de206d051f9
5,114
ml
OCaml
template-coq/src/denote.ml
liesnikov/metacoq
d834b58cd4c6b3aad77bf21fed7914ffc71d79f3
[ "MIT" ]
null
null
null
template-coq/src/denote.ml
liesnikov/metacoq
d834b58cd4c6b3aad77bf21fed7914ffc71d79f3
[ "MIT" ]
null
null
null
template-coq/src/denote.ml
liesnikov/metacoq
d834b58cd4c6b3aad77bf21fed7914ffc71d79f3
[ "MIT" ]
null
null
null
(* open Univ * open Names *) open Pp (* this adds the ++ to the current scope *) open Quoted open Denoter (* todo: the recursive call is uneeded provided we call it on well formed terms *) let strict_unquote_universe_mode = ref true let map_evm (f : 'a -> 'b -> 'a * 'c) (evm : 'a) (l : 'b list) : 'a * ('c list) = ...
49.173077
147
0.591709
af62ee798e1c1729439ea36c65d8fe84731c2163
246
mli
OCaml
libraries/s3/lib/getBucketRequestPayment.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/getBucketRequestPayment.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/getBucketRequestPayment.mli
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal type input = GetBucketRequestPaymentRequest.t type output = GetBucketRequestPaymentOutput.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
35.142857
74
0.776423
8a5884b6e9e772044238b98956108d2bb66354a5
26,625
ml
OCaml
src/encoding.ml
tek/data-encoding
b2ed416587f3ce86ed4d2ebc2e4fb05e314d9f96
[ "MIT" ]
null
null
null
src/encoding.ml
tek/data-encoding
b2ed416587f3ce86ed4d2ebc2e4fb05e314d9f96
[ "MIT" ]
null
null
null
src/encoding.ml
tek/data-encoding
b2ed416587f3ce86ed4d2ebc2e4fb05e314d9f96
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
30.923345
81
0.590836
afdb6119b4add68e91cc2347537da3ab2c6b65d6
10,565
ml
OCaml
Math logic and Type theory/Type theory - 1. Peano + Reduction + W/homework/test.ml
egormkn/Study-courses
adfa47f84a677c224a05412af79758fdcac48c8b
[ "Apache-2.0" ]
1
2019-03-27T18:42:12.000Z
2019-03-27T18:42:12.000Z
Math logic and Type theory/Type theory - 1. Peano + Reduction + W/homework/test.ml
egormkn/Study-courses
adfa47f84a677c224a05412af79758fdcac48c8b
[ "Apache-2.0" ]
3
2021-06-23T21:15:56.000Z
2021-12-14T21:55:11.000Z
Math logic and Type theory/Type theory - 1. Peano + Reduction + W/homework/test.ml
egormkn/Study-courses
adfa47f84a677c224a05412af79758fdcac48c8b
[ "Apache-2.0" ]
3
2019-03-21T05:16:21.000Z
2021-12-21T11:54:30.000Z
open Hw1;; open Hw2;; (* print_int (int_of_peano (add (peano_of_int 4) (peano_of_int 7)));; print_endline "";; print_int (int_of_peano (sub (peano_of_int 24) (peano_of_int 7)));; print_endline "";; print_int (int_of_peano (mul (peano_of_int 8) (peano_of_int 7)));; print_endline "";; print_int (int_of_p...
35.692568
372
0.536204
8a41ece4ddb7b9d9c212cd8fdad18a9dfca341db
1,140
ml
OCaml
lib_gen/osx_xattr_types.ml
dsheets/ocaml-osx-xattr
90da58057daa7851ee28a0fc226c8ab8d1c6edd9
[ "0BSD" ]
9
2016-04-08T12:58:37.000Z
2021-04-21T01:45:45.000Z
lib_gen/osx_xattr_types.ml
dsheets/ocaml-osx-xattr
90da58057daa7851ee28a0fc226c8ab8d1c6edd9
[ "0BSD" ]
2
2016-06-07T15:09:17.000Z
2016-06-08T15:48:08.000Z
lib_gen/osx_xattr_types.ml
dsheets/ocaml-osx-xattr
90da58057daa7851ee28a0fc226c8ab8d1c6edd9
[ "0BSD" ]
3
2016-06-07T15:03:58.000Z
2020-02-24T18:22:33.000Z
(* * Copyright (c) 2016 David Sheets <dsheets@docker.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND...
36.774194
75
0.723684
8a74f1816ed87009143cf9f459e9955fce53ae52
4,783
mli
OCaml
src/expect_test_helpers.mli
janestreet/expect_test_helpers
ff20a585742a16de06664671fa044f8da53d5a3b
[ "MIT" ]
1
2021-12-17T03:01:32.000Z
2021-12-17T03:01:32.000Z
src/expect_test_helpers.mli
janestreet/expect_test_helpers
ff20a585742a16de06664671fa044f8da53d5a3b
[ "MIT" ]
null
null
null
src/expect_test_helpers.mli
janestreet/expect_test_helpers
ff20a585742a16de06664671fa044f8da53d5a3b
[ "MIT" ]
3
2017-07-20T08:51:14.000Z
2021-12-17T03:02:34.000Z
(** An extension of [Expect_test_helpers_kernel] with Async-aware functions. *) open! Core open! Async open! Import (** @inline *) include module type of struct include Expect_test_helpers_kernel end (** [with_temp_dir f] creates a temporary directory which is fed to [f]. The directory is removed after [f] ex...
41.232759
90
0.683044
affba8482fa2d649410b6a552e4d13f7eabd1631
369
mli
OCaml
protocol/list_feature_names.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
protocol/list_feature_names.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
protocol/list_feature_names.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
open! Core open! Import module Action : sig type t = { descendants_of : Which_ancestor.t ; depth : int ; use_archived : bool } [@@deriving fields, sexp_of] end module Reaction : sig type t = Feature_path.t list [@@deriving sexp_of] end include Iron_versioned_rpc.S with type actio...
17.571429
39
0.661247
aff8ad8513ae283b05211c6218646fd83201c0d8
822
ml
OCaml
ch3/dp/Max1DRangeSum.ml
bikashckarmokar/cpbook-code
bd12bed74b81eb08c303f89d8962188013ac7cc2
[ "UPL-1.0" ]
1,441
2018-12-03T23:46:17.000Z
2022-03-29T06:36:43.000Z
ch3/dp/Max1DRangeSum.ml
bikashckarmokar/cpbook-code
bd12bed74b81eb08c303f89d8962188013ac7cc2
[ "UPL-1.0" ]
53
2018-12-11T13:50:35.000Z
2022-03-20T04:30:39.000Z
ch3/dp/Max1DRangeSum.ml
bikashckarmokar/cpbook-code
bd12bed74b81eb08c303f89d8962188013ac7cc2
[ "UPL-1.0" ]
420
2018-12-04T11:22:08.000Z
2022-03-27T15:25:33.000Z
open Printf open Scanf let () = let a = [| 4; -5; 4; -3; 4; 4; -4; 4; -5 |] in (* a sample array a *) let running_sum = ref 0 in let ans = ref 0 in a |> Array.iter (fun x -> (* O(n) *) if !running_sum + x >= 0 then begin (* the overall running...
48.352941
85
0.474453
aff8a8ff29b34c6ee33ac691565bf1938185d11d
2,600
ml
OCaml
src/lib/utils/position.ml
iLambda/language-dlg
bb5e5ec7cb0782315f6d518bc9cb8e5a1765ae02
[ "MIT" ]
3
2018-10-20T18:31:33.000Z
2020-08-01T21:22:58.000Z
src/lib/utils/position.ml
iLambda/language-dlg
bb5e5ec7cb0782315f6d518bc9cb8e5a1765ae02
[ "MIT" ]
null
null
null
src/lib/utils/position.ml
iLambda/language-dlg
bb5e5ec7cb0782315f6d518bc9cb8e5a1765ae02
[ "MIT" ]
null
null
null
open Lexing type lexing_position = Lexing.position type t = { start_p : lexing_position; end_p : lexing_position } [@@deriving sexp] type position = t type 'a located = { value : 'a; position : t; } [@@deriving sexp] let value { value = v; _ } = v let position { posi...
18.309859
78
0.612308
aff618666344ee4852e93c8f0dc6e3cda9d02b10
249
mli
OCaml
src/beint.mli
cryptosense/enumerators
0ba393e993a3a1574453395a5a424a3bccda522c
[ "BSD-2-Clause" ]
23
2015-08-10T16:54:19.000Z
2021-03-24T16:47:41.000Z
src/beint.mli
cryptosense/enumerators
0ba393e993a3a1574453395a5a424a3bccda522c
[ "BSD-2-Clause" ]
5
2015-10-02T15:45:57.000Z
2018-10-09T16:31:36.000Z
src/beint.mli
cryptosense/enumerators
0ba393e993a3a1574453395a5a424a3bccda522c
[ "BSD-2-Clause" ]
1
2017-02-07T16:48:30.000Z
2017-02-07T16:48:30.000Z
(** Big enough integers *) include module type of Int64 val two : t val equal : t -> t -> bool val le : t -> t -> bool val lt : t -> t -> bool val min : t -> t -> t val max : t -> t -> t val to_int64 : t -> int64 val of_int64 : int64 -> t
12.45
28
0.546185
f39b9bca6b89a748c8a51a0a821b905953fd4f84
5,091
mly
OCaml
lib/Parser.mly
AbdallahS/dlpag
b1bf469d9d3b9f7c18aa109146b5583317aace49
[ "BSD-2-Clause" ]
2
2021-03-16T02:38:45.000Z
2021-03-16T02:38:56.000Z
lib/Parser.mly
AbdallahS/dlpag
b1bf469d9d3b9f7c18aa109146b5583317aace49
[ "BSD-2-Clause" ]
8
2021-05-05T13:45:44.000Z
2021-09-02T05:08:04.000Z
lib/Parser.mly
AbdallahS/dlpag
b1bf469d9d3b9f7c18aa109146b5583317aace49
[ "BSD-2-Clause" ]
3
2021-01-21T12:12:48.000Z
2021-06-16T08:15:41.000Z
%token <string> VNAME %token <string> CNAME %token <int> INT %token IN NOTIN %token FORALL BIGCONJ BIGDISJ BIGSEQ BIGNONDET %token BOT TOP NEG CONJ DISJ LANGLE RANGLE %token ASSIGN TEST SEQ NONDET CONVERSE STAR %token LPAREN RPAREN LBRACE RBRACE LBRACKET RBRACKET %token DEFINE COLON COMMA DOT RANGE MID WHERE %token PLU...
31.621118
166
0.633667
8a1d7f20675b5a3e6f9ba2c1b4ecb7ea540f72be
9,675
mly
OCaml
grammar-artefacts/04-conflictfree-menhir/2.5.mly
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2020-11-26T18:53:46.000Z
2020-11-26T18:53:46.000Z
grammar-artefacts/04-conflictfree-menhir/2.5.mly
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
null
null
null
grammar-artefacts/04-conflictfree-menhir/2.5.mly
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2019-04-11T11:27:01.000Z
2019-04-11T11:27:01.000Z
// Generated by transforming |cwd:///work-in-progress/menhir/original/2.5.mly| on 2018-01-11 at 12:36:32.337+00:00 %{ %} // 83 tokens, in alphabetical order: %token AMPEREQUAL AMPERSAND AND AS ASSERT AT BACKQUOTE BAR BREAK CIRCUMFLEX %token CIRCUMFLEXEQUAL CLASS COLON COMMA CONTINUE DEDENT DEF DEL DOT DOUBLESLASH %tok...
28.709199
254
0.688992
d2ebb81ec91b950dfae671943a185cac5b3777cb
19,891
ml
OCaml
upstream/ocaml_413/parsing/depend.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
16
2021-07-15T00:45:49.000Z
2021-12-17T18:30:17.000Z
upstream/ocaml_413/parsing/depend.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
4
2021-07-16T13:28:22.000Z
2021-09-10T23:51:53.000Z
upstream/ocaml_413/parsing/depend.ml
dra27/merlin
ebd07f4a039a62dcf673d02d20b294bb63fb48b6
[ "MIT" ]
1
2021-07-16T18:23:50.000Z
2021-07-16T18:23:50.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
33.430252
80
0.621236
af2a78754aec4c6ea1ec5b91e7f6a859de571c75
52
ml
OCaml
data/derived/comb/progs/unify/prog2601.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/prog2601.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2601.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let c = 3;; let z = (1, 2);; let c = (3 z) + c;;
7.428571
19
0.346154
8a16c29bd908df2beb726f7f9f1a283a10601253
24,655
mly
OCaml
proverif2.00/src/pitparser.mly
darrenldl/ProVerif-ATP
7af6cfb9e0550ecdb072c471e15b8f22b07408bd
[ "MIT" ]
17
2019-05-05T17:05:26.000Z
2022-03-18T03:04:58.000Z
proverif2.00/src/pitparser.mly
darrenldl/ProVerif-ATP
7af6cfb9e0550ecdb072c471e15b8f22b07408bd
[ "MIT" ]
1
2019-08-01T09:14:41.000Z
2019-08-01T09:14:41.000Z
proverif2.00/src/pitparser.mly
darrenldl/ProVerif-ATP
7af6cfb9e0550ecdb072c471e15b8f22b07408bd
[ "MIT" ]
3
2019-10-21T07:31:46.000Z
2022-02-26T14:21:24.000Z
%{ (************************************************************* * * * Cryptographic protocol verifier * * * * Bruno Blanchet, Vincent Cheval, and Marc Sylvestre * *...
25.417526
152
0.560941
af7aaea25bef8f1f07511e9c517c23b051471b01
2,250
ml
OCaml
ocaml-sources/testsuite/tools/parsecmmaux.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
ocaml-sources/testsuite/tools/parsecmmaux.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
ocaml-sources/testsuite/tools/parsecmmaux.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
35.714286
76
0.473333
f3d99ac14443744874398eb408686dd5a390cd27
2,092
ml
OCaml
data/sp14_min/0357.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14_min/0357.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/0357.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 <= 0 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 (l1, ((clone 0 ((List.length l1) - (List.length l2))) @ l2));; let rec removeZero l = match l with | [] -> [] |...
25.512195
95
0.528203
afcd01e6bb46f3b8675bb2f0e6a081f28cb8b5da
43,777
ml
OCaml
src/analyzer.ml
DavidWatkins/DiceLanguage
627ad07aeb16cd9ceb7bb283f9861013877d1635
[ "MIT" ]
null
null
null
src/analyzer.ml
DavidWatkins/DiceLanguage
627ad07aeb16cd9ceb7bb283f9861013877d1635
[ "MIT" ]
null
null
null
src/analyzer.ml
DavidWatkins/DiceLanguage
627ad07aeb16cd9ceb7bb283f9861013877d1635
[ "MIT" ]
null
null
null
open Sast open Ast open Processor open Utils open Filepath open Conf module StringMap = Map.Make (String) module StringSet = Set.Make (String) let struct_indexes:(string, int) Hashtbl.t = Hashtbl.create 10 let predecessors:(string, string list) Hashtbl.t = Hashtbl.create 10 module SS = Set.Make( struct let compa...
36.299337
165
0.71332
f37198f7479deba7bef475770aea65ff16b5bc8e
6,639
ml
OCaml
duniverse/0install/src/solver/s.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/0install/src/solver/s.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
duniverse/0install/src/solver/s.ml
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
null
null
null
(* Copyright (C) 2013, Thomas Leonard See the README file for details, or visit http://0install.net. *) (** Some useful abstract module types. *) module type CORE_MODEL = sig (** To use the solver with a particular packaging system (e.g. 0install), you need to provide an implementation of this module to ma...
36.679558
91
0.696942
8a4b83ea7d66cc3b31886caedc37a281c02f7264
19,253
ml
OCaml
infer/src/absint/AbstractDomain.ml
You-never-know/infer
7e6b7d4d3d0bf929fbdf702920338b79c4759ef1
[ "MIT" ]
null
null
null
infer/src/absint/AbstractDomain.ml
You-never-know/infer
7e6b7d4d3d0bf929fbdf702920338b79c4759ef1
[ "MIT" ]
1
2021-04-19T09:50:03.000Z
2021-04-19T09:50:03.000Z
infer/src/absint/AbstractDomain.ml
isabella232/infer
ad2fc1148da3e0342c02b4aa3ae160de34598669
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format module Types = struct type 'astate bottom_lifted = Bottom | NonBottom of 'astate type 'astate to...
22.677267
100
0.604477
f32c569f47c549922af346704820c3de18c3ca5d
2,655
mli
OCaml
switch/q.mli
simonjbeaumont/message-switch
194387da48cf0eab873b574e77ec145555e683a8
[ "0BSD" ]
null
null
null
switch/q.mli
simonjbeaumont/message-switch
194387da48cf0eab873b574e77ec145555e683a8
[ "0BSD" ]
null
null
null
switch/q.mli
simonjbeaumont/message-switch
194387da48cf0eab873b574e77ec145555e683a8
[ "0BSD" ]
null
null
null
(* * Copyright (c) Citrix Systems Inc. * * 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 THE AUTHOR DISCLAI...
34.480519
106
0.710734
af4dbf42f42cc1ea34fa66cb5f00f0ae672a3c20
14,814
ml
OCaml
source/domains/abstractMapDomain.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/domains/abstractMapDomain.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/domains/abstractMapDomain.ml
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open AbstractDomainCore module List = Core_kernel.List module MapPoly = Core_kernel.Map.Poly module type KEY = sig include Map...
33.14094
99
0.549885
8a56c904ef898cb6ebddfd7c879b4769f20e84fb
8,410
ml
OCaml
interp.ml
gasche/camlboot
f6baef86cf8f5588da3f52daac945c81ad81f998
[ "MIT" ]
null
null
null
interp.ml
gasche/camlboot
f6baef86cf8f5588da3f52daac945c81ad81f998
[ "MIT" ]
null
null
null
interp.ml
gasche/camlboot
f6baef86cf8f5588da3f52daac945c81ad81f998
[ "MIT" ]
null
null
null
open Data open Conf open Eval open Envir let parse filename = let inc = open_in filename in let lexbuf = Lexing.from_channel inc in Location.init lexbuf filename; let parsed = Parse.implementation lexbuf in close_in inc; parsed type env_flag = Open of Longident.t let stdlib_flag = [Open (Longident.Lident...
22.853261
80
0.631391
afa792673414312a93171a424afb7a1f5551246e
705
ml
OCaml
scripts/print_version.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
scripts/print_version.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
scripts/print_version.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
4
2021-04-27T15:00:34.000Z
2021-09-26T21:50:01.000Z
#!ocaml (* Ensure that this script can be run from the root directory. *) #directory "src/lib_version" (* Ensure that this script can be run from the scripts directory. *) #directory "../src/lib_version" #use "version.ml" let () = let arg = if Array.length Sys.argv > 1 then Sys.argv.(1) else "" in match arg wit...
28.2
73
0.638298
affb41ef5c56a745b5fd1d063316966652b511dc
1,845
mli
OCaml
sledge/src/import/iArray.mli
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
null
null
null
sledge/src/import/iArray.mli
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "MIT" ]
8
2021-05-12T00:06:23.000Z
2022-02-27T11:21:00.000Z
sledge/src/import/iArray.mli
octomarat/infer
aa6fe7963cdb6b842adcf7241f5383c30cb1a835
[ "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. *) (** IArray - Immutable view of an array Note that an iarray can be constructed from an array without copying, and the clie...
32.368421
76
0.648238
8a6bb8b9653206665517583861803d5b9af7cfbe
3,319
mli
OCaml
hphp/hack/src/client/ide_service/clientIdeService.mli
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/ide_service/clientIdeService.mli
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/ide_service/clientIdeService.mli
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2019, 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. * *) (** Provides IDE services in the client, without an instance of hh_server running. Basic approach: we load the nami...
35.688172
80
0.73486
8a71928af43f41792b56285a8512ad6fb5a31dc1
79
mli
OCaml
client/Int.mli
dwarfmaster/inferno
22dd1de71bd330aa96f14305d4ff13298f62b0a0
[ "MIT" ]
null
null
null
client/Int.mli
dwarfmaster/inferno
22dd1de71bd330aa96f14305d4ff13298f62b0a0
[ "MIT" ]
32
2020-11-30T12:54:11.000Z
2021-11-30T13:54:11.000Z
client/Int.mli
dwarfmaster/inferno
22dd1de71bd330aa96f14305d4ff13298f62b0a0
[ "MIT" ]
1
2020-12-11T09:20:57.000Z
2020-12-11T09:20:57.000Z
(* Integers as an ordered type. *) include Map.OrderedType with type t = int
15.8
41
0.708861
afcab2b7d6f5e8d949d6e8042e8275fa5f88b11c
2,946
ml
OCaml
src/my_tree.ml
dra27/core-and-more
e0cbc3e26419ec1e209b329b4cc01e8f541138d2
[ "MIT" ]
2
2022-02-17T02:18:55.000Z
2022-03-02T22:54:52.000Z
src/my_tree.ml
dra27/core-and-more
e0cbc3e26419ec1e209b329b4cc01e8f541138d2
[ "MIT" ]
null
null
null
src/my_tree.ml
dra27/core-and-more
e0cbc3e26419ec1e209b329b4cc01e8f541138d2
[ "MIT" ]
1
2021-12-06T23:14:05.000Z
2021-12-06T23:14:05.000Z
open Core open Util open Algebra open My_list_extensions type 'a nonempty_tree = Node of ('a * ('a nonempty_tree list)) [@@deriving ord, show, hash, eq] type 'a tree = | NonemptyTree of 'a nonempty_tree | EmptyTree [@@deriving ord, show, hash, eq] type 'a nonempty_normalized_tree = NNode of ('a * ('a nonem...
21.194245
70
0.612695
8a7cb32414dc0b9d67d1ddc1d743197b7b686d71
872
ml
OCaml
data/sp14/1971.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/1971.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/1971.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = (List.rev t) ^ a in let base = h ^ sep in let l = sl in List.fold_left f base l;; (* fix let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = x ^ a in let base = h ^ sep in let l = sl i...
14.064516
67
0.463303
8a4da844e3b92a391b292576d54bda28cb15e805
10,610
ml
OCaml
lib/bap_disasm/bap_disasm_insn.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
lib/bap_disasm/bap_disasm_insn.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
lib/bap_disasm/bap_disasm_insn.ml
aoidos-bin/bap
d3d8537db19f33bb65508e28458c2897f70df9a7
[ "MIT-CMU", "MIT" ]
null
null
null
open Core_kernel open Bap_core_theory open Regular.Std open Bap_types.Std open Bap_disasm_types module Insn = Bap_disasm_basic.Insn let package = "bap.std" type must = Must type may = May type 'a property = Z.t * string let known_properties = ref [] let new_property _ name : 'a property = let name = sprintf ":%s"...
30.488506
74
0.636946
8a82545d7ae30e7e99733a708b642a03f6e0f58b
1,717
ml
OCaml
src/lib/coda_lib/config.ml
basicbang0x/coda
b6ec7573036d7ac6493125a74a85f3775fa0deaa
[ "Apache-2.0" ]
null
null
null
src/lib/coda_lib/config.ml
basicbang0x/coda
b6ec7573036d7ac6493125a74a85f3775fa0deaa
[ "Apache-2.0" ]
null
null
null
src/lib/coda_lib/config.ml
basicbang0x/coda
b6ec7573036d7ac6493125a74a85f3775fa0deaa
[ "Apache-2.0" ]
null
null
null
open Async_kernel open Coda_base open Auxiliary_database open Signature_lib (* TODO: Pass banlist to modules discussed in Ban Reasons issue: https://github.com/CodaProtocol/coda/issues/852 *) module Snark_worker_config = struct type t = { initial_snark_worker_key: Public_key.Compressed.t option ; shutdown_o...
37.326087
115
0.781013
affeb9d5d2e3ca90b0fbc379dd653be80632472e
1,791
ml
OCaml
libraries/ec2/lib/exportTransitGatewayRoutes.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ec2/lib/exportTransitGatewayRoutes.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ec2/lib/exportTransitGatewayRoutes.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = ExportTransitGatewayRoutesRequest.t type output = ExportTransitGatewayRoutesResult.t type error = Errors_internal.t let service = "ec2" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option...
27.553846
88
0.625349
f3c8d4943868172199072cfad9a85a667902682a
1,002
ml
OCaml
src/typing/tvar.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "MIT" ]
null
null
null
src/typing/tvar.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "MIT" ]
null
null
null
src/typing/tvar.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "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. *) let mk_no_wrap cx reason = let tvar = Reason.mk_id () in let graph = Context.graph cx in Context.add_tvar cx tvar (Constraint...
30.363636
80
0.717565
8a69be2e510a07effa322e84a397d05e040e75a7
760
mli
OCaml
atd/src/jsonschema.mli
mjambon/atd
65a4534d43dd0fc732164e669624896132c1d238
[ "BSD-3-Clause" ]
137
2015-03-03T20:17:59.000Z
2019-08-27T17:01:40.000Z
atd/src/jsonschema.mli
mjambon/atd
65a4534d43dd0fc732164e669624896132c1d238
[ "BSD-3-Clause" ]
154
2015-06-22T14:35:58.000Z
2019-08-27T15:35:05.000Z
atd/src/jsonschema.mli
mjambon/atd
65a4534d43dd0fc732164e669624896132c1d238
[ "BSD-3-Clause" ]
20
2015-06-18T18:37:59.000Z
2019-04-18T11:31:21.000Z
(** Translate an ATD file to JSON Schema, honoring the <json ...> annotations. *) (** These are the versions of the JSON Schema currently supported. See https://json-schema.org/draft/2020-12/release-notes.html for the differences between 2019-09 and 2020-12. *) type version = | Draft_2019_09 | Draft_20...
25.333333
77
0.705263
8a646c8d169810d55c90dcb34a3fc8fcc841d8e0
1,793
ml
OCaml
src/stdune/temp.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
1
2021-08-16T09:28:39.000Z
2021-08-16T09:28:39.000Z
src/stdune/temp.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
1
2021-05-21T15:34:59.000Z
2021-05-21T15:34:59.000Z
src/stdune/temp.ml
marsam/dune
8a3d7f2f2015b71384caa07226d1a89dba9d6c25
[ "MIT" ]
null
null
null
type what = | Dir | File let try_times n ~f = assert (n > 0); let rec loop n = if n = 1 then f n else match f n with | exception _ -> loop (n - 1) | r -> r in loop n let prng = lazy (Random.State.make_self_init ()) let temp_file_name ~temp_dir ~prefix ~suffix = let rnd =...
22.696203
79
0.633017
afdbcb28ee3b6ede8db1c08afb46bd260074c87e
1,258
ml
OCaml
tests/test_event_parse.ml
vbmithr/ocaml-yaml
8406a5765835d3ff720d565e661d62900fc2c2b0
[ "0BSD" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
tests/test_event_parse.ml
vbmithr/ocaml-yaml
8406a5765835d3ff720d565e661d62900fc2c2b0
[ "0BSD" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
tests/test_event_parse.ml
vbmithr/ocaml-yaml
8406a5765835d3ff720d565e661d62900fc2c2b0
[ "0BSD" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
(* Copyright (c) 2017 Anil Madhavapeddy <anil@recoil.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ...
40.580645
77
0.735294
8a01c3dc42e6f8c990cc3baef7e970acf4567108
1,781
ml
OCaml
lib/cmd_fuzz/src/list_actions.ml
MattWindsor91/c4f
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
7
2018-11-27T23:53:58.000Z
2020-11-22T11:56:16.000Z
lib/cmd_fuzz/src/list_actions.ml
MattWindsor91/act
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
235
2018-10-03T16:37:36.000Z
2020-11-22T16:26:51.000Z
lib/cmd_fuzz/src/list_actions.ml
MattWindsor91/c4f
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
1
2018-11-13T16:43:19.000Z
2018-11-13T16:43:19.000Z
(* This file is part of c4f. Copyright (c) 2018-2022 C4 Project c4t itself is licensed under the MIT License. See the LICENSE file in the project root for more information. Parts of c4t are based on code from the Herdtools7 project (https://github.com/herd/herdtools7) : see the LICENSE.herd file in th...
32.381818
78
0.720943
af3ef5ad6837b7cff8abfcc5dfa65117afc200f3
235
mli
OCaml
src/hash/iterator.mli
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
1
2022-02-01T11:14:20.000Z
2022-02-01T11:14:20.000Z
src/hash/iterator.mli
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
null
null
null
src/hash/iterator.mli
dannywillems/ocaml-ec
82bcddc87459a86d032549e75a9098ac7276de7c
[ "MIT" ]
null
null
null
type bit = int module Bit : sig type t val of_bytes_le : Bytes.t -> t val is_processed : t -> bool val of_bool_list : bool list -> t val next : t -> bit option val get_chunk : t -> ?default:int -> int -> bit list end
14.6875
54
0.617021
f376a70d87583b7974bf20507233cd93acafca72
91
ml
OCaml
data/derived/comb/progs/unify/prog5680.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/prog0802.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0802.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec sumList n xs = match xs with | [] -> 0 | h::t -> (h n) + (sumList (n + h) xs);;
22.75
66
0.472527
afced77365c8847b1bcdd35626217f347fcd06e0
8,289
ml
OCaml
src/irmin-chunk/irmin_chunk.ml
PKRoma/irmin
72ddd582e9d931c58930cc7debd587105e04fda6
[ "0BSD" ]
1,491
2015-01-04T05:34:56.000Z
2022-03-31T09:53:17.000Z
src/irmin-chunk/irmin_chunk.ml
PKRoma/irmin
72ddd582e9d931c58930cc7debd587105e04fda6
[ "0BSD" ]
1,132
2015-01-05T17:06:31.000Z
2022-03-30T19:56:47.000Z
src/irmin-chunk/irmin_chunk.ml
PKRoma/irmin
72ddd582e9d931c58930cc7debd587105e04fda6
[ "0BSD" ]
144
2015-01-30T14:00:16.000Z
2022-03-29T16:30:47.000Z
(* * Copyright (c) 2013-2021 Thomas Gazagnaire <thomas@gazagnaire.org> * Copyright (c) 2015 Mounir Nasr Allah <mounir@nasrallah.co> * * 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 permiss...
31.880769
79
0.617565