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
8a8b258b065852028e44aad28577dbcb231c6ef3
2,158
mli
OCaml
src/proto_alpha/lib_protocol/test/helpers/nonce.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_alpha/lib_protocol/test/helpers/nonce.mli
g302ge/tezos
18cb82485b100aebef3b8e8fad6bdf6d426bb0a1
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_alpha/lib_protocol/test/helpers/nonce.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> *) ...
63.470588
79
0.496293
8a80fff038d0080ce5eddb0ca192aee1cf0ad7f2
9,975
ml
OCaml
hphp/hack/src/typing/tast_check/reified_check.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/reified_check.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/tast_check/reified_check.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open Aast open Typing_defs open Type_validator module Env = Tast_env module SN = Naming_special_nam...
35.498221
117
0.609724
afb7939d5392c1f02b914ce30f7da09b6c016d53
5,208
mli
OCaml
src/common/errors/errors.mli
KidkArolis/flow
f25a8978041e05097de46a3b82037e3b2b639887
[ "MIT" ]
null
null
null
src/common/errors/errors.mli
KidkArolis/flow
f25a8978041e05097de46a3b82037e3b2b639887
[ "MIT" ]
null
null
null
src/common/errors/errors.mli
KidkArolis/flow
f25a8978041e05097de46a3b82037e3b2b639887
[ "MIT" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) type error_kind = | ParseError | InferError | InferWarning | InternalError | DuplicateProviderError | RecursionLimitError ...
26.571429
92
0.690092
8a3d4744f88aa9ef8cf219900050422255805381
2,640
ml
OCaml
lib/iOVec.ml
anmonteiro/ocaml-quic
7f1a06fbe5380954bf49adc53a8fa7458bdc0024
[ "BSD-3-Clause" ]
21
2021-01-14T19:16:28.000Z
2021-08-18T17:50:31.000Z
lib/iOVec.ml
anmonteiro/ocaml-quic
7f1a06fbe5380954bf49adc53a8fa7458bdc0024
[ "BSD-3-Clause" ]
null
null
null
lib/iOVec.ml
anmonteiro/ocaml-quic
7f1a06fbe5380954bf49adc53a8fa7458bdc0024
[ "BSD-3-Clause" ]
1
2021-04-08T09:23:06.000Z
2021-04-08T09:23:06.000Z
(*---------------------------------------------------------------------------- * Copyright (c) 2017 Inhabited Type LLC. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistri...
37.183099
80
0.639773
8a6ff43f2783d3584c0250ece4458f3e2b1209ff
10,614
ml
OCaml
src/codegen/genxml.ml
Aurel300/haxe
fbeac98f865bab5a21158117e1aad3b0bba77570
[ "MIT" ]
null
null
null
src/codegen/genxml.ml
Aurel300/haxe
fbeac98f865bab5a21158117e1aad3b0bba77570
[ "MIT" ]
null
null
null
src/codegen/genxml.ml
Aurel300/haxe
fbeac98f865bab5a21158117e1aad3b0bba77570
[ "MIT" ]
null
null
null
(* The Haxe Compiler Copyright (C) 2005-2019 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...
35.145695
146
0.640475
8acb642dddc106cedbc77d62e0704fe1e2bc3c62
1,066
mli
OCaml
libraries/cloudformation/lib/describeStacks.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/cloudformation/lib/describeStacks.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudformation/lib/describeStacks.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.</p> <note> <p>If the stack does not exist, an <code>AmazonCloudFormationException</code> is returned.</p> </note>" *) open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[...
46.347826
266
0.687617
afdb62803f9361b988e57d03258e3b69f9a90bc5
20,418
mli
OCaml
src/owl/sparse/owl_sparse_matrix_generic.mli
gbaydin/owl
2cd67547543cd7fdd54bbbfbf5a094e0c92ef399
[ "MIT" ]
null
null
null
src/owl/sparse/owl_sparse_matrix_generic.mli
gbaydin/owl
2cd67547543cd7fdd54bbbfbf5a094e0c92ef399
[ "MIT" ]
null
null
null
src/owl/sparse/owl_sparse_matrix_generic.mli
gbaydin/owl
2cd67547543cd7fdd54bbbfbf5a094e0c92ef399
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2020 Liang Wang <liang.wang@cl.cam.ac.uk> *) (** Sparse matrix module *) (** {6 Type definition} *) type ('a, 'b) t (** Abstract type of sparse matrices *) type ('a, 'b) kind = ('a, 'b) Bigarray.kind (** Type of sparse matrices. It is de...
28.676966
89
0.568959
aff2aae6e40a967b346873c572b562511c9cf8a5
18,693
ml
OCaml
src/odoc/bin/main.ml
jchavarri/odoc
e4541a3bcc6d559cd4ad0a14174a2a8a05d087cf
[ "ISC" ]
null
null
null
src/odoc/bin/main.ml
jchavarri/odoc
e4541a3bcc6d559cd4ad0a14174a2a8a05d087cf
[ "ISC" ]
null
null
null
src/odoc/bin/main.ml
jchavarri/odoc
e4541a3bcc6d559cd4ad0a14174a2a8a05d087cf
[ "ISC" ]
null
null
null
(* CR-someday trefis: the "deps" and "targets" subcommands currently output their result on stdout. It would make the interaction with jenga nicer if we could specify a file to output the result to. *) open Odoc_odoc open Cmdliner let convert_syntax : Odoc_document.Renderer.syntax Arg.converter = let synta...
32.852373
100
0.640721
af1be2c1f6ff59e2b22c34e3668db065d03e4f00
1,959
ml
OCaml
source/hack_parallel/scripts/gen_build_id.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "MIT" ]
1
2022-02-10T10:51:32.000Z
2022-02-10T10:51:32.000Z
source/hack_parallel/scripts/gen_build_id.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "MIT" ]
null
null
null
source/hack_parallel/scripts/gen_build_id.ml
duruyi/pyre-check
24c40031e37b80de4d40d4bc1eb0ebdd01655388
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) #use "script_utils.ml" (** * Computes some build identifiers based on the current commit. These IDs are * used to ensure that ...
34.368421
114
0.635018
8a2107803cbcef2fb462a29e47a4104e77d00984
223
mli
OCaml
libraries/ec2/lib/describeSubnets.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeSubnets.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeSubnets.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DescribeSubnetsRequest.t type output = DescribeSubnetsResult.t type error = Errors_internal.t include (Aws.Call with type input := input and type output := output and type error := error)
31.857143
75
0.744395
8ad37f7bd24c62599122b28333a58d9e09b32d89
519
mli
OCaml
Markup/ALGraphics.mli
5HT/ant
6acf51f4c4ebcc06c52c595776e0293cfa2f1da4
[ "0BSD" ]
10
2021-09-24T12:15:42.000Z
2021-11-02T13:50:22.000Z
Markup/ALGraphics.mli
5HT/ant
6acf51f4c4ebcc06c52c595776e0293cfa2f1da4
[ "0BSD" ]
null
null
null
Markup/ALGraphics.mli
5HT/ant
6acf51f4c4ebcc06c52c595776e0293cfa2f1da4
[ "0BSD" ]
1
2021-10-24T02:48:48.000Z
2021-10-24T02:48:48.000Z
open Runtime; open VM; open Types; open Typesetting; open Engine; open Environment; open Evaluate; value encode_gfx_cmd : Graphic.graphic_command dim_arg Box.box -> partial_value; value decode_gfx_cmd : string -> unknown -> Graphic.graphic_command dim_arg Box.box; value encode_line_cap : Graphic.line_cap -> partial...
28.833333
84
0.786127
afef2cc515ef7cca686642bc4051c2664ab849ef
2,139
ml
OCaml
parser/FeatureData.ml
ilebedev/enc_parser
1058fe7871154ccdf746bd5e1d496349ba72d10c
[ "MIT" ]
6
2017-12-27T07:05:26.000Z
2022-02-16T07:42:23.000Z
parser/FeatureData.ml
ilebedev/enc_parser
1058fe7871154ccdf746bd5e1d496349ba72d10c
[ "MIT" ]
null
null
null
parser/FeatureData.ml
ilebedev/enc_parser
1058fe7871154ccdf746bd5e1d496349ba72d10c
[ "MIT" ]
3
2016-09-05T15:07:29.000Z
2021-08-30T05:51:14.000Z
open Common type attr_color = White | Black | Red | Green | Yellow | Grey | Brown | Amber | Violet | Orange | Magenta | Pink type attr_color_pattern = CPHorizStripes | CPVertStripes | CPDiagStripes | CPSquared | CPStripesUnknown | CPBorderStripe type attr_condition = AttrCDUnderConstruction | AttrCDRuined...
30.126761
84
0.708275
8ac3538fc529820c7f85dc729d4315d63f61dc65
2,842
ml
OCaml
coq/kernel/nativelibrary.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/kernel/nativelibrary.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/kernel/nativelibrary.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* <O___,, * (see CREDITS file for the list of authors) *) (* \VV/ *********...
37.893333
89
0.606967
afd9bab0b5a875f97d52ce64c690e840dd9d6286
4,119
ml
OCaml
test/test.ml
dinosaure/yuscii
327482e130320743b7526e8ccb69a99bd71a46d4
[ "MIT" ]
3
2018-07-24T12:36:38.000Z
2018-07-24T13:40:29.000Z
test/test.ml
dinosaure/yuscii
327482e130320743b7526e8ccb69a99bd71a46d4
[ "MIT" ]
null
null
null
test/test.ml
dinosaure/yuscii
327482e130320743b7526e8ccb69a99bd71a46d4
[ "MIT" ]
2
2019-10-11T12:47:37.000Z
2020-08-16T21:46:43.000Z
external random_seed : unit -> int array = "caml_sys_random_seed" let seed = random_seed () let () = Fmt.pr "seed: %a.\n%!" Fmt.(Dump.array int) seed let () = Printexc.record_backtrace true let () = Random.full_init seed let pp_chr = Fmt.using (function '\032' .. '\126' as x -> x | _ -> '.') Fmt.char let pp_scala...
28.020408
78
0.553532
8a7f6f6448d1193417ec3b648eeb166385465399
471
mli
OCaml
vendor/dune/src/stdune/result/result.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/stdune/result/result.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/stdune/result/result.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
include sig [@@@warning "-33"] (* This open is unused with OCaml >= 4.03 since the stdlib defines a result type *) open Result_compat open Pervasives [@@warning "-3"] (** The result type. It is equal to the result type defined by the standard library for OCaml >= 4.03. *) type ('a, 'erro...
23.55
70
0.585987
afeeb3c6eda947589fa43c0fda6931a70512f4dd
2,701
ml
OCaml
src/irmin-containers/blob_log.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "0BSD" ]
1,491
2015-01-04T05:34:56.000Z
2022-03-31T09:53:17.000Z
src/irmin-containers/blob_log.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "0BSD" ]
1,132
2015-01-05T17:06:31.000Z
2022-03-30T19:56:47.000Z
src/irmin-containers/blob_log.ml
shubhamkumar13/irmin
b9849102b73a8036eb85e7bb7136bb35dbabf518
[ "0BSD" ]
144
2015-01-30T14:00:16.000Z
2022-03-29T16:30:47.000Z
(* * Copyright (c) 2020 KC Sivaramakrishnan <kc@kcsrk.info> * Copyright (c) 2020 Anirudh Sunder Raj <anirudh6626@gmail.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission noti...
32.939024
79
0.65124
d2e3e2567bf753e6c70d60861ff6a0c8848caf99
7,013
ml
OCaml
server/language_server/protocol.ml
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "MIT" ]
null
null
null
server/language_server/protocol.ml
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "MIT" ]
1
2021-05-11T20:40:20.000Z
2021-05-11T20:40:20.000Z
server/language_server/protocol.ml
yuhonghong66/pyre-check
00690c8de631daaf43e07d3f289aa9ff2dfa35bf
[ "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 Pyre open Analysis open Types module Range = struct include Types.Range let create ~start:{ Ast.Location.line =...
25.878229
90
0.598603
8a1074f6699f967c0c8680d1768b9003b770f7b0
333
ml
OCaml
src/sim/simTime.ml
Gordonbuck/vr-sim-diss
a03bed19c2ed6f8d015e1ea0b172e951cf502c5d
[ "MIT" ]
null
null
null
src/sim/simTime.ml
Gordonbuck/vr-sim-diss
a03bed19c2ed6f8d015e1ea0b172e951cf502c5d
[ "MIT" ]
null
null
null
src/sim/simTime.ml
Gordonbuck/vr-sim-diss
a03bed19c2ed6f8d015e1ea0b172e951cf502c5d
[ "MIT" ]
null
null
null
type t = float type span = float let compare t1 t2 = let d = t1 -. t2 in if (d > 0.) then 1 else if (d < 0.) then -1 else 0 let diff t1 t2 = abs_float (t1 -. t2) let inc t s = t +. s let span_of_float i = if i < 0. then assert(false) else i let t_of_float i = if i < 0. then assert(false) else i let floa...
17.526316
57
0.606607
8abc162cf54276cb72e2f801a894b922ec4a3422
10,659
ml
OCaml
src/proto_alpha/lib_protocol/fitness_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/fitness_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/fitness_repr.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.755172
79
0.647528
8a991be38760921123b9571b0062175cb517bebf
3,259
ml
OCaml
src/graphql_compiler/ppx_config.ml
baransu/graphql_ppx_re
eb8648d1552fbc11989b9197ef41a7a958b2545f
[ "MIT" ]
60
2019-08-11T07:11:16.000Z
2020-01-15T13:24:06.000Z
src/graphql_compiler/ppx_config.ml
reasonml-community/graphql_ppx
eb8648d1552fbc11989b9197ef41a7a958b2545f
[ "MIT" ]
90
2020-01-23T18:15:26.000Z
2020-06-18T01:05:42.000Z
src/graphql_compiler/ppx_config.ml
teamwalnut/graphql-ppx
4a1fbfebf99a3b291bf647a49e069eba1f471f52
[ "MIT" ]
13
2019-10-07T04:47:32.000Z
2020-01-04T20:00:33.000Z
type output_mode = String | Apollo_AST type fragment_in_query = Include | Exclude type config = { verbose_logging : bool; output_mode : output_mode; verbose_error_handling : bool; apollo_mode : bool; root_directory : string; schema_file : string; raise_error_with_loc : 'a. Source_pos.ast_location -> stri...
37.895349
78
0.791654
f31fb5feffa9e141d03611e828c6d91f77609f63
2,974
ml
OCaml
hphp/hack/src/server/serverArgs_sig.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-17T02:24:38.000Z
2020-01-17T02:24:38.000Z
hphp/hack/src/server/serverArgs_sig.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverArgs_sig.ml
jmurret/hhvm
f005fa3ca2793291cf59e217db3e9ce074d22f71
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) module Abstract_types = struct type options end module type S = sig include module type of Abstract_types include modu...
26.792793
80
0.562878
8adf2da58948a4b97354e432d9de8f5a15cfdaaf
12,009
ml
OCaml
src/catala/desugared/desugared_to_scope.ml
AltGr/catala
d71d50ea4431059bec4ae741ccfae37597abacf1
[ "Apache-2.0" ]
null
null
null
src/catala/desugared/desugared_to_scope.ml
AltGr/catala
d71d50ea4431059bec4ae741ccfae37597abacf1
[ "Apache-2.0" ]
null
null
null
src/catala/desugared/desugared_to_scope.ml
AltGr/catala
d71d50ea4431059bec4ae741ccfae37597abacf1
[ "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, contributor: Denis Merigoux <denis.merigoux@inria.fr> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance...
44.643123
100
0.628945
af5d5e48d4be1f5e7d9925539e76bddaa5e03c63
5,919
ml
OCaml
src/server/rechecker/recheck_updates.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2020-11-02T02:15:55.000Z
2020-11-02T02:15:55.000Z
src/server/rechecker/recheck_updates.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
17
2020-10-12T16:16:07.000Z
2021-08-07T04:38:39.000Z
src/server/rechecker/recheck_updates.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2021-01-06T10:57:53.000Z
2021-01-06T10:57:53.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 FilenameSet = Utils_js.FilenameSet let spf = Printf.sprintf type error = { msg: string; exit_status: FlowExitStatus.t;...
40.541096
99
0.626119
8a4a8dd57d3a90f0ee443d3e7666d7506eac0036
1,186
ml
OCaml
src/app/cli/src/coda_shared_prefix_multiproposer_test.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
src/app/cli/src/coda_shared_prefix_multiproposer_test.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
src/app/cli/src/coda_shared_prefix_multiproposer_test.ml
rahulmutt/coda
7a7dbb04c4dafea860ac03e5f88e58637e8040d3
[ "Apache-2.0" ]
null
null
null
open Core open Async open Coda_worker open Coda_main open Signature_lib let name = "coda-shared-prefix-multiproposer-test" let main n enable_payments () = let logger = Logger.create () in let keypairs = List.map Genesis_ledger.accounts ~f:Genesis_ledger.keypair_of_account_record_exn in let snark_wor...
29.65
76
0.736931
8a9f45c7e912afeb4ca4984c62385c744b464474
20,102
ml
OCaml
tezt/long_tests/qcheck_rpc.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
null
null
null
tezt/long_tests/qcheck_rpc.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
tezt/long_tests/qcheck_rpc.ml
tarides/tezos
aee55d4ea6af39ccd562f9c414429808c35b92ab
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2021 Nomadic Labs <contact@nomadic-labs.com> *) ...
38.289524
85
0.610586
f3cbbf34f94bdd5c7c685ac29c19fffc7ecabc1f
4,563
ml
OCaml
hphp/hack/src/server/serverIdeUtils.ml
geraldvillorente/hhvm
cf047fe5c43aa7133ce5703d883251a3da486821
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverIdeUtils.ml
geraldvillorente/hhvm
cf047fe5c43aa7133ce5703d883251a3da486821
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverIdeUtils.ml
geraldvillorente/hhvm
cf047fe5c43aa7133ce5703d883251a3da486821
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Utils (*...
33.8
80
0.627
f349189ad80bf9f57a9e398c0e9a59e04873d548
1,206
ml
OCaml
test/list_allocation.ml
EduardoRFS/bin_prot
f4ebbb8e97c51e323d3655748bfa5afe84b94e4a
[ "BSD-3-Clause", "MIT" ]
57
2015-03-17T05:03:04.000Z
2022-03-16T06:19:41.000Z
test/list_allocation.ml
EduardoRFS/bin_prot
f4ebbb8e97c51e323d3655748bfa5afe84b94e4a
[ "BSD-3-Clause", "MIT" ]
16
2015-01-17T16:12:27.000Z
2020-06-09T17:35:35.000Z
test/list_allocation.ml
EduardoRFS/bin_prot
f4ebbb8e97c51e323d3655748bfa5afe84b94e4a
[ "BSD-3-Clause", "MIT" ]
15
2015-01-17T14:06:04.000Z
2022-03-16T02:12:43.000Z
open! Core open! Import let require_no_allocation here f = let ( result , ({ major_words_allocated; minor_words_allocated } : Gc.For_testing.Allocation_report.t) ) = Gc.For_testing.measure_allocation f in if major_words_allocated > 0 || minor_words_allocated > 0 then raise_s ...
26.8
76
0.631012
afdef74413a177c1d20a483d77b7665f8a328865
83,594
ml
OCaml
src/map_intf.ml
Octachron/base
f615735519cdb4cf2011133dba2884971a72ffb4
[ "MIT" ]
null
null
null
src/map_intf.ml
Octachron/base
f615735519cdb4cf2011133dba2884971a72ffb4
[ "MIT" ]
1
2017-11-08T23:21:19.000Z
2017-11-08T23:21:19.000Z
src/map_intf.ml
bcc32/bs-base
5b7d907544d296964edcdc75ec88258137934a8c
[ "MIT" ]
2
2021-06-16T23:18:39.000Z
2022-03-01T19:47:33.000Z
open! Import open! T module Or_duplicate = struct type 'a t = [ `Ok of 'a | `Duplicate ] [@@deriving_inline sexp_of] let sexp_of_t : 'a. ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t = fun _of_a -> function | `Ok v0 -> Ppx_sexp_conv_lib.Sexp.List [ Ppx_sexp_c...
32.300618
102
0.522382
8a9a7fba084cc9635d292471cf0fe37326a43ccb
17,379
ml
OCaml
src/s5.ml
labichn/LambdaS5
42905076f10de2a692f8d8de574d4387f88492e5
[ "BSD-3-Clause" ]
null
null
null
src/s5.ml
labichn/LambdaS5
42905076f10de2a692f8d8de574d4387f88492e5
[ "BSD-3-Clause" ]
null
null
null
src/s5.ml
labichn/LambdaS5
42905076f10de2a692f8d8de574d4387f88492e5
[ "BSD-3-Clause" ]
null
null
null
open List open Prelude open Ljs open Ljs_eval open Ljs_syntax open Ljs_pretty_html open Reachability open Answer type node = | Js of Js_syntax.program | Ejs of IdSet.t * Exprjs_syntax.expr | Ljs of Ljs_syntax.exp | Cps of Ljs_cps.cps_exp | Env of (Ljs_syntax.exp -> Ljs_syntax.exp) | Inl of Aam_inline.expma...
33.811284
119
0.645089
d2ef9d24454dcb7cf38f4b26a9a5109ff50838a7
10,556
ml
OCaml
examples/reinforcement-learning/dqn_atari.ml
rchavezj/ocaml-torch
321b172696897ff717e5d07b87c332b8c5535908
[ "Apache-2.0" ]
1
2019-07-04T16:21:29.000Z
2019-07-04T16:21:29.000Z
examples/reinforcement-learning/dqn_atari.ml
rchavezj/ocaml-torch
321b172696897ff717e5d07b87c332b8c5535908
[ "Apache-2.0" ]
null
null
null
examples/reinforcement-learning/dqn_atari.ml
rchavezj/ocaml-torch
321b172696897ff717e5d07b87c332b8c5535908
[ "Apache-2.0" ]
null
null
null
open Base open Torch let num_stack = 4 let action_repeat = 4 let total_episodes = 1_000_000 let update_target_every = 1_000 let memory_capacity = 100_000 let render = false let env_name = "PongNoFrameskip-v4" let double_dqn = true type state = Tensor.t module Transition = struct (* This way of storing transition i...
32.681115
91
0.640773
af53d84f1747a4885350fe82ebaaf01a6243a0a6
785
ml
OCaml
code/files-modules-and-programs-freq-cyclic2/counter.ml
msgoff/examples
5771b89374a9399c911a051cb385f295dac32b61
[ "Unlicense" ]
null
null
null
code/files-modules-and-programs-freq-cyclic2/counter.ml
msgoff/examples
5771b89374a9399c911a051cb385f295dac32b61
[ "Unlicense" ]
null
null
null
code/files-modules-and-programs-freq-cyclic2/counter.ml
msgoff/examples
5771b89374a9399c911a051cb385f295dac32b61
[ "Unlicense" ]
null
null
null
open Core type t = int String.Map.t let empty = String.Map.empty let to_list t = Map.to_alist t let touch t s = let count = match Map.find t s with | None -> 0 | Some x -> x in Map.add t ~key:s ~data:(count + 1) (* part 1 *) let _build_counts = Freq.build_counts (* part 2 *) type median = | Medi...
23.088235
69
0.619108
af893424369c18b67f0de8b57762df2c1677e67f
7,070
ml
OCaml
fold_consts/memdep.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
fold_consts/memdep.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
fold_consts/memdep.ml
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
null
null
null
open Core_kernel.Std open Regular.Std open Graphlib.Std open Bap.Std open Utils (** This data type is used to represent update of smallest possible chunk of memory (a byte). {addr;value} updates a byte at given [addr] with a given value. Invariant: typeof(value) = reg8_t *) type update = { base : exp; ...
30.606061
73
0.617256
8abf80dc69b9c74080ba328b7fd6ab4dbb32e650
9,804
ml
OCaml
herd/machAction.ml
rst0git/herdtools7
b3c4d9873d3f0724dd7430b8db6fe9150dacf256
[ "CECILL-B" ]
null
null
null
herd/machAction.ml
rst0git/herdtools7
b3c4d9873d3f0724dd7430b8db6fe9150dacf256
[ "CECILL-B" ]
null
null
null
herd/machAction.ml
rst0git/herdtools7
b3c4d9873d3f0724dd7430b8db6fe9150dacf256
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
30.352941
78
0.577723
8a221a93e9b28a9dbcd79e69dfaaca60368325c3
19,030
ml
OCaml
coq/ide/idetop.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq/ide/idetop.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq/ide/idetop.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* <O___,, * (see CREDITS file for the list of authors) *) (* \VV/ *********...
34.789762
109
0.66805
af7a9f554df1b89ceea76a6ec9fe4dfbec92b295
851
ml
OCaml
data/sp14/1567.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/1567.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/1567.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let buildSine e = Sine e;; let buildX () = VarX;; let buildY () = VarY;; let rec eval (e,x,y) = match e with | VarX -> buildX | VarY -> buildY | Sine e1 -> ...
14.423729
78
0.572268
8acf59b72fea985886f81fb56c1ec3f302b4ea7a
313
ml
OCaml
tests/benchmarks_call/DOrder/first/xy4.ml
LinerSu/DART_IT
2bdd046f912d761278ee7387f487a2809053220e
[ "BSD-3-Clause" ]
7
2020-06-12T09:32:16.000Z
2020-10-05T09:04:07.000Z
tests/benchmarks_call/DOrder/first/xy4.ml
nyu-acsys/drift2
2bdd046f912d761278ee7387f487a2809053220e
[ "BSD-3-Clause" ]
null
null
null
tests/benchmarks_call/DOrder/first/xy4.ml
nyu-acsys/drift2
2bdd046f912d761278ee7387f487a2809053220e
[ "BSD-3-Clause" ]
2
2021-04-05T12:25:11.000Z
2021-05-14T09:31:24.000Z
let rec loopa ax ay = if ay < 4 then loopa (ax + 4) (ay + 1) else ax let rec loopb bx by = if bx > 0 then loopb (bx - 4) (by - 1) else by > (-1) let main (mm:unit) = let x = 0 in let y = 0 in let rx = loopa x y in assert (loopb rx 4 = true) let _ = main ()
15.65
31
0.479233
8aca32bdeaebca7f11a1cb0794bd73c341d6b1af
705
ml
OCaml
source/pkgsrc/databases/geneweb/patches/patch-src_mutil.ml
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/databases/geneweb/patches/patch-src_mutil.ml
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/databases/geneweb/patches/patch-src_mutil.ml
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
$NetBSD: patch-src_mutil.ml,v 1.1 2012/12/16 22:39:47 dholland Exp $ Insert missing semicolons demanded by ocaml4. --- src/mutil.ml~ 2007-08-04 07:22:30.000000000 +0000 +++ src/mutil.ml @@ -95,7 +95,7 @@ value decline case s = | '>' -> String.sub s ibeg (i + 1 - ibeg) ^ loop (i + 1) (i + 1) | _ -> loop ...
28.2
71
0.62695
8a56ec118b4e607a7c10531695fc4dac12e09dfa
569
ml
OCaml
examples/oml_full/mean_test.ml
hammerlab/oml
a857d67708827ed00df3f175a942044601ca50cf
[ "Apache-2.0" ]
97
2015-08-11T20:58:25.000Z
2017-12-27T22:34:49.000Z
examples/oml_full/mean_test.ml
hammerlab/oml
a857d67708827ed00df3f175a942044601ca50cf
[ "Apache-2.0" ]
72
2015-08-06T23:27:57.000Z
2018-02-01T20:13:51.000Z
examples/oml_full/mean_test.ml
hammerlab/oml
a857d67708827ed00df3f175a942044601ca50cf
[ "Apache-2.0" ]
8
2015-12-30T12:11:32.000Z
2016-11-13T03:25:48.000Z
open Oml_full open Statistics let mean = 2. let std = 1. let gen = Sampling.normal ~mean ~std () ;; let samples = 100 let data = Array.init samples (fun _ -> gen ()) ;; let test_value = 1.9 let tr = Hypothesis_test.mean_t_test test_value Hypothesis_test.Two_sided data ;; let () = if !Sys.interactive then () else ...
29.947368
81
0.676626
afb73d4646eaa534995c33099c880f82360a7760
10,391
ml
OCaml
src/proto_alpha/lib_protocol/test/integration/consensus/test_seed.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/integration/consensus/test_seed.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/integration/consensus/test_seed.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
43.295833
84
0.648157
d2dcaf1bae09ea75bef48bebbaa7c96258abd464
216
ml
OCaml
benchmarks/filter/filter/submissions/sub10.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/filter/filter/submissions/sub10.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/filter/filter/submissions/sub10.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
(*********************) (* Problem 1: filter *) (*********************) let rec filter pred lst = match lst with |[q] -> if pred q then [q] else [] |h::t -> if pred h then h::(filter pred t) else filter pred t
27
63
0.472222
af823fc096367df487c37c6e1e96c13c5704815c
5,572
ml
OCaml
src/standard/misc.ml
hra687261/dolmen
decc525cca878fd19c7c33f7370aa61840ee54af
[ "BSD-2-Clause" ]
null
null
null
src/standard/misc.ml
hra687261/dolmen
decc525cca878fd19c7c33f7370aa61840ee54af
[ "BSD-2-Clause" ]
null
null
null
src/standard/misc.ml
hra687261/dolmen
decc525cca878fd19c7c33f7370aa61840ee54af
[ "BSD-2-Clause" ]
null
null
null
(* This file is free software, part of dolmen. See file "LICENSE" for more information. *) (* Extensions *) (* ************************************************************************* *) let get_extension s = let rec aux s i = if i <= 0 then "" else match s.[i] with | '.' -> String.sub s i (St...
26.407583
90
0.522434
8a0e57b3f78fd8c54dd8bb144557746aedb496e6
12,034
ml
OCaml
src/variates.ml
theq629/gamestuff
846349a127bed90b72c32f54029c5ac96faeeeb1
[ "BSD-3-Clause" ]
1
2019-08-30T15:50:36.000Z
2019-08-30T15:50:36.000Z
src/variates.ml
theq629/gamestuff
846349a127bed90b72c32f54029c5ac96faeeeb1
[ "BSD-3-Clause" ]
null
null
null
src/variates.ml
theq629/gamestuff
846349a127bed90b72c32f54029c5ac96faeeeb1
[ "BSD-3-Clause" ]
1
2019-08-30T15:50:38.000Z
2019-08-30T15:50:38.000Z
(* Random variates with various distributions. The random variate generation is mostly based on chapter 29 of "The art of computer systems performance analysis" by Raj Jain, with some reference to "Non-uniform random variate generation" (web edition) by Luc Devroye. TODO: This is mostly untested. *) module type SOUR...
26.390351
219
0.527588
afd43218dda272699f5dd8026128294e6b476a64
1,483
ml
OCaml
src/winner.ml
FungusHumungus/noughtsandcrosses
aaef255b889c2cf87dca63c738111bec96e89cb1
[ "MIT" ]
null
null
null
src/winner.ml
FungusHumungus/noughtsandcrosses
aaef255b889c2cf87dca63c738111bec96e89cb1
[ "MIT" ]
null
null
null
src/winner.ml
FungusHumungus/noughtsandcrosses
aaef255b889c2cf87dca63c738111bec96e89cb1
[ "MIT" ]
null
null
null
open Types module type AtPoint = sig type t val value_at_point : t -> int -> point end (** Get the position of a board *) module BoardPoint : AtPoint with type t = point list = struct type t = point list let value_at_point board pos = ...
29.078431
72
0.556979
8a922bb843df80ebe4d9e478f19f76de711777ac
204
mli
OCaml
libraries/rds/lib/removeTagsFromResource.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/rds/lib/removeTagsFromResource.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/rds/lib/removeTagsFromResource.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 = RemoveTagsFromResourceMessage.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.545455
85
0.759804
8ab0fd59d93e8abca9b2f86664f5137645343a38
1,046
ml
OCaml
src/Client.ml
Risto-Stevcev/bs-postgres-effects
b451521a16903866790eb87c052c2eb01bbebcaf
[ "MIT" ]
null
null
null
src/Client.ml
Risto-Stevcev/bs-postgres-effects
b451521a16903866790eb87c052c2eb01bbebcaf
[ "MIT" ]
null
null
null
src/Client.ml
Risto-Stevcev/bs-postgres-effects
b451521a16903866790eb87c052c2eb01bbebcaf
[ "MIT" ]
null
null
null
module Client = BsPostgres.Client module Monad_Affect = BsAbstract.Functions.Monad (BsEffects.Affect.Monad) module Apply_Fn = struct module A = BsAbstract.Function.Apply (struct type t = Client.t end) include BsAbstract.Infix.Apply (A) end module Apply_Affect = BsAbstract.Functions.Apply' (BsEffects.Affect.Apply)...
37.357143
96
0.731358
af6cd3326b0bee8114d42a61cdc4865cdb15353f
6,406
ml
OCaml
hphp/hack/src/utils/pos_span_tiny.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
7
2021-09-20T18:47:18.000Z
2021-09-20T23:02:22.000Z
hphp/hack/src/utils/pos_span_tiny.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
1
2021-08-21T07:48:37.000Z
2021-08-21T07:48:37.000Z
hphp/hack/src/utils/pos_span_tiny.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
1
2020-11-09T08:56:11.000Z
2020-11-09T08:56:11.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 Hh_prelude (** A compressed representation of a position span, i.e. a start and an end position. *) (** * Po...
28.220264
88
0.71355
8a3195656c37fc62b5882e625bfe28622145dd22
7,709
ml
OCaml
hphp/hack/src/server/diagnostic_subscription.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
1
2016-10-08T12:13:09.000Z
2016-10-08T12:13:09.000Z
hphp/hack/src/server/diagnostic_subscription.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/diagnostic_subscription.ml
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "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 Hh_core o...
38.163366
80
0.675833
afe1ec17eb864b9db787efa335ad2fb35ddcd241
9,820
mli
OCaml
src/typing/context.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
src/typing/context.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
src/typing/context.mli
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "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 Loc_collections exception Props_not_found of Type.Properties.id exception Exports_not_found of Type.Exports.id exception Req...
40.578512
109
0.741446
8ab59d560aec12252a0f03b2c8cce94118572b31
687
ml
OCaml
js/type.ml
phated/binaryen.ml
335e6859d9b4f7f251beab0f235733646fd1a788
[ "Apache-2.0" ]
null
null
null
js/type.ml
phated/binaryen.ml
335e6859d9b4f7f251beab0f235733646fd1a788
[ "Apache-2.0" ]
null
null
null
js/type.ml
phated/binaryen.ml
335e6859d9b4f7f251beab0f235733646fd1a788
[ "Apache-2.0" ]
null
null
null
open Js_of_ocaml.Js open Js_of_ocaml.Js.Unsafe type t = int let none : t = global##.binaryen##.none let int32 : t = global##.binaryen##.i32 let int64 : t = global##.binaryen##.i64 let float32 : t = global##.binaryen##.f32 let float64 : t = global##.binaryen##.f64 let vec128 : t = global##.binaryen##.v128 let fu...
21.46875
68
0.679767
8ade19c25776810fa4f6546ce44ed6db2309c64c
670,487
ml
OCaml
src/ocaml-output/FStar_TypeChecker_TcTerm.ml
bryant/FStar
0d846f227ddda282bafd82490de485b04c5a835e
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_TypeChecker_TcTerm.ml
bryant/FStar
0d846f227ddda282bafd82490de485b04c5a835e
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_TypeChecker_TcTerm.ml
bryant/FStar
0d846f227ddda282bafd82490de485b04c5a835e
[ "Apache-2.0" ]
null
null
null
open Prims let (instantiate_both : FStar_TypeChecker_Env.env -> FStar_TypeChecker_Env.env) = fun env -> let uu___ = env in { FStar_TypeChecker_Env.solver = (uu___.FStar_TypeChecker_Env.solver); FStar_TypeChecker_Env.range = (uu___.FStar_TypeChecker_Env.range); FStar_TypeChecker_Env.curmodu...
57.429293
181
0.40606
d2f75c39c5041b7300e5aed9827b81c53738977e
1,087
mli
OCaml
lib/preface_stdlib/fun.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
lib/preface_stdlib/fun.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
lib/preface_stdlib/fun.mli
Sir4ur0n/preface
fc3d9c340d034c960842d3cfec5a0488edc768e1
[ "MIT" ]
null
null
null
(** Implementation for function ['a -> 'b]. *) (** {1 Type} *) type ('a, 'b) t = 'a -> 'b (** {1 Implementation} *) (** {2 Profunctor} *) module Profunctor : Preface_specs.PROFUNCTOR with type ('a, 'b) t = ('a, 'b) t (** {2 Strong Profunctor} *) module Strong : Preface_specs.STRONG with type ('a, 'b) t = ('a, 'b...
22.645833
80
0.606256
8a18db112faa635404d3e1853dec72c3d6045fe1
20,616
ml
OCaml
src/proto_002_PsYLVpVv/lib_delegate/test/test_michelson_parser.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/proto_002_PsYLVpVv/lib_delegate/test/test_michelson_parser.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
src/proto_002_PsYLVpVv/lib_delegate/test/test_michelson_parser.ml
hinshun/tezos
453abc2f2ea65c94cc99674958201fcebcf7eae9
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
45.30989
110
0.479676
8a7f00e648e9f06e2fb606e45702291384b1cd21
2,839
mli
OCaml
infer/src/pulse/PulseBaseAddressAttributes.mli
zhoudongxu/infer
e75ed04713d98a68e906b30ea60dd954ccdecb80
[ "MIT" ]
1
2022-01-24T12:58:26.000Z
2022-01-24T12:58:26.000Z
infer/src/pulse/PulseBaseAddressAttributes.mli
zhoudongxu/infer
e75ed04713d98a68e906b30ea60dd954ccdecb80
[ "MIT" ]
null
null
null
infer/src/pulse/PulseBaseAddressAttributes.mli
zhoudongxu/infer
e75ed04713d98a68e906b30ea60dd954ccdecb80
[ "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 open PulseBasicInterface type t [@@deriving compare, equal, yojson_of] val empty : t val filter : (A...
32.261364
99
0.707644
8a16b37e67c68713f6026c13d74a047d75cbd123
3,907
ml
OCaml
src/cache/client.ml
stephanieyou/dune
b1a42f64ab23eed7c763c77be6ba2efa72f34190
[ "MIT" ]
null
null
null
src/cache/client.ml
stephanieyou/dune
b1a42f64ab23eed7c763c77be6ba2efa72f34190
[ "MIT" ]
null
null
null
src/cache/client.ml
stephanieyou/dune
b1a42f64ab23eed7c763c77be6ba2efa72f34190
[ "MIT" ]
null
null
null
open Stdune open Dune_util open Result.O open Cache_intf type t = { socket : out_channel ; fd : Unix.file_descr ; input : in_channel ; cache : Local.t ; thread : Thread.t ; finally : (unit -> unit) option ; version : Messages.version } let versions_supported_by_dune : Messages.version list = [ { maj...
32.831933
79
0.674686
8a75bd96e54eb9347bee2912d033ca3f6d7b69ed
952
ml
OCaml
lib/bio/FastQC.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
44
2016-01-21T20:34:10.000Z
2021-04-30T00:21:34.000Z
lib/bio/FastQC.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
37
2016-01-31T12:00:13.000Z
2021-11-13T21:58:41.000Z
lib/bio/FastQC.ml
bcdarwin/bistro
8383e10422f1a8f634fd27b5515d5195bbe1f75f
[ "CECILL-B" ]
11
2016-07-07T14:43:17.000Z
2022-03-29T00:30:31.000Z
open Bistro open Bistro.Shell_dsl type report = [`fastQC] directory let img = [ docker_image ~account:"pveber" ~name:"fastqc" ~tag:"0.11.8" () ] module Cmd = struct let fastqc x = [ mkdir_p dest ; cmd "fastqc" [ seq ~sep:"" [ string "--outdir=" ; dest ] ; ( match x with | `fq fq...
25.052632
85
0.615546
8ab47d0be3346e8b18985d3b0ff8bd791c4670b2
2,225
ml
OCaml
src/lib/snarky_group_map/checked_map.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/snarky_group_map/checked_map.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/snarky_group_map/checked_map.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
open Core_kernel module Aux (Impl : Snarky_backendless.Snark_intf.Run) = struct open Impl let non_residue : Field.Constant.t Lazy.t = let open Field.Constant in let rec go i = if not (is_square i) then i else go (i + one) in lazy (go (of_int 2)) let sqrt_exn x = let y = exists Field.typ ~...
30.067568
81
0.604494
8a9745aab5dff1b4d33a0f5d6f671ff164566a98
1,114
mli
OCaml
analysis/abstractMapDomain.mli
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
1
2020-08-12T14:33:46.000Z
2020-08-12T14:33:46.000Z
analysis/abstractMapDomain.mli
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "MIT" ]
null
null
null
analysis/abstractMapDomain.mli
KoalaTea/pyre-check
71de5448f6695b3616a2a985fcbe27da74a3fc44
[ "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. *) module type KEY = sig include Core.Map.Key val show : t -> string (* If true, an absent key and a key mapping to bottom are equivalen...
34.8125
100
0.685817
8accf8f5bf3b85875eeb5090c3e54b214bfa1c87
5,233
ml
OCaml
bin/build_cmd.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
null
null
null
bin/build_cmd.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
null
null
null
bin/build_cmd.ml
Niols/dune
6481d0fac8ebf670957de0916b271562f50c954c
[ "MIT" ]
null
null
null
open Stdune open Import let run_build_system ~common ~(request : unit Action_builder.t) () = let build_started = Unix.gettimeofday () in Fiber.finalize (fun () -> Build_system.run (fun () -> Build_system.build request)) ~finally:(fun () -> (if Common.print_metrics common then let gc_stat = Gc...
35.598639
80
0.629085
af7737bd8605df81f104cb3eb36a0bcad72beab9
706
ml
OCaml
benchmarks/C/formula/sol384.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/formula/sol384.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/formula/sol384.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type formula = | True | False | Not of formula | AndAlso of formula * formula | OrElse of formula * formula | Imply of formula * formula | Equal of exp * exp and exp = | Num of int | Plus of exp * exp | Minus of exp * exp let rec eval_exp : exp -> int = fun e -> match e with Num a -> a | Plus(a,...
21.393939
45
0.567989
8a4fe3e0996bb902dde272b71576710029e37564
304
ml
OCaml
ex6/6.10.ml
thundermiracle/reading-programming-in-ocaml
e62a7b9f6b7a329423f2358b26285fd2290b6d44
[ "MIT" ]
null
null
null
ex6/6.10.ml
thundermiracle/reading-programming-in-ocaml
e62a7b9f6b7a329423f2358b26285fd2290b6d44
[ "MIT" ]
null
null
null
ex6/6.10.ml
thundermiracle/reading-programming-in-ocaml
e62a7b9f6b7a329423f2358b26285fd2290b6d44
[ "MIT" ]
null
null
null
(* 6.10 *) type arith = Const of int | Add of arith * arith | Mul of arith * arith;; let exp = Mul (Add (Const 3, Const 4), Add (Const 2, Const 5));; let rec eval = function Const i -> i | Add (e1, e2) -> eval e1 + eval e2 | Mul (e1, e2) -> eval e1 * eval e2;; eval exp;; (* (3+4)*(2+5) = 49 *)
23.384615
73
0.549342
afe1c0a2c82c3db0f85df344b7327b17eb53e2fa
540
ml
OCaml
chapter4/lib/location.ml
vyorkin/tiger
54dd179c1cd291df42f7894abce3ee9064e18def
[ "MIT" ]
14
2019-12-31T19:44:45.000Z
2021-12-09T13:43:18.000Z
chapter4/lib/location.ml
vyorkin/tiger
54dd179c1cd291df42f7894abce3ee9064e18def
[ "MIT" ]
4
2019-08-16T16:17:41.000Z
2020-02-23T15:31:42.000Z
chapter4/lib/location.ml
vyorkin/tiger
54dd179c1cd291df42f7894abce3ee9064e18def
[ "MIT" ]
2
2020-10-17T04:56:37.000Z
2021-08-22T13:00:56.000Z
open Lexing type loc = position * position type 'a t = { value: 'a; loc: loc [@opaque]; } [@@deriving show] let mk value loc = { value; loc } let dummy value = mk value (dummy_pos, dummy_pos) let range_string { loc; _ } = let (pos_start, pos_end) = loc in let line_start = pos_start.pos_lnum in let li...
24.545455
59
0.685185
8ab15e1b710a09216a844998049f168409aa14f9
5,843
ml
OCaml
CodeHawk/CHB/bchlibarm32/bCHARMSumTypeSerializer.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
null
null
null
CodeHawk/CHB/bchlibarm32/bCHARMSumTypeSerializer.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
3
2020-09-27T06:40:55.000Z
2021-01-24T19:29:06.000Z
CodeHawk/CHB/bchlibarm32/bCHARMSumTypeSerializer.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
null
null
null
(* ============================================================================= CodeHawk Binary Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2021 Aarno Labs, LLC Permission is hereby granted, free o...
26.926267
83
0.644018
8a25a33644246ef4e294957170e95a06219344ef
32,644
ml
OCaml
src/proto_006_PsCARTHA/lib_client/client_proto_multisig.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
null
null
null
src/proto_006_PsCARTHA/lib_client/client_proto_multisig.ml
d4hines/marigold-tezos
d106ccb9208af16d673aaa4ca48878eeba37527b
[ "MIT" ]
1
2022-02-18T09:54:32.000Z
2022-02-18T09:54:32.000Z
src/proto_007_PsDELPH1/lib_client/client_proto_multisig.ml
Ngoguey42/tezos
68f0f84ed58f3c72b1bf3e732d8ee385461a2d14
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2019 Nomadic Labs <contact@nomadic-labs.com> *) ...
35.482609
93
0.613712
8aad61c90e5b020e545f398e18642beb149e9bf2
19,383
ml
OCaml
source/analysis/test/integration/matchTest.ml
esiebomaj/pyre-check
bc75489e04ca21f51ba1ebc6296e2ff5c27626c9
[ "MIT" ]
null
null
null
source/analysis/test/integration/matchTest.ml
esiebomaj/pyre-check
bc75489e04ca21f51ba1ebc6296e2ff5c27626c9
[ "MIT" ]
null
null
null
source/analysis/test/integration/matchTest.ml
esiebomaj/pyre-check
bc75489e04ca21f51ba1ebc6296e2ff5c27626c9
[ "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 OUnit2 open IntegrationTest let test_simple context = let assert_type_errors = assert_type_errors ~context in assert_type...
28.132075
100
0.527576
8acf2ac22891bb143ff6ed4e6d94b45675e5cbcd
3,302
ml
OCaml
command/analyzeCommand.ml
pwgraham91/pyre-check
5cb1367e2c6c4792e0e8895fccc5af8af18372db
[ "MIT" ]
null
null
null
command/analyzeCommand.ml
pwgraham91/pyre-check
5cb1367e2c6c4792e0e8895fccc5af8af18372db
[ "MIT" ]
null
null
null
command/analyzeCommand.ml
pwgraham91/pyre-check
5cb1367e2c6c4792e0e8895fccc5af8af18372db
[ "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 Pyre let run_analysis _taint taint_models_directory result_json_path verbose expected_version sect...
26.845528
98
0.644761
8a761baa1ece9f20415ba2660c035095d40950ac
2,240
ml
OCaml
examples/async/async_https_echo_post.ml
clecat/httpaf
08c43276c603fdfbac4d0d7d75c858ada4046c03
[ "BSD-3-Clause" ]
null
null
null
examples/async/async_https_echo_post.ml
clecat/httpaf
08c43276c603fdfbac4d0d7d75c858ada4046c03
[ "BSD-3-Clause" ]
null
null
null
examples/async/async_https_echo_post.ml
clecat/httpaf
08c43276c603fdfbac4d0d7d75c858ada4046c03
[ "BSD-3-Clause" ]
null
null
null
open Core open Async open Dream_httpaf open Httpaf_async let error_handler _ ?request:_ error start_response = let response_body = start_response Headers.empty in begin match error with | `Exn exn -> Body.write_string response_body (Exn.to_string exn); Body.write_string response_body "\n"; | #Status....
32.463768
106
0.7
f3737eb2e9e4cf763d7fd00181f9fbf546222fc0
4,011
ml
OCaml
graphv_anim/lib/ease.ml
wlitwin/graphv
bc6ae65975f544d74d0387690c40e65bf1b188d4
[ "MIT" ]
10
2021-08-31T14:38:31.000Z
2021-10-02T15:22:30.000Z
graphv_anim/lib/ease.ml
wlitwin/graphv
bc6ae65975f544d74d0387690c40e65bf1b188d4
[ "MIT" ]
null
null
null
graphv_anim/lib/ease.ml
wlitwin/graphv
bc6ae65975f544d74d0387690c40e65bf1b188d4
[ "MIT" ]
null
null
null
type t = float -> float let linear (x : float) = x let in_sine (x : float) = 1. -. Float.cos ((x *. Float.pi) /. 2.) let out_sine (x : float) = Float.sin ((x *. Float.pi) /. 2.) let in_out_sine (x : float) = ~-.(Float.cos (Float.pi *. x) -. 1.) /. 2. let in_quad (x : float) = x*.x let out_quad (x ...
26.045455
99
0.414361
8a32c5574d1b076c68e7a33deb5c582bbaf9560f
592
ml
OCaml
src/utils/location.ml
matijapretnar/aeff
3af50c51e452df0a1c40d53e7749fd7f085eff19
[ "MIT" ]
9
2020-03-04T15:05:04.000Z
2022-01-26T10:22:53.000Z
src/utils/location.ml
matijapretnar/aeff
3af50c51e452df0a1c40d53e7749fd7f085eff19
[ "MIT" ]
1
2020-12-02T10:14:16.000Z
2020-12-02T12:42:34.000Z
src/utils/location.ml
matijapretnar/aeff
3af50c51e452df0a1c40d53e7749fd7f085eff19
[ "MIT" ]
2
2020-08-17T17:40:15.000Z
2021-08-22T10:55:43.000Z
(** Source code locations *) type t = { filename : string; line : int; column : int } let print { filename; line; column } ppf = if String.length filename != 0 then Format.fprintf ppf "file %S, line %d, char %d" filename line column else Format.fprintf ppf "line %d, char %d" (line - 1) column let of_lexeme p...
31.157895
72
0.668919
f30932beb6e4cf56e290521438193daacd167454
7,047
ml
OCaml
src/pre-typing/PretypedTreePrinter.ml
kit-ty-kate/labrys
ffa21b27f2557942073bcdfbe37af96b8bd53902
[ "MIT" ]
65
2018-08-10T11:51:20.000Z
2022-03-25T10:44:56.000Z
src/pre-typing/PretypedTreePrinter.ml
kit-ty-kate/cervoise
568bddf46d147df062e6a7cd045966cc0a279c22
[ "MIT" ]
3
2021-12-26T01:37:08.000Z
2022-01-03T14:39:17.000Z
src/pre-typing/PretypedTreePrinter.ml
kit-ty-kate/cervoise
568bddf46d147df062e6a7cd045966cc0a279c22
[ "MIT" ]
5
2020-12-30T14:50:11.000Z
2022-03-25T10:30:29.000Z
(* Copyright (c) 2013-2017 The Labrys developers. *) (* See the LICENSE file at the top-level directory. *) open Utils.PPrint open PretypedTree let dump_name name = str (Ident.Name.to_string name) let dump_ty_name name = str (Ident.Type.to_string name) let dump_var_name name = str (Ident.Constr.to_string name) let du...
34.714286
107
0.615865
af862f189601ef6cd872c5bafb8ec050cb5ede85
629
ml
OCaml
swigwin-4.0.2/Examples/test-suite/ocaml/director_pass_by_value_runme.ml
kennydn99/tf-pose-estimation
dbbb424cbafbee8a0f70183e5d8ba16febca1c42
[ "Apache-2.0" ]
1,031
2015-01-02T14:08:47.000Z
2022-03-29T02:25:27.000Z
swigwin-4.0.2/Examples/test-suite/ocaml/director_pass_by_value_runme.ml
kennydn99/tf-pose-estimation
dbbb424cbafbee8a0f70183e5d8ba16febca1c42
[ "Apache-2.0" ]
240
2015-01-11T04:27:19.000Z
2022-03-30T00:35:57.000Z
swigwin-4.0.2/Examples/test-suite/ocaml/director_pass_by_value_runme.ml
kennydn99/tf-pose-estimation
dbbb424cbafbee8a0f70183e5d8ba16febca1c42
[ "Apache-2.0" ]
224
2015-01-05T06:13:54.000Z
2022-02-25T14:39:51.000Z
open Swig open Director_pass_by_value let passByVal = ref [| |] let director_pass_by_value_Derived ob meth args = match meth with | "virtualMethod" -> passByVal := Array.append !passByVal [|args|]; C_void | _ -> (invoke ob) meth args let d = new_derived_object new_DirectorPassByValueAbstractBase ...
25.16
78
0.669316
8a404e78ee7af07ceb6a6c898749206ee6e4709a
5,935
ml
OCaml
vendor/core_kernel/flags/test/test_flags.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/core_kernel/flags/test/test_flags.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/core_kernel/flags/test/test_flags.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
open! Core_kernel open! Expect_test_helpers_core open! Flags let a = Int63.of_int 0x1 let b = Int63.of_int 0x2 let c = Int63.of_int 0xC let d = create ~bit:62 let%expect_test _ = List.iter [ -1; 63 ] ~f:(fun bit -> show_raise ~hide_positions:true (fun () -> ignore (create ~bit : Int63.t))); [%expect {| ...
24.936975
90
0.581803
8a9e648efc6da655a89714cdf9724485298babfb
5,395
ml
OCaml
src/type.ml
jonathan-laurent/pythonlib
2a403c179c14c0864fe190aa99f6667a50b7a958
[ "MIT" ]
65
2019-07-31T13:38:21.000Z
2022-03-21T14:36:14.000Z
src/type.ml
jonathan-laurent/pythonlib
2a403c179c14c0864fe190aa99f6667a50b7a958
[ "MIT" ]
14
2020-05-13T21:23:21.000Z
2022-03-28T03:51:09.000Z
src/type.ml
jonathan-laurent/pythonlib
2a403c179c14c0864fe190aa99f6667a50b7a958
[ "MIT" ]
8
2019-12-04T08:22:38.000Z
2022-03-28T02:47:39.000Z
open Base module Arg = struct type t = Asttypes.arg_label = | Nolabel | Labelled of string | Optional of string end type t = | Atom of Module_env.Path.t * string | Tuple2 of t * t | Tuple3 of t * t * t | Tuple4 of t * t * t * t | Tuple5 of t * t * t * t * t | Arrow of Arg.t * t * t | Apply...
36.952055
87
0.579055
8ae6d3d3249916212c34742caadcea4d0996944b
18,457
ml
OCaml
src/extraction/ml/FStar_Extraction_ML_PrintML.ml
Theodus/FStar
fda96d0883df71e585671a4f992760aac5b27a09
[ "Apache-2.0" ]
2
2017-10-05T18:04:38.000Z
2019-01-06T02:39:57.000Z
src/extraction/ml/FStar_Extraction_ML_PrintML.ml
Theodus/FStar
fda96d0883df71e585671a4f992760aac5b27a09
[ "Apache-2.0" ]
null
null
null
src/extraction/ml/FStar_Extraction_ML_PrintML.ml
Theodus/FStar
fda96d0883df71e585671a4f992760aac5b27a09
[ "Apache-2.0" ]
1
2017-09-13T11:34:00.000Z
2017-09-13T11:34:00.000Z
open List open Lexing open Migrate_parsetree open Migrate_parsetree.Ast_405 open Migrate_parsetree.Ast_405.Parsetree open Location open Pprintast open Ast_helper open Asttypes open Longident open FStar_Extraction_ML_Syntax (* Global state used for the name of the ML module being pprinted. current_module is only se...
36.693837
169
0.639053
8abbb345cdb7ec258130837c44c68a109d8fcfc9
976
mli
OCaml
rock/src/server_connection.mli
anuragsoni/opium
a494f34ee7c4044a39303a2725071167b5311fc0
[ "MIT" ]
null
null
null
rock/src/server_connection.mli
anuragsoni/opium
a494f34ee7c4044a39303a2725071167b5311fc0
[ "MIT" ]
null
null
null
rock/src/server_connection.mli
anuragsoni/opium
a494f34ee7c4044a39303a2725071167b5311fc0
[ "MIT" ]
null
null
null
(** Collection of functions to run a server from a Rock app. *) type error_handler = string -> Httpaf.Headers.t -> Httpaf.Server_connection.error -> (Httpaf.Headers.t * Body.t) Lwt.t val to_httpaf_error_handler : error_handler -> string -> Httpaf.Server_connection.error_handler val default_error_handl...
29.575758
90
0.743852
8aaf906a970e50835c73540634a793d9774c7150
2,594
ml
OCaml
src/dune_rules/blang.ml
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
src/dune_rules/blang.ml
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
src/dune_rules/blang.ml
jvillard/dune
fb311f30925c2ffe433139c14e2cdc211618ce81
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
open! Dune_engine open! Stdune open Import module Op = struct type t = | Eq | Gt | Gte | Lte | Lt | Neq let eval t (x : Ordering.t) = match (t, x) with | (Eq | Gte | Lte), Eq | (Neq | Lt | Lte), Lt | (Neq | Gt | Gte), Gt -> true | _, _ -> false let to_dyn = ...
25.683168
79
0.564379
8a8c6add6bc1b09609e46e830419901dbf29dc0b
1,477
ml
OCaml
ci/src/cI_log_reporter.ml
rkazak/datakit
e047e55a2dfa3aaec02398d7d7699f4f7afd2b47
[ "Apache-2.0" ]
498
2017-04-18T17:31:39.000Z
2022-03-14T23:18:08.000Z
ci/src/cI_log_reporter.ml
rkazak/datakit
e047e55a2dfa3aaec02398d7d7699f4f7afd2b47
[ "Apache-2.0" ]
86
2017-04-19T11:08:23.000Z
2021-02-15T13:53:34.000Z
ci/src/cI_log_reporter.ml
rkazak/datakit
e047e55a2dfa3aaec02398d7d7699f4f7afd2b47
[ "Apache-2.0" ]
93
2017-04-23T16:36:40.000Z
2022-03-05T13:36:28.000Z
let pp_level f lvl = let style, msg = match lvl with | Logs.App -> (`Black, "APP") | Logs.Error -> (`Red, "ERR") | Logs.Warning -> (`Red, "WRN") | Logs.Info -> (`None, "INF") | Logs.Debug -> (`Cyan, "DBG") in Fmt.pf f "%a" Fmt.(styled style string) msg let pp_timestamp f x = let open Un...
26.375
78
0.628978
8acdeb85b9ebb1226c0b67a7fbad212ce46cc291
473
ml
OCaml
data/derived/comb/progs/unify/prog6003.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/prog1137.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1137.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine i -> sin (pi *. (eval (i, x, y))) | Cosine i -> cos (p...
22.52381
67
0.484144
afc6f67bcc9bef6fac2651e67c77c3b4ef49ea11
1,985
ml
OCaml
libraries/cloudwatch/lib/describeAnomalyDetectors.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudwatch/lib/describeAnomalyDetectors.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/cloudwatch/lib/describeAnomalyDetectors.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeAnomalyDetectorsInput.t type output = DescribeAnomalyDetectorsOutput.t type error = Errors_internal.t let service = "monitoring" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_op...
31.015625
104
0.584887
8abeb5a6a9df70eab2f3adc317428e690fb78d4e
1,346
ml
OCaml
old/dlc1/main.ml
icefoxen/finished-dumblang
6d466314c0d51f20637e27073ff1f4fb37607572
[ "MIT" ]
null
null
null
old/dlc1/main.ml
icefoxen/finished-dumblang
6d466314c0d51f20637e27073ff1f4fb37607572
[ "MIT" ]
null
null
null
old/dlc1/main.ml
icefoxen/finished-dumblang
6d466314c0d51f20637e27073ff1f4fb37607572
[ "MIT" ]
null
null
null
(* main.ml Main driver and UI junk. Not quite sure how the overall toolchain is going to be structured yet. As in, compiler, linker, assembler, package manager, library manager... Simon Heath Whenever *) let compileFile fn outfile = ErrorReport.reset fn; try let instream = open_in fn in let...
28.638298
75
0.684993
8ab65c82f1055ddca709418f4c84657b47a4a4e5
856
mli
OCaml
nomos/nomos-lib/Pprint.mli
ankushdas/Nomos
fc524759569c02dd88180f14419d26d50096819a
[ "MIT" ]
19
2019-11-29T00:57:12.000Z
2021-12-07T01:47:39.000Z
nomos/nomos-lib/Pprint.mli
ankushdas/Nomos
fc524759569c02dd88180f14419d26d50096819a
[ "MIT" ]
1
2021-11-01T21:36:23.000Z
2021-11-01T21:36:23.000Z
nomos/nomos-lib/Pprint.mli
ankushdas/Nomos
fc524759569c02dd88180f14419d26d50096819a
[ "MIT" ]
2
2020-09-20T15:38:14.000Z
2021-06-06T07:43:39.000Z
module R = Arith module A = Ast val pp_arith : R.arith -> string val pp_pot : A.potential -> string val pp_mode : A.mode -> string val pp_ftp_simple : A.func_tp -> string val pp_tp_simple : A.stype -> A.tpname val pp_structure : A.str -> string val pp_chan : A.str * string * A.mode -> string val pp_channames : (A.str *...
38.909091
75
0.648364
8a5eaa7305cd68f46270633047cb7d6ceffbdf56
833
ml
OCaml
tests/test-foreign_values/stubs/functions.ml
KennethAdamMiller/ocaml-ctypes
f503c56e66b6fb78b3eaca1f0b1fce00b6e2ebba
[ "MIT" ]
1
2015-01-21T09:39:37.000Z
2015-01-21T09:39:37.000Z
tests/test-foreign_values/stubs/functions.ml
cryptosense/ocaml-ctypes
39af905fc8740cc4e5c42ef7864be1d07f8e451d
[ "MIT" ]
null
null
null
tests/test-foreign_values/stubs/functions.ml
cryptosense/ocaml-ctypes
39af905fc8740cc4e5c42ef7864be1d07f8e451d
[ "MIT" ]
null
null
null
(* * Copyright (c) 2014 Jeremy Yallop. * * This file is distributed under the terms of the MIT License. * See the file LICENSE for details. *) (* Bindings for the foreign value tests. *) open Ctypes module Common (F: Cstubs.FOREIGN) = struct let s : [`global_struct] structure typ = structure "global_struct" ...
23.138889
68
0.671068
8a05e6aabdb8b723dab3d9203e05690e4ee8f752
14,672
ml
OCaml
hphp/hack/src/client/clientArgs.ml
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
1
2021-03-09T04:27:14.000Z
2021-03-09T04:27:14.000Z
hphp/hack/src/client/clientArgs.ml
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/clientArgs.ml
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open ClientCo...
35.016706
106
0.627113
8acaa6c05193b840a3532fd8bfe5df63a67d94a8
1,940
ml
OCaml
ocamllib/libbase/weakHashtbl.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
ocamllib/libbase/weakHashtbl.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
ocamllib/libbase/weakHashtbl.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...
23.658537
78
0.625773
8a9630ad3b5e50345fc98cc7b0c855247c6f6ddb
11,019
ml
OCaml
src/lib/snark_bits/bits.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
512
2018-10-24T23:22:35.000Z
2020-09-29T02:54:20.000Z
src/lib/snark_bits/bits.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
3,150
2018-10-25T00:06:09.000Z
2020-09-29T15:22:14.000Z
src/lib/snark_bits/bits.ml
hanabi1224/mina
66da4ad53fe8737b6980dd76a264a9a39ffca52f
[ "Apache-2.0" ]
105
2018-10-25T00:02:43.000Z
2020-09-01T12:31:15.000Z
(* bits.ml *) [%%import "/src/config.mlh"] open Core_kernel open Fold_lib open Bitstring_lib (* Someday: Make more efficient by giving Field.unpack a length argument in camlsnark *) let unpack_field unpack ~bit_length x = List.take (unpack x) bit_length let bits_per_char = 8 let pad (type a) ~length ~default (b...
26.173397
80
0.614575
8ad4e8edf42e80051424741da93f7b82c6591ad9
62
ml
OCaml
lib/async/import.ml
struktured/ocaml-covar
84f1d3a2bc3da1b617647b4ddadd75eb1808b06f
[ "MIT" ]
4
2017-12-21T05:16:08.000Z
2019-03-22T10:23:30.000Z
lib/async/import.ml
struktured/ocaml-covar
84f1d3a2bc3da1b617647b4ddadd75eb1808b06f
[ "MIT" ]
null
null
null
lib/async/import.ml
struktured/ocaml-covar
84f1d3a2bc3da1b617647b4ddadd75eb1808b06f
[ "MIT" ]
null
null
null
include Covar_base.Covar include Covar_kernels include Async
12.4
24
0.870968
8ac331123533aa07f59666fafcd1c46745722fcb
2,037
mli
OCaml
infer/src/absint/LowerHil.mli
Gusymochis/infer
70ed9b146f41ad0875116582df23a0815f90deb4
[ "MIT" ]
null
null
null
infer/src/absint/LowerHil.mli
Gusymochis/infer
70ed9b146f41ad0875116582df23a0815f90deb4
[ "MIT" ]
null
null
null
infer/src/absint/LowerHil.mli
Gusymochis/infer
70ed9b146f41ad0875116582df23a0815f90deb4
[ "MIT" ]
1
2019-10-24T14:47:52.000Z
2019-10-24T14:47:52.000Z
(* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module type HilConfig = sig val include_array_indexes : bool (** if true, array index expressions will appear in access p...
34.525424
99
0.752086
8a1030ef301590daf2b07a609008af4e2a084ad9
15,312
ml
OCaml
src/bson.ml
bryphe/bson
91e717af1fb1c82d72777d56f18527d5b3905b95
[ "MIT" ]
79
2016-11-14T17:04:39.000Z
2021-09-22T17:09:05.000Z
src/bson.ml
bryphe/bson
91e717af1fb1c82d72777d56f18527d5b3905b95
[ "MIT" ]
17
2017-02-08T05:24:33.000Z
2019-02-17T20:48:17.000Z
src/bson.ml
bryphe/bson
91e717af1fb1c82d72777d56f18527d5b3905b95
[ "MIT" ]
8
2018-03-25T21:43:28.000Z
2021-07-10T01:25:09.000Z
exception Invalid_objectId;; exception Wrong_bson_type;; exception Wrong_string;; exception Malformed_bson;; type document = (string * element) list and t = document and special = | NULL | MINKEY | MAXKEY and element = | Double of float | String of string | Document of document | Array of element list ...
32.788009
120
0.661638
8a894d1f43e2560a19cf928ef22c2fc6293bbb1c
1,745
ml
OCaml
duniverse/owl/src/base/optimise/owl_numdiff_generic_sig.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
1
2019-11-17T23:16:15.000Z
2019-11-17T23:16:15.000Z
duniverse/owl/src/base/optimise/owl_numdiff_generic_sig.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/owl/src/base/optimise/owl_numdiff_generic_sig.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2019 Liang Wang <liang.wang@cl.cam.ac.uk> *) (** Numdiff: numerical differentiation module *) open Owl_types (** The functor used to generate Numdiff module of various precisions. *) (* TODO: unit test *) module type Sig = sig (** {6...
27.265625
92
0.561605
8ac6fbb078ae869a24e7bebab798187cf12f4632
222
mli
OCaml
src/dune_rules/virtual_rules.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
null
null
null
src/dune_rules/virtual_rules.mli
esope/dune
a79a071739b9537da8f9dc236a964793979da849
[ "MIT" ]
1
2019-09-17T12:49:47.000Z
2019-09-17T12:49:47.000Z
src/dune_rules/virtual_rules.mli
staronj/dune
cf0ceccef1e177625b9361323bd7a3401a988d45
[ "MIT" ]
null
null
null
open Import val setup_copy_rules_for_impl : sctx:Super_context.t -> dir:Path.Build.t -> Vimpl.t -> unit Memo.t val impl : Super_context.t -> lib:Dune_file.Library.t -> scope:Scope.t -> Vimpl.t option Memo.t
20.181818
68
0.689189
8ae50b01f97b6595695694373de6f48e0888260c
3,525
ml
OCaml
src/aewo.ml
elpinal/aewo
d5867fe33a9ba252dd4b10210b62222542256d48
[ "MIT" ]
null
null
null
src/aewo.ml
elpinal/aewo
d5867fe33a9ba252dd4b10210b62222542256d48
[ "MIT" ]
null
null
null
src/aewo.ml
elpinal/aewo
d5867fe33a9ba252dd4b10210b62222542256d48
[ "MIT" ]
null
null
null
let usage () = "All Emacs is Well Ordered.\n\ \n\ usage: aewo command arguments...\n\ \n\ commands: install Install a specified version of Emacs. uninstall Uninstall a specified version of Emacs. use Set a specified version of Emacs as current program. list List ver...
32.33945
95
0.622979
8a981edad98bc30ab8af7be1f4652a7e09bdc24e
7,083
ml
OCaml
src/monitor/connections/flowServerMonitorConnection.ml
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
1
2020-11-02T02:15:55.000Z
2020-11-02T02:15:55.000Z
src/monitor/connections/flowServerMonitorConnection.ml
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
17
2020-10-12T16:16:07.000Z
2021-08-07T04:38:39.000Z
src/monitor/connections/flowServerMonitorConnection.ml
mochja/flow
f5351e5ece186468278f5a94a5c59f00315243c1
[ "MIT" ]
1
2021-01-06T10:57:53.000Z
2021-01-06T10:57:53.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) (* The Flow server monitor needs to deal with multiple connections. There's the connection to the * server (a pipe), there's 0 or ...
32.342466
100
0.672738
afece68d0f2377dd7c24f93f05bd660702520888
7,741
ml
OCaml
hphp/hack/test/integration_ml/test_getfundeps.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
1
2019-11-01T13:46:07.000Z
2019-11-01T13:46:07.000Z
hphp/hack/test/integration_ml/test_getfundeps.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/test/integration_ml/test_getfundeps.ml
Nicztin/hhvm
25d78f95e739823350a1a48e0f60d5a05598ad83
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * * *) open Hh_core module Test = Integration_test_base let f1 = ( "f1.php", {|<?hh function test(F2A $a, F3B $b)...
31.595918
1,044
0.517633
8ad9ea146953f21a0ca274ae54c6f1054e5e84a1
454
mli
OCaml
src/ocaml_flags.mli
trefis/dune
b70df07955a825758989e9fdce62b5ba8fff8931
[ "Apache-2.0" ]
null
null
null
src/ocaml_flags.mli
trefis/dune
b70df07955a825758989e9fdce62b5ba8fff8931
[ "Apache-2.0" ]
null
null
null
src/ocaml_flags.mli
trefis/dune
b70df07955a825758989e9fdce62b5ba8fff8931
[ "Apache-2.0" ]
null
null
null
(** OCaml flags *) type t val make : Jbuild.Buildable.t -> Super_context.t -> scope:Scope.t -> dir:Path.t -> t val default : unit -> t val empty : t val of_list : string list -> t val get : t -> Mode.t -> (unit, string list) Build.t val get_for_cm : t -> cm_kind:Cm_kind.t -> (unit, string list) Build.t...
18.16
70
0.627753
8a27e28112dd6abd46c11d3b71952d8a5525a9e8
7,004
ml
OCaml
source/buck/buildMap.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
1
2021-05-17T23:13:52.000Z
2021-05-17T23:13:52.000Z
source/buck/buildMap.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
null
null
null
source/buck/buildMap.ml
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
1
2021-05-13T13:30:24.000Z
2021-05-13T13:30:24.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 Base module Path = Pyre.Path module Partial = struct type t = string Hashtbl.M(String).t [@@deriving sexp] module MergeR...
30.060086
101
0.656196
affcf0caf96452f0bddb81c1037a460904e90793
46,840
ml
OCaml
expander/expand_of_sexp.ml
kit-ty-kate/ppx_sexp_conv
e16dff0eed85d8e49a3872ab6304560d697a1755
[ "MIT" ]
72
2016-01-13T19:23:00.000Z
2022-01-20T02:59:25.000Z
expander/expand_of_sexp.ml
kit-ty-kate/ppx_sexp_conv
e16dff0eed85d8e49a3872ab6304560d697a1755
[ "MIT" ]
36
2015-09-26T13:15:06.000Z
2021-12-07T03:28:08.000Z
expander/expand_of_sexp.ml
kit-ty-kate/ppx_sexp_conv
e16dff0eed85d8e49a3872ab6304560d697a1755
[ "MIT" ]
15
2016-12-03T20:45:33.000Z
2021-12-17T02:58:33.000Z
open! Base open! Ppxlib open Ast_builder.Default open Helpers open Lifted.Monad_infix (* Generates the signature for type conversion from S-expressions *) module Sig_generate_of_sexp = struct let type_of_of_sexp ~loc t = let loc = { loc with loc_ghost = true } in [%type: Sexplib0.Sexp.t -> [%t t]] ;; le...
35.538695
92
0.5788
afb55f09775168208c758de9085ae5cf5c5467bc
4,289
ml
OCaml
src/mo_idl/idl_to_mo.ml
Japan-DfinityInfoHub/motoko
82f9e05fed8e0b6f46a1677567d9891aba441d3b
[ "Apache-2.0" ]
1
2021-11-19T18:45:37.000Z
2021-11-19T18:45:37.000Z
src/mo_idl/idl_to_mo.ml
ninegua/motoko
ba72f957425d25f95f9de236dcab10fe36246b37
[ "Apache-2.0" ]
1
2021-11-01T11:55:59.000Z
2021-11-01T11:55:59.000Z
src/mo_idl/idl_to_mo.ml
ninegua/motoko
ba72f957425d25f95f9de236dcab10fe36246b37
[ "Apache-2.0" ]
null
null
null
open Idllib.Syntax open Idllib.Exception open Source module M = Mo_types.Type module I = Idllib.Typing let check_prim at p = match p with | Null -> M.Prim M.Null | Bool -> M.Prim M.Bool | Int -> M.Prim M.Int | Int8 -> M.Prim M.Int8 | Int16 -> M.Prim M.Int16 | Int32 -> M.Prim M.Int32 | Int64 -> M.Prim ...
35.446281
113
0.615062
af59fde6e7cc450808eb60bc95312c1f210a3ece
280
ml
OCaml
src/system/control_system.ml
Rimuruu/PFA-Projet-G10
0d6b9b77980a6c6af99007b9ef2245969751cbbc
[ "MIT" ]
null
null
null
src/system/control_system.ml
Rimuruu/PFA-Projet-G10
0d6b9b77980a6c6af99007b9ef2245969751cbbc
[ "MIT" ]
null
null
null
src/system/control_system.ml
Rimuruu/PFA-Projet-G10
0d6b9b77980a6c6af99007b9ef2245969751cbbc
[ "MIT" ]
null
null
null
let init () = () let update _dt _el = (* Check for keyboard events *) let rec loop_events () = match Gfx.poll_event () with NoEvent -> () | ev -> List.iter (fun f -> f ()) (Input_handler.get_commands ev); loop_events () in loop_events ()
20
64
0.557143
afc3faa9094f937f443ca9fbc81f28b672ef4359
572
ml
OCaml
source/command/commands.ml
ekmixon/pyre-check
bd2475cc0cf4bef941f0aea6df10d674e6c907ab
[ "MIT" ]
1
2021-10-20T14:36:26.000Z
2021-10-20T14:36:26.000Z
source/command/commands.ml
yuhan1212/pyre-check
37a3fcb4dec517c37f381743bac8f8a269218f8c
[ "MIT" ]
null
null
null
source/command/commands.ml
yuhan1212/pyre-check
37a3fcb4dec517c37f381743bac8f8a269218f8c
[ "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 BaseConfiguration = NewCommandStartup.BaseConfiguration module Analyze = AnalyzeCommand module Check = CheckCommand module N...
30.105263
66
0.805944
8a8d05b234035a5f985da977d39d8b88180aa144
113,411
ml
OCaml
analysis/test/preprocessingTest.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-08-08T16:01:55.000Z
2020-08-08T16:01:55.000Z
analysis/test/preprocessingTest.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
4
2022-02-15T02:42:33.000Z
2022-02-28T01:30:07.000Z
analysis/test/preprocessingTest.ml
terrorizer1980/pyre-check
16659c7f6f19f3c364ba3a56e6c582371a8ff348
[ "MIT" ]
1
2020-11-22T12:08:51.000Z
2020-11-22T12:08:51.000Z
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open OUnit2 open Ast open Analysis open Expression open Statement open Test let test_expand_relative_imports _ = let assert_expa...
25.869297
101
0.462177
8a70d346fa5e491f02f7fdb01c1865840425e4db
916
ml
OCaml
libraries/ec2/lib/resetInstanceAttribute.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/resetInstanceAttribute.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/resetInstanceAttribute.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = ResetInstanceAttributeRequest.t type output = unit type error = Errors_internal.t let service = "ec2" let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Util.of_option_exn (Endpoints.url_of service region))) (List.append [...
24.105263
80
0.635371