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
f3c12d9c79c9ce6b2a222942510fb9a0fda1eceb
1,375
mli
OCaml
client/repo_clone.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
client/repo_clone.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
client/repo_clone.mli
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
(** A repo clone is a directory on disk that holds the hg clone of the repo for a root feature, which is used for all shares of feature in that tree. The directory is: ${WORKSPACE_BASEDIR}/${ROOT_FEATURE}/+clone+ A clone has "spare shares", which are shares on disk not currently associated with a feat...
26.442308
88
0.690182
afbdc9a44c34114e289f485c7adb2933011ae8c7
5,037
mll
OCaml
k-distribution/include/kframework/ocaml/lexer.mll
nrdxp/k
548dd10044e11955ca0ca0fbe528d428e970f525
[ "BSD-3-Clause" ]
404
2015-01-03T10:03:12.000Z
2022-01-20T19:32:08.000Z
k-distribution/include/kframework/ocaml/lexer.mll
nrdxp/k
548dd10044e11955ca0ca0fbe528d428e970f525
[ "BSD-3-Clause" ]
2,370
2015-01-02T14:51:59.000Z
2022-01-25T19:09:01.000Z
k-distribution/include/kframework/ocaml/lexer.mll
nrdxp/k
548dd10044e11955ca0ca0fbe528d428e970f525
[ "BSD-3-Clause" ]
162
2015-02-09T16:30:57.000Z
2022-01-24T09:05:47.000Z
{ open Parser open Constants.K open Constants open Prelude } rule token = parse | [' ' '\t' '\n' '\r'] { token lexbuf } | "~>" { KSEQ } | ".::K" { DOTK } | ".K" { DOTK } | "(" { LPAREN } | ")" { RPAREN } | "," { COMMA } | ".::KList" { DOTKLIST } | ".KList" { DOTKLIST } | "#token" { TOKENLAB...
36.766423
165
0.654159
afed9a49d03124104353b5517cb66f763d2fb505
2,760
ml
OCaml
src-rematd/rematd_man.ml
dbuenzli/remat
28d572e77bbd1ad46bbfde87c0ba8bd0ab99ed28
[ "BSD-3-Clause" ]
2
2015-11-05T16:47:07.000Z
2020-10-22T01:29:32.000Z
src-rematd/rematd_man.ml
dbuenzli/remat
28d572e77bbd1ad46bbfde87c0ba8bd0ab99ed28
[ "BSD-3-Clause" ]
null
null
null
src-rematd/rematd_man.ml
dbuenzli/remat
28d572e77bbd1ad46bbfde87c0ba8bd0ab99ed28
[ "BSD-3-Clause" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright 2012 Daniel C. Bünzli. All rights reserved. Distributed under the BSD3 license, see license at the end of the file. %%NAME%% release %%VERSION%% ---------------------------------------------------------------------------*...
44.516129
79
0.64058
af18e116984996e2d61ee35a316128f8509704fa
420,842
ml
OCaml
gencommon.ml
SmerkyG/haxe
27fa742abf2ee9e125fd1e775792a90e8b2bd12e
[ "MIT" ]
null
null
null
gencommon.ml
SmerkyG/haxe
27fa742abf2ee9e125fd1e775792a90e8b2bd12e
[ "MIT" ]
null
null
null
gencommon.ml
SmerkyG/haxe
27fa742abf2ee9e125fd1e775792a90e8b2bd12e
[ "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,...
37.121108
278
0.641376
afe7da99c0a220517888a4cba9d6a0f88b55a331
1,189
mli
OCaml
src/typing/type_visitor.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
1
2022-02-06T01:14:40.000Z
2022-02-06T01:14:40.000Z
src/typing/type_visitor.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
null
null
null
src/typing/type_visitor.mli
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "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. *) class ['a] t: object (* Only exposing a few methods for now. *) method type_ : Context.t -> Type.polarity -> 'a -> Type.t -> '...
49.541667
91
0.630782
afbd8447a9b1f0f47b9db35ec2a59173dd098418
35,998
ml
OCaml
infer/src/concurrency/starvation.ml
kupl/Infer_NPE_checker
c7d69bbe5615b0fa892541c4464346ed90bc50cb
[ "MIT" ]
null
null
null
infer/src/concurrency/starvation.ml
kupl/Infer_NPE_checker
c7d69bbe5615b0fa892541c4464346ed90bc50cb
[ "MIT" ]
null
null
null
infer/src/concurrency/starvation.ml
kupl/Infer_NPE_checker
c7d69bbe5615b0fa892541c4464346ed90bc50cb
[ "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 L = Logging module MF = MarkupFormatter module Domain = StarvationDomain let pname_pp = MF.wra...
43.008363
106
0.687594
f3332bb39fea950e3edbafc8419d438c8b29b245
2,037
ml
OCaml
data/sp14_min/3159.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/3159.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/3159.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let l1 = [0; 0; 9; 9];; let l2 = [1; 0; 0; 2];; let x = (3, 3) :: (List.rev (List.combine l1 l2));; let clone x n = let rec helper x n acc = if n <= 0 then acc else helper x (n - 1) (x :: acc) in helper x n [];; let padZero l1 l2 = if (List.length l1) < (List.length l2) then ((List.append (clone 0 ((Li...
24.25
79
0.54541
afff75a4d625a77133c3d5be026dbb7d9d2cede8
4,492
ml
OCaml
hphp/hack/src/hhbc/hhas_class.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/hhas_class.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/hhas_class.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * 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. * *) (* Notes: * require-implements is not represented in HHAS. * require-extends is not represented in HHAS. * TODO: c_u...
26.116279
77
0.787177
af08533f8cc67a56f8cd87d2301a6e98ac50240e
12,665
ml
OCaml
src/proto_009_PsFLorBA/lib_protocol/delegate_services.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/proto_009_PsFLorBA/lib_protocol/delegate_services.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/proto_009_PsFLorBA/lib_protocol/delegate_services.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.185714
80
0.591473
afc8eb054a92b9230798ad9a62724dadd2ed0395
1,877
ml
OCaml
libraries/rds/lib/modifyGlobalCluster.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/modifyGlobalCluster.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/modifyGlobalCluster.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = ModifyGlobalClusterMessage.t type output = ModifyGlobalClusterResult.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))) ...
31.283333
99
0.577517
f3e9aa957bda1e7745cdc2605464d5381e72f050
4,880
ml
OCaml
src/generators/gencommon/switchToIf.ml
nadako/haxe
2561756669d7e21c4fae1b76fb2db5cceecf6f0d
[ "MIT" ]
1
2021-01-19T07:06:17.000Z
2021-01-19T07:06:17.000Z
src/generators/gencommon/switchToIf.ml
nadako/haxe
2561756669d7e21c4fae1b76fb2db5cceecf6f0d
[ "MIT" ]
2
2016-04-15T20:13:51.000Z
2020-02-27T00:29:35.000Z
src/generators/gencommon/switchToIf.ml
nadako/haxe
2561756669d7e21c4fae1b76fb2db5cceecf6f0d
[ "MIT" ]
null
null
null
(* The Haxe Compiler Copyright (C) 2005-2017 Haxe Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This prog...
37.538462
143
0.626025
f3faeec22b43536eccd3faf5158410dd1894f428
2,053
mli
OCaml
src/solvers/backend/query/z3/Z3PosQuery.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
7
2016-08-31T19:50:12.000Z
2019-01-21T04:51:07.000Z
src/solvers/backend/query/z3/Z3PosQuery.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
src/solvers/backend/query/z3/Z3PosQuery.mli
imdea-software/leap
5f946163c0f80ff9162db605a75b7ce2e27926ef
[ "Apache-2.0" ]
null
null
null
(***********************************************************************) (* *) (* LEAP *) (* *) (* Alejan...
55.486486
77
0.364345
afd35b7b1e7062941d422f4b7dfdbf86b7f88816
18,957
ml
OCaml
src/common/flowConfig.ml
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
1
2015-10-01T01:50:43.000Z
2015-10-01T01:50:43.000Z
src/common/flowConfig.ml
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
null
null
null
src/common/flowConfig.ml
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Utils op...
31.542429
87
0.651527
afb734625498a38ff548600c4cc27e94b986c931
5,682
mli
OCaml
src/parser/parser_env.mli
esilkensen/flow
29091ee87ff75b6c655d19815a8e91db594c6bed
[ "MIT" ]
1
2020-07-08T17:40:26.000Z
2020-07-08T17:40:26.000Z
src/parser/parser_env.mli
esilkensen/flow
29091ee87ff75b6c655d19815a8e91db594c6bed
[ "MIT" ]
2
2021-09-02T16:30:33.000Z
2021-09-02T16:30:34.000Z
src/parser/parser_env.mli
esilkensen/flow
29091ee87ff75b6c655d19815a8e91db594c6bed
[ "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. *) (* This module provides a layer between the lexer and the parser which includes * some parser state and some lexer state *) modul...
21.280899
79
0.683562
afee77e4c08b3147adbde52b012d4c19fdd03043
3,263
ml
OCaml
bin/alias.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
null
null
null
bin/alias.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
null
null
null
bin/alias.ml
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
null
null
null
open Stdune open Dune_engine type t = { name : Dune_engine.Alias.Name.t ; recursive : bool ; dir : Path.Source.t ; contexts : Dune_rules.Context.t list } let pp { name; recursive; dir; contexts = _ } = let open Pp.O in let s = (if recursive then "@" else "@@") ^ Path.Source.to_string (Pa...
34.712766
80
0.686485
aff12ccce27606043b8e61079465c821d978aa4d
9,198
ml
OCaml
sihl/src/contract_database.ml
oxidizing/sihl
77cc6ae5d2a950c95869f62f330db6d9ca083ba8
[ "MIT" ]
330
2020-03-18T09:54:39.000Z
2022-03-02T15:51:38.000Z
sihl/src/contract_database.ml
oxidizing/sihl
77cc6ae5d2a950c95869f62f330db6d9ca083ba8
[ "MIT" ]
272
2020-03-12T18:34:57.000Z
2022-03-31T15:21:22.000Z
sihl/src/contract_database.ml
oxidizing/sihl
77cc6ae5d2a950c95869f62f330db6d9ca083ba8
[ "MIT" ]
12
2020-06-18T10:55:59.000Z
2021-09-11T06:43:25.000Z
type database = | MariaDb | PostgreSql (* Signature *) let name = "database" exception Exception of string module type Sig = sig (** ['a prepared_search_request] is a prepared SQL statement that can be used to sort, filter and paginate (= search) a collection. *) type 'a prepared_search_request val ...
38.325
80
0.659817
af10ebd14bf2b4e86bd14e74ee7972faeac2204f
9,754
ml
OCaml
src/alcotest-engine/config.ml
joprice/alcotest
bb3492901dea03c72b4de6b5660852a020283921
[ "0BSD" ]
333
2015-06-01T19:00:05.000Z
2022-03-06T13:02:41.000Z
src/alcotest-engine/config.ml
joprice/alcotest
bb3492901dea03c72b4de6b5660852a020283921
[ "0BSD" ]
221
2015-06-01T15:11:35.000Z
2022-03-01T13:40:37.000Z
src/alcotest-engine/config.ml
joprice/alcotest
bb3492901dea03c72b4de6b5660852a020283921
[ "0BSD" ]
78
2015-06-01T14:02:47.000Z
2022-03-26T15:59:23.000Z
include Config_intf include Config_intf.Types open! Import open Cmdliner_syntax (* Keys are configuration properties, which have defaults and may be customisable via a CLI. *) module Key = struct module type S = sig type t val default : t end module type Cli = sig include S val term : t opt...
29.647416
82
0.596986
af58cade02e1dc49acfc59844ae610b1bcf63946
7,517
ml
OCaml
src/lib_protocol_updater/registered_protocol.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/lib_protocol_updater/registered_protocol.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/lib_protocol_updater/registered_protocol.ml
Ngoguey42/tezos
68f0f84ed58f3c72b1bf3e732d8ee385461a2d14
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
27.944238
79
0.596382
afa5dcd3fffb8d16fbb71d569305e815dd3f621f
2,617
ml
OCaml
test/test_number_theory.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
10
2018-10-15T02:11:39.000Z
2022-01-26T08:57:12.000Z
test/test_number_theory.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
null
null
null
test/test_number_theory.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
1
2020-04-18T13:03:50.000Z
2020-04-18T13:03:50.000Z
open! Core open! Import let%expect_test "is_prime" = let show a b = Number_theory.Int.range a b |> Sequence.filter ~f:Number_theory.Int.is_prime |> [%sexp_of: int Sequence.t] |> print_s in show 1 10; [%expect {| (2 3 5 7) |}]; show 150 160; [%expect {| (151 157) |}] ;; let%test_unit "multi...
27.547368
89
0.612533
afc4ad6e9510104cae5bf24c3fff1a17733b1e69
3,872
ml
OCaml
esy-shell-expansion/EsyShellExpansion.ml
kazcw/esy
c9c91861490288434cd98ff72699ae8d6a876e9e
[ "BSD-2-Clause" ]
null
null
null
esy-shell-expansion/EsyShellExpansion.ml
kazcw/esy
c9c91861490288434cd98ff72699ae8d6a876e9e
[ "BSD-2-Clause" ]
null
null
null
esy-shell-expansion/EsyShellExpansion.ml
kazcw/esy
c9c91861490288434cd98ff72699ae8d6a876e9e
[ "BSD-2-Clause" ]
null
null
null
include Types let formatParseError ?src ~cnum msg = match src with | None -> msg | Some src -> let ctx = let cnum = min (String.length src) (cnum + 5) in (String.sub src 0 cnum) ^ "..." in let line = String.init (String.length ctx) (fun i -> if i = cnum then '^' else...
33.094017
85
0.600723
f3bb38d1901301ce72f32b1b640c31acead5e53b
10,091
ml
OCaml
src/watermarks.ml
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
src/watermarks.ml
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
src/watermarks.ml
kit-ty-kate/dune
7b37f89424e39d212f8efca29e38f9895031d5b7
[ "MIT" ]
null
null
null
open! Stdune open Import open Fiber.O let is_a_source_file path = (match Path.extension path with | ".flv" | ".gif" | ".ico" | ".jpeg" | ".jpg" | ".mov" | ".mp3" | ".mp4" | ".otf" | ".pdf" | ".png" | ".ttf" | ".woff" -> false | _ -> true) && Path.is_file path let make_wat...
30.859327
79
0.545734
af144f9386b2fffeac9405a43b7676acc9421ec0
3,621
mll
OCaml
languages/Natlab/src/metalexer/natlab.mll
dherre3/mclab-core
ccdcd6f46ee42285c7ad055ff0a9ea3361112e11
[ "Apache-2.0" ]
11
2015-05-31T16:11:35.000Z
2021-02-16T00:04:48.000Z
languages/Natlab/src/metalexer/natlab.mll
sshrdp/mclab
1843078edb13e647c0261d1944320ffbcf02ad99
[ "Apache-2.0" ]
12
2015-05-04T16:21:04.000Z
2019-04-24T21:49:33.000Z
languages/Natlab/src/metalexer/natlab.mll
sshrdp/mclab
1843078edb13e647c0261d1944320ffbcf02ad99
[ "Apache-2.0" ]
13
2015-05-31T17:16:45.000Z
2021-02-09T17:08:26.000Z
package natlab; import static natlab.NatlabParser.Terminals.*; %% import beaver.Symbol; import beaver.Scanner; %% %layout natlab %option class "%class NatlabScanner" %option function "%function nextToken" %declare "CommentBuffer commentBuffer" //methods are for external use only so don't declare %{//// Comment queue ...
23.512987
125
0.675228
af88b69d9268219a9007140203668092ea6e318e
35,875
ml
OCaml
src/lib/uTop_complete.ml
rgrinberg/utop
99618eafd742d21694cab7ca4be53c47519ddc4b
[ "BSD-3-Clause" ]
null
null
null
src/lib/uTop_complete.ml
rgrinberg/utop
99618eafd742d21694cab7ca4be53c47519ddc4b
[ "BSD-3-Clause" ]
null
null
null
src/lib/uTop_complete.ml
rgrinberg/utop
99618eafd742d21694cab7ca4be53c47519ddc4b
[ "BSD-3-Clause" ]
null
null
null
(* * uTop_complete.ml * ---------------- * Copyright : (c) 2011, Jeremie Dimino <jeremie@dimino.org> * Licence : BSD3 * * This file is a part of utop. *) open Types open LTerm_read_line open UTop_token module String_set = Set.Make(String) module String_map = Map.Make(String) let set_of_list = List.fold_left...
38.083864
201
0.540544
8a056f380558f43665fc48b21f10c5da91ff3544
1,026
ml
OCaml
GillianCore/GIL_Syntax/Type.ml
NatKarmios/Gillian
511a16196bd89d25ffe5cf868188b6ddf546efd7
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
GillianCore/GIL_Syntax/Type.ml
NatKarmios/Gillian
511a16196bd89d25ffe5cf868188b6ddf546efd7
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
GillianCore/GIL_Syntax/Type.ml
NatKarmios/Gillian
511a16196bd89d25ffe5cf868188b6ddf546efd7
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
(** GIL Types *) type t = TypeDef__.typ = | UndefinedType (** Type of Undefined *) | NullType (** Type of Null *) | EmptyType (** Type of Empty *) | NoneType (** Type of logical values *) | BooleanType (** Type of booleans *) | IntType (** Type of integers *) | Number...
25.02439
48
0.52729
f3264f194a107684d9233201f6f65cfb7c04edb8
47,664
ml
OCaml
src/ocaml-output/FStar_Tc_Env.ml
YaccConstructor/FStar
a8db6c47e8b699b98be4c7c6f8c2e0edbce85933
[ "Apache-2.0" ]
1
2021-06-24T15:18:39.000Z
2021-06-24T15:18:39.000Z
src/ocaml-output/FStar_Tc_Env.ml
YaccConstructor/FStar
a8db6c47e8b699b98be4c7c6f8c2e0edbce85933
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Tc_Env.ml
YaccConstructor/FStar
a8db6c47e8b699b98be4c7c6f8c2e0edbce85933
[ "Apache-2.0" ]
2
2015-10-22T11:55:17.000Z
2016-07-20T14:59:29.000Z
open Prims type binding = | Binding_var of (FStar_Absyn_Syntax.bvvdef * FStar_Absyn_Syntax.typ) | Binding_typ of (FStar_Absyn_Syntax.btvdef * FStar_Absyn_Syntax.knd) | Binding_lid of (FStar_Ident.lident * FStar_Absyn_Syntax.typ) | Binding_sig of FStar_Absyn_Syntax.sigelt let is_Binding_var = (fun _discr_ -> (match ...
40.668942
645
0.731789
afe0137af21bff24139a74a52d3a26ada0bd08bd
5,094
mli
OCaml
src/lib_p2p/p2p_io_scheduler.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
1
2021-11-03T08:21:08.000Z
2021-11-03T08:21:08.000Z
src/lib_p2p/p2p_io_scheduler.mli
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_io_scheduler.mli
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> *) ...
43.169492
79
0.600314
af598be9929761b5ae34c7b0ddc074a4c0d6d788
20,352
ml
OCaml
src/common/flow_lsp_conversions.ml
giltho/flow
ac42cb1a4d3d17afde4c9ce3c12fa847e897959f
[ "MIT" ]
null
null
null
src/common/flow_lsp_conversions.ml
giltho/flow
ac42cb1a4d3d17afde4c9ce3c12fa847e897959f
[ "MIT" ]
1
2021-04-16T12:04:57.000Z
2021-04-16T12:04:57.000Z
src/common/flow_lsp_conversions.ml
isabella232/flow-1
2d9073973d236d6bc05aa216baea99adf3b885fe
[ "MIT" ]
1
2021-05-12T18:13:36.000Z
2021-05-12T18:13:36.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 Ast = Flow_ast let flow_position_to_lsp (line : int) (char : int) : Lsp.position = Lsp.{ line = max 0 (line - 1); charact...
41.790554
149
0.653302
af3ae687a77cffd345a6c0bf65ce3cd64eaa8150
3,336
ml
OCaml
hphp/hack/src/hh_emitter.ml
MaxSem/hhvm
8e8544c324e0157404374cf313a237bfa70b35d4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_emitter.ml
MaxSem/hhvm
8e8544c324e0157404374cf313a237bfa70b35d4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_emitter.ml
MaxSem/hhvm
8e8544c324e0157404374cf313a237bfa70b35d4
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) (************...
31.471698
80
0.590827
aff8e78070679b496f9c3febff55734146438145
4,138
ml
OCaml
compiler/elaboratetree.ml
steinuil/xobl
c3d25a33bf929b78d762e1ad1add4d4f7605309f
[ "0BSD" ]
14
2018-02-08T22:10:19.000Z
2021-10-24T02:20:14.000Z
compiler/elaboratetree.ml
steinuil/xobl
c3d25a33bf929b78d762e1ad1add4d4f7605309f
[ "0BSD" ]
1
2021-08-07T13:05:14.000Z
2021-08-15T17:27:52.000Z
compiler/elaboratetree.ml
steinuil/xobl
c3d25a33bf929b78d762e1ad1add4d4f7605309f
[ "0BSD" ]
1
2021-08-04T18:20:56.000Z
2021-08-04T18:20:56.000Z
type binop = Parsetree.binop = | Add | Sub | Mul | Div | Bit_and | Bit_left_shift [@@deriving show] type unop = Parsetree.unop = Bit_not [@@deriving show] type ident = { id_module : string; id_name : string } [@@deriving show] type prim = Parsetree.prim = | Void | Char | Byte | Bool | Int8 | ...
28.736111
80
0.635814
afd28baeca8160072b152c56bc24a734bb6d3fd2
7,549
mli
OCaml
llvm/bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
llvm/bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
llvm/bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
(*===-- llvm_scalar_opts.mli - LLVM OCaml Interface -----------*- OCaml -*-===* * * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. * See https://llvm.org/LICENSE.txt for license information. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * *===----------------------------...
36.293269
80
0.739303
f3a1f1b1c84659bfc02c1a9a94d2a04c49a628bb
3,054
ml
OCaml
process-lib/test/import.ml
janestreet/shexp
1828d1015f3f2df3d3328d74773ee80b5f05fdb0
[ "MIT" ]
110
2016-08-15T12:10:02.000Z
2022-02-27T19:31:10.000Z
process-lib/test/import.ml
janestreet/shexp
1828d1015f3f2df3d3328d74773ee80b5f05fdb0
[ "MIT" ]
13
2016-08-29T23:51:36.000Z
2020-09-16T11:40:25.000Z
process-lib/test/import.ml
janestreet/shexp
1828d1015f3f2df3d3328d74773ee80b5f05fdb0
[ "MIT" ]
13
2016-08-15T20:39:10.000Z
2021-12-17T02:47:35.000Z
open Core module Unix = Core_unix module Process = Shexp_process module P = Process include P.Infix (* Close all fds >= 3. Must be called before creating the context. *) let () = let get_fds () = Sys_unix.readdir "/proc/self/fd" |> Array.to_list |> List.map ~f:int_of_string |> List.sort ~compare:Int....
29.365385
81
0.567453
af54f2a845ba61c3484a6549abf605acc7319f72
307,025
ml
OCaml
src/typing/statement.ml
bryanmojica/flow
c1cd46caec6f02eee15b0616b3c7a3610ed5a5f9
[ "MIT" ]
null
null
null
src/typing/statement.ml
bryanmojica/flow
c1cd46caec6f02eee15b0616b3c7a3610ed5a5f9
[ "MIT" ]
null
null
null
src/typing/statement.ml
bryanmojica/flow
c1cd46caec6f02eee15b0616b3c7a3610ed5a5f9
[ "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. *) module Ast = Flow_ast module Tast_utils = Typed_ast_utils (* This module contains the traversal functions which set up subtyping ...
42.648284
104
0.565843
f31009a6c0dd27142b7fb9d7dbdb86077a3f74eb
20,263
mli
OCaml
src/owl/lapacke/owl_lapacke.mli
jzstark/owl
eead31f1920e63b876421e6a30e61c947f29827f
[ "MIT" ]
null
null
null
src/owl/lapacke/owl_lapacke.mli
jzstark/owl
eead31f1920e63b876421e6a30e61c947f29827f
[ "MIT" ]
null
null
null
src/owl/lapacke/owl_lapacke.mli
jzstark/owl
eead31f1920e63b876421e6a30e61c947f29827f
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific Computing * Copyright (c) 2016-2022 Liang Wang <liang@ocaml.xyz> *) open Bigarray (** {5 Type definition} *) type ('a, 'b) t = ('a, 'b, c_layout) Genarray.t (** Default data type *) type lapacke_layout = | RowMajor | ColMajor (** Layout type. *) type lapacke_transpose = | NoTra...
26.661842
110
0.577456
8a090ba48a21c029af140e72fc8af8885fd77f4f
2,995
mli
OCaml
lib/vdom_blit.mli
mxmzdlv/ocaml-vdom
7031dd67ca4b8710833bc0a33d80d66aba6d87f5
[ "MIT" ]
189
2016-11-24T22:52:20.000Z
2022-02-23T08:46:15.000Z
lib/vdom_blit.mli
mxmzdlv/ocaml-vdom
7031dd67ca4b8710833bc0a33d80d66aba6d87f5
[ "MIT" ]
30
2016-11-30T15:15:54.000Z
2021-08-10T14:14:03.000Z
lib/vdom_blit.mli
mxmzdlv/ocaml-vdom
7031dd67ca4b8710833bc0a33d80d66aba6d87f5
[ "MIT" ]
19
2016-11-30T15:11:57.000Z
2022-01-06T14:30:00.000Z
(* This file is part of the ocaml-vdom package, released under the terms of an MIT-like license. *) (* See the attached LICENSE file. *) (* Copyright 2016 by LexiFi. *) (** {1...
33.651685
109
0.64808
aff4ad626c7585ac4756f087a7efd09a9c67650c
8,442
ml
OCaml
eval/ocaml/asmcomp/coloring.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
eval/ocaml/asmcomp/coloring.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
eval/ocaml/asmcomp/coloring.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
37.6875
79
0.518124
f3fa1bf118c37146d96325879aef74d46c2c127f
2,385
ml
OCaml
src/lib/pickles/reduced_me_only.ml
spaweb/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
2
2021-12-10T21:56:09.000Z
2021-12-15T21:51:35.000Z
src/lib/pickles/reduced_me_only.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
null
null
null
src/lib/pickles/reduced_me_only.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Import open Pickles_types open Types open Common open Backend (* The pairing-based "reduced" me-only contains the data of the standard me-only but without the wrap verification key. The purpose of this type is for sending pairing me-onlys on the wire. There is no need to send the wrap-key s...
28.73494
85
0.679665
af49f7ec137de506244224daa865593d66c4a072
48,049
mli
OCaml
vendor/core_kernel/src/core_pervasives.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core_kernel/src/core_pervasives.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core_kernel/src/core_pervasives.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
(** This module has exactly the same interface and implementation as INRIA's Pervasives, except that some things are deprecated in favor of Core equivalents. Functions here are in one of four states: 1. Deprecated using [@@deprecated]. 2. Accepted as part of Core for the forseeable future. 3. We h...
40.074229
89
0.678224
f38cc6b684620338b996200cff5b4463fa430435
9,285
mly
OCaml
src/parsers/Parse_zf.mly
Guoyanzeng/zipperposition
cf8ea447d3c19946cfe5f9762deb1c9dcb1c3103
[ "BSD-2-Clause" ]
1
2021-12-04T02:49:56.000Z
2021-12-04T02:49:56.000Z
src/parsers/Parse_zf.mly
Guoyanzeng/zipperposition
cf8ea447d3c19946cfe5f9762deb1c9dcb1c3103
[ "BSD-2-Clause" ]
null
null
null
src/parsers/Parse_zf.mly
Guoyanzeng/zipperposition
cf8ea447d3c19946cfe5f9762deb1c9dcb1c3103
[ "BSD-2-Clause" ]
null
null
null
(* This file is free software, part of Zipperposition. See file "license" for more details. *) (** {1 Parser for Zipperposition Formulas} *) %{ open Logtk module L = ParseLocation module A = UntypedAST module T = A.T let unquote s = assert (s <> ""); assert (s.[0] = '\'' || s.[0] = '"'); asse...
22.00237
94
0.625956
afe0814126133f23046636f0cdb7c7799da444f2
622
ml
OCaml
bootstrap/test/basis/u64/test_bit_pop_bit_clz_bit_ctz.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/test/basis/u64/test_bit_pop_bit_clz_bit_ctz.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/test/basis/u64/test_bit_pop_bit_clz_bit_ctz.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open! Basis.Rudiments open! Basis open U64 let test () = let rec test_u64s = function | [] -> () | u :: us' -> begin File.Fmt.stdout |> Fmt.fmt "bit_{pop,clz,ctz} " |> fmt ~alt:true ~zpad:true ~width:16L ~base:Fmt.Hex u |> Fmt.fmt " -> " |> Uns.pp (bit_pop u) |...
19.4375
62
0.483923
afc03940f8d1ddbda6abf3a81a7f15eca1013da7
622
ml
OCaml
protocol/force_retry.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
protocol/force_retry.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
protocol/force_retry.ml
Rjected/iron
dfb106cb82abf5d16e548d4ee4f419d0994d3644
[ "Apache-2.0" ]
null
null
null
module Stable = struct open! Import_stable module Action = struct module V1 = struct type t = Feature_path.V1.t [@@deriving bin_io, sexp] let%expect_test _ = print_endline [%bin_digest: t]; [%expect {| 296be80010ace497614f92952e5510c4 |}] ;; let to_model t = t ...
18.848485
56
0.643087
af719630cc7c120d31e137e518f206006b740719
5,090
ml
OCaml
infer/src/IR/Objc_models.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
null
null
null
infer/src/IR/Objc_models.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "BSD-3-Clause" ]
2
2020-11-13T19:42:27.000Z
2020-11-13T19:49:19.000Z
infer/src/IR/Objc_models.ml
ievans/infer
c483fe101a3bdb3e86c4444a7b8d6197eada67c0
[ "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...
24.009434
105
0.667976
af976488276880ae19f5d9b09a81dccd7122a861
2,035
ml
OCaml
ocaml/sinful/event.ml
icefoxen/lang
628185020123aabe4753f96c6ab4378637a2dbf5
[ "MIT" ]
null
null
null
ocaml/sinful/event.ml
icefoxen/lang
628185020123aabe4753f96c6ab4378637a2dbf5
[ "MIT" ]
null
null
null
ocaml/sinful/event.ml
icefoxen/lang
628185020123aabe4753f96c6ab4378637a2dbf5
[ "MIT" ]
null
null
null
(* event.ml This contains the code that will trigger events for the Sinful game engine. Events can: add/remove items, move you to a different location, or cause certain text to be displayed. An event can be caused by: you being in a certain location, posessing a certain item,...
28.263889
81
0.661916
af293ada4752818c438462563997e404618867e6
5,873
mli
OCaml
src/option.mli
diaozheng999/base
fe3aaecd4859c34db32333c278a76c29acb7bb96
[ "MIT" ]
null
null
null
src/option.mli
diaozheng999/base
fe3aaecd4859c34db32333c278a76c29acb7bb96
[ "MIT" ]
4
2021-05-18T10:06:59.000Z
2021-10-21T05:48:27.000Z
src/option.mli
diaozheng999/base
fe3aaecd4859c34db32333c278a76c29acb7bb96
[ "MIT" ]
null
null
null
(** The option type indicates whether a meaningful value is present. It is frequently used to represent success or failure, using [None] for failure. To be more descriptive about why a function failed, see the {!Or_error} module. Usage example from a utop session follows. Hash table lookups use the option ...
31.575269
90
0.60378
af6c9f2837bd01ca6608326ba22369ec4ccf0808
8,724
ml
OCaml
src/ocaml-3.12.0/stdlib/arg.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
1
2015-01-27T00:11:26.000Z
2015-01-27T00:11:26.000Z
src/ocaml-3.12.0/stdlib/arg.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/stdlib/arg.ml
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(***********************************************************************) (* *) (* Objective Caml *) (* *) (* Damien Do...
34.482213
79
0.516506
afdb3b6acd2e4fbb843d519dda0bf91a386582b6
2,492
mli
OCaml
esy/bin/Project.mli
mariusschulz/esy
6dec2d1562e4aa54325368050ead0ff8fe5181ac
[ "BSD-2-Clause" ]
null
null
null
esy/bin/Project.mli
mariusschulz/esy
6dec2d1562e4aa54325368050ead0ff8fe5181ac
[ "BSD-2-Clause" ]
null
null
null
esy/bin/Project.mli
mariusschulz/esy
6dec2d1562e4aa54325368050ead0ff8fe5181ac
[ "BSD-2-Clause" ]
null
null
null
(** * This represents esy project. * * Project can be in multiple states and in multiple configurations. *) open Esy open EsyInstall type 'solved project = { projcfg : ProjectConfig.t; solved : 'solved Run.t; } and 'fetched solved = { solution : Solution.t; fetched : 'fetched Run.t; } and 'configured fe...
21.118644
71
0.675361
affb67640b9022fd69edb6575f6707a39db14e96
1,920
ml
OCaml
data/sp14_min/3007.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/3007.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/3007.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 clone_RT acc n = if n <= 0 then acc else clone_RT (x :: acc) (n - 1) in clone_RT [] n;; let padZero l1 l2 = let len1 = List.length l1 in let len2 = List.length l2 in let diff = len1 - len2 in if diff < 0 then ((List.append (clone 0 (- diff)) l1), l2) else (l1, (List.app...
19.2
73
0.555208
af8bf9ceee85f9175589c70b649a70f1eba9a4f5
1,713
ml
OCaml
libraries/rds/lib/listTagsForResource.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/rds/lib/listTagsForResource.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/rds/lib/listTagsForResource.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 = ListTagsForResourceMessage.t type output = TagListMessage.t type error = Errors_internal.t let service = "rds" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of se...
26.765625
89
0.624051
f395c086a52a29261e671bb3c999786aefc5c9c7
7,388
ml
OCaml
presentations/coq-workshop-2014-coq/lib/rtree.ml
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
presentations/coq-workshop-2014-coq/lib/rtree.ml
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
presentations/coq-workshop-2014-coq/lib/rtree.ml
JasonGross/test-broken-tar
6b52b8532879df53386b0f5413485888a1aa886a
[ "MIT" ]
null
null
null
(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2015 *) (* \VV/ **************************************************************) (* // * Th...
35.349282
81
0.58595
f3a97f17853743418d49f5868e21c16c90756c36
150,355
ml
OCaml
analysis/analysisError.ml
theodoretliu/pyre-check
b3dff2e32ec115e853f9171dc018d831e561439d
[ "MIT" ]
null
null
null
analysis/analysisError.ml
theodoretliu/pyre-check
b3dff2e32ec115e853f9171dc018d831e561439d
[ "MIT" ]
null
null
null
analysis/analysisError.ml
theodoretliu/pyre-check
b3dff2e32ec115e853f9171dc018d831e561439d
[ "MIT" ]
null
null
null
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open Ast open Pyre open Statement module Type = struct include Type let compare = Type.namespace_insensitive_compare end (* ...
40.912925
104
0.641695
f3e28c0655a5065408da9df01b6dfdcef1600762
44,223
ml
OCaml
src/facade/widget.ml
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
null
null
null
src/facade/widget.ml
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
null
null
null
src/facade/widget.ml
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
null
null
null
open Js_of_ocaml open Paperwork module U = Util module Tyxml = Js_of_ocaml_tyxml.Tyxml_js module Svg = Tyxml.Svg module Lwt_js_events = Js_of_ocaml_lwt.Lwt_js_events let d ?(u = `Px) value = value, Some u let clear node = node##.innerHTML := Js.string "" module Resume = struct open Util let resize = watch Lwt_js...
30.289726
80
0.524297
afcc3bba15f2c0a73b273564026806dc5baf8ab8
3,166
ml
OCaml
test/lib/test_label.ml
shonfeder/mdx
976540349dac53570460aa7021c07f01163747a5
[ "ISC" ]
1
2021-06-08T04:55:40.000Z
2021-06-08T04:55:40.000Z
test/lib/test_label.ml
jsomers/mdx
8ea023ecad3acde54d6076bd77a61ec539242f90
[ "0BSD" ]
null
null
null
test/lib/test_label.ml
jsomers/mdx
8ea023ecad3acde54d6076bd77a61ec539242f90
[ "0BSD" ]
null
null
null
module Testable = struct open Mdx.Label let relation = Alcotest.testable Relation.pp ( = ) let msg = Alcotest.testable (fun fmt (`Msg e) -> Format.pp_print_string fmt e) ( = ) let label = Alcotest.testable pp ( = ) end let test_raw_parse = let ty = Alcotest.(pair string (option (pair Testable.relation...
35.573034
81
0.608023
afce1f84dd36041b20a2537f02844657a079e368
8,113
ml
OCaml
src/proto_alpha/lib_protocol/test/unit/test_saturation.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/unit/test_saturation.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/unit/test_saturation.ml
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs, <contact@nomadic-labs.com> *) ...
37.045662
79
0.549365
af7b8487f9f07e21bdb7a87a403a5746379a92b7
56,958
ml
OCaml
src/parser/lexer.ml
parviz-93/flow
bd22f98a8b254cd3f75586f642121c21fb56ee8f
[ "MIT" ]
1
2019-07-20T17:37:07.000Z
2019-07-20T17:37:07.000Z
src/parser/lexer.ml
parviz-93/flow
bd22f98a8b254cd3f75586f642121c21fb56ee8f
[ "MIT" ]
null
null
null
src/parser/lexer.ml
parviz-93/flow
bd22f98a8b254cd3f75586f642121c21fb56ee8f
[ "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 Token open Lex_env let lexeme = Sedlexing.Utf8.lexeme let sub_lexeme = Sedlexing.Utf8.sub_lexeme let letter = [%sedlex.regexp? '...
31.749164
94
0.608519
af1e06546d7207927d6d11bac8ed1a2bf160eac7
17,511
ml
OCaml
sledge/src/control.ml
sangwoo-joh/infer
598a4d5a5579a92bf51ee5cad5dbe5a36edfa2d0
[ "MIT" ]
null
null
null
sledge/src/control.ml
sangwoo-joh/infer
598a4d5a5579a92bf51ee5cad5dbe5a36edfa2d0
[ "MIT" ]
null
null
null
sledge/src/control.ml
sangwoo-joh/infer
598a4d5a5579a92bf51ee5cad5dbe5a36edfa2d0
[ "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. *) (** Iterative Breadth-First Bounded Exploration The analysis' semantics of control flow. *) type exec_opts = { bound: int ...
35.51927
78
0.564559
afd3049025b9728e8c9ea1f53700e68f08bb6673
1,265
mli
OCaml
src/git_gri.mli
samoht/ocaml-git
45d1722f2220cf70b7314287cffec084410ebca9
[ "0BSD" ]
null
null
null
src/git_gri.mli
samoht/ocaml-git
45d1722f2220cf70b7314287cffec084410ebca9
[ "0BSD" ]
null
null
null
src/git_gri.mli
samoht/ocaml-git
45d1722f2220cf70b7314287cffec084410ebca9
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2013-2017 Thomas Gazagnaire <thomas@gazagnaire.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDE...
31.625
75
0.716996
f35f27944880b2b05f4468385ad2fb3e166b5ca6
2,076
ml
OCaml
lwt/examples/echo_server_alpn.ml
torinnd/ocaml-tls
1b15ef5083d9b89785bdc929a2eecdc5b45b887d
[ "BSD-2-Clause" ]
214
2015-01-06T12:04:34.000Z
2022-01-19T05:37:38.000Z
lwt/examples/echo_server_alpn.ml
torinnd/ocaml-tls
1b15ef5083d9b89785bdc929a2eecdc5b45b887d
[ "BSD-2-Clause" ]
137
2015-01-05T10:17:44.000Z
2022-03-29T19:59:52.000Z
lwt/examples/echo_server_alpn.ml
torinnd/ocaml-tls
1b15ef5083d9b89785bdc929a2eecdc5b45b887d
[ "BSD-2-Clause" ]
55
2015-01-05T21:04:25.000Z
2022-03-29T18:49:31.000Z
open Lwt open Ex_common let split_on_char sep s = let r = ref [] in let j = ref (String.length s) in for i = String.length s - 1 downto 0 do if s.[i] = sep then begin r := String.sub s (i + 1) (!j - i - 1) :: !r; j := i end done; String.sub s 0 !j :: !r let serve_ssl alpn_protocols port...
30.086957
172
0.582852
8a055f8b9244c4b29b591fc8b0c2237f87f566fd
4,563
ml
OCaml
tmp/meta-4.ml
rizo/fold-pratt
84029a7b3d59200ef7fdfb87385752ea4e9eef94
[ "Apache-2.0" ]
1
2017-07-21T13:08:10.000Z
2017-07-21T13:08:10.000Z
tmp/meta-4.ml
rizo/fold-pratt
84029a7b3d59200ef7fdfb87385752ea4e9eef94
[ "Apache-2.0" ]
null
null
null
tmp/meta-4.ml
rizo/fold-pratt
84029a7b3d59200ef7fdfb87385752ea4e9eef94
[ "Apache-2.0" ]
null
null
null
f -> (split ~on: "." ~reverse: true ~repeat: 1 f) # 0 interface Comparable {a} function compare :: a -> a -> ordering end module Comparable {int} compare a b = ? | a > b : GT | a < b : LT | ... : EQ end module Celsius init from fahrenheit = end {a} :: if: bool code -> then: a code -...
20.647059
78
0.593688
afd44b00714f1327652528ce738c5dd9aa13ce4f
1,035
mli
OCaml
legacy/lib/c/src/bandpass_nifti/FFTW/fftw-3.1.2/genfft/conv.mli
deyingli/Standalone_Ooi2022_MMP
74fdb28cb1c26a3088144ced720fc69351ffa5ab
[ "MIT" ]
null
null
null
legacy/lib/c/src/bandpass_nifti/FFTW/fftw-3.1.2/genfft/conv.mli
deyingli/Standalone_Ooi2022_MMP
74fdb28cb1c26a3088144ced720fc69351ffa5ab
[ "MIT" ]
null
null
null
legacy/lib/c/src/bandpass_nifti/FFTW/fftw-3.1.2/genfft/conv.mli
deyingli/Standalone_Ooi2022_MMP
74fdb28cb1c26a3088144ced720fc69351ffa5ab
[ "MIT" ]
1
2022-03-12T08:21:59.000Z
2022-03-12T08:21:59.000Z
(* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * Copyright (c) 2003, 2006 Matteo Frigo * Copyright (c) 2003, 2006 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published b...
43.125
76
0.733333
af697d3f90c8751b45e1b71c13a209f71c7c1d21
1,424
ml
OCaml
scheduler_parateric_mvar/fifo_sched.ml
kayceesrk/code-snippets
0c0cf8e1e5691dd84ac3780dc63da07c4fd6059c
[ "0BSD" ]
2
2018-06-03T16:49:02.000Z
2021-10-07T11:33:18.000Z
scheduler_parateric_mvar/fifo_sched.ml
kayceesrk/code-snippets
0c0cf8e1e5691dd84ac3780dc63da07c4fd6059c
[ "0BSD" ]
null
null
null
scheduler_parateric_mvar/fifo_sched.ml
kayceesrk/code-snippets
0c0cf8e1e5691dd84ac3780dc63da07c4fd6059c
[ "0BSD" ]
2
2016-07-04T23:49:05.000Z
2020-04-23T18:48:02.000Z
open Printf open EffectHandlers open EffectHandlers.Deep module type S = sig val fork : (unit -> unit) -> unit val yield : unit -> unit val run : (unit -> unit) -> unit end module Make () : S = struct type _ eff += Fork : (unit -> unit) -> unit eff type _ eff += Yield : unit eff let run main = let ...
27.921569
67
0.511938
af9b45b5cec246101760a0b0e6e0842c82a2b8bc
8,121
mli
OCaml
lwt-unix/conduit_lwt_unix.mli
well-typed-lightbulbs/ocaml-conduit
a4935d8704e491a3b9155715b8087be709e757e1
[ "0BSD" ]
1
2015-11-05T16:45:49.000Z
2015-11-05T16:45:49.000Z
lwt-unix/conduit_lwt_unix.mli
well-typed-lightbulbs/ocaml-conduit
a4935d8704e491a3b9155715b8087be709e757e1
[ "0BSD" ]
null
null
null
lwt-unix/conduit_lwt_unix.mli
well-typed-lightbulbs/ocaml-conduit
a4935d8704e491a3b9155715b8087be709e757e1
[ "0BSD" ]
null
null
null
(* * Copyright (c) 2012-2014 Anil Madhavapeddy <anil@recoil.org> * Copyright (c) 2014 Hannes Mehnert <hannes@mehnert.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...
40.20297
93
0.697574
af456d2bb2242bb763d55fed9f586601be06881b
73
ml
OCaml
benchmarks/sigma/sigma1/submissions/sub97.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/sigma/sigma1/submissions/sub97.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/sigma/sigma1/submissions/sub97.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
let rec sigma(a,b,f)= if a<=b then f(a)+sigma(a+1,b,f) else 0;;
14.6
35
0.520548
afab9295eedf6c9eddd5517d643ca505fdd8f0c5
4,931
ml
OCaml
src/parser_utils/scope_api.ml
Opportunitylivetv/flow
38e9a22fc0302893343ef7ebe69ceb44ffa3f763
[ "MIT" ]
2
2018-02-28T06:36:27.000Z
2018-02-28T06:36:30.000Z
src/parser_utils/scope_api.ml
martina6hall/flow
38e9a22fc0302893343ef7ebe69ceb44ffa3f763
[ "MIT" ]
null
null
null
src/parser_utils/scope_api.ml
martina6hall/flow
38e9a22fc0302893343ef7ebe69ceb44ffa3f763
[ "MIT" ]
1
2018-02-28T06:36:11.000Z
2018-02-28T06:36:11.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 LocSet = Utils_js.LocSet module LocMap = Utils_js.LocMap type scope = int type use = Loc.t type uses = LocSet.t module Def = st...
29.526946
88
0.668627
afefcb446b3888656bf9463e8905b768afcdf30c
2,264
ml
OCaml
plugins/docker/pull.ml
timbertson/ocurrent
cb4e55f491038b9bfd9cae4392b2ec74f259c65a
[ "Apache-2.0" ]
85
2019-11-14T11:47:10.000Z
2022-03-09T19:56:54.000Z
plugins/docker/pull.ml
timbertson/ocurrent
cb4e55f491038b9bfd9cae4392b2ec74f259c65a
[ "Apache-2.0" ]
80
2019-11-22T16:08:37.000Z
2022-03-24T10:29:53.000Z
plugins/docker/pull.ml
timbertson/ocurrent
cb4e55f491038b9bfd9cae4392b2ec74f259c65a
[ "Apache-2.0" ]
22
2019-11-21T13:25:46.000Z
2022-02-09T09:09:37.000Z
open Lwt.Infix type t = No_context let ( >>!= ) = Lwt_result.bind module Key = struct type t = { docker_context : string option; arch: string option; tag : string; } [@@deriving to_yojson] let cmd { docker_context; tag; _ } = Cmd.docker ~docker_context ["pull"; tag] let digest t = Yojson.Safe.t...
34.30303
105
0.624117
af6debe971a2bfee2b6b0664360a6e55bfac9777
3,909
mli
OCaml
src/lib_base/p2p_peer.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/lib_base/p2p_peer.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/lib_base/p2p_peer.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
43.433333
80
0.582758
afe9e9e1edb89286cb059d2efdfbec64705c92f8
33
mli
OCaml
src/lib/coda_debug/call_logger.mli
jjangg96/coda
f9607eb8536e4a897ca48e1e4fe5a085513cf1ff
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/lib/mina_debug/call_logger.mli
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/lib/mina_debug/call_logger.mli
obazl/mina
0612b142738c68155e9a9bba16cd3787bba4feed
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
val record_call : string -> unit
16.5
32
0.727273
afd50e172953fda68827efa11007f92695dbdccb
96,522
ml
OCaml
hphp/hack/src/utils/errors/errors.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/errors/errors.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/errors/errors.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Core ope...
37.807286
107
0.642517
afd4cc7a1ce1bef2d8afc597ddb20566df930554
3,756
ml
OCaml
ocamlcfg/ocamlcfg.ml
gretay-js/llvmize
4d78a3fe3979e58374bda028b9fb0dd7594f487b
[ "MIT" ]
null
null
null
ocamlcfg/ocamlcfg.ml
gretay-js/llvmize
4d78a3fe3979e58374bda028b9fb0dd7594f487b
[ "MIT" ]
null
null
null
ocamlcfg/ocamlcfg.ml
gretay-js/llvmize
4d78a3fe3979e58374bda028b9fb0dd7594f487b
[ "MIT" ]
null
null
null
[@@@ocaml.warning "+a-30-40-41-42"] module Label = Label module Cfg = struct include Cfg module Basic_block = struct type t = basic_block let start t = t.start let body t = t.body let terminator t = t.terminator end let successor_labels b = successor_labels ~normal:true ~exn:false b |> ...
29.809524
88
0.678115
f3f4101c76f2da8678832399b509e9c449d78440
593
mli
OCaml
js/message.mli
ujamjar/hardcaml-framework
39e6689ebd089b4d3640cdbb87f4c9fbb016eb3d
[ "0BSD" ]
1
2018-04-01T20:27:56.000Z
2018-04-01T20:27:56.000Z
js/message.mli
ujamjar/hardcaml-framework
39e6689ebd089b4d3640cdbb87f4c9fbb016eb3d
[ "0BSD" ]
null
null
null
js/message.mli
ujamjar/hardcaml-framework
39e6689ebd089b4d3640cdbb87f4c9fbb016eb3d
[ "0BSD" ]
null
null
null
open HardCamlFramework.Framework module Make(D : Design) : sig type main_message = | MVerilog of Param.p D.Hw_config.t | MVhdl of Param.p D.Hw_config.t | MSimulate of (Param.p D.Hw_config.t * Param.p D.Tb_config.t) type ww_message = | WVerilog of string | WVhdl of string | WSimulate of ...
24.708333
66
0.694772
afa954d4143bec1f080db7a5f3360ff1b68e47b1
8,071
ml
OCaml
src/typing/ty_normalizer_env.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
1
2021-09-20T07:39:05.000Z
2021-09-20T07:39:05.000Z
src/typing/ty_normalizer_env.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "MIT" ]
null
null
null
src/typing/ty_normalizer_env.ml
Egrodo/flow
3aaf52aeaab019a8f6e292100b18dec6bb3fda4b
[ "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. *) module File_sig = File_sig.With_ALoc type options = { (* If this flag is set to `true` then the normalizer will attempt to reuse...
41.389744
95
0.725932
f325cde3f9e4c3c0f6354a36754f309d0fb121fe
1,159
ml
OCaml
srcs/java/java.ml
Julow/ocaml-java
5387eb7d85b3e1bbab35b7cc2c5a927193e8d299
[ "MIT" ]
6
2018-02-11T13:56:53.000Z
2022-01-16T16:58:29.000Z
srcs/java/java.ml
Julow/ocaml-java
5387eb7d85b3e1bbab35b7cc2c5a927193e8d299
[ "MIT" ]
null
null
null
srcs/java/java.ml
Julow/ocaml-java
5387eb7d85b3e1bbab35b7cc2c5a927193e8d299
[ "MIT" ]
1
2020-11-01T18:48:48.000Z
2020-11-01T18:48:48.000Z
type 'a obj type 'a jarray type jclass type jthrowable exception Exception of jthrowable let null = Obj.magic 0 let () = (* Used by javacaml to handle uncaught exceptions *) Callback.register "Java.get_ocaml_backtraces" Printexc.(fun () -> match backtrace_slots (get_raw_backtrace ()) with | Some bt -> Ar...
27.595238
71
0.69025
f370b98acff112e4c985bd8f1d0a6d49063f54b5
599
mli
OCaml
multiStart.mli
igarnier/prbnmcn-clustering
9cb96db1a739beeac840568058855d81c0b2f317
[ "MIT" ]
13
2021-04-26T22:23:54.000Z
2022-01-12T22:12:23.000Z
multiStart.mli
igarnier/prbnmcn-clustering
9cb96db1a739beeac840568058855d81c0b2f317
[ "MIT" ]
null
null
null
multiStart.mli
igarnier/prbnmcn-clustering
9cb96db1a739beeac840568058855d81c0b2f317
[ "MIT" ]
null
null
null
(** [multi_start] performs [nstarts] independent calls to the given function [f], which must return some outcome together with its cost. [multi_start] then returns the result that has minimal cost. [multi_start_parallel] does the same by forking several processes (in the hope of getting some parallelism). N...
59.9
98
0.716194
afaa3478914a833ff5e8e5db576c54d925d56881
12,465
ml
OCaml
src/Dictionary.ml
raphael-proust/ocaml-hanzidata
8a787fb97ebd607bc317c631767c432ba945d54b
[ "0BSD" ]
2
2018-01-11T11:57:47.000Z
2018-01-11T14:31:51.000Z
src/Dictionary.ml
raphael-proust/ocaml-hanzidata
8a787fb97ebd607bc317c631767c432ba945d54b
[ "0BSD" ]
null
null
null
src/Dictionary.ml
raphael-proust/ocaml-hanzidata
8a787fb97ebd607bc317c631767c432ba945d54b
[ "0BSD" ]
null
null
null
(** Types and helper functions for the data in dictionary.txt *) type decomposition = | Component of Uchar.t | Unknown | LeftRight of decomposition * decomposition | AboveBelow of decomposition * decomposition | LeftMiddleRight of decomposition * decomposition * decomposition | AboveMiddleBelow of de...
33.24
101
0.556759
af2a0073b4d45a314456e1748480ccf2a7de147b
4,579
ml
OCaml
hphp/hack/src/typing/tast_check/instantiability_check.ml
fengjixuchui/hhvm
f66a8093d3a0cb2b0ffb74ed6b80da678da0ad75
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/instantiability_check.ml
fengjixuchui/hhvm
f66a8093d3a0cb2b0ffb74ed6b80da678da0ad75
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/instantiability_check.ml
fengjixuchui/hhvm
f66a8093d3a0cb2b0ffb74ed6b80da678da0ad75
[ "PHP-3.01", "Zend-2.0" ]
1
2020-11-09T08:56:11.000Z
2020-11-09T08:56:11.000Z
(* * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Aast module ShapeMap = Aast.ShapeMap module SN = Naming_special_names module Cls = Decl_provide...
27.584337
76
0.636383
afe27cf7a683c87e86b5aa0633c50bac9d642ed6
2,422
ml
OCaml
ext/ucamlib/test/testUGraph.ml
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
5
2017-08-07T12:53:16.000Z
2021-07-29T02:40:19.000Z
ext/mlvm/ext/ucamlib/test/testUGraph.ml
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
null
null
null
ext/mlvm/ext/ucamlib/test/testUGraph.ml
timed-c/kta
0d12216963095a7a13fea6d07076755dd010851b
[ "MIT" ]
2
2017-08-07T12:53:20.000Z
2018-06-15T15:28:45.000Z
open Ustring.Op open Utest open Ugraph let main() = init "Test the UGraph module."; (** ------------------- Topological Sort ------------------- *) (* Topological test 1 *) let graph = [| [1;2];[3];[3];[4];[] |] in test_list "Simple topological sort of digraph." (Ugraph.topological_sor...
28.162791
79
0.520644
f3aaf2ead9f8ace976b130a1592bd21c47f8767f
4,024
mli
OCaml
lib/cf.mli
dsheets/ocaml-cf
d5285b70a37d5620fba8327bf44204de511009f8
[ "0BSD" ]
17
2015-12-25T22:59:25.000Z
2020-11-02T08:25:54.000Z
lib/cf.mli
dsheets/ocaml-cf
d5285b70a37d5620fba8327bf44204de511009f8
[ "0BSD" ]
7
2015-11-20T17:32:32.000Z
2020-07-15T07:29:51.000Z
lib/cf.mli
dsheets/ocaml-cf
d5285b70a37d5620fba8327bf44204de511009f8
[ "0BSD" ]
10
2016-02-18T16:55:32.000Z
2020-02-24T21:29:33.000Z
(* * Copyright (c) 2015 David Sheets <sheets@alum.mit.edu> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AN...
19.533981
80
0.653082
aff97716d4af2172b3b45de5093e239656aaeba0
1,193
ml
OCaml
libraries/elasticloadbalancing/lib/createLBCookieStickinessPolicy.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/elasticloadbalancing/lib/createLBCookieStickinessPolicy.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/elasticloadbalancing/lib/createLBCookieStickinessPolicy.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = CreateLBCookieStickinessPolicyInput.t type output = unit type error = Errors_internal.t let service = "elasticloadbalancing" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (En...
32.243243
75
0.661358
afae1c004c1e49f980bb2eabc22199aabf565b13
52,265
ml
OCaml
src/cdomains/valueDomain.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
src/cdomains/valueDomain.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
src/cdomains/valueDomain.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
open Cil open Pretty open GobConfig open PrecisionUtil include PreValueDomain module Offs = Lval.Offset (IndexDomain) module M = Messages module GU = Goblintutil module Expp = ExpDomain module Q = Queries module BI = IntOps.BigIntOps module AddrSetDomain = SetDomain.ToppedSet(Addr)(struct let topname = "All" end) modu...
44.785775
243
0.561772
af50ba7c2359021d164b537562cbd8bf5fff2160
4,343
mli
OCaml
infer/src/IR/Io_infer.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
1
2017-09-14T09:03:44.000Z
2017-09-14T09:03:44.000Z
infer/src/IR/Io_infer.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
2
2020-11-13T19:42:27.000Z
2020-11-13T19:49:19.000Z
infer/src/IR/Io_infer.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2009 - 2013 Monoidics ltd. * Copyright (c) 2013 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS...
26.321212
99
0.690076
f3e2aea479141af5279a626b06ca6712a652cf63
8,034
ml
OCaml
hphp/hack/src/hhbc/hhbc_string_utils.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/hhbc_string_utils.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/hhbc_string_utils.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * 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 SN = Naming_special_names let quote_string s = "\"" ^ Php_escaping.escape s ^ "\"" let quot...
23.769231
79
0.576052
afc84ff53a0986b239e3df154484452537ed6d13
10,166
ml
OCaml
hphp/hack/src/full_fidelity/full_fidelity_parser_helpers.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/full_fidelity/full_fidelity_parser_helpers.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/full_fidelity/full_fidelity_parser_helpers.ml
sathvikl/hiphop-php
34fa1033968d6ef243dcdb46eca2289d6ad674d2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2016, 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. * *) module Token =...
37.238095
80
0.724769
af1cf6ff4449fa3933fffecb24db83f83443fe6b
140,567
ml
OCaml
hphp/hack/src/hhbc/emit_expression.ml
marscore/hhvm
b3d09b6b9a6beb521149f47e67d0691ac291e2b9
[ "PHP-3.01", "Zend-2.0" ]
1
2019-05-25T13:42:36.000Z
2019-05-25T13:42:36.000Z
hphp/hack/src/hhbc/emit_expression.ml
marscore/hhvm
b3d09b6b9a6beb521149f47e67d0691ac291e2b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hhbc/emit_expression.ml
marscore/hhvm
b3d09b6b9a6beb521149f47e67d0691ac291e2b9
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2017, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open Hhbc_ast open Instruction_sequence open Ast_class_expr open Emit_pos module H = Hhbc_ast modu...
34.478048
147
0.647086
f327238cc6920524db36c3793ab086cb18039ee3
21,048
ml
OCaml
data/derived/comb/progs/unify/prog1657.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/prog1657.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1657.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
33.948387
208
0.62538
afb2d2c35e27dfa9282a1fd76699d8d5e4e29725
25,351
ml
OCaml
hphp/hack/test/unit/ide/diagnostic_pusher_test.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/test/unit/ide/diagnostic_pusher_test.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/test/unit/ide/diagnostic_pusher_test.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open OUnit2 open Diagnostic_pusher.TestExporter open Diagnostic_pusher.TestExporter.ErrorTracker open Diagnos...
29.581097
98
0.700919
afd0fa1ab76ff01519e8623371714dd0f480d364
16,178
ml
OCaml
nvector_parallel.ml
jun0/sundialsml
cd261d74ff9cd9bf2db95ef1fe6abc5b2aed985d
[ "BSD-3-Clause" ]
null
null
null
nvector_parallel.ml
jun0/sundialsml
cd261d74ff9cd9bf2db95ef1fe6abc5b2aed985d
[ "BSD-3-Clause" ]
null
null
null
nvector_parallel.ml
jun0/sundialsml
cd261d74ff9cd9bf2db95ef1fe6abc5b2aed985d
[ "BSD-3-Clause" ]
null
null
null
type kind type data = Sundials.RealArray.t * int * Mpi.communicator type t = (data, kind) Nvector.t exception IncorrectGlobalSize external c_wrap : (Sundials.RealArray.t * int * Mpi.communicator) -> (Sundials.RealArray.t * int * Mpi.communicator -> bool) -> t = "ml_nvec_wrap_par...
30.35272
84
0.498949
f32931229949f2f710072d8e5aad942752b8f827
78
mli
OCaml
src/kernel/mppx.mli
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
1,031
2016-12-16T19:17:17.000Z
2022-03-24T06:30:52.000Z
src/kernel/mppx.mli
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
754
2016-12-16T14:01:33.000Z
2022-03-31T13:21:16.000Z
src/kernel/mppx.mli
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
177
2017-01-04T17:35:53.000Z
2022-02-18T02:54:14.000Z
val rewrite : Mconfig.t -> Mreader.parsetree -> Mconfig.t * Mreader.parsetree
39
77
0.74359
aff2518a78adee1076afd067bc4158e08e4e014a
19,131
ml
OCaml
infer/src/pulse/Pulse.ml
tamzi/infer
b8efe9c606d07738f0bfc59a840bce6f32f8a912
[ "MIT" ]
null
null
null
infer/src/pulse/Pulse.ml
tamzi/infer
b8efe9c606d07738f0bfc59a840bce6f32f8a912
[ "MIT" ]
null
null
null
infer/src/pulse/Pulse.ml
tamzi/infer
b8efe9c606d07738f0bfc59a840bce6f32f8a912
[ "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 L = Logging module IRAttributes = Attributes open PulseBasicInterface open PulseDomainInterface...
42.894619
100
0.638074
afabc469aae7b121d50c9735bd6e73c5922f348e
1,573
ml
OCaml
src/baseTypes.ml
lacoperon/Hiver
4a0d73f3fdaa90f2639e79abee806b25ec25298b
[ "MIT" ]
5
2017-07-20T13:14:14.000Z
2020-09-22T03:25:04.000Z
src/baseTypes.ml
lacoperon/Hiver
4a0d73f3fdaa90f2639e79abee806b25ec25298b
[ "MIT" ]
null
null
null
src/baseTypes.ml
lacoperon/Hiver
4a0d73f3fdaa90f2639e79abee806b25ec25298b
[ "MIT" ]
null
null
null
(* These types are 'placeholders' I made in OCaml, allowing me to delineate what 'is' and 'is not' a member of the type. Given that converting a JS Object into OCaml requires me to accept a loss of generality (IE no function overloading, no null checks, etc.), I can't convert these objects into 'true' OCam...
23.477612
83
0.684679
f3ba8097e9109ed0ae4f5d35a564e8f96e2bce4f
134,049
ml
OCaml
src/ocaml-output/FStar_Syntax_Embeddings.ml
kant2002/FStar
96534f492dd4a91a78ad5d01e9c39e49808c1c10
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Syntax_Embeddings.ml
kant2002/FStar
96534f492dd4a91a78ad5d01e9c39e49808c1c10
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_Syntax_Embeddings.ml
kant2002/FStar
96534f492dd4a91a78ad5d01e9c39e49808c1c10
[ "Apache-2.0" ]
null
null
null
open Prims type norm_step = | Simpl | Weak | HNF | Primops | Delta | Zeta | ZetaFull | Iota | Reify | UnfoldOnly of Prims.string Prims.list | UnfoldFully of Prims.string Prims.list | UnfoldAttr of Prims.string Prims.list | UnfoldQual of Prims.string Prims.list | NBE | Unmeta ...
51.16374
127
0.407918
af8d77aca68b44e5f8db1e5944531cd4809ab714
16,336
ml
OCaml
src/dune_rules/gen_rules.ml
yannl35133/dune
6005ed998fc5065e1fcb5f8885039d6f17f35a18
[ "MIT" ]
null
null
null
src/dune_rules/gen_rules.ml
yannl35133/dune
6005ed998fc5065e1fcb5f8885039d6f17f35a18
[ "MIT" ]
null
null
null
src/dune_rules/gen_rules.ml
yannl35133/dune
6005ed998fc5065e1fcb5f8885039d6f17f35a18
[ "MIT" ]
null
null
null
open! Dune_engine open! Stdune open Import module Menhir_rules = Menhir module Toplevel_rules = Toplevel.Stanza open Dune_file open! No_io open Memo.Build.O module For_stanza : sig type ('merlin, 'cctx, 'js, 'source_dirs) t = { merlin : 'merlin ; cctx : 'cctx ; js : 'js ; source_dirs : 'source_dirs ...
36.141593
80
0.600331
f3bd46c4582408619f2764fc0da4a76a9af08849
3,259
ml
OCaml
data/sp14_min/0640.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/0640.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/0640.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 = match n with | n when n <= 0 -> [] | _ -> x :: (clone x (n - 1));; let rec padZero l1 l2 = if (List.length l1) > (List.length l2) then (l1, ((clone 0 ((List.length l1) - (List.length l2))) @ l2)) else (((clone 0 ((List.length l2) - (List.length l1))) @ l1), l2);; let rec removeZero l = ...
24.320896
78
0.505063
f367ef9472423848c22e0235cde7604b125b8a37
2,082
mli
OCaml
forkexecd/lib/fe_argv.mli
edwintorok/message-switch
bd5c2e4db86998cba97b02ab2d4e1b91067e8817
[ "0BSD" ]
6
2015-05-09T18:10:05.000Z
2022-02-04T19:09:55.000Z
forkexecd/lib/fe_argv.mli
xcp-ng/message-switch
969eb1d156c6db0e2009696ada305ec4bc765a9d
[ "0BSD" ]
35
2015-04-08T10:32:16.000Z
2021-11-05T15:17:13.000Z
forkexecd/lib/fe_argv.mli
xcp-ng/message-switch
969eb1d156c6db0e2009696ada305ec4bc765a9d
[ "0BSD" ]
21
2015-06-17T13:55:18.000Z
2022-02-04T19:13:23.000Z
(* * Copyright (C) Citrix Systems Inc. * * 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; version 2.1 only. with the special * exception on linking described in file LICENSE. * * T...
31.545455
75
0.661864
af443a3900abeeb6e767b6daca4a52054f323ea8
5,463
mli
OCaml
src/ocaml/typing/410+multicore/outcometree.mli
mattpallissard/merlin
ef57741dd8ad4ba5f7eee133ef0184c9f8d6ba2c
[ "MIT" ]
null
null
null
src/ocaml/typing/410+multicore/outcometree.mli
mattpallissard/merlin
ef57741dd8ad4ba5f7eee133ef0184c9f8d6ba2c
[ "MIT" ]
null
null
null
src/ocaml/typing/410+multicore/outcometree.mli
mattpallissard/merlin
ef57741dd8ad4ba5f7eee133ef0184c9f8d6ba2c
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* Dani...
36.42
78
0.635182
8a0973db3ef575d310c9300beb23869fe4169c5d
1,354
ml
OCaml
src/lib/pickles/composition_types/index.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/lib/pickles/composition_types/index.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
src/lib/pickles/composition_types/index.ml
phreelyfe/mina
34328cd4e9b6ac699c3330003e40976a1059ed90
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Pickles_types type t = char [@@deriving sexp, bin_io, sexp, compare, yojson, hash, eq] let of_int = Char.of_int let to_int = Char.to_int let of_int_exn = Char.of_int_exn let of_bits bits = List.foldi bits ~init:0 ~f:(fun i acc b -> if b then acc lor (1 lsl i) else acc ) |> Char.of_i...
31.488372
77
0.674298
af7f25564bbd73ad9522c1b9a1f5256e46146c32
7,146
ml
OCaml
src/proto_alpha/bin_sc_rollup_node/configuration.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/bin_sc_rollup_node/configuration.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/bin_sc_rollup_node/configuration.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021 Nomadic Labs, <contact@nomadic-labs.com> *) ...
35.029412
79
0.595718
af90b2b5773e2ff6cdac147419ba4dc9e54e9bdd
8,772
ml
OCaml
src/lib_p2p/p2p_acl.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_acl.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_acl.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
40.423963
80
0.660739
afa9396d395db4180f332cb589515ec6eeaefe4f
27,074
ml
OCaml
vendor/sexplib/src/pre_sexp.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/sexplib/src/pre_sexp.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/sexplib/src/pre_sexp.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
(* Sexp: Module for handling S-expressions (I/O, etc.) *) open Format open Bigarray module Sexplib = Sexplib0 module Conv = Sexplib.Sexp_conv (* conv.ml depends on us so we can only use this module *) include Type type bigstring = (char, int8_unsigned_elt, c_layout) Array1.t include ( Sexplib.Sexp : module t...
28.77152
90
0.649959
8a0692ab9098db079e73ae45aac857acbddab400
351
mli
OCaml
infer/src/unit/clang/ClangTests.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
1
2017-09-14T09:03:44.000Z
2017-09-14T09:03:44.000Z
infer/src/unit/clang/ClangTests.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
2
2020-11-13T19:42:27.000Z
2020-11-13T19:49:19.000Z
infer/src/unit/clang/ClangTests.mli
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2017 - 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...
27
78
0.729345
aff60cc9393d5be0d0bc3e3a3b455f37a5b6ff14
5,419
mll
OCaml
main/cadavre_parse.mll
thomasblanc/nntp-cadavre
01160f8f8865610c0e01dd33813f74f30cbd1cdd
[ "BSD-2-Clause" ]
1
2015-06-16T13:07:42.000Z
2015-06-16T13:07:42.000Z
main/cadavre_parse.mll
thomasblanc/nntp-cadavre
01160f8f8865610c0e01dd33813f74f30cbd1cdd
[ "BSD-2-Clause" ]
null
null
null
main/cadavre_parse.mll
thomasblanc/nntp-cadavre
01160f8f8865610c0e01dd33813f74f30cbd1cdd
[ "BSD-2-Clause" ]
null
null
null
{ let from_mon m = ( match m with "Jan" -> 1 | "Feb" -> 2 | "Mar" -> 3 | "Apr" -> 4 | "May" -> 5 | "Jun" -> 6 | "Jul" -> 7 | "Aug" -> 8 | "Sep" -> 9 | "Oct" -> 10 | "Nov" -> 11 | "Dec" -> 12 | _ -> raise (Failure "Month") ) - 1;; let from_weekd = function "Sun" -> 0 | "Mon" -> 1 | "Tue" -> 2 | "Wed" -> 3 | "Thu" -> ...
30.789773
164
0.593283
af58b16b64f1cc230704d9f0b0a00c421002abad
2,457
ml
OCaml
preprocessors/recover/recover_attrib.ml
alfa07/merlin
95d1fad48bcdcd3032feb4ff5d2fa3a4834aca46
[ "MIT" ]
null
null
null
preprocessors/recover/recover_attrib.ml
alfa07/merlin
95d1fad48bcdcd3032feb4ff5d2fa3a4834aca46
[ "MIT" ]
null
null
null
preprocessors/recover/recover_attrib.ml
alfa07/merlin
95d1fad48bcdcd3032feb4ff5d2fa3a4834aca46
[ "MIT" ]
1
2017-11-06T17:46:59.000Z
2017-11-06T17:46:59.000Z
open Utils module type S = sig module G : G val cost_of_prod : G.production -> float val penalty_of_item : G.production * int -> float val cost_of_symbol : G.symbol -> float val default_prelude : Format.formatter -> unit val default_terminal : G.terminal -> string option val default_nontermi...
29.25
77
0.637363
f377bfcf136173ca1465e412cf3c9f899057ab97
557
ml
OCaml
dpl/dpl_01_d_another.ml
r6eve/oaoj
b3225208d6a6260e2d6219ca12fa3f44583ec2c2
[ "BSL-1.0" ]
null
null
null
dpl/dpl_01_d_another.ml
r6eve/oaoj
b3225208d6a6260e2d6219ca12fa3f44583ec2c2
[ "BSL-1.0" ]
null
null
null
dpl/dpl_01_d_another.ml
r6eve/oaoj
b3225208d6a6260e2d6219ca12fa3f44583ec2c2
[ "BSL-1.0" ]
null
null
null
let lower_bound (a : int array) first last v = let rec doit len first = if len = 0 then first else let half = len / 2 in let mid = first + half in if a.(mid) < v then doit (len - half - 1) (mid + 1) else doit half first in doit (last - first + 1) first let () = let n = read_int ()...
25.318182
57
0.536804