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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
176655d2c764d4c373ea7ada4ecdb877d1d42877 | 577,352 | ml | OCaml | node_modules/bs-platform/lib/4.06.1/bsb.ml | Et7f3/esy-glfw | cd10f4754ee3e0a1404e2cca7b3ed711230d5202 | [
"Zlib"
] | null | null | null | node_modules/bs-platform/lib/4.06.1/bsb.ml | Et7f3/esy-glfw | cd10f4754ee3e0a1404e2cca7b3ed711230d5202 | [
"Zlib"
] | null | null | null | node_modules/bs-platform/lib/4.06.1/bsb.ml | Et7f3/esy-glfw | cd10f4754ee3e0a1404e2cca7b3ed711230d5202 | [
"Zlib"
] | null | null | null | module Bs_version : sig
#1 "bs_version.mli"
(* Copyright (C) 2015-2016 Bloomberg Finance L.P.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
*... | 32.965171 | 606 | 0.622002 |
179e26a7a3eb0f862f2cc37d274ed033f20f6690 | 1,400 | mli | OCaml | src/lib/coda_base/coinbase.mli | jjangg96/coda | f9607eb8536e4a897ca48e1e4fe5a085513cf1ff | [
"Apache-2.0"
] | null | null | null | src/lib/coda_base/coinbase.mli | jjangg96/coda | f9607eb8536e4a897ca48e1e4fe5a085513cf1ff | [
"Apache-2.0"
] | null | null | null | src/lib/coda_base/coinbase.mli | jjangg96/coda | f9607eb8536e4a897ca48e1e4fe5a085513cf1ff | [
"Apache-2.0"
] | null | null | null | open Core
open Import
module Fee_transfer = Coinbase_fee_transfer
module Stable : sig
module V1 : sig
type t = private
{ receiver: Public_key.Compressed.Stable.V1.t
; amount: Currency.Amount.Stable.V1.t
; fee_transfer: Fee_transfer.Stable.V1.t option }
[@@deriving sexp, bin_io, compare, eq,... | 25 | 65 | 0.718571 |
cd4f5ab3898a7f5cd694a2c0249870a2f7d240e1 | 1,283 | mli | OCaml | src/common/profiling/profiling_js.mli | bnelo12/flow | 65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0 | [
"MIT"
] | null | null | null | src/common/profiling/profiling_js.mli | bnelo12/flow | 65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0 | [
"MIT"
] | null | null | null | src/common/profiling/profiling_js.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.
*)
type running
type finished
val with_profiling_lwt:
label:string ->
should_print_summary:bool ->
(running -> 'a Lwt.t) ->
... | 26.729167 | 82 | 0.731099 |
cd2e43f31aa4bc6309e4eb7858a6910d99895108 | 61,845 | ml | OCaml | src/parser/expression_parser.ml | mochja/flow | f5351e5ece186468278f5a94a5c59f00315243c1 | [
"MIT"
] | 1 | 2020-11-02T02:15:55.000Z | 2020-11-02T02:15:55.000Z | src/parser/expression_parser.ml | mochja/flow | f5351e5ece186468278f5a94a5c59f00315243c1 | [
"MIT"
] | null | null | null | src/parser/expression_parser.ml | mochja/flow | f5351e5ece186468278f5a94a5c59f00315243c1 | [
"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
open Token
open Parser_env
open Flow_ast
open Parser_common
open Comment_attachment
module type EXPRESSION =... | 36.725059 | 102 | 0.590509 |
cd5ba822869b6e7ba67251e6bca164289f68decf | 12,933 | ml | OCaml | src/build.ml | mlasson/dune | 599b7873be67c9798f9fe87979e7fec3b3a6d78b | [
"MIT"
] | null | null | null | src/build.ml | mlasson/dune | 599b7873be67c9798f9fe87979e7fec3b3a6d78b | [
"MIT"
] | 2 | 2018-01-12T08:41:59.000Z | 2020-12-30T21:57:31.000Z | src/build.ml | mlasson/dune | 599b7873be67c9798f9fe87979e7fec3b3a6d78b | [
"MIT"
] | null | null | null | open! Stdune
open Import
type ('a, 'b) t =
| Arr : ('a -> 'b) -> ('a, 'b) t
| Targets : Path.Set.t -> ('a, 'a) t
| Compose : ('a, 'b) t * ('b, 'c) t -> ('a, 'c) t
| First : ('a, 'b) t -> ('a * 'c, 'b * 'c) t
| Second : ('a, 'b) t -> ('c * 'a, 'c * 'b) t
| Split : ('a, 'b) t * ('c, 'd) t -> ('a * 'c, 'b * '... | 28.612832 | 78 | 0.57187 |
cd31d911e6df2fdf35b67f6646143aad897dbd39 | 145 | mli | OCaml | src/reserved_words.mli | nickdecr/hardcaml | b1222bf55c927fa0c9200388068662ac32bfe24d | [
"MIT"
] | 372 | 2018-05-25T10:51:24.000Z | 2022-03-25T14:38:34.000Z | src/reserved_words.mli | nickdecr/hardcaml | b1222bf55c927fa0c9200388068662ac32bfe24d | [
"MIT"
] | 9 | 2018-07-15T02:52:39.000Z | 2022-01-05T15:11:16.000Z | src/reserved_words.mli | nickdecr/hardcaml | b1222bf55c927fa0c9200388068662ac32bfe24d | [
"MIT"
] | 18 | 2018-08-12T06:08:50.000Z | 2022-02-22T11:42:17.000Z | (** Tables of reserved words in Verilog, VHDL and OCaml. *)
open Base
val verilog : string list
val vhdl : string list
val ocaml : string list
| 18.125 | 59 | 0.724138 |
17eb852b5d393e072debd46869eed50e86d1c498 | 9,726 | mli | OCaml | src/fs9p/vfs.mli | haesbaert/vpnkit | 854498c13b1884d4a48d84f3569eb34681af2126 | [
"Apache-2.0"
] | 498 | 2017-04-18T17:31:39.000Z | 2022-03-14T23:18:08.000Z | src/fs9p/vfs.mli | haesbaert/vpnkit | 854498c13b1884d4a48d84f3569eb34681af2126 | [
"Apache-2.0"
] | 86 | 2017-04-19T11:08:23.000Z | 2021-02-15T13:53:34.000Z | src/fs9p/vfs.mli | haesbaert/vpnkit | 854498c13b1884d4a48d84f3569eb34681af2126 | [
"Apache-2.0"
] | 93 | 2017-04-23T16:36:40.000Z | 2022-03-05T13:36:28.000Z | (** Virtual filesystem.
A virtual filesystem is an abstract description of {{!File}files},
{{!Dir}directoires}, {{!Inode}inodes} and {{!Error}error codes}.
*)
open Astring
open Result
(** Error codes. *)
module Error : sig
type err = { errno : int32 option; descr : string }
(** The type for generic error... | 29.56231 | 78 | 0.59233 |
cd44288dd3601a5829c3e05805a6eea2687d22c5 | 2,816 | mli | OCaml | Modyfikacja Drzew/iSet.mli | niedziol/OCaml | 4e9b345931e653397c5a8fea5324802793ace2a1 | [
"MIT"
] | null | null | null | Modyfikacja Drzew/iSet.mli | niedziol/OCaml | 4e9b345931e653397c5a8fea5324802793ace2a1 | [
"MIT"
] | null | null | null | Modyfikacja Drzew/iSet.mli | niedziol/OCaml | 4e9b345931e653397c5a8fea5324802793ace2a1 | [
"MIT"
] | 1 | 2019-01-21T16:10:57.000Z | 2019-01-21T16:10:57.000Z | (*
* ISet - Interval sets
* Copyright (C) 1996-2003 Xavier Leroy, Nicolas Cannasse, Markus Mottl, Jacek Chrzaszcz
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version... | 38.575342 | 88 | 0.660156 |
17ec1c42ec1c6dd5ad7cf79835ef5fd43ff9501f | 211 | mli | OCaml | libraries/autoscaling/lib/exitStandby.mli | Nymphium/ocaml-aws | 91567339845eedfe5dabbcfd229df3b38889a09e | [
"BSD-3-Clause"
] | null | null | null | libraries/autoscaling/lib/exitStandby.mli | Nymphium/ocaml-aws | 91567339845eedfe5dabbcfd229df3b38889a09e | [
"BSD-3-Clause"
] | 1 | 2021-06-22T14:33:23.000Z | 2021-06-22T14:33:23.000Z | libraries/autoscaling/lib/exitStandby.mli | Nymphium/ocaml-aws | 91567339845eedfe5dabbcfd229df3b38889a09e | [
"BSD-3-Clause"
] | null | null | null | open Types
type input = ExitStandbyQuery.t
type output = ExitStandbyAnswer.t
type error = Errors_internal.t
include
Aws.Call with type input := input and type output := output and type
error := error | 30.142857 | 74 | 0.739336 |
cd4362a5bd714756667ae4072a9c7ec5fa2b0367 | 2,555 | ml | OCaml | src/services/export/index/__tests__/export_index_tests.ml | dmitryvinn/flow-1 | 9ef203b34fd36fe390467456cbd0ce6c4920522e | [
"MIT"
] | null | null | null | src/services/export/index/__tests__/export_index_tests.ml | dmitryvinn/flow-1 | 9ef203b34fd36fe390467456cbd0ce6c4920522e | [
"MIT"
] | null | null | null | src/services/export/index/__tests__/export_index_tests.ml | dmitryvinn/flow-1 | 9ef203b34fd36fe390467456cbd0ce6c4920522e | [
"MIT"
] | null | null | null | (*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open OUnit2
let file_source name = Export_index.File_key (File_key.SourceFile name)
let file_lib name = Export_index.File_key (... | 30.783133 | 77 | 0.655186 |
173c5ed7267c4f067bee5be4489a6c93c20130f1 | 2,183 | ml | OCaml | infer/src/base/ZipLib.ml | mihelem/infer | e3360c684f2737b77d772b69910c52149c319def | [
"MIT"
] | 4 | 2021-11-19T02:07:46.000Z | 2022-03-24T06:03:50.000Z | infer/src/base/ZipLib.ml | mihelem/infer | e3360c684f2737b77d772b69910c52149c319def | [
"MIT"
] | 1 | 2021-04-05T15:19:58.000Z | 2021-12-16T04:22:26.000Z | infer/src/base/ZipLib.ml | mihelem/infer | e3360c684f2737b77d772b69910c52149c319def | [
"MIT"
] | 1 | 2019-04-26T02:27:43.000Z | 2019-04-26T02:27:43.000Z | (*
* Copyright (c) 2016-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open! IStd
open PolyVariantEqual
type zip_library = {zip_filename: string; zip_channel: Zip.in_file Lazy.t}
let load_from_zip serialize... | 34.109375 | 99 | 0.700412 |
cd4925a0ec7b858c58bc74407b95e71dc60733f0 | 761 | mli | OCaml | src/simple_dual_port_ram.mli | janestreet/hardcaml_xilinx | 8ddab7ddc6766f8e66d858449aafffe64699d7d5 | [
"MIT"
] | 4 | 2020-08-18T13:30:04.000Z | 2021-12-17T02:55:16.000Z | src/simple_dual_port_ram.mli | janestreet/hardcaml_xilinx | 8ddab7ddc6766f8e66d858449aafffe64699d7d5 | [
"MIT"
] | null | null | null | src/simple_dual_port_ram.mli | janestreet/hardcaml_xilinx | 8ddab7ddc6766f8e66d858449aafffe64699d7d5 | [
"MIT"
] | 2 | 2021-01-08T18:04:36.000Z | 2021-12-17T02:55:52.000Z | (** Simple Dual Port Memory. 1 port is for writing, the other for reading. *)
open Base
open Hardcaml
(** Create a Xilinx compatible memory. Uses True_dual_port_ram with appropriate parameters
for implementation. *)
val create
: ?read_latency:int (** Default is 1 *)
-> ?arch:Ram_arch.t (** Default is [Rtl] *... | 29.269231 | 90 | 0.68594 |
17e1798907394030a7ec839f352c57e2b3c640ab | 979 | ml | OCaml | exercises/practice/run-length-encoding/example.ml | exercism-bot/ocaml | b72a0d29d7f31d90138eab8fc0f87e56b73ba938 | [
"MIT"
] | 67 | 2017-07-06T12:10:14.000Z | 2022-03-27T02:25:06.000Z | exercises/practice/run-length-encoding/example.ml | exercism-bot/ocaml | b72a0d29d7f31d90138eab8fc0f87e56b73ba938 | [
"MIT"
] | 106 | 2017-06-19T06:21:53.000Z | 2022-03-15T10:32:20.000Z | exercises/practice/run-length-encoding/example.ml | exercism-bot/ocaml | b72a0d29d7f31d90138eab8fc0f87e56b73ba938 | [
"MIT"
] | 36 | 2017-07-12T18:11:37.000Z | 2021-11-30T16:05:17.000Z | open Base
let (>|>) f g x = g (f x)
let repeat n ch =
Array.init n ~f:(fun _ -> ch)
|> Array.to_list
|> String.of_char_list
let collapse = function
| [] -> failwith "empty string not expected here"
| [x] -> Char.to_string x
| (x::_) as g -> Printf.sprintf "%d%c" (List.length g) x
let to_int = String.of_char... | 26.459459 | 71 | 0.590398 |
cd298427b256319a8676ff82f6344738762b5004 | 16 | ml | OCaml | ocaml-sources/testsuite/tests/tool-toplevel/mod.ml | Naereen/ocaml-mots-cles-en-francais | 77b1d41e3277d0356e676330f2284b8c01ba14ee | [
"MIT"
] | 2 | 2021-03-03T15:31:36.000Z | 2021-03-05T16:01:39.000Z | ocaml-sources/testsuite/tests/basic/camlCase.ml | Naereen/ocaml-mots-cles-en-francais | 77b1d41e3277d0356e676330f2284b8c01ba14ee | [
"MIT"
] | 2 | 2021-03-03T16:08:23.000Z | 2021-03-03T19:31:03.000Z | ocaml-sources/testsuite/tests/tool-toplevel/mod.ml | Naereen/ocaml-mots-cles-en-francais | 77b1d41e3277d0356e676330f2284b8c01ba14ee | [
"MIT"
] | null | null | null | let answer = 42
| 8 | 15 | 0.6875 |
17fe9f8e74be99c7e3d4627fef8e1b377b119acf | 1,083 | ml | OCaml | src/lib/Load.ml | EntropyFails/cooltt | 134dece9b9cc1157309f91af252c02ff7b7e2906 | [
"Apache-2.0"
] | null | null | null | src/lib/Load.ml | EntropyFails/cooltt | 134dece9b9cc1157309f91af252c02ff7b7e2906 | [
"Apache-2.0"
] | null | null | null | src/lib/Load.ml | EntropyFails/cooltt | 134dece9b9cc1157309f91af252c02ff7b7e2906 | [
"Apache-2.0"
] | null | null | null | open Lex
open Basis.LexingUtil
type error = LexingError of span | ParseError of span
exception ParseError of string * span
let parse_with_error parser lexbuf =
try Ok (parser Lex.token lexbuf) with
| SyntaxError _msg ->
let span = {start = lexbuf.lex_start_p; stop = lexbuf.lex_curr_p} in
Error (LexingErro... | 27.075 | 72 | 0.722068 |
cd45601e5c875dbd7b6bcc4c35b5aa2412110f57 | 3,388 | ml | OCaml | data/fa15/2729.ml | ucsd-progsys/nate | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | 9 | 2017-08-30T23:00:52.000Z | 2021-02-25T23:08:55.000Z | data/fa15/2729.ml | ucsd-progsys/ml2 | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | null | null | null | data/fa15/2729.ml | ucsd-progsys/ml2 | 8b1267cd8b10283d8bc239d16a28c654a4cb8942 | [
"BSD-3-Clause"
] | 1 | 2022-03-31T19:50:33.000Z | 2022-03-31T19:50:33.000Z |
let rec clone x n = if n > 0 then [x] @ (clone x (n - 1)) else [];;
let padZero l1 l2 =
let len1 = List.length l1 in
let len2 = List.length l2 in
if len1 > len2
then (l1, ((clone 0 (len1 - len2)) @ l2))
else (((clone 0 (len2 - len1)) @ l1), l2);;
let rec removeZero l =
match l with | [] -> [] | h::t -> i... | 17.831579 | 71 | 0.489374 |
17c2485230822634ac4d226c70b952283b69c682 | 2,699 | mli | OCaml | vendors/ocaml-bls12-381/src/Fq12.mli | d4hines/marigold-tezos | d106ccb9208af16d673aaa4ca48878eeba37527b | [
"MIT"
] | null | null | null | vendors/ocaml-bls12-381/src/Fq12.mli | d4hines/marigold-tezos | d106ccb9208af16d673aaa4ca48878eeba37527b | [
"MIT"
] | 1 | 2022-02-18T09:54:32.000Z | 2022-02-18T09:54:32.000Z | vendors/ocaml-bls12-381/src/Fq12.mli | Ngoguey42/tezos | 68f0f84ed58f3c72b1bf3e732d8ee385461a2d14 | [
"MIT"
] | null | null | null | include Ff.BASE
(** Construct an element of Fq12 based on the following pattern:
Fq12 =
Fq6 (
Fq2(x: x0, y: x1))
Fq2(x: x2, y: x3))
Fq2(x: x4, y: x5)),
Fq6 (
Fq2(x: x6, y: x7))
Fq2(x: x8, y: x9))
Fq2(x: x10, y: x11))
x0, ..., x11 are the parameters of the fun... | 39.691176 | 123 | 0.77399 |
cd039e59d8a4d824e2933630deb4a2931a786bfa | 422,372 | ml | OCaml | gencommon.ml | larsiusprime/haxe | f47516d01fdfbe3b563eecad4b8dba51809ebf3e | [
"MIT"
] | null | null | null | gencommon.ml | larsiusprime/haxe | f47516d01fdfbe3b563eecad4b8dba51809ebf3e | [
"MIT"
] | null | null | null | gencommon.ml | larsiusprime/haxe | f47516d01fdfbe3b563eecad4b8dba51809ebf3e | [
"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.11529 | 278 | 0.641368 |
177fcbeb457b4ab84c8f1ce83b80066a9042f4bb | 40,652 | ml | OCaml | lib/monads/monads_monad.ml | dra27/bap | bc9679900822afac9c7f7f1dc098958bab217b0e | [
"MIT"
] | 1,697 | 2015-01-09T07:17:41.000Z | 2022-03-26T17:48:05.000Z | lib/monads/monads_monad.ml | dvntaudio/bap | 5cfc3e584ea32d6c0c33013e050fb1a1e8f260de | [
"MIT"
] | 685 | 2015-01-10T21:32:42.000Z | 2022-03-23T23:44:53.000Z | lib/monads/monads_monad.ml | dvntaudio/bap | 5cfc3e584ea32d6c0c33013e050fb1a1e8f260de | [
"MIT"
] | 294 | 2015-01-10T15:51:57.000Z | 2022-03-20T05:37:22.000Z | open Core_kernel
module Monoid = Monads_monoid
module Types = Monads_types
module Trans = Types.Trans
module type Monad = Types.Monad.S
module type Monad2 = Types.Monad.S2
module Plus = Types.Plus
module Fail = Types.Fail
module Choice = struct
include Types.Choice
module Make2(M : Basic2) : S2 with type ('a,'e) ... | 27.011296 | 82 | 0.499262 |
174066a669e64b827cfa61c8d6f47c8e0c23fffc | 2,625 | ml | OCaml | src/server/serverProt.ml | tako-black/nagare | 8b5cb8eed2b208197abcf582b591537def887ba3 | [
"BSD-3-Clause"
] | 2 | 2015-07-28T23:53:32.000Z | 2015-07-31T15:17:21.000Z | src/server/serverProt.ml | nmn/flow | a1de61dfdbf0ae53f5fb1926f83930389d9fbc30 | [
"BSD-3-Clause"
] | null | null | null | src/server/serverProt.ml | nmn/flow | a1de61dfdbf0ae53f5fb1926f83930389d9fbc30 | [
"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.
*
*)
type file_inp... | 26.25 | 80 | 0.72381 |
cd5789aa6f744c7847fa9d14bc2ccc744a9636cd | 3,328 | ml | OCaml | lib/functoria/package.ml | dune-universe/mirage | 26510641e3f5d40185309e8e82d4ca6ed87aa0e5 | [
"ISC"
] | null | null | null | lib/functoria/package.ml | dune-universe/mirage | 26510641e3f5d40185309e8e82d4ca6ed87aa0e5 | [
"ISC"
] | null | null | null | lib/functoria/package.ml | dune-universe/mirage | 26510641e3f5d40185309e8e82d4ca6ed87aa0e5 | [
"ISC"
] | null | null | null | (*
* Copyright (c) 2015 Gabriel Radanne <drupyog@zoho.com>
* Copyright (c) 2020 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... | 34.666667 | 79 | 0.64994 |
cd267f71647fa80e292f86614eaedeb53e16047e | 83 | ml | OCaml | burst/src/Synthesizer.ml | VictorYYW/BurstArtifactEvaluation | b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc | [
"MIT"
] | 2 | 2022-02-17T02:18:55.000Z | 2022-03-02T22:54:52.000Z | burst/src/Synthesizer.ml | VictorYYW/BurstArtifactEvaluation | b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc | [
"MIT"
] | null | null | null | burst/src/Synthesizer.ml | VictorYYW/BurstArtifactEvaluation | b69a22ec20666c29f3e5839bd75ffdc3b37ed1bc | [
"MIT"
] | 1 | 2021-12-06T23:14:05.000Z | 2021-12-06T23:14:05.000Z | open Lang
module type IOSynth = sig
val synth : problem:Problem.t -> Expr.t
end
| 13.833333 | 41 | 0.710843 |
17d6dd7b5ea8eacc26c36a0d23aee0bf910c0c9a | 2,038 | mli | OCaml | src/dune_rules/module_name.mli | esope/dune | a79a071739b9537da8f9dc236a964793979da849 | [
"MIT"
] | 245 | 2016-12-02T14:13:32.000Z | 2018-01-14T20:00:40.000Z | src/dune_rules/module_name.mli | esope/dune | a79a071739b9537da8f9dc236a964793979da849 | [
"MIT"
] | 380 | 2017-01-28T18:46:52.000Z | 2018-01-17T13:34:51.000Z | src/dune_rules/module_name.mli | staronj/dune | cf0ceccef1e177625b9361323bd7a3401a988d45 | [
"MIT"
] | 59 | 2016-12-02T13:58:19.000Z | 2018-01-06T18:23:02.000Z | open Import
(** Represents a valid OCaml module name *)
type t
(** Description of valid module names *)
val valid_format_doc : User_message.Style.t Pp.t
include Stringlike_intf.S with type t := t
val add_suffix : t -> string -> t
val equal : t -> t -> bool
val compare : t -> t -> Ordering.t
val uncapitalize : t ... | 25.797468 | 79 | 0.690383 |
cd4840aa2cb13eb9da498b93ec7bc0089432ef26 | 1,932 | ml | OCaml | src/matplotlib/pyplot.ml | crackcomm/ocaml-matplotlib | e2ae3e0738f651d386e58d53266c8a368a75d259 | [
"MIT"
] | 22 | 2019-03-10T09:26:42.000Z | 2022-03-24T18:42:32.000Z | src/matplotlib/pyplot.ml | crackcomm/ocaml-matplotlib | e2ae3e0738f651d386e58d53266c8a368a75d259 | [
"MIT"
] | 5 | 2019-06-26T20:20:39.000Z | 2021-09-17T18:56:04.000Z | src/matplotlib/pyplot.ml | crackcomm/ocaml-matplotlib | e2ae3e0738f651d386e58d53266c8a368a75d259 | [
"MIT"
] | 5 | 2019-06-26T19:58:11.000Z | 2021-12-20T04:56:49.000Z | open Base
open Pyops
let title label =
let p = Mpl.pyplot_module () in
ignore ((p.&("title")) [| Py.String.of_string label |])
let xlabel label =
let p = Mpl.pyplot_module () in
ignore ((p.&("xlabel")) [| Py.String.of_string label |])
let ylabel label =
let p = Mpl.pyplot_module () in
ignore ((p.&("ylabe... | 30.666667 | 78 | 0.668737 |
174ade358334c4cc09676fe8fe4ef62e89234014 | 173,694 | ml | OCaml | src/rescript-editor-support/vendor/omd/omd_parser.ml | amiralies/rescript-editor-support | 33287cf8f74001fb8d767855e49036dc56a1c54b | [
"MIT"
] | 33 | 2020-11-19T11:45:40.000Z | 2021-04-21T19:21:21.000Z | src/rescript-editor-support/vendor/omd/omd_parser.ml | amiralies/rescript-editor-support | 33287cf8f74001fb8d767855e49036dc56a1c54b | [
"MIT"
] | 68 | 2020-11-19T13:39:39.000Z | 2021-04-23T14:29:05.000Z | src/rescript-editor-support/vendor/omd/omd_parser.ml | amiralies/rescript-editor-support | 33287cf8f74001fb8d767855e49036dc56a1c54b | [
"MIT"
] | 4 | 2020-11-21T01:31:44.000Z | 2021-04-23T23:52:18.000Z | (***********************************************************************)
(* omd: Markdown frontend in OCaml *)
(* (c) 2013-2014 by Philippe Wang <philippe.wang@cl.cam.ac.uk> *)
(* Licence : ISC *)
(* http://www.isc.org/do... | 38.997306 | 139 | 0.481836 |
cd63d875f19152ffb9b3d6bac5b7f325a3ed9f6d | 122 | ml | OCaml | src/Log.ml | smorimoto/rescript-editor-support | bd15389f017315a1cf4aeb999debd23f05b42495 | [
"MIT"
] | 33 | 2020-11-19T11:45:40.000Z | 2021-04-21T19:21:21.000Z | src/Log.ml | smorimoto/rescript-editor-support | bd15389f017315a1cf4aeb999debd23f05b42495 | [
"MIT"
] | 68 | 2020-11-19T13:39:39.000Z | 2021-04-23T14:29:05.000Z | src/Log.ml | smorimoto/rescript-editor-support | bd15389f017315a1cf4aeb999debd23f05b42495 | [
"MIT"
] | 4 | 2020-11-21T01:31:44.000Z | 2021-04-23T23:52:18.000Z | let spamError = ref false
let log msg =
if !spamError then (
output_string stderr (msg ^ "\n");
flush stderr )
| 17.428571 | 38 | 0.639344 |
17d6b2d8478112b17666664a2b42f15e6a594591 | 234 | ml | OCaml | data/derived/comb/progs/unify/prog5943.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/prog1077.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog1077.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null |
let rec clone x n = if n <= 0 then [] else x :: (clone x (n - 1));;
let padZero l1 l2 =
let len = (List.length l1) - (List.length l2) in
if len <= 0
then ((((clone 0 (-1)) * len) @ l1), l2)
else (l1, ((clone 0 len) @ l2));;
| 26 | 67 | 0.517094 |
aa5c4ef1eb9fc34e32a8da240dc17188e6bb3838 | 16,961 | ml | OCaml | src/passes/04-tree_abstraction/jsligo/errors.ml | DiningPhilosophersCo/ligo | 31e66141c8a6fc8442769a1b851c73610288281d | [
"MIT"
] | null | null | null | src/passes/04-tree_abstraction/jsligo/errors.ml | DiningPhilosophersCo/ligo | 31e66141c8a6fc8442769a1b851c73610288281d | [
"MIT"
] | null | null | null | src/passes/04-tree_abstraction/jsligo/errors.ml | DiningPhilosophersCo/ligo | 31e66141c8a6fc8442769a1b851c73610288281d | [
"MIT"
] | null | null | null | open Simple_utils.Display
module Raw = Cst.Jsligo
module Parsing = Parsing.Jsligo
module Region = Simple_utils.Region
module Location = Simple_utils.Location
module Snippet = Simple_utils.Snippet
let stage = "abstracter"
type abs_error = [
| `Concrete_jsligo_unknown_constant of string * Location.t
| `Concret... | 45.594086 | 160 | 0.67608 |
17635522774c400f17b9ea4d72b1f4ac1f9a1659 | 4,269 | mli | OCaml | src/component.mli | janestreet/incr_dom | 7d6b44fb5c1495c1ba8c7dcdf7497a9de3f887e4 | [
"MIT"
] | 327 | 2016-07-07T09:13:42.000Z | 2022-03-14T00:10:40.000Z | src/component.mli | janestreet/incr_dom | 7d6b44fb5c1495c1ba8c7dcdf7497a9de3f887e4 | [
"MIT"
] | 15 | 2016-08-23T02:13:23.000Z | 2021-07-13T19:07:51.000Z | src/component.mli | janestreet/incr_dom | 7d6b44fb5c1495c1ba8c7dcdf7497a9de3f887e4 | [
"MIT"
] | 33 | 2017-07-10T08:13:39.000Z | 2022-03-08T22:19:46.000Z | (** A [Component] captures the basic operations that need to be provided in order to build
an Incr_dom app. The same type can be used both at the top-level of an app,
as well as for defining individual components within a larger app.
The {!Component.t} is often constructed incrementally, and is always cre... | 46.912088 | 90 | 0.714687 |
17da132fc91e80533ddcb974950479e483aea7a1 | 3,667 | ml | OCaml | src/proto_alpha/lib_protocol/test/test_helpers_rpcs.ml | Sudha247/tezos | 63361867c3b3c18c530f5636254a0c5541dc041e | [
"MIT"
] | null | null | null | src/proto_alpha/lib_protocol/test/test_helpers_rpcs.ml | Sudha247/tezos | 63361867c3b3c18c530f5636254a0c5541dc041e | [
"MIT"
] | null | null | null | src/proto_alpha/lib_protocol/test/test_helpers_rpcs.ml | Sudha247/tezos | 63361867c3b3c18c530f5636254a0c5541dc041e | [
"MIT"
] | null | null | null | (*****************************************************************************)
(* *)
(* Open Source License *)
(* Copyright (c) 2020-2021 Nomadic Labs, <contact@nomadic-labs.com> *)
... | 52.385714 | 93 | 0.56504 |
17a2bec1a28e2c276d2c0e80a69eba5b9df8b206 | 2,402 | ml | OCaml | src/ocaml/utils/405/config.ml | mnxn/merlin | c9761a552380838e9f530b5c47c0ea3c47c33565 | [
"MIT"
] | null | null | null | src/ocaml/utils/405/config.ml | mnxn/merlin | c9761a552380838e9f530b5c47c0ea3c47c33565 | [
"MIT"
] | null | null | null | src/ocaml/utils/405/config.ml | mnxn/merlin | c9761a552380838e9f530b5c47c0ea3c47c33565 | [
"MIT"
] | null | null | null | (**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* ... | 42.140351 | 76 | 0.374271 |
1762ca148ddedc1db8d7679b6def05d726fc2179 | 5,746 | ml | OCaml | fftw-src/fftw-3.3.8/genfft/number.ml | tginick/fftw | 8489660935703c60c91d2133ead397421575a70e | [
"MIT"
] | 34 | 2019-05-03T14:45:49.000Z | 2022-01-05T17:43:27.000Z | fftw-src/fftw-3.3.8/genfft/number.ml | tginick/fftw | 8489660935703c60c91d2133ead397421575a70e | [
"MIT"
] | 40 | 2017-02-19T16:20:10.000Z | 2019-04-20T09:32:19.000Z | fftw-src/fftw-3.3.8/genfft/number.ml | tginick/fftw | 8489660935703c60c91d2133ead397421575a70e | [
"MIT"
] | 15 | 2019-04-29T14:49:59.000Z | 2021-11-15T13:29:27.000Z | (*
* Copyright (c) 1997-1999 Massachusetts Institute of Technology
* Copyright (c) 2003, 2007-14 Matteo Frigo
* Copyright (c) 2003, 2007-14 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 publi... | 34.824242 | 81 | 0.645841 |
17de41ad53170ee4134e4223df0bbfbd4486c9b2 | 7,076 | ml | OCaml | infer/src/backend/StatsAggregator.ml | shakenetwork/infer | faf04af1f4bd7a590948f3760cc9a11540420361 | [
"BSD-3-Clause"
] | 1 | 2017-09-14T09:03:44.000Z | 2017-09-14T09:03:44.000Z | infer/src/backend/StatsAggregator.ml | shakenetwork/infer | faf04af1f4bd7a590948f3760cc9a11540420361 | [
"BSD-3-Clause"
] | null | null | null | infer/src/backend/StatsAggregator.ml | shakenetwork/infer | faf04af1f4bd7a590948f3760cc9a11540420361 | [
"BSD-3-Clause"
] | null | null | null | (*
* Copyright (c) 2016 - 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
... | 41.380117 | 99 | 0.73615 |
cd5d723808d10b4e9787954c3e83624caa187806 | 3,313 | ml | OCaml | configure.ml | esope/dune | a79a071739b9537da8f9dc236a964793979da849 | [
"MIT"
] | 245 | 2016-12-02T14:13:32.000Z | 2018-01-14T20:00:40.000Z | configure.ml | esope/dune | a79a071739b9537da8f9dc236a964793979da849 | [
"MIT"
] | 380 | 2017-01-28T18:46:52.000Z | 2018-01-17T13:34:51.000Z | configure.ml | staronj/dune | cf0ceccef1e177625b9361323bd7a3401a988d45 | [
"MIT"
] | 59 | 2016-12-02T13:58:19.000Z | 2018-01-06T18:23:02.000Z | #!/usr/bin/env ocaml
open StdLabels
open Printf
let list f l = sprintf "[%s]" (String.concat ~sep:"; " (List.map l ~f))
let string s = sprintf "%S" s
let option f = function
| None -> "None"
| Some x -> sprintf "Some %s" (f x)
let out =
match Sys.getenv_opt "DUNE_CONFIGURE_OUTPUT" with
| None -> "src/dune_... | 33.806122 | 79 | 0.627528 |
172d2923e5e857423b435c65e6bce90dbf03fd3b | 6,524 | ml | OCaml | src/codemods/utils/codemod_hardcoded_ty_fixes.ml | cristiancota/flow | 1f87ab350fb65bf3461dc52dbd177bbcf0882be8 | [
"MIT"
] | null | null | null | src/codemods/utils/codemod_hardcoded_ty_fixes.ml | cristiancota/flow | 1f87ab350fb65bf3461dc52dbd177bbcf0882be8 | [
"MIT"
] | null | null | null | src/codemods/utils/codemod_hardcoded_ty_fixes.ml | cristiancota/flow | 1f87ab350fb65bf3461dc52dbd177bbcf0882be8 | [
"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.
*)
(* WARNING! Hard-coded fixes ahead!
*
* The level of inferred types (Ty.t). The advantage here is that we have
* access to more ... | 32.78392 | 96 | 0.522072 |
cd252e68ee45a69ef25a75bd4ebd8d0ef28f54c2 | 1,791 | mli | OCaml | src/mongoAdmin.mli | jplew/mongo | 6913a4c6094500df1e62ee925bf67965b0c58b55 | [
"MIT"
] | 41 | 2015-05-17T19:06:54.000Z | 2021-06-27T12:15:03.000Z | src/mongoAdmin.mli | jplew/mongo | 6913a4c6094500df1e62ee925bf67965b0c58b55 | [
"MIT"
] | 6 | 2015-02-09T00:20:31.000Z | 2019-05-09T20:04:03.000Z | src/mongoAdmin.mli | jplew/mongo | 6913a4c6094500df1e62ee925bf67965b0c58b55 | [
"MIT"
] | 15 | 2015-02-10T13:23:13.000Z | 2021-12-10T20:48:45.000Z | (**
{b This is a major client-faced module, for the high level usage.}
This module includes a series of APIs that client can use directly to obtain some admin level of information about a MongoDB, e.g., the list of databases inside, etc.
Currently all commands are read-only ones, which means they are just ret... | 38.934783 | 174 | 0.725851 |
17e524172424581078325606b2f72954d212e86a | 5,035 | ml | OCaml | test/test_moderation.ml | smorimoto/ocaml-reddit-api | aab8489c848506a5add59263c2391e56756dbe77 | [
"MIT"
] | 3 | 2020-12-31T06:25:49.000Z | 2022-03-27T11:25:09.000Z | test/test_moderation.ml | smorimoto/ocaml-reddit-api | aab8489c848506a5add59263c2391e56756dbe77 | [
"MIT"
] | 7 | 2020-09-21T12:38:34.000Z | 2022-03-28T00:28:11.000Z | test/test_moderation.ml | smorimoto/ocaml-reddit-api | aab8489c848506a5add59263c2391e56756dbe77 | [
"MIT"
] | 2 | 2021-07-03T22:24:38.000Z | 2022-03-27T04:02:00.000Z | open! Core
open! Async
open! Import
let%expect_test "remove" =
with_cassette "remove" ~f:(fun connection ->
let id = `Link (Thing.Link.Id.of_string "j4z0ig") in
let%bind () = Connection.call_exn connection (Endpoint.remove ~id ~spam:false) in
[%expect];
return ())
;;
let%expect_test "disting... | 33.791946 | 91 | 0.622244 |
aa10fac95e74232ccd78209900e7ae4672fedab3 | 5,155 | ml | OCaml | src/mirage_kv_mem.ml | hannesm/mirage-kv-mem | bcf8bd94a6a91bebd6f4a548d66d52948bc65759 | [
"ISC"
] | null | null | null | src/mirage_kv_mem.ml | hannesm/mirage-kv-mem | bcf8bd94a6a91bebd6f4a548d66d52948bc65759 | [
"ISC"
] | null | null | null | src/mirage_kv_mem.ml | hannesm/mirage-kv-mem | bcf8bd94a6a91bebd6f4a548d66d52948bc65759 | [
"ISC"
] | null | null | null | type write_error = Mirage_kv.write_error
let pp_write_error = Mirage_kv.pp_write_error
type error = Mirage_kv.error
let pp_error = Mirage_kv.pp_error
module Pure = struct
open Rresult.R.Infix
module M = Map.Make(String)
type t =
| Dictionary of Ptime.t * t M.t
| Value of Ptime.t * string
type key = ... | 29.457143 | 84 | 0.560621 |
17aa147c6ff61b1230287a0a61e76f0140b1c953 | 9,973 | ml | OCaml | src/deferred_or_error.ml | npm-opam/async_kernel | f10eb24919198c15f3a1f95e41f5eae67e93cb17 | [
"Apache-2.0"
] | null | null | null | src/deferred_or_error.ml | npm-opam/async_kernel | f10eb24919198c15f3a1f95e41f5eae67e93cb17 | [
"Apache-2.0"
] | null | null | null | src/deferred_or_error.ml | npm-opam/async_kernel | f10eb24919198c15f3a1f95e41f5eae67e93cb17 | [
"Apache-2.0"
] | null | null | null | open! Core_kernel.Std
open! Import
module Deferred = Deferred1
include (Deferred_result : Monad.S2
with type ('a, 'b) t := ('a, 'b) Deferred_result.t
with module Let_syntax := Deferred_result.Let_syntax)
type 'a t = 'a Or_error.t Deferred.t
include Applicative.Make (struct
type nonrec 'a t = '... | 24.685644 | 97 | 0.593603 |
177b9c2b7986b1d4381b221ab7f6542b406adfa1 | 7,245 | ml | OCaml | src/app/cli/src/init/graphql_queries.ml | definitiontv/andrea | 257efbf08d3844be86d9da67c843e35cc46c846d | [
"Apache-2.0"
] | 1 | 2021-03-29T18:24:14.000Z | 2021-03-29T18:24:14.000Z | src/app/cli/src/init/graphql_queries.ml | definitiontv/andrea | 257efbf08d3844be86d9da67c843e35cc46c846d | [
"Apache-2.0"
] | null | null | null | src/app/cli/src/init/graphql_queries.ml | definitiontv/andrea | 257efbf08d3844be86d9da67c843e35cc46c846d | [
"Apache-2.0"
] | 1 | 2021-12-18T20:29:13.000Z | 2021-12-18T20:29:13.000Z | (* exclude from bisect_ppx to avoid type error on GraphQL modules *)
[@@@coverage exclude_file]
module Decoders = Graphql_lib.Decoders
module Get_tracked_accounts =
[%graphql
{|
query {
trackedAccounts {
public_key: publicKey @bsDecoder(fn: "Decoders.public_key")
locked
balance {
total @bsDecoder(... | 19.6875 | 261 | 0.627053 |
aa0c3573d22191b5db9f36900fffe76b85e671c1 | 8,177 | ml | OCaml | data/derived/comb/progs/unify/prog4397.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/prog4397.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/sp14/progs/unify/prog4397.orig.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*)
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXX
XXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXX
XXXXXXXXXXXXXXX
XXXXXXXXXXXXXX
XXXXXXXXXXXXXX
XXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX... | 25.713836 | 148 | 0.63593 |
17dc12f32be8bca99dedf1502b250c055d2dc802 | 3,692 | ml | OCaml | test/unit/test_unit.ml | giltho/ocamlformat | 2327d0e29c810e5e7d568e2684b75d215f62f492 | [
"MIT"
] | null | null | null | test/unit/test_unit.ml | giltho/ocamlformat | 2327d0e29c810e5e7d568e2684b75d215f62f492 | [
"MIT"
] | null | null | null | test/unit/test_unit.ml | giltho/ocamlformat | 2327d0e29c810e5e7d568e2684b75d215f62f492 | [
"MIT"
] | null | null | null | open Base
open Ocamlformat_lib
module Test_location = struct
let test_compare_width_decreasing =
let open Migrate_ast in
let test name a b expected =
let test_name = "compare_width_decreasing: " ^ name in
( test_name
, `Quick
, fun () ->
let got = Location.compare_width_decr... | 30.512397 | 76 | 0.554442 |
aaa6bdcd41ff7f61045c833dc9c5bf87794a72fc | 12,945 | ml | OCaml | src/minimization.ml | rahlk/MAPGen | 25bc1a84f07e30ab0dbb638cd2aa1ce416c510ff | [
"MIT"
] | null | null | null | src/minimization.ml | rahlk/MAPGen | 25bc1a84f07e30ab0dbb638cd2aa1ce416c510ff | [
"MIT"
] | 1 | 2016-11-27T20:18:00.000Z | 2016-11-27T20:18:00.000Z | src/minimization.ml | rahlk/MAPGen | 25bc1a84f07e30ab0dbb638cd2aa1ce416c510ff | [
"MIT"
] | null | null | null | (*
*
* Copyright (c) 2012-2015,
* Wes Weimer <weimer@cs.virginia.edu>
* Stephanie Forrest <forrest@cs.unm.edu>
* Claire Le Goues <legoues@cs.virginia.edu>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided tha... | 40.201863 | 113 | 0.674005 |
aaf6b2428a3be531202854615f60303ccae572ed | 1,411 | ml | OCaml | set1/fixed_xor/fixed_xor.ml | unix-beard/matasano | aad88723181d45be34841d255818fcd623259c49 | [
"MIT"
] | null | null | null | set1/fixed_xor/fixed_xor.ml | unix-beard/matasano | aad88723181d45be34841d255818fcd623259c49 | [
"MIT"
] | null | null | null | set1/fixed_xor/fixed_xor.ml | unix-beard/matasano | aad88723181d45be34841d255818fcd623259c49 | [
"MIT"
] | null | null | null | (*******************************************************************************
* The matasano crypto challenges
* http://cryptopals.com/sets/1/challenges/2/
* Set 1 Challenge 2
* Fixed XOR
* Compile it like this:
* $ ocamlfind ocamlc -package batteries -o fixed_xor -linkpkg fixed_xor.ml
****************************... | 39.194444 | 89 | 0.598157 |
aa9cc68746fdaa913fc8a4492a291443d266d984 | 15,777 | ml | OCaml | src/lib_sapling/test/test_sapling.ml | bikallem/tezos | 34eb0fd5cb977cc04c3648d91d16e6210de8c8e3 | [
"MIT"
] | 8 | 2021-11-02T13:06:58.000Z | 2021-11-18T19:07:33.000Z | src/lib_sapling/test/test_sapling.ml | bikallem/tezos | 34eb0fd5cb977cc04c3648d91d16e6210de8c8e3 | [
"MIT"
] | 14 | 2020-05-07T15:51:28.000Z | 2022-02-06T10:11:51.000Z | src/lib_sapling/test/test_sapling.ml | bikallem/tezos | 34eb0fd5cb977cc04c3648d91d16e6210de8c8e3 | [
"MIT"
] | 3 | 2021-01-06T00:06:10.000Z | 2021-05-31T18:07:55.000Z | open Tezos_error_monad.Error_monad
module R = Rustzcash
let test_get_memo_size () =
let open Core.Raw in
let sk = List.nth Keys.xsks_raw 0 in
let vk = Viewing_key.of_sk sk in
let address = Viewing_key.(dummy_address ()) in
let rcm = Rcm.random () in
let memo = Bytes.empty in
let esk = DH.esk_random () in... | 35.938497 | 95 | 0.686316 |
cd653944f566c0704ed2821a60c0892c914b9ee7 | 87 | ml | OCaml | data/derived/comb/progs/unify/prog7588.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/prog2783.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null | data/derived/fa15/progs/unify/prog2783.ml | ucsd-progsys/yunounderstand-data | 4321f31638d3d8e8e9710dcf6ddb32929ab649bf | [
"CC0-1.0"
] | null | null | null |
let rec digitsOfInt n =
if n <= 0 then [] else (n mod 10) @ ((digitofInt n) / 10);;
| 21.75 | 61 | 0.563218 |
cd1319bf09b6e012aeb399848e5cb004fd80e2c8 | 74 | ml | OCaml | snarky_universe/curve.ml | mobileink/snarky | af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683 | [
"MIT"
] | 1 | 2020-12-14T08:18:15.000Z | 2020-12-14T08:18:15.000Z | snarky_universe/curve.ml | mobileink/snarky | af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683 | [
"MIT"
] | null | null | null | snarky_universe/curve.ml | mobileink/snarky | af96fa4d4b3c2c86ea2b9b1c9c2e9858c610e683 | [
"MIT"
] | null | null | null | type _ t = Bn128 : Snarky.Backends.Bn128.Field.t t
type e = E : _ t -> e
| 18.5 | 50 | 0.621622 |
cd2aa5945446c9cca04cb6dc8e32d970d2b6ee74 | 137 | ml | OCaml | hollight/valid/mathd-algebra-15.ml | openai/miniF2F | 8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7 | [
"MIT"
] | 102 | 2021-05-04T09:50:13.000Z | 2022-03-27T12:00:05.000Z | hollight/valid/mathd-algebra-15.ml | openai/miniF2F | 8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7 | [
"MIT"
] | 49 | 2021-05-06T09:36:49.000Z | 2022-03-31T18:58:23.000Z | hollight/valid/mathd-algebra-15.ml | openai/miniF2F | 8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7 | [
"MIT"
] | 17 | 2021-05-06T09:04:02.000Z | 2022-03-29T11:25:46.000Z | let mathd-algebra-15 = `!s:num->num->num.
(!a:num b:num. (a > 0 /\ b > 0) ==> (s a b = a EXP b + b EXP a))
==>
(s 2 6 = 100)
`;;
| 22.833333 | 68 | 0.423358 |
cd3913f98ecb10bcbe1b2785859fe2c4b3176205 | 858 | ml | OCaml | hphp/hack/src/hackfmt/rule.ml | efiks/hhvm | bf7b5ffc1d87b90e5a1cdf84ff9e936b4634a822 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/hackfmt/rule.ml | efiks/hhvm | bf7b5ffc1d87b90e5a1cdf84ff9e936b4634a822 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/hackfmt/rule.ml | efiks/hhvm | bf7b5ffc1d87b90e5a1cdf84ff9e936b4634a822 | [
"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.
*
*)
type kind =
| Simple of Cost.t
| Always
| Parental
type t = {
id: int;
kind: kind;
}
let null_rule_id = ... | 18.652174 | 69 | 0.642191 |
17467efb509e4fa3ab53d87891b588d4c7282b13 | 11,786 | ml | OCaml | src/lsp/rpc.ml | lpw25/merlin | f804484390931ce4087b162678e541a1b6bb4c4e | [
"MIT"
] | null | null | null | src/lsp/rpc.ml | lpw25/merlin | f804484390931ce4087b162678e541a1b6bb4c4e | [
"MIT"
] | null | null | null | src/lsp/rpc.ml | lpw25/merlin | f804484390931ce4087b162678e541a1b6bb4c4e | [
"MIT"
] | null | null | null | type t = {
ic : in_channel;
oc : out_channel;
fd : Unix.file_descr;
mutable state : state;
}
and state =
| Ready
| Initialized of Protocol.Initialize.client_capabilities
| Closed
let {Logger. log} = Logger.for_section "lsp"
let send rpc json =
log ~title:"debug" "send: %a" (fun () -> Yojson.Safe.pret... | 30.066327 | 96 | 0.64916 |
179ebe040252ee0d87eda220f080d9cea2eea181 | 2,520 | ml | OCaml | server/test/serverTest.ml | KoalaTea/pyre-check | 71de5448f6695b3616a2a985fcbe27da74a3fc44 | [
"MIT"
] | null | null | null | server/test/serverTest.ml | KoalaTea/pyre-check | 71de5448f6695b3616a2a985fcbe27da74a3fc44 | [
"MIT"
] | null | null | null | server/test/serverTest.ml | 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. *)
open Core
open Analysis
open Ast
open Test
let ( !+ ) descriptor = Unix.File_descr.of_int descriptor
let connections persistent_clients =
... | 31.898734 | 97 | 0.679762 |
cd355b2f9cc1361064651a74ebefe30d6a660bc1 | 3,266 | ml | OCaml | meja/tests/typ-deriving.ml | dankrad/snarky | 4f21bb852f759607f1802a7d90301c7e4de83f3c | [
"MIT"
] | null | null | null | meja/tests/typ-deriving.ml | dankrad/snarky | 4f21bb852f759607f1802a7d90301c7e4de83f3c | [
"MIT"
] | null | null | null | meja/tests/typ-deriving.ml | dankrad/snarky | 4f21bb852f759607f1802a7d90301c7e4de83f3c | [
"MIT"
] | null | null | null | module Impl = Snarky.Snark.Make (Snarky.Backends.Mnt4.Default)
open Impl
include struct
type ('a, 'b) poly = {a: 'a; b: 'b}
type 'field t = (bool, 'field) poly
type var = (Boolean.var, Field.Var.t) poly
let typ __implicit1__ __implicit2__ : (('a1, 'b1) poly, ('a, 'b) poly) Typ.t
=
{ Typ.store=
... | 30.811321 | 78 | 0.47673 |
17995d8940ff6832776e1538594eb9d6cce3f102 | 6,545 | ml | OCaml | interprocedural/test/interproceduralAnalysisTest.ml | dirn/pyre-check | 34b87fd73ae38451843fea37cf27ab951bf7f5ae | [
"MIT"
] | null | null | null | interprocedural/test/interproceduralAnalysisTest.ml | dirn/pyre-check | 34b87fd73ae38451843fea37cf27ab951bf7f5ae | [
"MIT"
] | null | null | null | interprocedural/test/interproceduralAnalysisTest.ml | dirn/pyre-check | 34b87fd73ae38451843fea37cf27ab951bf7f5ae | [
"MIT"
] | 1 | 2021-02-20T13:09:30.000Z | 2021-02-20T13:09:30.000Z | (*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open Core
open OUnit2
open Ast
module TypeAnalysis = Analysis
open Interprocedural
open Test
let setup_environment ~context ?(sour... | 30.44186 | 100 | 0.673797 |
cd4823d32eb7ac87926dc9bda7deb8ac98736aa8 | 16,301 | ml | OCaml | hphp/hack/src/server/serverCommand.ml | azjezz/hhvm | bb38fc533db545c1e9be9b5c373c759cd28b0f33 | [
"PHP-3.01",
"Zend-2.0"
] | 2 | 2019-09-01T19:40:10.000Z | 2019-10-18T13:30:30.000Z | hphp/hack/src/server/serverCommand.ml | azjezz/hhvm | bb38fc533db545c1e9be9b5c373c759cd28b0f33 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2018-12-16T15:39:15.000Z | 2018-12-16T15:39:16.000Z | hphp/hack/src/server/serverCommand.ml | azjezz/hhvm | bb38fc533db545c1e9be9b5c373c759cd28b0f33 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2019-01-04T09:54:09.000Z | 2019-01-04T09:54:09.000Z | (**
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the "hack" directory of this source tree.
*
*)
open Core_kernel
open Utils
open ServerCommandTypes
module TLazyHeap = Typing_lazy_heap
exception Nonfatal_rpc_ex... | 39.758537 | 93 | 0.68321 |
17c934678c6ecf87db067321d24120b9a596e06b | 86,195 | ml | OCaml | src/typing/type_annotation.ml | Jankyboy/flow | f9839688acace8af5dbda39d808924347286862d | [
"MIT"
] | null | null | null | src/typing/type_annotation.ml | Jankyboy/flow | f9839688acace8af5dbda39d808924347286862d | [
"MIT"
] | 17 | 2020-10-12T16:16:07.000Z | 2021-08-07T04:38:39.000Z | src/typing/type_annotation.ml | Jankyboy/flow | f9839688acace8af5dbda39d808924347286862d | [
"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
open Utils_js
open Reason
open Type
open TypeUtil
open Env.LookupMode
ope... | 41.944039 | 102 | 0.561529 |
cd4a9bddebc2331d52a761560007f9fd41928ded | 6,463 | mli | OCaml | src/CL_DisplayWindowDescription.mli | fccm/ocaml-clanlib | 1929f1c11d4cc9fc19e7da22826238b4cce7a07d | [
"Zlib",
"OLDAP-2.2.1"
] | 1 | 2020-10-24T14:48:04.000Z | 2020-10-24T14:48:04.000Z | src/CL_DisplayWindowDescription.mli | fccm/ocaml-clanlib | 1929f1c11d4cc9fc19e7da22826238b4cce7a07d | [
"Zlib",
"OLDAP-2.2.1"
] | null | null | null | src/CL_DisplayWindowDescription.mli | fccm/ocaml-clanlib | 1929f1c11d4cc9fc19e7da22826238b4cce7a07d | [
"Zlib",
"OLDAP-2.2.1"
] | null | null | null | (** *)
(** API documentation for the
{{:http://clanlib.org/docs/clanlib-2.3/reference_doxygen/classCL__DisplayWindowDescription.html}
class CL_DisplayWindowDescription} *)
type t
external init :
?title:string ->
?position:CL_Rect.t ->
?client_area:bool ->
unit -> t
= "caml_CL_DisplayWindowDescription_init... | 59.842593 | 111 | 0.806127 |
cd5cd28a2c222bfb9620f236b866a4f2b483437e | 6,376 | ml | OCaml | hphp/hack/src/utils/pos_span_tiny.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/src/utils/pos_span_tiny.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/src/utils/pos_span_tiny.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) 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.212389 | 88 | 0.712516 |
aade12b8f96d467aea56ba11a15f28c00e52d282 | 5,875 | ml | OCaml | lint/ppx_base_lint.ml | samoht/base | 1620ee58db669b95c2427052f70953c2d56b811b | [
"MIT"
] | 2 | 2022-03-03T01:38:24.000Z | 2022-03-03T01:54:36.000Z | lint/ppx_base_lint.ml | samoht/base | 1620ee58db669b95c2427052f70953c2d56b811b | [
"MIT"
] | 1 | 2021-11-08T19:54:28.000Z | 2021-11-08T19:54:28.000Z | lint/ppx_base_lint.ml | samoht/base | 1620ee58db669b95c2427052f70953c2d56b811b | [
"MIT"
] | 2 | 2021-06-16T23:18:39.000Z | 2022-03-01T19:47:33.000Z | open Ppxlib
open Base
let error ~loc fmt = Location.raise_errorf ~loc (Caml.( ^^ ) "ppx_base_lint:" fmt)
type suspicious_id = Caml_submodule of string
let rec iter_suspicious (id : Longident.t) ~f =
match id with
| Ldot (Lident "Caml", s)
when String.( <> ) s ""
&&
match s.[0] with
... | 31.084656 | 89 | 0.566128 |
17ca367a1fe3236e98e78920b734b3451bba62da | 225 | ml | OCaml | example/llvm/chap1/tokens.ml | mgttlinger/ocaml-book | 09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75 | [
"BSD-3-Clause"
] | 142 | 2015-01-12T16:45:40.000Z | 2022-01-15T00:47:37.000Z | example/llvm/chap1/tokens.ml | mgttlinger/ocaml-book | 09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75 | [
"BSD-3-Clause"
] | 1 | 2018-10-09T13:53:43.000Z | 2018-12-03T04:15:48.000Z | example/llvm/chap1/tokens.ml | mgttlinger/ocaml-book | 09a575b0d1fedfce565ecb9a0ae9cf0df37fdc75 | [
"BSD-3-Clause"
] | 17 | 2015-02-10T18:12:15.000Z | 2021-06-21T06:57:32.000Z | type token =
Def
| Extern
| Ident of string
| Number of float
| Kwd of char
| Plus (** needed, yascc need to specify its precedence*)
| Minus
| Mul
| Div
| LParen
| RParen
| Semi
| Comma
| 15 | 63 | 0.56 |
170b3b07c800a3359dd518e2b6fea31f2fdf65db | 1,465 | mli | OCaml | src/services/type_info/type_info_service.mli | parviz-93/flow | bd22f98a8b254cd3f75586f642121c21fb56ee8f | [
"MIT"
] | 1 | 2021-03-12T10:46:28.000Z | 2021-03-12T10:46:28.000Z | src/services/type_info/type_info_service.mli | parviz-93/flow | bd22f98a8b254cd3f75586f642121c21fb56ee8f | [
"MIT"
] | null | null | null | src/services/type_info/type_info_service.mli | parviz-93/flow | bd22f98a8b254cd3f75586f642121c21fb56ee8f | [
"MIT"
] | null | null | null | (**
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
val type_at_pos :
options:Options.t ->
workers:MultiWorkerLwt.worker list option ->
env:ServerEnv.env ref ->
profiling:Profiling... | 28.173077 | 77 | 0.679863 |
17bbd0937c291f7c3818a4ee18f71dcf8e02be86 | 4,101 | ml | OCaml | hphp/hack/src/typing/tast_expand.ml | Ahsan1350/hhvm | baa987a6decbe4f490a8635c2786a413b2028a45 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/typing/tast_expand.ml | Ahsan1350/hhvm | baa987a6decbe4f490a8635c2786a413b2028a45 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/typing/tast_expand.ml | Ahsan1350/hhvm | baa987a6decbe4f490a8635c2786a413b2028a45 | [
"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 Hh_prelude
open Typing_defs
module T = Aast
module MakeType = Typing_make_type
(* Eliminate residue of type in... | 31.790698 | 78 | 0.60912 |
1719abd97bd5a7f3d22bb055ac91139ed5bf7196 | 12,991 | ml | OCaml | source/interprocedural_analyses/taint/model.ml | rcramblit/pyre-check | fa15d2021ab1bf5b52aae8c09d1520e2b7bcf6c9 | [
"MIT"
] | null | null | null | source/interprocedural_analyses/taint/model.ml | rcramblit/pyre-check | fa15d2021ab1bf5b52aae8c09d1520e2b7bcf6c9 | [
"MIT"
] | null | null | null | source/interprocedural_analyses/taint/model.ml | rcramblit/pyre-check | fa15d2021ab1bf5b52aae8c09d1520e2b7bcf6c9 | [
"MIT"
] | null | null | null | (*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open Core
open Ast
open Analysis
open Expression
open Pyre
open Interprocedural
open Domains
open TaintResult
exception InvalidMod... | 33.830729 | 101 | 0.647987 |
cd2e85557f79347d782db7b6b787ace86f8bd03f | 3,840 | mli | OCaml | hphp/hack/src/utils/hh_json/hh_json.mli | elgenie/hiphop-php | 23efadffa702cf296403a850e3500f91511258f7 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2017-03-25T19:40:07.000Z | 2017-03-25T19:40:07.000Z | hack/utils/hh_json/hh_json.mli | angeloocana/flow | 6632dcaebe460c691e60cdc33253a5940068ff1e | [
"BSD-3-Clause"
] | null | null | null | hack/utils/hh_json/hh_json.mli | angeloocana/flow | 6632dcaebe460c691e60cdc33253a5940068ff1e | [
"BSD-3-Clause"
] | null | null | null | (**
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the "hack" directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*)
(**
* Hh_jso... | 32.268908 | 80 | 0.68125 |
1750f1d4e2fe1ae363fdf6840b7108256ebcdc7f | 583 | mli | OCaml | chapter6/lib/semant.mli | vyorkin/tiger | 54dd179c1cd291df42f7894abce3ee9064e18def | [
"MIT"
] | 14 | 2019-12-31T19:44:45.000Z | 2021-12-09T13:43:18.000Z | chapter6/lib/semant.mli | vyorkin/tiger | 54dd179c1cd291df42f7894abce3ee9064e18def | [
"MIT"
] | 4 | 2019-08-16T16:17:41.000Z | 2020-02-23T15:31:42.000Z | chapter6/lib/semant.mli | vyorkin/tiger | 54dd179c1cd291df42f7894abce3ee9064e18def | [
"MIT"
] | 2 | 2020-10-17T04:56:37.000Z | 2021-08-22T13:00:56.000Z | module ST = Symbol_table
(** Translated expression and its type *)
type expr_ty = {
expr : Translate.expr;
ty : Type.t;
}
(** Type-checks an AST and produces an error in
case of mismatching types or undeclared identifiers. *)
val trans_prog : Syntax.expr -> unit
(** Type-checks and translates the expression ... | 29.15 | 72 | 0.713551 |
179daea9b651f29d9a9e1c5e54a3c37dd7c3279d | 3,516 | mli | OCaml | analysis/classHierarchy.mli | KoalaTea/pyre-check | 71de5448f6695b3616a2a985fcbe27da74a3fc44 | [
"MIT"
] | null | null | null | analysis/classHierarchy.mli | KoalaTea/pyre-check | 71de5448f6695b3616a2a985fcbe27da74a3fc44 | [
"MIT"
] | null | null | null | analysis/classHierarchy.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. *)
open Core
exception Cyclic
exception Incomplete
exception Untracked of Type.t
module Target : sig
type t = {
target: IndexTracker.t... | 26.636364 | 99 | 0.69653 |
17cc70cf6e4d84ea82164d5e0bf4757916e10ad1 | 23,279 | ml | OCaml | infer/src/clang/cTrans_utils.ml | vmarcin/L2D2 | a600cd7cac9e61846426d1521c4f278914b5583b | [
"MIT"
] | 1 | 2021-12-03T02:23:16.000Z | 2021-12-03T02:23:16.000Z | infer/src/clang/cTrans_utils.ml | vmarcin/L2D2 | a600cd7cac9e61846426d1521c4f278914b5583b | [
"MIT"
] | null | null | null | infer/src/clang/cTrans_utils.ml | vmarcin/L2D2 | a600cd7cac9e61846426d1521c4f278914b5583b | [
"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 Hashtbl = Caml.Hashtbl
(** Utility methods to support the translation of clang ast constructs into sil instructi... | 37.068471 | 100 | 0.721895 |
cd3cc46a5056b7bfb2bab2c47e7b60d3871c2d84 | 365 | ml | OCaml | hack/stubs/buildMain.ml | ptmt/flow | 47e762ba3f1249a0bd09de72ab1774cc442bceb5 | [
"BSD-3-Clause"
] | 1 | 2016-11-07T22:24:41.000Z | 2016-11-07T22:24:41.000Z | hack/stubs/buildMain.ml | WFBosnia/flow | 7dc35b0aff2ac751d801f21285de2f5519fa81a3 | [
"BSD-3-Clause"
] | null | null | null | hack/stubs/buildMain.ml | WFBosnia/flow | 7dc35b0aff2ac751d801f21285de2f5519fa81a3 | [
"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 "hack" directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*)
let go _ _ _ ... | 28.076923 | 80 | 0.69589 |
cd157611b65df4918b89d81e0ee1e186530fdae0 | 1,162 | mli | OCaml | libraries/ec2/lib/describeLaunchTemplates.mli | anmonteiro/ocaml-aws | 81cc543a76731177f6d1be8953537297212030d8 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T19:12:04.000Z | 2020-05-21T19:12:04.000Z | libraries/ec2/lib/describeLaunchTemplates.mli | anmonteiro/ocaml-aws | 81cc543a76731177f6d1be8953537297212030d8 | [
"BSD-3-Clause"
] | null | null | null | libraries/ec2/lib/describeLaunchTemplates.mli | anmonteiro/ocaml-aws | 81cc543a76731177f6d1be8953537297212030d8 | [
"BSD-3-Clause"
] | null | null | null | (** "<p>Describes one or more launch templates.</p>" *)
open Types[@@ocaml.warning "-33"]
open Aws.BaseTypes[@@ocaml.warning "-33"]
module DescribeLaunchTemplatesRequest :
sig
type t =
{
dry_run: Boolean.t option ;
launch_template_ids: ValueStringList.t ;
launch_template_names: LaunchTemplateNameStrin... | 36.3125 | 74 | 0.707401 |
aac3a01fe978aeeaa58ede7690da5194b27242ea | 9,037 | ml | OCaml | src/lib/coda_base/staged_ledger_hash.ml | rahulmutt/coda | 7a7dbb04c4dafea860ac03e5f88e58637e8040d3 | [
"Apache-2.0"
] | null | null | null | src/lib/coda_base/staged_ledger_hash.ml | rahulmutt/coda | 7a7dbb04c4dafea860ac03e5f88e58637e8040d3 | [
"Apache-2.0"
] | null | null | null | src/lib/coda_base/staged_ledger_hash.ml | rahulmutt/coda | 7a7dbb04c4dafea860ac03e5f88e58637e8040d3 | [
"Apache-2.0"
] | null | null | null | open Core
open Fold_lib
open Tuple_lib
open Snark_params.Tick
open Coda_digestif
open Module_version
module Aux_hash = struct
let length_in_bits = 256
let length_in_bytes = length_in_bits / 8
module Stable = struct
module V1 = struct
module T = struct
type t = string [@@deriving bin_io, sexp,... | 29.245955 | 154 | 0.669027 |
cd02a495d6968dae3d97a98d2639e3f9c845172e | 716 | mli | OCaml | infer/src/backend/exe_env.mli | rutvijraut/infer | de0ca94756fdbd0ba8a789a2b2747cbbdeb51ad0 | [
"MIT"
] | null | null | null | infer/src/backend/exe_env.mli | rutvijraut/infer | de0ca94756fdbd0ba8a789a2b2747cbbdeb51ad0 | [
"MIT"
] | null | null | null | infer/src/backend/exe_env.mli | rutvijraut/infer | de0ca94756fdbd0ba8a789a2b2747cbbdeb51ad0 | [
"MIT"
] | 1 | 2019-10-24T14:47:52.000Z | 2019-10-24T14:47:52.000Z | (*
* Copyright (c) 2009-2013, Monoidics ltd.
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open! IStd
(** Execution environments: basically a cache of where procedures are and what is ... | 28.64 | 92 | 0.703911 |
cd11f322d132a49af61c434531906d4542585063 | 1,746 | ml | OCaml | universo/elaboration/var.ml | yannl35133/Dedukti | e85df96ca01823edd23c5339556bb32092543e16 | [
"CECILL-B"
] | null | null | null | universo/elaboration/var.ml | yannl35133/Dedukti | e85df96ca01823edd23c5339556bb32092543e16 | [
"CECILL-B"
] | null | null | null | universo/elaboration/var.ml | yannl35133/Dedukti | e85df96ca01823edd23c5339556bb32092543e16 | [
"CECILL-B"
] | null | null | null | module B = Kernel.Basic
module F = Common.Files
module T = Kernel.Term
module U = Common.Universes
exception Not_uvar
(** prefix for all the universe variables. *)
let basename = "?"
(** Check if a term should be elaborated by a fresh variable *)
let is_pre_var t =
match t with T.Const (_, n) when n = U.pvar () ->... | 31.745455 | 126 | 0.659221 |
179d651c39623925c12c1061fe339b9e83e32652 | 6,695 | ml | OCaml | infer/src/clang/objcInterface_decl.ml | sjcjoosten/infer | 4b69087ad50ad50c43e536351777999e8c256fd4 | [
"MIT"
] | null | null | null | infer/src/clang/objcInterface_decl.ml | sjcjoosten/infer | 4b69087ad50ad50c43e536351777999e8c256fd4 | [
"MIT"
] | null | null | null | infer/src/clang/objcInterface_decl.ml | sjcjoosten/infer | 4b69087ad50ad50c43e536351777999e8c256fd4 | [
"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! IStd
(** In this module an ObjC interface declaration or implementation is processed. The class *)
(** is saved in the tenv as a... | 40.331325 | 112 | 0.776699 |
17fc4b025c4ab893216d06ccf5af163934b6a068 | 4,393 | ml | OCaml | duniverse/ocaml-re/lib_test/old/unison2.ml | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 9 | 2015-04-13T19:10:17.000Z | 2021-09-01T22:54:13.000Z | duniverse/ocaml-re/lib_test/old/unison2.ml | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 1 | 2021-11-08T19:54:28.000Z | 2021-11-08T19:54:28.000Z | duniverse/ocaml-re/lib_test/old/unison2.ml | gpetiot/opam-monorepo | 93584def27ee2c4073b437b9405f413c227c9c57 | [
"0BSD"
] | 2 | 2020-06-23T00:01:16.000Z | 2021-11-04T06:56:47.000Z | let desc =
[ `Path "lablgtk-1.00/config.make";
`Path "lablgtk-1.00/lablgtktop_t";
`Path "lablgtk-1.00/lablgtktop";
`Path "lablgtk-1.00/lablgtkrun";
`Path "lablgtk-1.00/lablgtk";
`Path "unison3/src/unison";
`Name "core";
`Path "lipe/caisse/val_parse.h";
`Path "lipe/caisse/val_parse.c";
... | 26.786585 | 63 | 0.577282 |
17540c78e18393e1a6b4b00486ea8239501978d7 | 32,571 | ml | OCaml | src/typing/operators.ml | giuppe/haxe | fc8633e234719bb7199881fbd33a1d3098f03182 | [
"MIT"
] | 2 | 2019-02-03T12:37:25.000Z | 2020-12-18T14:48:02.000Z | src/typing/operators.ml | giuppe/haxe | fc8633e234719bb7199881fbd33a1d3098f03182 | [
"MIT"
] | null | null | null | src/typing/operators.ml | giuppe/haxe | fc8633e234719bb7199881fbd33a1d3098f03182 | [
"MIT"
] | 1 | 2021-06-22T00:25:05.000Z | 2021-06-22T00:25:05.000Z | open Globals
open Ast
open Type
open TyperBase
open Typecore
open Error
open CallUnification
open Calls
open Fields
open FieldAccess
class value_reference (ctx : typer) =
object(self)
val vars = DynArray.create ()
method get_vars = DynArray.to_list vars
method as_var name e =
let v = alloc_var VGenerated name ... | 34.141509 | 178 | 0.669645 |
170802d49ad3e2acacb4d9ecb1f23b12f8239439 | 3,412 | ml | OCaml | src/dune/rule.ml | progman1/dune | e937feef4fb03d83bd551489420a557a5a6fc1c0 | [
"MIT"
] | null | null | null | src/dune/rule.ml | progman1/dune | e937feef4fb03d83bd551489420a557a5a6fc1c0 | [
"MIT"
] | null | null | null | src/dune/rule.ml | progman1/dune | e937feef4fb03d83bd551489420a557a5a6fc1c0 | [
"MIT"
] | null | null | null | open! Stdune
open Import
module Info = struct
type t =
| From_dune_file of Loc.t
| Internal
| Source_file_copy
let of_loc_opt = function
| None -> Internal
| Some loc -> From_dune_file loc
end
module Promote = struct
module Lifetime = struct
type t =
| Unlimited
| Until_clea... | 25.088235 | 81 | 0.603458 |
1702046ec9940df5624c28b36959543c723d71c4 | 47,032 | ml | OCaml | src/ocaml-output/FStar_Tactics_Hooks.ml | concatime/FStar | e863c2972b6a2ba49b22306293448ca415269211 | [
"Apache-2.0"
] | null | null | null | src/ocaml-output/FStar_Tactics_Hooks.ml | concatime/FStar | e863c2972b6a2ba49b22306293448ca415269211 | [
"Apache-2.0"
] | null | null | null | src/ocaml-output/FStar_Tactics_Hooks.ml | concatime/FStar | e863c2972b6a2ba49b22306293448ca415269211 | [
"Apache-2.0"
] | null | null | null | open Prims
let (run_tactic_on_typ :
FStar_Compiler_Range.range ->
FStar_Compiler_Range.range ->
FStar_Syntax_Syntax.term ->
FStar_TypeChecker_Env.env ->
FStar_Syntax_Syntax.term ->
(FStar_Tactics_Types.goal Prims.list * FStar_Syntax_Syntax.term))
=
fun rng_tac ->
fun rn... | 48.889813 | 183 | 0.432472 |
17354f333c0dd7e7fe71b36fccc3f339a5bf2680 | 637 | ml | OCaml | src/docs/common.ml | olaszakos/motoko | 01867bdb76d6ceb7e986297464a41146f3d34839 | [
"Apache-2.0"
] | 248 | 2021-06-10T07:25:28.000Z | 2022-03-29T10:34:45.000Z | src/docs/common.ml | olaszakos/motoko | 01867bdb76d6ceb7e986297464a41146f3d34839 | [
"Apache-2.0"
] | 612 | 2021-06-10T07:04:33.000Z | 2022-03-31T16:28:29.000Z | src/docs/common.ml | olaszakos/motoko | 01867bdb76d6ceb7e986297464a41146f3d34839 | [
"Apache-2.0"
] | 36 | 2021-06-10T06:46:55.000Z | 2022-03-07T20:22:04.000Z | open Mo_def
type render_input = {
all_modules : string list; (** Needed so we can generate a navigation *)
current_path : string; (** The path for the current module *)
module_comment : string option;
(** The top-level module comment for the current module *)
lookup_type : Syntax.path -> Xref.t option;... | 35.388889 | 78 | 0.692308 |
17331d3a02447c3c45effc8d2250a2fd8bc29192 | 5,341 | ml | OCaml | camlp4/pa_monad3.ml | JacquesCarette/finally-tagless | 964bd1b4c88d5713527e115529ec762ba3f0dd5f | [
"BSD-3-Clause"
] | 30 | 2018-11-29T15:58:25.000Z | 2021-11-05T01:28:52.000Z | camlp4/pa_monad3.ml | JacquesCarette/finally-tagless | 964bd1b4c88d5713527e115529ec762ba3f0dd5f | [
"BSD-3-Clause"
] | null | null | null | camlp4/pa_monad3.ml | JacquesCarette/finally-tagless | 964bd1b4c88d5713527e115529ec762ba3f0dd5f | [
"BSD-3-Clause"
] | null | null | null | (* name: pa_monad.ml
* synopsis: Haskell-like "do" for monads
* authors: Jacques Carette, Oleg Kiselyov, and Lydia E. Van Dijk
* last revision: Wed September 13, 2005.
* ocaml version: 3.09.1 *)
(** {2 Conversion Rules}
{3 Grammar informally}
{[
doM exp
doM exp1; e... | 36.087838 | 86 | 0.546714 |
cd3139d11d51550464be2acec1e707c43a5da155 | 3,506 | ml | OCaml | serial/src/bin/test_delta.ml | Yagotzirck/whilelang-reverse | 81c49ce2340a9eb9b62e8a959568707de703e664 | [
"MIT"
] | null | null | null | serial/src/bin/test_delta.ml | Yagotzirck/whilelang-reverse | 81c49ce2340a9eb9b62e8a959568707de703e664 | [
"MIT"
] | null | null | null | serial/src/bin/test_delta.ml | Yagotzirck/whilelang-reverse | 81c49ce2340a9eb9b62e8a959568707de703e664 | [
"MIT"
] | null | null | null | open OUnit2
open Serial_interp.Delta
(****** Data for delta tests ******)
let ide_stk = Ide_stacks [("A", [1;2;3]); ("B", [4;5;6]); ("C", [7;8;9]); ("Z", []) ];;
let if_stk = If_stack [true; true; true];;
let while_stk = While_stack [false; false; false];;
let delta_start = Delta (ide_stk, if_stk, while_stk);;
(* Id... | 48.694444 | 144 | 0.698517 |
17fa6947e8b36d86eaead0836aa3514779b7700d | 4,489 | ml | OCaml | hphp/hack/src/server/serverFileSync.ml | SiebelsTim/hhvm | ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/server/serverFileSync.ml | SiebelsTim/hhvm | ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/hack/src/server/serverFileSync.ml | SiebelsTim/hhvm | ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c | [
"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.
*
*)
open File_con... | 35.346457 | 80 | 0.708844 |
aa7036659cda61de9f82b21a7d44a8a20450ec16 | 24 | mli | OCaml | src/lib/verifier/verifier.mli | ansonla3/coda | 5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc | [
"Apache-2.0"
] | null | null | null | src/lib/verifier/verifier.mli | ansonla3/coda | 5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc | [
"Apache-2.0"
] | null | null | null | src/lib/verifier/verifier.mli | ansonla3/coda | 5b7b3a71f9b4fb55cb2c1af315b2510ac2c3c1dc | [
"Apache-2.0"
] | null | null | null | include Verifier_intf.S
| 12 | 23 | 0.875 |
cd25bb2e28e1fd08b025a10577d3b0bd055887f3 | 363 | mli | OCaml | lib/deriving_Functor.mli | dra27/deriving | 3a49de06d8be4b66ae9232781d24cee9c67e7e48 | [
"MIT"
] | 15 | 2015-02-14T12:06:00.000Z | 2022-03-27T18:50:29.000Z | lib/deriving_Functor.mli | dra27/deriving | 3a49de06d8be4b66ae9232781d24cee9c67e7e48 | [
"MIT"
] | 10 | 2015-05-21T06:19:10.000Z | 2019-08-13T12:27:05.000Z | lib/deriving_Functor.mli | dra27/deriving | 3a49de06d8be4b66ae9232781d24cee9c67e7e48 | [
"MIT"
] | 6 | 2016-06-13T20:38:42.000Z | 2022-03-27T16:20:24.000Z | module type Functor =
sig
type 'a f
val map : ('a -> 'b) -> 'a f -> 'b f
end
module MonadFunctor (M : Deriving_monad.Monad) : Functor with type 'a f = 'a M.m
module Functor_option : Functor with type 'a f = 'a option
module Functor_list : Functor with type 'a f = 'a list
module Functor_map (O : Map.OrderedType) :... | 36.3 | 84 | 0.666667 |
cd23c127d134dd198393f4d345060779c97319ad | 335 | mli | OCaml | bril-ocaml/lib/func.mli | ankushrayabhari/bril | 6e43ed5b38e91c20e8defc3ad1ac3510f347f963 | [
"MIT"
] | null | null | null | bril-ocaml/lib/func.mli | ankushrayabhari/bril | 6e43ed5b38e91c20e8defc3ad1ac3510f347f963 | [
"MIT"
] | null | null | null | bril-ocaml/lib/func.mli | ankushrayabhari/bril | 6e43ed5b38e91c20e8defc3ad1ac3510f347f963 | [
"MIT"
] | null | null | null | open! Core
open! Common
type t = {
name : string;
args : Dest.t list;
ret_type : Bril_type.t option;
blocks : Instr.t list String.Map.t;
order : string list;
cfg : string list String.Map.t;
}
[@@deriving compare, sexp_of]
val instrs : t -> Instr.t list
val of_json : Yojson.Basic.t -> t
val to_json : t -> ... | 19.705882 | 37 | 0.662687 |
cd073ab02b969bc1cb51279ea0d70c0559b800d4 | 3,908 | ml | OCaml | src/lib/signature_lib/private_key.ml | junjiequ123/mina | 0d0e15cc3276f5d9f66ef9024ecad929fc93ddac | [
"Apache-2.0"
] | 1 | 2021-11-03T09:42:09.000Z | 2021-11-03T09:42:09.000Z | src/lib/signature_lib/private_key.ml | junjiequ123/mina | 0d0e15cc3276f5d9f66ef9024ecad929fc93ddac | [
"Apache-2.0"
] | null | null | null | src/lib/signature_lib/private_key.ml | junjiequ123/mina | 0d0e15cc3276f5d9f66ef9024ecad929fc93ddac | [
"Apache-2.0"
] | 1 | 2022-03-29T04:23:52.000Z | 2022-03-29T04:23:52.000Z | [%%import "/src/config.mlh"]
open Core_kernel
[%%ifdef consensus_mechanism]
open Snark_params.Tick
[%%else]
open Snark_params_nonconsensus
[%%endif]
[%%versioned_asserted
module Stable = struct
module V1 = struct
type t = Inner_curve.Scalar.t
(* deriver not working, apparently *)
let sexp_of_t = [... | 26.053333 | 101 | 0.642016 |
17deae85b5b7ba527ca9be10330ed7c68ce88a4e | 35 | ml | OCaml | test/ignore.ml | CPUEX2019-GROUP4/RunRunCompiler | c97d6bf35b5409212cb0f0cc2a76e3ab346f6a45 | [
"BSD-3-Clause"
] | null | null | null | test/ignore.ml | CPUEX2019-GROUP4/RunRunCompiler | c97d6bf35b5409212cb0f0cc2a76e3ab346f6a45 | [
"BSD-3-Clause"
] | 2 | 2020-01-24T14:24:12.000Z | 2020-01-31T11:49:29.000Z | test/ignore.ml | CPUEX2019-GROUP4/RunRunCompiler | c97d6bf35b5409212cb0f0cc2a76e3ab346f6a45 | [
"BSD-3-Clause"
] | 1 | 2020-02-25T03:07:14.000Z | 2020-02-25T03:07:14.000Z | (let a = 3 in ());
let b = 5 in ()
| 11.666667 | 18 | 0.4 |
1774431adcf25421e2e3f636da6823109467548f | 1,940 | ml | OCaml | src/gen/errors.ml | jonahbeckford/luv | 62e0ebc8df8aacf9b601ff64d948158e5cbc7ff4 | [
"MIT"
] | 253 | 2018-07-12T20:32:22.000Z | 2022-02-16T03:43:40.000Z | src/gen/errors.ml | jonahbeckford/luv | 62e0ebc8df8aacf9b601ff64d948158e5cbc7ff4 | [
"MIT"
] | 124 | 2018-11-21T03:06:42.000Z | 2022-03-11T01:48:36.000Z | src/gen/errors.ml | jonahbeckford/luv | 62e0ebc8df8aacf9b601ff64d948158e5cbc7ff4 | [
"MIT"
] | 23 | 2019-02-09T15:59:04.000Z | 2021-12-13T12:53:41.000Z | let errors = [
"UV_E2BIG";
"UV_EACCES";
"UV_EADDRINUSE";
"UV_EADDRNOTAVAIL";
"UV_EAFNOSUPPORT";
"UV_EAGAIN";
"UV_EAI_ADDRFAMILY";
"UV_EAI_AGAIN";
"UV_EAI_BADFLAGS";
"UV_EAI_BADHINTS";
"UV_EAI_CANCELED";
"UV_EAI_FAIL";
"UV_EAI_FAMILY";
"UV_EAI_MEMORY";
"UV_EAI_NODATA";
"UV_EAI_NONAME";
... | 17.636364 | 68 | 0.630928 |
cd1f0b803843761aaca6d888b2f7188a22e6602d | 4,689 | ml | OCaml | src/parser_utils/type_sig/type_sig_utils.ml | gpetiot/flow | 52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea | [
"MIT"
] | null | null | null | src/parser_utils/type_sig/type_sig_utils.ml | gpetiot/flow | 52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea | [
"MIT"
] | null | null | null | src/parser_utils/type_sig/type_sig_utils.ml | gpetiot/flow | 52ca4ffe1a95eadd784b4764ef1ab8dd529bfaea | [
"MIT"
] | null | null | null | (*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
open Type_sig_collections
module Parse = Type_sig_parse
module Mark = Type_sig_mark
module Pack = Type_sig_pack
(* For builtins,... | 36.069231 | 95 | 0.726381 |
cd7593629787beddb9063712fab69bc118cf18bf | 2,387 | mli | OCaml | lib/vscode-jsonrpc/_gen/api.mli | tmattio/js-bindings | 109076fe682c84eb1cf01c7f38ee1f4163fb3a9a | [
"MIT"
] | 18 | 2021-04-14T02:52:09.000Z | 2021-11-14T17:08:09.000Z | lib/vscode-jsonrpc/_gen/api.mli | tmattio/ocaml-ecmascript | 109076fe682c84eb1cf01c7f38ee1f4163fb3a9a | [
"MIT"
] | 4 | 2021-04-14T16:23:13.000Z | 2021-05-22T00:00:55.000Z | lib/vscode-jsonrpc/_gen/api.mli | tmattio/ocaml-ecmascript | 109076fe682c84eb1cf01c7f38ee1f4163fb3a9a | [
"MIT"
] | 1 | 2021-04-14T15:29:24.000Z | 2021-04-14T15:29:24.000Z | [@@@ocaml.warning "-7-11-32-33-39"]
[@@@js.implem
[@@@ocaml.warning "-7-11-32-33-39"]
]
open Ts2ocaml_baselib
module Internal : sig
module AnonymousInterfaces : sig
end
module Types : sig
open AnonymousInterfaces
end
end
open Internal
open AnonymousInterfaces
open Types
(* import { Message, Messag... | 85.25 | 976 | 0.819439 |
cd136109ff3df61956f9a2e4f7f88407cb225b39 | 156 | mli | OCaml | lib/tree.mli | m4c0/pompom | 2f2749811623bd863ffcd1627cfa71fd276dbe69 | [
"MIT"
] | null | null | null | lib/tree.mli | m4c0/pompom | 2f2749811623bd863ffcd1627cfa71fd276dbe69 | [
"MIT"
] | null | null | null | lib/tree.mli | m4c0/pompom | 2f2749811623bd863ffcd1627cfa71fd276dbe69 | [
"MIT"
] | null | null | null | type t
val deps_of : t -> t Seq.t
val node_of : t -> Efdep.t
val iter : Scopes.t -> Efpom.t -> t Seq.t
val resolve : Scopes.t -> Efpom.t -> Efpom.id Seq.t
| 22.285714 | 51 | 0.621795 |
1792ccd6c890cbfd1437bdf592892192c5d3eb86 | 9,632 | ml | OCaml | src/lib/cparser/ErrorReports.ml | letonchanh/Coeus | 21d417a56a80d6c9014cbb6ed86b329d522fd9a3 | [
"Apache-2.0"
] | 3 | 2019-10-06T12:05:37.000Z | 2020-04-16T11:40:50.000Z | src/lib/cparser/ErrorReports.ml | letonchanh/Coeus | 21d417a56a80d6c9014cbb6ed86b329d522fd9a3 | [
"Apache-2.0"
] | null | null | null | src/lib/cparser/ErrorReports.ml | letonchanh/Coeus | 21d417a56a80d6c9014cbb6ed86b329d522fd9a3 | [
"Apache-2.0"
] | 2 | 2020-06-12T00:18:56.000Z | 2020-10-09T23:35:38.000Z | (* *********************************************************************)
(* *)
(* The Compcert verified compiler *)
(* *)
(* François Pot... | 43.387387 | 80 | 0.562915 |
178d89c3f12b461ee638dcab9037bfe83d5b3a65 | 12,924 | ml | OCaml | src/lib_network_sandbox/tezos_protocol.ml | connectedcustomer/Project1 | e84e4a645bc6f45ba68e023d67274d550231ad03 | [
"MIT"
] | null | null | null | src/lib_network_sandbox/tezos_protocol.ml | connectedcustomer/Project1 | e84e4a645bc6f45ba68e023d67274d550231ad03 | [
"MIT"
] | null | null | null | src/lib_network_sandbox/tezos_protocol.ml | connectedcustomer/Project1 | e84e4a645bc6f45ba68e023d67274d550231ad03 | [
"MIT"
] | null | null | null | open Internal_pervasives
module Key = struct
module Of_name = struct
type t =
{ name: string
; pkh: Tezos_crypto.Ed25519.Public_key_hash.t
; pk: Tezos_crypto.Ed25519.Public_key.t
; sk: Tezos_crypto.Ed25519.Secret_key.t }
let make name =
let seed =
Tezos_stdlib.MBytes.of... | 33.65625 | 113 | 0.59641 |
cd5d34090822fa3f12d55c0d94679f0e22e920a2 | 8,097 | ml | OCaml | solvers/solver.ml | mlb2251/stitch_dreamcoder | e13295d7217b621e6e2691b57cd58c88cded5830 | [
"MIT"
] | null | null | null | solvers/solver.ml | mlb2251/stitch_dreamcoder | e13295d7217b621e6e2691b57cd58c88cded5830 | [
"MIT"
] | 2 | 2022-03-30T15:20:31.000Z | 2022-03-30T17:38:33.000Z | solvers/solver.ml | mlb2251/stitch_dreamcoder | e13295d7217b621e6e2691b57cd58c88cded5830 | [
"MIT"
] | null | null | null | open Core
open Probabilistic_grammar
open Physics
open Pregex
open Tower
(* open Vs *)
open Differentiation
open TikZ
open Utils
open Type
open Program
open Enumeration
open Task
open Grammar
open Task
open FastType
let load_problems channel =
let open Yojson.Basic.Util in
let j = Yojson.Basic.from_channel channe... | 35.669604 | 142 | 0.6227 |
cd12371fb2c60a9bccf91ab376007cdaeae407d0 | 79 | ml | OCaml | src/typeclass/monoid.ml | SolarLiner/modulus | eda67839951d521742e95e0b5d793eeeca2e2b43 | [
"MIT"
] | null | null | null | src/typeclass/monoid.ml | SolarLiner/modulus | eda67839951d521742e95e0b5d793eeeca2e2b43 | [
"MIT"
] | null | null | null | src/typeclass/monoid.ml | SolarLiner/modulus | eda67839951d521742e95e0b5d793eeeca2e2b43 | [
"MIT"
] | null | null | null | open Semigroup
module type MONOID = sig
include SEMIGROUP
val zero : t
end | 13.166667 | 24 | 0.746835 |
17235407ce0d501388b68bd4d28c883f67146ccb | 1,588 | ml | OCaml | src/dune_rules/colors.ml | Engil/dune | f1962910d0e678f5055d0bbd6e24bba64b1ef2b2 | [
"MIT"
] | null | null | null | src/dune_rules/colors.ml | Engil/dune | f1962910d0e678f5055d0bbd6e24bba64b1ef2b2 | [
"MIT"
] | null | null | null | src/dune_rules/colors.ml | Engil/dune | f1962910d0e678f5055d0bbd6e24bba64b1ef2b2 | [
"MIT"
] | null | null | null | open! Dune_engine
open! Stdune
open Import
(* We redirect the output of all commands, so by default the various tools will
disable colors. Since we support colors in the output of commands, we force
it via specific environment variables if stderr supports colors. *)
let setup_env_for_colors env =
let set env v... | 27.37931 | 79 | 0.651763 |
cd555570eb3dd01abec55b7c0d2c96501bb2c461 | 248 | mli | OCaml | libraries/ec2/lib/getGroupsForCapacityReservation.mli | anuragsoni/ocaml-aws | 4acdbcdc95449e7c5f08528f472d25986dd4f8a2 | [
"BSD-3-Clause"
] | 134 | 2016-01-11T19:35:49.000Z | 2022-02-19T15:57:41.000Z | libraries/ec2/lib/getGroupsForCapacityReservation.mli | anuragsoni/ocaml-aws | 4acdbcdc95449e7c5f08528f472d25986dd4f8a2 | [
"BSD-3-Clause"
] | 66 | 2016-01-12T00:32:47.000Z | 2022-03-31T03:34:49.000Z | libraries/ec2/lib/getGroupsForCapacityReservation.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 = GetGroupsForCapacityReservationRequest.t
type output = GetGroupsForCapacityReservationResult.t
type error = Errors_internal.t
include
Aws.Call with type input := input and type output := output and type error := error
| 22.545455 | 85 | 0.798387 |
cd4c6783bb12b310600079cde9a039bec3058973 | 2,660 | mli | OCaml | lib/field_name.mli | shonfeder/mrmime | c5eb5fae36a99af5d7b6a5802c66908e3248b1d7 | [
"MIT"
] | 35 | 2019-01-14T18:14:54.000Z | 2021-09-16T19:00:08.000Z | lib/field_name.mli | shonfeder/mrmime | c5eb5fae36a99af5d7b6a5802c66908e3248b1d7 | [
"MIT"
] | 33 | 2018-12-04T13:38:14.000Z | 2022-03-01T18:01:44.000Z | lib/field_name.mli | shonfeder/mrmime | c5eb5fae36a99af5d7b6a5802c66908e3248b1d7 | [
"MIT"
] | 10 | 2019-01-14T17:54:49.000Z | 2021-07-28T13:46:39.000Z | (*
* Copyright (c) 2018-2019 Romain Calascibetta <romain.calascibetta@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 notice appear in all copies.
*
* THE SOFTWARE ... | 25.09434 | 79 | 0.680451 |
cd4e71789f384b32baadf4d721fb894609288c6e | 2,175 | mli | OCaml | ag_pathanalysis/ocaml/asmir_disasm.mli | BambooL/AutoGrader | f537d396605d1b943137b1b964c5a2ebecbf2aca | [
"MIT"
] | 2 | 2019-12-05T19:47:42.000Z | 2021-05-05T13:41:16.000Z | ag_pathanalysis/ocaml/asmir_disasm.mli | BambooL/AutoGrader | f537d396605d1b943137b1b964c5a2ebecbf2aca | [
"MIT"
] | null | null | null | ag_pathanalysis/ocaml/asmir_disasm.mli | BambooL/AutoGrader | f537d396605d1b943137b1b964c5a2ebecbf2aca | [
"MIT"
] | 2 | 2021-04-20T07:44:02.000Z | 2021-04-20T08:38:41.000Z | (** Framework for incremental disassembly methods *)
(* XXX: Change interface to allow abstract interpretation. *)
open Type
type succs = | Addrs of label list
| Error
| Exit
| Indirect
module type STATE = sig
type t
val init : t
end
module type FUNCID = sig
module Stat... | 35.080645 | 144 | 0.669885 |
17e6b5d8a5732200c11d565e6bfdc47d07d0e71b | 15,834 | ml | OCaml | src/lib/cparser/Initializers.ml | letonchanh/Coeus | 21d417a56a80d6c9014cbb6ed86b329d522fd9a3 | [
"Apache-2.0"
] | 3 | 2019-10-06T12:05:37.000Z | 2020-04-16T11:40:50.000Z | src/lib/cparser/Initializers.ml | letonchanh/Coeus | 21d417a56a80d6c9014cbb6ed86b329d522fd9a3 | [
"Apache-2.0"
] | null | null | null | src/lib/cparser/Initializers.ml | letonchanh/Coeus | 21d417a56a80d6c9014cbb6ed86b329d522fd9a3 | [
"Apache-2.0"
] | 2 | 2020-06-12T00:18:56.000Z | 2020-10-09T23:35:38.000Z | open AST
open Archi
open BinInt
open BinNums
open Cop
open Coqlib
open Csyntax
open Ctypes
open Datatypes
open Errors
open Integers
open List0
open Maps
open Memory
open Values
(** val do_cast : coq_val -> coq_type -> coq_type -> coq_val res **)
let do_cast v t1 t2 =
match sem_cast v t1 t2 Mem.empty with
| Some v... | 40.914729 | 337 | 0.35468 |
17966f393eebb29ac07779f483ebb2f35b06792f | 601 | mli | OCaml | lib/multiStart.mli | igarnier/clustering | 4c20f9a253abeeeb6a0f05430d5d72957942ef1e | [
"MIT"
] | 17 | 2017-11-27T09:13:05.000Z | 2020-11-06T18:27:58.000Z | lib/multiStart.mli | igarnier/k-means | 4c20f9a253abeeeb6a0f05430d5d72957942ef1e | [
"MIT"
] | 1 | 2017-11-27T09:26:31.000Z | 2017-11-27T09:29:33.000Z | lib/multiStart.mli | igarnier/k-means | 4c20f9a253abeeeb6a0f05430d5d72957942ef1e | [
"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).... | 50.083333 | 98 | 0.71381 |
bc7f8c5e3edfce924c36c0f8b87efa2447b1e722 | 10,645 | ml | OCaml | src/parser_utils/output/layout.ml | KidkArolis/flow | f25a8978041e05097de46a3b82037e3b2b639887 | [
"MIT"
] | null | null | null | src/parser_utils/output/layout.ml | KidkArolis/flow | f25a8978041e05097de46a3b82037e3b2b639887 | [
"MIT"
] | null | null | null | src/parser_utils/output/layout.ml | 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 layout_node =
(* A layout with location information *)
| SourceLocation of Loc.t * layout_node
(* A list of nodes that don't ... | 28.161376 | 95 | 0.592485 |
Subsets and Splits
HTML Code Excluding Scripts
The query retrieves a limited set of HTML content entries that are longer than 8 characters and do not contain script tags, offering only basic filtering with minimal analytical value.