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
8a29caf58e03074269f33e4b7b47c369dd5e201d
1,226
mli
OCaml
src/Library/NSMultiMap.mli
jberdine/SLAyer
540976c814a5804a88d705fba5ac12382556171c
[ "MIT" ]
1
2022-02-16T07:43:50.000Z
2022-02-16T07:43:50.000Z
src/Library/NSMultiMap.mli
jberdine/SLAyer
540976c814a5804a88d705fba5ac12382556171c
[ "MIT" ]
null
null
null
src/Library/NSMultiMap.mli
jberdine/SLAyer
540976c814a5804a88d705fba5ac12382556171c
[ "MIT" ]
1
2022-02-28T18:10:26.000Z
2022-02-28T18:10:26.000Z
(* Copyright (c) Microsoft Corporation. All rights reserved. *) open NSLib (** Maps from ordered keys to multiple values. *) module MultiMap : sig module type S = sig type k type v type vs type t val empty : t val add : k -> v -> t -> t val union : k -> vs -> t -> t val diff : k -...
27.244444
74
0.467374
af7604ed8ba07e95ef75e2e2418a41fed2d593ce
164
ml
OCaml
app/inception_app.ml
jzstark/inception_container
ca050c0187bf0b8ae46d23fa356539a98d7a943c
[ "MIT" ]
null
null
null
app/inception_app.ml
jzstark/inception_container
ca050c0187bf0b8ae46d23fa356539a98d7a943c
[ "MIT" ]
null
null
null
app/inception_app.ml
jzstark/inception_container
ca050c0187bf0b8ae46d23fa356539a98d7a943c
[ "MIT" ]
null
null
null
open Owl let _ = let img = Sys.argv.(1) in let labels = InceptionV3.infer img in let labels_json = InceptionV3.to_json ~top:5 labels in labels_json
20.5
61
0.682927
f3c338b11584cf0f41b5ce7d591183c08e99b65f
855
mli
OCaml
infer/src/istd/LRUHashtbl.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/src/istd/LRUHashtbl.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/src/istd/LRUHashtbl.mli
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
2,225
2015-06-11T16:36:10.000Z
2022-03-31T05:16:59.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd (** Hash table the size of which is limited by LRU *) module type S = sig type key type 'a t val create : init...
21.923077
77
0.617544
8a7244910c766f449b55fedae173e7972ba073b3
1,098
ml
OCaml
source/pkgsrc/converters/bibtex2html/patches/patch-readbib.ml
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/converters/bibtex2html/patches/patch-readbib.ml
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/converters/bibtex2html/patches/patch-readbib.ml
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
$NetBSD: patch-readbib.ml,v 1.1 2019/12/31 19:46:12 markd Exp $ fixed compilation with recent versions of OCaml git commit 8f25afb95a839c9f9522a34013d5c905af14378b --- readbib.ml.orig 2014-07-04 07:51:21.000000000 +0000 +++ readbib.ml @@ -21,10 +21,10 @@ open Printf let read_entries_from_file f = if not !Opti...
32.294118
67
0.638434
8a79e3e97b087e72d35e18c4de3c384346197ae1
4,382
mli
OCaml
src/typing/flow_js.mli
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-11-26T06:52:29.000Z
2018-11-26T06:52:29.000Z
src/typing/flow_js.mli
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
null
null
null
src/typing/flow_js.mli
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-11-26T06:49:40.000Z
2018-11-26T06:49:40.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Reason (* propagates sources to sinks following a subtype relation *) val flow: Context.t -> (Type.t * Type.use_t) -> unit val flo...
35.056
115
0.672752
8a7a3ed9fee9720794f899fd109299158e73bfd1
47,371
ml
OCaml
solvers/program.ml
evelinehong/nscoder
62e7248e6c0563eaf285d05791d3bc51b7495f1a
[ "Unlicense" ]
4
2020-10-27T08:02:41.000Z
2021-01-17T02:06:55.000Z
solvers/_build/default/program.ml
evelinehong/nscoder
62e7248e6c0563eaf285d05791d3bc51b7495f1a
[ "Unlicense" ]
null
null
null
solvers/_build/default/program.ml
evelinehong/nscoder
62e7248e6c0563eaf285d05791d3bc51b7495f1a
[ "Unlicense" ]
null
null
null
open Core open Parser open Utils open Type type program = | Index of int | Abstraction of program | Apply of program*program | Primitive of tp * string * (unit ref) | Invented of tp * program let is_index = function |Index(_) -> true |_ -> false let get_index_value = function | Index(n) -> n |_ -> ...
45.287763
1,436
0.583669
8a6a2a7e0ecd0e362e8a6ab15012f0e0f5dc6789
13,910
mli
OCaml
src/labelflow.mli
CARV-ICS-FORTH/scoop
9fbd86629a7e1951a392959149bb553fb5611a5f
[ "Apache-2.0" ]
2
2017-02-15T23:36:49.000Z
2018-09-11T09:34:14.000Z
src/labelflow.mli
CARV-ICS-FORTH/scoop
9fbd86629a7e1951a392959149bb553fb5611a5f
[ "Apache-2.0" ]
null
null
null
src/labelflow.mli
CARV-ICS-FORTH/scoop
9fbd86629a7e1951a392959149bb553fb5611a5f
[ "Apache-2.0" ]
2
2015-10-15T07:41:09.000Z
2019-10-08T12:55:13.000Z
(* * * Copyright (c) 2004-2007, * Polyvios Pratikakis <polyvios@cs.umd.edu> * Michael Hicks <mwh@cs.umd.edu> * Jeff Foster <jfoster@cs.umd.edu> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follow...
33.357314
82
0.708699
f36d496cacc9a74c3bb4841b7f9d8cb847b834e2
2,302
mli
OCaml
source/analysis/callgraph.mli
sthagen/pyre-check
2cd35436b5a5516116177e8e80881882341701e5
[ "MIT" ]
1
2019-12-07T06:58:52.000Z
2019-12-07T06:58:52.000Z
source/analysis/callgraph.mli
sthagen/pyre-check
2cd35436b5a5516116177e8e80881882341701e5
[ "MIT" ]
null
null
null
source/analysis/callgraph.mli
sthagen/pyre-check
2cd35436b5a5516116177e8e80881882341701e5
[ "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 type dispatch = | Dynamic | Static and callee = | Function of Reference.t | Method of { class_na...
24.752688
85
0.706777
8a50ec35e4d6d4ee4b9232757eebde43ac238474
1,851
ml
OCaml
compiler/instruction.ml
a-vorontsov/6ccs3prj
366ae0e6332b6811bbe415bd5cf60d4dcfc4a70a
[ "MIT" ]
3
2020-12-17T20:56:57.000Z
2021-02-19T16:31:08.000Z
compiler/instruction.ml
a-vorontsov/6ccs3prj
366ae0e6332b6811bbe415bd5cf60d4dcfc4a70a
[ "MIT" ]
null
null
null
compiler/instruction.ml
a-vorontsov/6ccs3prj
366ae0e6332b6811bbe415bd5cf60d4dcfc4a70a
[ "MIT" ]
1
2021-04-19T17:00:56.000Z
2021-04-19T17:00:56.000Z
open Printf type instruction = | LOAD_CONST of int | LOAD_CONST_I of int | LOAD_CONST_F of float | LOAD_CONST_B of bool | LOAD_CONST_C of char | LOAD_CONST_S of string | LOAD_VAR of int | ADD | MULTIPLY | DIVIDE | SUBTRACT | MOD | STORE_VAR of int | PRINT | PRINTLN | INPUT | CMPNEQ of...
23.1375
54
0.581848
8a5d9cad859266f85f6d53072069efe1130b4715
9,475
ml
OCaml
data/derived/comb/progs/unify/prog8024.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog3231.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3231.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...
27.148997
148
0.674406
f3270d76de4a6ebe56467b6ba02ae4dd6d1f2aac
16,211
mli
OCaml
src/lib_p2p/p2p_pool.mli
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_pool.mli
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
src/lib_p2p/p2p_pool.mli
ulrikstrid/tezos
96d4653ba4fb48eccdd0ca309c98254c39396712
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
41.354592
91
0.634446
afe5dcee8cccb3a8396c6ff89284bb7bacd03a28
8,587
ml
OCaml
src/lib/zexe_backend/zexe_backend_common/r1cs_constraint_system.ml
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
2
2020-11-14T20:16:02.000Z
2021-08-19T12:44:52.000Z
src/lib/zexe_backend/zexe_backend_common/r1cs_constraint_system.ml
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
11
2021-09-02T10:10:36.000Z
2022-02-27T08:56:41.000Z
src/lib/zexe_backend/zexe_backend_common/r1cs_constraint_system.ml
fakecoinbase/CodaProtocolslashcoda
12522986fd93008c06665bd3bea5627eac95652d
[ "Apache-2.0" ]
null
null
null
module type Constraint_matrix_intf = sig type field_vector type t val create : unit -> t val append_row : t -> Snarky_bn382.Usize_vector.t -> field_vector -> unit end type 'a abc = {a: 'a; b: 'a; c: 'a} [@@deriving sexp] module Weight = struct open Core type t = int abc [@@deriving sexp] let ( + ) ...
29.712803
80
0.538605
8a7d0661a7aa4f798d1152f6b2434508930de5f7
9,190
ml
OCaml
hphp/hack/src/typing/typing_taccess.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/hack/src/typing/typing_taccess.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/hack/src/typing/typing_taccess.ml
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
(** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Core ope...
39.612069
83
0.62481
8a6a1bb8b3914ec71030e35bb731d6e303cf6121
3,367
ml
OCaml
src/catapult/catapult.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
null
null
null
src/catapult/catapult.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
1
2017-12-08T01:25:07.000Z
2017-12-08T01:25:07.000Z
src/catapult/catapult.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
1
2017-12-07T21:21:12.000Z
2017-12-07T21:21:12.000Z
open Stdune type t = { print : string -> unit ; close : unit -> unit ; get_time : unit -> float ; gc_stat : unit -> Gc.stat ; mutable after_first_event : bool ; mutable next_id : int } let fake_gc_stat = let init_gc = Gc.quick_stat () in { init_gc with Gc.minor_words = 0. ; promoted_words = 0....
27.373984
91
0.652807
8a3ab505998875055af8179ba15127019fce303e
2,992
ml
OCaml
src/strategy/unsoundAlloc.ml
hyunsooda/sparrow
2edbd00a906394874c7b266db7e53e3519a9caf1
[ "BSD-3-Clause" ]
null
null
null
src/strategy/unsoundAlloc.ml
hyunsooda/sparrow
2edbd00a906394874c7b266db7e53e3519a9caf1
[ "BSD-3-Clause" ]
null
null
null
src/strategy/unsoundAlloc.ml
hyunsooda/sparrow
2edbd00a906394874c7b266db7e53e3519a9caf1
[ "BSD-3-Clause" ]
null
null
null
open Cil open Vocab let allocs = [ "malloc"; "calloc"; "realloc" ] (* Get the pointer for the allocated block *) let rec ptr_of_exp op exp = match exp with | (BinOp (op0, CastE (_, e1), e2, t) | BinOp (op0, e1, CastE (_, e2), t)) when op = op0 -> ptr_of_exp op (BinOp (op0, e1, e2, t)) | BinOp (op0, Lv...
31.494737
80
0.584893
8a0dd4d4c36206e1a9b5ac8df14cb8e0d7c9a17f
2,429
ml
OCaml
src/parser_utils/output/printers/replacement_printer.ml
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "MIT" ]
1
2020-07-08T17:40:26.000Z
2020-07-08T17:40:26.000Z
src/parser_utils/output/printers/replacement_printer.ml
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "MIT" ]
2
2021-09-02T16:30:33.000Z
2021-09-02T16:30:34.000Z
src/parser_utils/output/printers/replacement_printer.ml
dylanirlbeck/flow
33e628317b950f99e23648b722254cc377ae280f
[ "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 patch = (int * int * string) list (* Location patches retain all the information needed to send edits over the LSP *) type lo...
34.211268
100
0.705228
8aaad1380daeaaeca11f24bc62da08bb9fc3f444
15,636
ml
OCaml
ocamllib/libbase/file_mimetype.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
643
2015-01-02T23:57:37.000Z
2022-03-18T18:50:24.000Z
ocamllib/libbase/file_mimetype.ml
Machiaweliczny/oppailang
60ddea53e56babcc1e8954b5585150098b0e4d88
[ "MIT" ]
52
2015-01-17T07:26:16.000Z
2021-03-08T14:16:08.000Z
ocamllib/libbase/file_mimetype.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...
29.226168
147
0.560054
8a70eb205c01bdf1a3c55ee0d9f2a3f8c42ca562
1,125
ml
OCaml
data/sp14/1409.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14/1409.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/1409.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec digitsOfInt n = if n < 0 then [] else (match n with | 0 -> [0] | _ -> if (n / 10) != 0 then (digitsOfInt (n / 10)) @ [n mod 10] else [n mod 10]);; let rec sumList xs = match xs with | [] -> 0 | h::t -> h + (sumList t);; let rec additivePersistence n = if (sumL...
17.307692
72
0.519111
af3f5516cde18d8f440eccb544821844051e3888
8,795
mly
OCaml
ocaml-glsl-parser/parser.mly
eliemichel/Spillr
d263b446ef60756b4a8d73607a372199ecff73f4
[ "MIT" ]
2
2021-02-26T02:58:56.000Z
2021-12-11T20:08:28.000Z
ocaml-glsl-parser/parser.mly
eliemichel/Spillr
d263b446ef60756b4a8d73607a372199ecff73f4
[ "MIT" ]
null
null
null
ocaml-glsl-parser/parser.mly
eliemichel/Spillr
d263b446ef60756b4a8d73607a372199ecff73f4
[ "MIT" ]
null
null
null
%{ open Ast %} %token STRUCT ELSE FOR WHILE IF %token RETURN DISCARD %token LBRACE RBRACE LBRACKET RBRACKET LPAR RPAR %token ASSIGN PLUS_ASSIGN MINUS_ASSIGN STAR_ASSIGN DIV_ASSIGN MOD_ASSIGN LFLOW_ASSIGN RFLOW_ASSIGN BITAND_ASSIGN BITXOR_ASSIGN BITOR_ASSIGN %token OR AND XOR DBLEQ NEQ LT LFLOW RFLOW %toke...
33.188679
151
0.540989
8a93d951f9260b514a88e0377ae8bce4405d2d70
1,609
mli
OCaml
lib/toplevel.mli
voodoos/mdx
b056a89e37383731f2795a2cf62edeea5c60b8a4
[ "0BSD" ]
215
2018-07-12T14:16:26.000Z
2022-03-02T21:27:14.000Z
lib/toplevel.mli
voodoos/mdx
b056a89e37383731f2795a2cf62edeea5c60b8a4
[ "0BSD" ]
225
2018-07-26T08:15:53.000Z
2022-03-09T09:12:36.000Z
lib/toplevel.mli
voodoos/mdx
b056a89e37383731f2795a2cf62edeea5c60b8a4
[ "0BSD" ]
33
2018-07-12T14:16:32.000Z
2022-01-23T01:00:58.000Z
(* * Copyright (c) 2018 Thomas Gazagnaire <thomas@gazagnaire.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS...
34.234043
77
0.715973
8aa4d056266f596d6726a601fac38ac68d8f9c4a
4,818
ml
OCaml
src/prover/proofState.ml
github-salt/zipperposition
17e7f6f3f01f2a72881dc30db847c664e1f782d5
[ "BSD-2-Clause" ]
null
null
null
src/prover/proofState.ml
github-salt/zipperposition
17e7f6f3f01f2a72881dc30db847c664e1f782d5
[ "BSD-2-Clause" ]
null
null
null
src/prover/proofState.ml
github-salt/zipperposition
17e7f6f3f01f2a72881dc30db847c664e1f782d5
[ "BSD-2-Clause" ]
null
null
null
(* This file is free software, part of Zipperposition. See file "license" for more details. *) (** {1 The state of a proof, contains a set of active clauses (processed), a set of passive clauses (to be processed), and an ordering that is used for redundancy elimination.} *) open Logtk module T = Term module...
26.916201
94
0.624741
8aae159b96fabf4212d3c16b67b396eef0370bf0
107
ml
OCaml
benchmarks/C/sigma/sol417.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/sigma/sol417.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/sigma/sol417.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
(*2016-11690*) let rec sigma f a b = if a>b then 0 else if a<b then (f a) + sigma f (a+1) b else f a
21.4
42
0.570093
8a76a57520e3811020e5e3aeb9ebfc3dd35e7bc9
4,562
mli
OCaml
src/typing/flow_js.mli
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
1
2015-10-01T01:50:43.000Z
2015-10-01T01:50:43.000Z
src/typing/flow_js.mli
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
null
null
null
src/typing/flow_js.mli
mcanthony/flow-type
fb50e311cbc4d6b716889419796ff8a8746bd7f1
[ "BSD-3-Clause" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Utils op...
30.211921
87
0.686103
8a6e6dae72ed86f86ddfba9d8d6af9bd44cb4e8a
3,352
ml
OCaml
ascii_table/kernel/column_intf.ml
EduardoRFS/textutils
d98ceebe90b86c20611bbcc1741ddedae8015947
[ "MIT" ]
11
2015-02-17T02:25:24.000Z
2022-03-09T02:17:49.000Z
ascii_table/kernel/column_intf.ml
EduardoRFS/textutils
d98ceebe90b86c20611bbcc1741ddedae8015947
[ "MIT" ]
null
null
null
ascii_table/kernel/column_intf.ml
EduardoRFS/textutils
d98ceebe90b86c20611bbcc1741ddedae8015947
[ "MIT" ]
2
2020-10-31T03:10:22.000Z
2021-12-17T02:47:43.000Z
open! Core open! Import module Align = struct type t = | Left | Right | Center [@@deriving sexp_of] end module Show = struct type t = [ `Yes | `No | `If_not_empty ] [@@deriving sexp_of] end module type Column = sig module Align = Align module Show = Show type 'a t [@@derivi...
29.147826
89
0.558771
f346425efba6b6db57b10794602af123ee85cbf0
43,177
ml
OCaml
src/hostnet/host.ml
haesbaert/vpnkit
854498c13b1884d4a48d84f3569eb34681af2126
[ "Apache-2.0" ]
null
null
null
src/hostnet/host.ml
haesbaert/vpnkit
854498c13b1884d4a48d84f3569eb34681af2126
[ "Apache-2.0" ]
null
null
null
src/hostnet/host.ml
haesbaert/vpnkit
854498c13b1884d4a48d84f3569eb34681af2126
[ "Apache-2.0" ]
null
null
null
open Lwt.Infix let src = let src = Logs.Src.create "Uwt" ~doc:"Host interface based on Uwt" in Logs.Src.set_level src (Some Logs.Info); src module Log = (val Logs.src_log src : Logs.LOG) let default_read_buffer_size = 65536 let log_exception_continue description f = let to_string = function | Failure x ...
36.621713
121
0.525326
af888214f727ee9e5b03ae15195d870ed4284d4f
758
ml
OCaml
test.ml
jakenieto/ocaml-nats
6ece2ad87279f2ce184237c4ee1e420ed89bff49
[ "0BSD" ]
null
null
null
test.ml
jakenieto/ocaml-nats
6ece2ad87279f2ce184237c4ee1e420ed89bff49
[ "0BSD" ]
null
null
null
test.ml
jakenieto/ocaml-nats
6ece2ad87279f2ce184237c4ee1e420ed89bff49
[ "0BSD" ]
null
null
null
open OUnit2 open ExtLib open Main let t_any ?cmp:(cmp=(=)) ?printer:(printer=dump) (name : string) expected value = name>:: (fun _ -> assert_equal expected value ~printer:printer ~cmp:cmp);; let t_any_err (name : string) (runnable : unit -> 'a) (expected_err : exn) = name>:: (fun _ -> assert_raises expected_err r...
27.071429
94
0.656992
f3674a462b1a0ffbde5c12d1ed603c1f8c49c8da
22,491
ml
OCaml
test/xref2/lib/common.cppo.ml
TristanCacqueray/odoc
fd4605f6c94d61a9dd3cffabc76c712ba246ae4c
[ "ISC" ]
null
null
null
test/xref2/lib/common.cppo.ml
TristanCacqueray/odoc
fd4605f6c94d61a9dd3cffabc76c712ba246ae4c
[ "ISC" ]
null
null
null
test/xref2/lib/common.cppo.ml
TristanCacqueray/odoc
fd4605f6c94d61a9dd3cffabc76c712ba246ae4c
[ "ISC" ]
null
null
null
(* Example usage of these: $ dune utop src/xref2/test/lib utop # open Odoc_xref2;; utop # open Odoc_xref_test;; utop # let test_data = "module type M = sig type t end module N : M type u = N.t";; utop # let id, docs, sg = Common.model_of_string test_data;; utop # let env = Env.open_signature sg Env.empty;; utop # let...
38.25
170
0.498911
f3f06ff69db77ee3d6017614de8f067c7c4b094b
48,547
ml
OCaml
src/irmin-pack/inode.ml
moyodiallo/irmin
7a4118f2f736a7c18bde570598c5b5b143eb57e8
[ "ISC" ]
null
null
null
src/irmin-pack/inode.ml
moyodiallo/irmin
7a4118f2f736a7c18bde570598c5b5b143eb57e8
[ "ISC" ]
null
null
null
src/irmin-pack/inode.ml
moyodiallo/irmin
7a4118f2f736a7c18bde570598c5b5b143eb57e8
[ "ISC" ]
null
null
null
(* * Copyright (c) 2018-2021 Tarides <contact@tarides.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AN...
34.951044
82
0.549282
8a6c706225e2ffdb70b829a5dcb622d97ce5ef8e
64
ml
OCaml
data/derived/comb/progs/unify/prog2019.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/prog2019.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2019.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec clone x n = if n < 0 then [] else clone (x, (n - 1));;
21.333333
62
0.515625
8a9fb28ceda2793b5ea865f66e451878ead93c06
1,435
ml
OCaml
hphp/hack/src/providers/provider_context.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/provider_context.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/provider_context.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "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. * *) open Core_kernel type entry = { file_input: ServerCommandTypes.file_input; path: Relative_path.t; ast: Nast.program; } ...
29.285714
78
0.724042
8a76623e30f9f33b5d1cc0cacdca95d249e19b67
117
ml
OCaml
src/parser/pascaligo/pascaligo.ml
web-vertalo/ligo
153bf691992580f4d163f4e8129292f7759efd5b
[ "MIT" ]
null
null
null
src/parser/pascaligo/pascaligo.ml
web-vertalo/ligo
153bf691992580f4d163f4e8129292f7759efd5b
[ "MIT" ]
null
null
null
src/parser/pascaligo/pascaligo.ml
web-vertalo/ligo
153bf691992580f4d163f4e8129292f7759efd5b
[ "MIT" ]
1
2021-08-18T16:15:52.000Z
2021-08-18T16:15:52.000Z
module Parser = Parser module AST = AST module Lexer = Lexer module LexToken = LexToken module ParserLog = ParserLog
19.5
28
0.786325
8a4c04450433148ef8530c51edc27521110d3b00
21,253
ml
OCaml
src/monitor/fileWatcher.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "MIT" ]
null
null
null
src/monitor/fileWatcher.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "MIT" ]
null
null
null
src/monitor/fileWatcher.ml
eyx092/flow
6e02e520acf9c39c446ca3611b1f64555c968559
[ "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 Logger = FlowServerMonitorLogger exception FileWatcherDied of Exception.t type exit_reason = | Watcher_stopped | Watch...
38.641818
101
0.630687
8a90b2f06b22230f6c908b681a234ac05998ae67
1,512
ml
OCaml
z.ml
martindemello/lamplight
06d587563afe9a38767d346d65c8ce361bedca6a
[ "MIT" ]
1
2017-05-29T05:29:58.000Z
2017-05-29T05:29:58.000Z
z.ml
martindemello/lamplight
06d587563afe9a38767d346d65c8ce361bedca6a
[ "MIT" ]
null
null
null
z.ml
martindemello/lamplight
06d587563afe9a38767d346d65c8ce361bedca6a
[ "MIT" ]
null
null
null
open Core.Std open Ztypes exception Stack_error module Header = struct let init mem = let open Memory in { version = get_byte mem 0x00; hi_mem = get_word mem 0x04; init_pc = get_word mem 0x06; dict = get_word mem 0x08; obj_table = get_word mem 0x0a; glob...
23.625
120
0.650794
8a623cec21f55de76f3b6331d73c898316f88b22
1,134
mli
OCaml
maxima.mli
oanaoana/FPTaylor
c14d05eb9dc59a1736f043789e9f8d2659f742a0
[ "MIT" ]
1
2020-03-26T20:00:32.000Z
2020-03-26T20:00:32.000Z
maxima.mli
oanaoana/FPTaylor
c14d05eb9dc59a1736f043789e9f8d2659f742a0
[ "MIT" ]
null
null
null
maxima.mli
oanaoana/FPTaylor
c14d05eb9dc59a1736f043789e9f8d2659f742a0
[ "MIT" ]
null
null
null
(* ========================================================================== *) (* FPTaylor: A Tool for Rigorous Estimation of Round-off Errors *) (* *) (* Author: Alexey Solovyev, University of Utah ...
42
80
0.32716
8a479d96ad550973d53ca5ea89c5dba6943dd4d0
520
mli
OCaml
hack/heap/ident.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2020-07-11T17:49:59.000Z
2020-07-11T17:49:59.000Z
hack/heap/ident.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
hack/heap/ident.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2019-11-30T03:40:04.000Z
2019-11-30T03:40:04.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. * *) type t = int [@@deriving eq] val compare : t -> t -> int val track_names : bool ref val tmp : unit -> t val to_s...
17.931034
66
0.638462
afd52b4a8340f0e6fa11ffca10724c25ebdec624
898
ml
OCaml
data/derived/comb/progs/unify/prog1895.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/prog1895.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1895.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 rec padZero l1 l2 = let diffsize = (List.length l1) - (List.length l2) in if diffsize > 0 then (l1, (List.append (clone 0 diffsize) l2)) else ((List.append (clone 0 ((-1) * diffsize)) l1), l2);; let rec removeZero l = match l with | []...
30.965517
76
0.508909
8a01e65443e0b21dc2a9efdcd124b321513ed45c
8,017
ml
OCaml
src/stages/typesystem/shorthands.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
2
2021-03-06T12:11:41.000Z
2021-11-21T13:54:18.000Z
src/stages/typesystem/shorthands.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
4
2021-11-10T15:04:00.000Z
2022-01-14T07:49:14.000Z
src/stages/typesystem/shorthands.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
1
2022-03-30T09:12:37.000Z
2022-03-30T09:12:37.000Z
open Ast_core.Types open Core open Ast_core.Misc open Ast_core.Reasons (* TODO: remove this () argument, it is just here to make sure that the ~bound and ~constraints arguments are given (while adding the fields to the record, we need to make sure they're supplied everywhere) *) let tc description ~bound ~con...
32.589431
167
0.486342
8a32855ee30f1309b6ea3a183a8e70c3221e25a2
1,125
ml
OCaml
impdriver.ml
paniag/coq-sf-4.0
6ba676bbbdefdff3ebc39632e2bfccf71849c18a
[ "MIT" ]
2
2021-02-18T08:27:28.000Z
2021-02-20T06:44:07.000Z
impdriver.ml
paniag/coq-sf-4.0
6ba676bbbdefdff3ebc39632e2bfccf71849c18a
[ "MIT" ]
1
2017-07-26T00:44:43.000Z
2017-07-26T00:44:43.000Z
impdriver.ml
paniag/coq-sf-4.0
6ba676bbbdefdff3ebc39632e2bfccf71849c18a
[ "MIT" ]
6
2017-07-11T02:13:26.000Z
2020-11-23T20:12:11.000Z
open Imp let explode s = let rec exp i l = if i < 0 then l else exp (i - 1) (s.[i] :: l) in exp (String.length s - 1) [];; let tweak_string s = let ss = explode s in let rec loop = function [] -> EmptyString | h::t -> String (h, loop t) in loop ss;; let test s = print_endline s; let parse...
28.125
86
0.512889
afb3feed4e6928fcfca8a078df39657392c9a434
2,529
ml
OCaml
examples/native_sdl/perfGraph.ml
wlitwin/graphv
bc6ae65975f544d74d0387690c40e65bf1b188d4
[ "MIT" ]
10
2021-08-31T14:38:31.000Z
2021-10-02T15:22:30.000Z
examples/native_sdl/perfGraph.ml
wlitwin/graphv
bc6ae65975f544d74d0387690c40e65bf1b188d4
[ "MIT" ]
null
null
null
examples/native_sdl/perfGraph.ml
wlitwin/graphv
bc6ae65975f544d74d0387690c40e65bf1b188d4
[ "MIT" ]
null
null
null
module NVG = Graphv_gles2_native type style = FPS | Ms | Percent type t = { style : style; name : string; values : float array; mutable head : int; mutable last : float; } let init style name = { name; style; values = Array.make 100 0.; head = 0; las...
25.806122
74
0.517991
afba20b10806fe033eda1ac160f8da285c400a36
48,530
ml
OCaml
vendor/ocamlformat_support/format_.ml
trefis/ocamlformat
42ce8535faa81507991e9d1ca599aafb5d75d9ea
[ "MIT" ]
null
null
null
vendor/ocamlformat_support/format_.ml
trefis/ocamlformat
42ce8535faa81507991e9d1ca599aafb5d75d9ea
[ "MIT" ]
null
null
null
vendor/ocamlformat_support/format_.ml
trefis/ocamlformat
42ce8535faa81507991e9d1ca599aafb5d75d9ea
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
33.216975
79
0.684257
8a407c67c71d15cf7fba4e719473fc3fd1cd6546
27,610
ml
OCaml
src/lib/transition_router/transition_router.ml
spaweb/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
2
2021-12-10T21:56:09.000Z
2021-12-15T21:51:35.000Z
src/lib/transition_router/transition_router.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
null
null
null
src/lib/transition_router/transition_router.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Async_kernel open Pipe_lib open Mina_transition open O1trace open Network_peer open Mina_numbers type Structured_log_events.t += Starting_transition_frontier_controller [@@deriving register_event { msg = "Starting transition frontier controller phase" }] type Structured_log_events.t += Sta...
44.676375
82
0.639551
8a8bbf540d681b9623fe3874da7991d01bc7a7ae
408
ml
OCaml
data/derived/comb/progs/unify/prog6135.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog1275.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog1275.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
type 'a set = Set of 'a list let empty = Set [] let rec member x s = match s with | Set [] -> false | Set l -> let (h::tl) = l in if(h = x) then true else member x (Set tl) let add x s = match s with | Set l -> match x with Set z -> z@l let test = Set [1;2;3;4;5] let hmm = Set [12;23;14;56] let _ = member 2...
17.73913
74
0.580882
f3da8be56360314ec5c83a17632ae67754c5135f
9,250
ml
OCaml
infer/src/backend/Summary.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
infer/src/backend/Summary.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
infer/src/backend/Summary.ml
GaloisNeko/infer
55de99b46574050506618acfc2ce9c49df66d27a
[ "MIT" ]
null
null
null
(* * Copyright (c) 2009-2013, Monoidics ltd. * 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 PolyVariantEqual module Stats = struct type t = ...
32.685512
98
0.740324
af6e7fd9c00fec53e8c61bd6e1baf97d00f27373
261
ml
OCaml
ocaml/ndsort.ml
crackcomm/ocaml-nds
8ca341d62f3d04fb502851d654a2e335e5ff9e33
[ "Apache-2.0" ]
null
null
null
ocaml/ndsort.ml
crackcomm/ocaml-nds
8ca341d62f3d04fb502851d654a2e335e5ff9e33
[ "Apache-2.0" ]
null
null
null
ocaml/ndsort.ml
crackcomm/ocaml-nds
8ca341d62f3d04fb502851d654a2e335e5ff9e33
[ "Apache-2.0" ]
null
null
null
open Bigarray external sort : (float, float32_elt, c_layout) Array2.t -> (int32, int32_elt, c_layout) Array1.t -> unit = "ml_ndsort" let sort input = let output = Array1.create Int32 c_layout (Array2.dim1 input) in sort input output; output ;;
18.642857
66
0.693487
8a2b3b6e6f2f27ae218948668b0a88d0623f6839
559
ml
OCaml
data/derived/comb/progs/unify/prog5280.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/prog0373.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0373.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 rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine e' -> sin (eval (e', x, y)) | Cosine e' -> cos (eval (e', x, y)) | Average (e',e1)...
24.304348
67
0.468694
8a1c342e6f55e8e5189812956030daa56c66bde6
13,292
ml
OCaml
src/services/flowFileGen/flowFileGen.ml
jeffmo/flow
315903b8a276aad1eb954c0aa5f175a286ce0324
[ "BSD-3-Clause" ]
3
2016-10-07T21:13:50.000Z
2016-10-07T21:14:16.000Z
src/services/flowFileGen/flowFileGen.ml
jeffmo/flow
315903b8a276aad1eb954c0aa5f175a286ce0324
[ "BSD-3-Clause" ]
null
null
null
src/services/flowFileGen/flowFileGen.ml
jeffmo/flow
315903b8a276aad1eb954c0aa5f175a286ce0324
[ "BSD-3-Clause" ]
null
null
null
(** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) modul...
33.313283
95
0.606154
8a9d90dfb8f70554e87f309c6256fb36b19c8490
2,555
mli
OCaml
lib/probe.mli
dsheets/ocaml-dns
487f593cc6835fb4504b46c66acdd67ef6a596ca
[ "0BSD" ]
null
null
null
lib/probe.mli
dsheets/ocaml-dns
487f593cc6835fb4504b46c66acdd67ef6a596ca
[ "0BSD" ]
null
null
null
lib/probe.mli
dsheets/ocaml-dns
487f593cc6835fb4504b46c66acdd67ef6a596ca
[ "0BSD" ]
null
null
null
(** Implements the core of the unique name probing part of a Multicast DNS (mDNS) responder. *) (** The internal data structure representing the of the probing part of an mDNS responder. *) type state (** A DNS packet to be sent with its destination IP address and UDP port number. *) type datagram = Packet.t * Ipadd...
47.314815
137
0.717417
f3c46a2acb1ea67f5570a781cad6556b4bf15113
329
ml
OCaml
src/core/CofBuilder.ml
jonsterling/cool-tt
060eb034879a6e4fa17655feda2fd81a5a78cc9b
[ "MIT" ]
14
2019-12-21T05:59:18.000Z
2020-01-08T09:14:42.000Z
src/core/CofBuilder.ml
jonsterling/cool-tt
060eb034879a6e4fa17655feda2fd81a5a78cc9b
[ "MIT" ]
13
2019-12-21T22:24:08.000Z
2020-01-08T16:24:02.000Z
src/core/CofBuilder.ml
jonsterling/fun-tt
46a0bd0b5b270aa341c9f7d3af7937fabf6c8562
[ "Apache-2.0" ]
1
2020-01-03T13:43:25.000Z
2020-01-03T13:43:25.000Z
open Basis module Make (Symbol : Symbol.S) = struct module CofVar = CofVar.Make(Symbol) module Dim = Dim.Make(Symbol) include Kado.Builder.Free.Make (struct type dim = Dim.t type var = CofVar.t let dim0 = Dim.dim0 let dim1 = Dim.dim1 let equal_dim = Dim.equal ...
19.352941
37
0.604863
8a9de041e7fe702d25388f93ca3c1ee2f4113990
2,460
mli
OCaml
src/table.mli
kkirstein/ocaml-datatable
85e6e69503346d5fc3ebba91805d3db488ca92de
[ "MIT" ]
null
null
null
src/table.mli
kkirstein/ocaml-datatable
85e6e69503346d5fc3ebba91805d3db488ca92de
[ "MIT" ]
null
null
null
src/table.mli
kkirstein/ocaml-datatable
85e6e69503346d5fc3ebba91805d3db488ca92de
[ "MIT" ]
null
null
null
(* vim: set ft=ocaml sw=2 ts=2: *) (* Copyright (c) 2020 Kay-Uwe Kirstein, All rights reserved. Distributed under the MIT lincense. *) (** Datatable library {e %%VERION%% - {{:%%PKG_HOMEPAGE%% }homepage}} *) type t (** Abstract data type holding tabular data *) module Row : Map.S with type key = string t...
34.647887
92
0.665041
8a9c51b3f6f4518f8fda6528fa104d870d2e2849
23,103
ml
OCaml
src/parser_check.ml
akerber47/haskalah
dd0dfca3f69f91b1eeb452857bee3590300cbbf0
[ "BSD-3-Clause" ]
1
2016-06-10T17:06:03.000Z
2016-06-10T17:06:03.000Z
src/parser_check.ml
akerber47/haskalah
dd0dfca3f69f91b1eeb452857bee3590300cbbf0
[ "BSD-3-Clause" ]
null
null
null
src/parser_check.ml
akerber47/haskalah
dd0dfca3f69f91b1eeb452857bee3590300cbbf0
[ "BSD-3-Clause" ]
null
null
null
open Batteries ;; open Types ;; (* Take in ast0 and ast1node, copies the bounds over. *) let do_boundcpy a0 a1node = { node1 = a1node; blockstart1 = a0.blockstart; blockend1 = a0.blockend } ;; (* Take in an ast Ast0_type_*, and verify that it has either a valid context or no * context at all. Return ( ast Ast1_con...
42.942379
127
0.657447
8a59dd5d52a039c1698706ff3e4166de9c4a2048
909
ml
OCaml
libraries/autoscaling/lib/deletePolicy.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/autoscaling/lib/deletePolicy.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/autoscaling/lib/deletePolicy.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DeletePolicyType.t type output = unit type error = Errors_internal.t let service = "autoscaling" 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 [ "Ver...
24.567568
83
0.645765
8a701d34070ac4a71e88590da6d2124fefbedc15
14,015
ml
OCaml
src/Sugar.ml
ulrikstrid/ocamlformat
1d82ab5fe9ffc9e04d6a7f70f2ff4324c764b3f0
[ "MIT" ]
null
null
null
src/Sugar.ml
ulrikstrid/ocamlformat
1d82ab5fe9ffc9e04d6a7f70f2ff4324c764b3f0
[ "MIT" ]
null
null
null
src/Sugar.ml
ulrikstrid/ocamlformat
1d82ab5fe9ffc9e04d6a7f70f2ff4324c764b3f0
[ "MIT" ]
null
null
null
(********************************************************************** * * * OCamlFormat * * * * Copyright (c) 2019-present, ...
37.573727
77
0.558259
8aa41eb5a73fcac3815369b099dc748c98e64e52
97,074
ml
OCaml
src/typing/debug_js.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
1
2018-12-18T19:19:16.000Z
2018-12-18T19:19:16.000Z
src/typing/debug_js.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "MIT" ]
null
null
null
src/typing/debug_js.ml
skeggse/flow
49ab125ee158a2ac8ca675cff7460606a938f568
[ "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 Reason open Type open Utils_js let string_of_pred_ctor = function | AndP _ -> "AndP" | OrP _ -> "OrP" | NotP _ -> "NotP" |...
34.144917
109
0.623947
8aae63bc24afd118ff66fc5b2f63c5fccd11f299
7,993
ml
OCaml
vendor/bonsai/web/start.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
8
2020-09-16T01:37:52.000Z
2021-12-17T03:01:18.000Z
vendor/bonsai/web/start.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/bonsai/web/start.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! Async_kernel open! Import module type Result_spec = sig type t type extra type incoming val view : t -> Vdom.Node.t val extra : t -> extra val incoming : t -> incoming -> Vdom.Event.t end module Arrow = struct module Handle = struct module Injector = struct type 'a t =...
29.065455
90
0.637057
8aab148b3ba6f57d7f9284eae9086fd1becc36a6
5,695
ml
OCaml
server/backend/backend.ml
patricoferris/opam-health-check
030559bad86e383f60a4df66e3ec6630b135dedf
[ "MIT" ]
5
2021-01-15T16:57:26.000Z
2021-11-04T10:04:36.000Z
server/backend/backend.ml
patricoferris/opam-health-check
030559bad86e383f60a4df66e3ec6630b135dedf
[ "MIT" ]
18
2020-12-16T15:04:03.000Z
2022-03-01T17:47:53.000Z
server/backend/backend.ml
patricoferris/opam-health-check
030559bad86e383f60a4df66e3ec6630b135dedf
[ "MIT" ]
3
2021-01-15T16:51:28.000Z
2021-12-31T00:21:05.000Z
open Lwt.Infix type t = Server_workdirs.t let cache = Oca_server.Cache.create () let get_compilers logdir = Server_workdirs.logdir_get_compilers logdir >|= fun compilers -> List.sort Intf.Compiler.compare compilers module Pkg_tbl = Hashtbl.Make (String) let pkg_update ~pool pkg_tbl logdir comp state pkg = le...
42.185185
176
0.722212
8a3bd04d541f09d0b2fc65b8cb3bd3b54dd437a2
98
ml
OCaml
data/derived/comb/progs/unify/prog8745.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/prog3963.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3963.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let stringOfList f l = List.map (f l);; let _ = stringOfList string_of_int [1; 2; 3; 4; 5; 6];;
19.6
55
0.622449
8a6a97a77f5b9f3f43533d487e12ca4004ec9af4
1,028
ml
OCaml
coq_projects/CompCert/riscV/AsmToJSON.ml
reichel3/TacTok
c344e76263de04311af8a0030c07aec95d87f71c
[ "MIT" ]
7
2020-11-23T02:45:36.000Z
2022-03-18T03:03:33.000Z
coq_projects/CompCert/riscV/AsmToJSON.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
4
2021-02-23T03:03:51.000Z
2021-11-13T00:07:38.000Z
coq_projects/CompCert/riscV/AsmToJSON.ml
LASER-UMASS/Diva
7dbb532cc6feec1e39c560b30a8e70f2691df365
[ "MIT" ]
2
2021-01-19T17:56:28.000Z
2022-03-28T04:39:41.000Z
(* *********************************************************************) (* *) (* The Compcert verified compiler *) (* *) (* Bernhard Sch...
42.833333
73
0.332685
8a285bc3e6a09c10066673071b11ec0dbb2df000
652
mli
OCaml
drivers/msgpack/msgpack.mli
NathanReb/ppx_protocol_conv
9ee0e174205acaa7c69e47b9e5debb51d227e1b4
[ "BSD-3-Clause" ]
34
2018-01-01T17:44:47.000Z
2022-02-23T22:27:30.000Z
drivers/msgpack/msgpack.mli
NathanReb/ppx_protocol_conv
9ee0e174205acaa7c69e47b9e5debb51d227e1b4
[ "BSD-3-Clause" ]
27
2018-01-16T16:08:47.000Z
2021-08-05T14:00:19.000Z
drivers/msgpack/msgpack.mli
NathanReb/ppx_protocol_conv
9ee0e174205acaa7c69e47b9e5debb51d227e1b4
[ "BSD-3-Clause" ]
13
2018-09-15T13:37:57.000Z
2022-02-15T19:12:41.000Z
module Make(P: Ppx_protocol_driver.Parameters) : (Protocol_conv.Runtime.Driver with type t = Msgpck.t) include Protocol_conv.Runtime.Driver with type t = Msgpck.t val of_msgpack_exn: t -> t val of_msgpack: t -> (t, error) Protocol_conv.Runtime.result val to_msgpack: t -> t type bytes = string val bytes_of_msgpack_exn...
28.347826
102
0.766871
8a59a2f6806c46c45a276025be74d76df7672d7a
18,942
ml
OCaml
data/derived/comb/progs/unify/prog8552.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/fa15/progs/unify/prog3767.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3767.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.828423
208
0.655686
8a44a09861d5020060c10b22b1d113f65057fa13
2,254
mli
OCaml
src/irmin-pack/pack.mli
boukeversteegh/irmin
07a0a95ce4de6b63bdc55026c4461fece3ddd764
[ "ISC" ]
null
null
null
src/irmin-pack/pack.mli
boukeversteegh/irmin
07a0a95ce4de6b63bdc55026c4461fece3ddd764
[ "ISC" ]
null
null
null
src/irmin-pack/pack.mli
boukeversteegh/irmin
07a0a95ce4de6b63bdc55026c4461fece3ddd764
[ "ISC" ]
null
null
null
(* * Copyright (c) 2013-2019 Thomas Gazagnaire <thomas@gazagnaire.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDE...
25.908046
79
0.661491
8a3b66df33c2e3f76bfbfeb2ca507e20d6f1e9c4
782
mli
OCaml
hphp/hack/src/server/serverSymbolDefinition.mli
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
1
2019-11-01T13:46:07.000Z
2019-11-01T13:46:07.000Z
hphp/hack/src/server/serverSymbolDefinition.mli
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverSymbolDefinition.mli
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) val go : Nast.program option -> Relative_path.t SymbolOccurrence.t -> Relative_path.t SymbolDefinition.t optio...
26.066667
66
0.772379
afc58b8141c8b973ba046bf9debc7740d21fbc24
252
mli
OCaml
libraries/rds/lib/addSourceIdentifierToSubscription.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/rds/lib/addSourceIdentifierToSubscription.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/rds/lib/addSourceIdentifierToSubscription.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 = AddSourceIdentifierToSubscriptionMessage.t type output = AddSourceIdentifierToSubscriptionResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
22.909091
85
0.801587
8a9c3963a9bf6395eeaa7286cb2d152f4d556568
412
mli
OCaml
src/owl/linalg/owl_linalg_c.mli
Fourchaux/owl
06e2f033b4ebda1e9bfd087f76cee4675c76d805
[ "MIT" ]
508
2018-03-24T12:15:49.000Z
2022-03-30T11:37:33.000Z
src/owl/linalg/owl_linalg_c.mli
Fourchaux/owl
06e2f033b4ebda1e9bfd087f76cee4675c76d805
[ "MIT" ]
344
2018-03-23T14:01:27.000Z
2022-03-31T16:14:14.000Z
src/owl/linalg/owl_linalg_c.mli
Fourchaux/owl
06e2f033b4ebda1e9bfd087f76cee4675c76d805
[ "MIT" ]
68
2018-03-28T21:34:12.000Z
2022-01-23T12:15:33.000Z
(* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2020 Liang Wang <liang.wang@cl.cam.ac.uk> *) open Bigarray type elt = Complex.t type mat = Owl_dense_matrix_c.mat type int32_mat = (int32, int32_elt) Owl_dense_matrix_generic.t include Owl_linalg_intf.Common with type elt := elt ...
20.6
63
0.713592
f3f94ed0f62250e2ff96507a39bce2e4bdc68aa6
13,634
ml
OCaml
infer/src/pulse/PulseCallOperations.ml
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
null
null
null
infer/src/pulse/PulseCallOperations.ml
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
null
null
null
infer/src/pulse/PulseCallOperations.ml
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
2
2020-06-23T00:43:10.000Z
2022-03-24T06:24:50.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module L = Logging open PulseBasicInterface open PulseDomainInterface open PulseOperations.Import type t = AbductiveDom...
43.839228
104
0.640018
8aaa3e1e08e292f6158b8f3cf2eac3b3dcaf8d73
2,553
mli
OCaml
termlib/spawn.mli
rbardou/med
e23c2830909b9e5cd6afe563313435ddaeda90bf
[ "MIT" ]
9
2018-07-31T00:49:01.000Z
2021-03-16T12:06:30.000Z
termlib/spawn.mli
rbardou/med
e23c2830909b9e5cd6afe563313435ddaeda90bf
[ "MIT" ]
null
null
null
termlib/spawn.mli
rbardou/med
e23c2830909b9e5cd6afe563313435ddaeda90bf
[ "MIT" ]
1
2020-07-06T13:47:24.000Z
2020-07-06T13:47:24.000Z
(** Spawn cooperative threads and run them. *) (** {2 Groups} *) (** Collections of tasks. *) type group (** The default group for new tasks. *) val default_group: group (** Create a new empty collection of tasks. Subtasks (tasks spawned by other tasks) belong to the group of their parent by default. Root ...
38.104478
103
0.697219
af89512ed200b72222436a43662e37aa04a842b9
4,127
ml
OCaml
src/lib_shell/test/shell_test_helpers.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/lib_shell/test/shell_test_helpers.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
6
2021-11-01T16:06:38.000Z
2022-02-23T08:13:09.000Z
src/lib_shell/test/shell_test_helpers.ml
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
2
2021-10-15T10:51:18.000Z
2021-11-02T13:03:09.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2020 Nomadic Labs. <contact@nomadic-labs.com> *) ...
39.682692
79
0.607705
afe66d096c9b0a6d4b0cda29603a623c2e5ca40f
1,194
ml
OCaml
src/cdomains/specDomain.ml
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
64
2015-02-21T12:09:08.000Z
2022-03-30T14:38:16.000Z
src/cdomains/specDomain.ml
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
507
2015-03-17T14:56:21.000Z
2022-03-31T12:25:20.000Z
src/cdomains/specDomain.ml
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
39
2015-05-03T19:46:24.000Z
2022-03-30T14:38:18.000Z
open Prelude module D = LvalMapDomain module Val = struct type s = string let name = "Spec value" let var_state = "" let string_of_state s = s (* transforms May-Sets of length 1 to Must. NOTE: this should only be done if the original set had more than one element! *) (* let maybe_must = function May xs ...
35.117647
126
0.634841
8a5ecb5aef1a949706b58540691654dd9fcdaa7f
17,390
ml
OCaml
src/model_desc/lang_desc.ml
TristanCacqueray/odoc
fd4605f6c94d61a9dd3cffabc76c712ba246ae4c
[ "ISC" ]
null
null
null
src/model_desc/lang_desc.ml
TristanCacqueray/odoc
fd4605f6c94d61a9dd3cffabc76c712ba246ae4c
[ "ISC" ]
null
null
null
src/model_desc/lang_desc.ml
TristanCacqueray/odoc
fd4605f6c94d61a9dd3cffabc76c712ba246ae4c
[ "ISC" ]
null
null
null
open Type_desc open Odoc_model open Paths_desc open Comment_desc module T = Type_desc module Digest = struct let t : Digest.t t = To_string (fun _ -> "<digest>") end (** {3 Module} *) let rec module_expansion = let open Lang.Module in Variant (function | AlreadyASig -> C0 "AlreadyASig" | Signature ...
29.03172
82
0.579586
8aa5c9a1566a7106b41f3e0e48b37ac5587538c9
2,086
ml
OCaml
hphp/hack/src/providers/db_path_provider.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
1
2022-03-11T02:25:14.000Z
2022-03-11T02:25:14.000Z
hphp/hack/src/providers/db_path_provider.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
3
2022-02-17T04:00:03.000Z
2022-03-24T03:45:33.000Z
hphp/hack/src/providers/db_path_provider.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
1
2022-01-06T04:58:57.000Z
2022-01-06T04:58:57.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude (** This sharedmem is used only for the Shared_memory backend *) module Shared_db_settings = SharedMem.Heap...
35.355932
81
0.745446
8a61544a3e6773fc994b70b0172839886e94425b
3,188
ml
OCaml
data/fa15/2023.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/2023.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/2023.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 [] else x :: (clone x (n - 1));; 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 when...
17.810056
79
0.489335
af8ef94d2257f222c7a32bd0537880a189e5c3b6
1,509
ml
OCaml
duniverse/tyxml/test/test_html.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
duniverse/tyxml/test/test_html.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
duniverse/tyxml/test/test_html.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
open Tyxml_test let html_elements = "html elements", tyxml_tests Html.[ "div", div [a []], "<div><a></a></div>" ; "a", canvas [a []], "<canvas><a></a></canvas>"; "template", template ~a:[a_id "idtmpl"] [p [txt "Template"]], "<template id=\"idtmpl\"><p>Template</p></template>" ; ] let escaping = ...
17.344828
73
0.50497
8a2c0c781d3481af0f9d98f59106cb673b186245
3,681
ml
OCaml
src/ocaml/preprocess/recover/gSet.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
1,031
2016-12-16T19:17:17.000Z
2022-03-24T06:30:52.000Z
src/ocaml/preprocess/recover/gSet.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
754
2016-12-16T14:01:33.000Z
2022-03-31T13:21:16.000Z
src/ocaml/preprocess/recover/gSet.ml
pereb4ik/merlin
f3565d0ef89cf8df9bc3f10a15dc12069658f45b
[ "MIT" ]
177
2017-01-04T17:35:53.000Z
2022-02-18T02:54:14.000Z
(******************************************************************************) (* *) (* Menhir *) (* ...
31.732759
80
0.494159
af90cffdfb509688bc24bbc8db4dcbbaaf1a9726
2,739
mli
OCaml
src/tzEndian.mli
tek/data-encoding
b2ed416587f3ce86ed4d2ebc2e4fb05e314d9f96
[ "MIT" ]
null
null
null
src/tzEndian.mli
tek/data-encoding
b2ed416587f3ce86ed4d2ebc2e4fb05e314d9f96
[ "MIT" ]
null
null
null
src/tzEndian.mli
tek/data-encoding
b2ed416587f3ce86ed4d2ebc2e4fb05e314d9f96
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2019 Nomadic Labs, <contact@nomadic-labs.com> *) ...
43.47619
79
0.519168
affb9e3177cf5526e3d33025a776b315107cbf05
393
ml
OCaml
example/3-redirect/redirect.ml
andreypopp/hyper
1f33c54d9023be319da926dfe6d718b2dd4cd8c0
[ "MIT" ]
null
null
null
example/3-redirect/redirect.ml
andreypopp/hyper
1f33c54d9023be319da926dfe6d718b2dd4cd8c0
[ "MIT" ]
null
null
null
example/3-redirect/redirect.ml
andreypopp/hyper
1f33c54d9023be319da926dfe6d718b2dd4cd8c0
[ "MIT" ]
null
null
null
let server = Dream.router [ Dream.get "/redirect" (fun request -> Dream.redirect request "/target"); Dream.get "/target" (fun _request -> Dream.respond "Hello, world!"); ] let () = ignore (Dream.serve server); Lwt_main.run (Lwt_unix.sleep 0.1) let response = Lwt_main.run (Hyper.get ~ser...
20.684211
67
0.641221
8ab163ae673c6f246ef98897da05924bbfeb2a3a
47,221
ml
OCaml
src/parser/estree_translator.ml
kevinold/flow
ef3393c014ef3dc1e006fd17e16462e3c3acb563
[ "MIT" ]
2
2018-02-28T06:36:27.000Z
2018-02-28T06:36:30.000Z
src/parser/estree_translator.ml
kevinold/flow
ef3393c014ef3dc1e006fd17e16462e3c3acb563
[ "MIT" ]
null
null
null
src/parser/estree_translator.ml
kevinold/flow
ef3393c014ef3dc1e006fd17e16462e3c3acb563
[ "MIT" ]
1
2018-02-28T06:36:11.000Z
2018-02-28T06:36:11.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module type Translator = sig type t val string: string -> t val bool: bool -> t val obj: (string * t) list -> t val array: t ...
32.432005
90
0.619873
8a8210f07229583330fbee7b46560df4b4edb074
566
ml
OCaml
benchmarks/C/diff/sol90.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/diff/sol90.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/diff/sol90.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type aexp = | Const of int | Var of string | Power of string * int | Times of aexp list | Sum of aexp list let rec diff : aexp * string -> aexp = fun (aexp,x) -> match aexp with |Const n -> Const 0 |Var v-> if x = v then Const 1 else Const 0 |Power (v, aexp') -> if x=v then Times [Const aexp'; Power (...
25.727273
108
0.574205
8a6684ef36f23d7c8ffb96abdf32ee9f8f30f366
9,922
mli
OCaml
duniverse/owl/src/owl/cblas/owl_cblas_basic.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
1
2019-11-17T23:16:15.000Z
2019-11-17T23:16:15.000Z
duniverse/owl/src/owl/cblas/owl_cblas_basic.mli
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/owl/src/owl/cblas/owl_cblas_basic.mli
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> *) (** CBLAS interface: high-level interface beween Owl and level-1, level-2, level-3 BLAS functions. *) (** Please refer to: Intel Math Kernel Library in the CBLAS interface url: https://sof...
51.947644
185
0.610462
aff6897acd96d417fbff2da70fa5e42af2029fca
13,789
ml
OCaml
tools/prettyProg.ml
rst0git/herdtools7
b3c4d9873d3f0724dd7430b8db6fe9150dacf256
[ "CECILL-B" ]
null
null
null
tools/prettyProg.ml
rst0git/herdtools7
b3c4d9873d3f0724dd7430b8db6fe9150dacf256
[ "CECILL-B" ]
null
null
null
tools/prettyProg.ml
rst0git/herdtools7
b3c4d9873d3f0724dd7430b8db6fe9150dacf256
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
33.067146
112
0.513598
8a9adffdc0abf2188b28a1235cb8bc417d6459ee
21,397
ml
OCaml
src/state/heaps/parsing/parsing_heaps.ml
comp615/flow
7d24be3b20f995133b91500fe1b5294606f4b442
[ "MIT" ]
null
null
null
src/state/heaps/parsing/parsing_heaps.ml
comp615/flow
7d24be3b20f995133b91500fe1b5294606f4b442
[ "MIT" ]
null
null
null
src/state/heaps/parsing/parsing_heaps.ml
comp615/flow
7d24be3b20f995133b91500fe1b5294606f4b442
[ "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 Utils_js open Parsing_heaps_exceptions (* shared heap for parsed ASTs by filename *) module ASTHeap = SharedMem.WithCache ...
32.667176
101
0.720288
8a85eaff8c502fb90f8f625a1aa1842a570855c0
398
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-gadts/pr7397.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T15:31:36.000Z
2021-03-05T16:01:39.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-gadts/pr7397.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
2
2021-03-03T16:08:23.000Z
2021-03-03T19:31:03.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/typing-gadts/pr7397.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(* TEST * expect *) type +'a t class type a = object method b : b end and b = object method a : a end type _ response = | C : #a t response;; [%%expect{| type +'a t class type a = object method b : b end and b = object method a : a end type _ response = C : #a t response |}] let f (type a) (a : a response) =...
13.266667
38
0.572864
8a2d9474735316795601b9bfe7a19479fba62a7c
66,643
ml
OCaml
src/proto_alpha/lib_protocol/test/delegation.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/delegation.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/test/delegation.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
37.230726
110
0.682517
8a6949cffd53cf00fbf3f9b952b232c415222eae
3,322
ml
OCaml
src/minihaskell/type_check.ml
vrotaru/plzoo
ae6041c65baf1eebf65a60617819efeb8dcd3420
[ "MIT" ]
1,267
2015-01-01T18:23:48.000Z
2022-03-31T06:31:51.000Z
src/minihaskell/type_check.ml
vrotaru/plzoo
ae6041c65baf1eebf65a60617819efeb8dcd3420
[ "MIT" ]
20
2016-05-19T11:24:40.000Z
2020-11-11T09:36:21.000Z
src/minihaskell/type_check.ml
vrotaru/plzoo
ae6041c65baf1eebf65a60617819efeb8dcd3420
[ "MIT" ]
83
2015-07-04T15:28:52.000Z
2022-03-24T13:11:49.000Z
(** Type checking. *) (** [ty_error msg] raises exception [Type_error msg]. *) let type_error msg = Zoo.error ~kind:"Type error" msg (** [check ctx ty e] checks that expression [e] has type [ty] in context [ctx]. It raises [Type_error] if it does not. *) let rec check ctx ty e = let ty' = type_of ctx e in i...
27.915966
79
0.575557
8a707dec12b160b6a8014636ae49058c5073bd87
4,163
mli
OCaml
hphp/hack/src/client/ide_service/clientIdeService.mli
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/ide_service/clientIdeService.mli
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/ide_service/clientIdeService.mli
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2019, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (** Provides IDE services in the client, without an instance of hh_server running. Basic approach: we load the nami...
38.192661
80
0.736728
8aaea75bd6d48ce19c9530c2a35e5025e1a92397
905
mli
OCaml
lib/commit.mli
yomimono/chamelon
33dff03d664d69ed15f4c7cb4fabc6f50e54f7e9
[ "0BSD" ]
24
2022-01-06T07:53:58.000Z
2022-03-03T08:36:56.000Z
lib/commit.mli
yomimono/chamelon
33dff03d664d69ed15f4c7cb4fabc6f50e54f7e9
[ "0BSD" ]
4
2022-01-10T21:56:10.000Z
2022-03-06T19:59:44.000Z
lib/commit.mli
yomimono/chamelon
33dff03d664d69ed15f4c7cb4fabc6f50e54f7e9
[ "0BSD" ]
null
null
null
type t (* information *) val seed_tag : t -> Cstruct.t val last_tag : t -> Cstruct.t val entries : t -> Entry.t list (** [of_entries_filter_crc starting_xor_tag crc l] creates a new commit [t] representing the entries [l]. CRC entries are ommitted. *) val of_entries_filter_crc : Cstruct.t -> Optint.t -> Entry.t list...
45.25
183
0.735912
af7e0688d032596f061c08ecc00c1cf21d09fb95
530
mll
OCaml
examples/lexer.mll
UnixJunkie/ocamlscript
84c60f322fd29f9233b15769f6a1b61ac8adc20c
[ "BSL-1.0" ]
52
2015-01-14T21:21:06.000Z
2021-02-08T15:26:00.000Z
examples/lexer.mll
UnixJunkie/ocamlscript
84c60f322fd29f9233b15769f6a1b61ac8adc20c
[ "BSL-1.0" ]
11
2015-04-20T19:33:57.000Z
2021-02-16T06:07:13.000Z
examples/lexer.mll
UnixJunkie/ocamlscript
84c60f322fd29f9233b15769f6a1b61ac8adc20c
[ "BSL-1.0" ]
5
2015-05-18T19:39:30.000Z
2021-02-05T07:27:25.000Z
(* Calculator example from the Objective Caml reference manual *) (* File lexer.mll *) { open Parser (* The type token is defined in parser.mli *) exception Eof } rule token = parse [' ' '\t'] { token lexbuf } (* skip blanks *) | ['\n' ] { EOL } | ['0'-'9']+ as lxm { INT(int_of_string lxm...
27.894737
65
0.422642
af283b384524b11709df0a4cc0e4e5d529087ae9
14,569
ml
OCaml
src/syntax/reification.ml
davidbruce/haxe-lang
b621c5270979ffd24d21e9e61561eae8ef6f3400
[ "MIT" ]
10
2015-09-16T16:35:08.000Z
2020-07-03T13:03:36.000Z
src/syntax/reification.ml
davidbruce/haxe-lang
b621c5270979ffd24d21e9e61561eae8ef6f3400
[ "MIT" ]
2
2015-10-30T17:17:57.000Z
2020-05-21T00:44:28.000Z
src/syntax/reification.ml
davidbruce/haxe-lang
b621c5270979ffd24d21e9e61561eae8ef6f3400
[ "MIT" ]
5
2015-09-20T18:06:13.000Z
2022-03-16T11:22:18.000Z
(* 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.36165
201
0.60917
af32c09471944ecac2c89c4ef41a37d9890e5b39
312
ml
OCaml
test/main/com/ocaml/sdk/output/errors/samples/type/f1.ml
QuentinRa/ocaml-plugin-intellij
8c578585d524171097c2c6e8d8397ff5fa9e2ed1
[ "MIT" ]
1
2022-03-05T11:28:48.000Z
2022-03-05T11:28:48.000Z
test/main/com/ocaml/sdk/output/errors/samples/type/f1.ml
QuentinRa/ocaml-plugin-intellij
8c578585d524171097c2c6e8d8397ff5fa9e2ed1
[ "MIT" ]
52
2022-02-01T11:08:25.000Z
2022-03-31T20:42:43.000Z
test/main/com/ocaml/sdk/output/errors/samples/type/f1.ml
QuentinRa/intellij-ocaml-plugin
8c578585d524171097c2c6e8d8397ff5fa9e2ed1
[ "MIT" ]
1
2022-03-25T03:10:55.000Z
2022-03-25T03:10:55.000Z
let x : int = 0. (* File "f1.ml", line 2, characters 8-9: Error: This expression has type float This is not a function; it cannot be applied. File "f1.ml", line 2, characters 8-9: 2 | let y = x 0 ^ Error: This expression has type float This is not a function; it cannot be applied. *)
24
52
0.63141
afaf26d6c829d38d9441c60f4a79fe3d74732a8d
6,022
ml
OCaml
test/testPathTest.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
test/testPathTest.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "MIT" ]
null
null
null
test/testPathTest.ml
diophung/pyre-check
a488698d86b06b550c0e6e133009c1f396925af2
[ "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 OUnit2 open Pyre open Test let (!) = Path.create_absolute let root context = let path = bracket_tmpdir context in ...
27.751152
98
0.678512
8a903f111e124883eefb66ea6e30df382a3c0dc8
3,088
mli
OCaml
vendor/dune/src/file_tree.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/file_tree.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/file_tree.mli
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
open! Stdune (** Dune representation of the source tree *) open! Import module Dune_file : sig module Plain : sig (** [sexps] is mutable as we get rid of the S-expressions once they have been parsed, in order to release the memory as soon as we don't need them. *) type t = { path ...
26.852174
75
0.644754
8a620ee2ec18d44bf0e201e5195accc4a4c87895
65
mli
OCaml
common/repl.mli
Drup/peahell
a340dd2028947cdcdb8830ffff3b195bd36cc1dc
[ "MIT" ]
7
2020-12-04T12:49:26.000Z
2021-09-14T17:45:51.000Z
common/repl.mli
Drup/peahell
a340dd2028947cdcdb8830ffff3b195bd36cc1dc
[ "MIT" ]
null
null
null
common/repl.mli
Drup/peahell
a340dd2028947cdcdb8830ffff3b195bd36cc1dc
[ "MIT" ]
null
null
null
module Make (L : Language.S) : sig val main : unit -> unit end
16.25
34
0.630769
8a475c1dcd9801e66dec259fc736871e9ab8676d
1,207
ml
OCaml
infer/src/IR/CallFlags.ml
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
4
2020-06-16T14:40:24.000Z
2021-07-28T18:02:26.000Z
infer/src/IR/CallFlags.ml
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
25
2021-02-08T13:49:24.000Z
2022-02-28T03:34:19.000Z
infer/src/IR/CallFlags.ml
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
1
2021-01-29T07:48:02.000Z
2021-01-29T07:48:02.000Z
(* * Copyright (c) 2009-2013, Monoidics ltd. * 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 Smallfoot Intermediate Language: Call Flags *) open! IStd module F = Format (*...
29.439024
102
0.670257
8a90b06d41b85fd2fcee4db93abe3a685f53db18
43
mli
OCaml
II rok/I semestr/PF/Zajecia 06/Lexer.mli
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
II rok/I semestr/PF/Zajecia 06/Lexer.mli
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
II rok/I semestr/PF/Zajecia 06/Lexer.mli
antonitomaszewski/Studia
ff2fa59e25cf3f5c86b59de9994b80a502ec1e7b
[ "MIT" ]
null
null
null
val token : Lexing.lexbuf -> Parser.token
14.333333
41
0.72093
d2f57bed62c85bf2f1adb91eddbd418b89985c73
5,347
ml
OCaml
infer/src/IR/DotCfg.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
4
2020-06-16T14:40:24.000Z
2021-07-28T18:02:26.000Z
infer/src/IR/DotCfg.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
25
2021-02-08T13:49:24.000Z
2022-02-28T03:34:19.000Z
infer/src/IR/DotCfg.ml
NeatNerdPrime/infer
8f797bab845830fed3e3da7c417ff611a6efe7f1
[ "MIT" ]
null
null
null
(* * Copyright (c) 2009-2013, Monoidics ltd. * 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 let pp_cfgnodename pname fmt (n : Procdesc.Node.t) = F.f...
36.623288
100
0.675519
f329fe54fe97fd1a50d77f8ecfa4a47f673dfe8e
2,641
ml
OCaml
data/sp14/0242.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0242.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0242.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let rec append x y = match y with | [] -> [x] | h::t -> h :: (append x t);; let rec digitsOfInt n = if n < 0 then [] else (let (x,y) = ((n mod 10), (n / 10)) in if n < 10 then [n] else append x (digitsOfInt y));; let digits n = digitsOfInt (abs n);; let rec numdigits x = match x with | [] -> 0 | h::t...
17.375
75
0.510413
af6d6982f2c3e581f2371f502b9d132e67e6a008
1,275
ml
OCaml
bootstrap/test/basis/array/test_sort.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/test/basis/array/test_sort.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/test/basis/array/test_sort.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open! Basis.Rudiments open! Basis open Array let verbose = false type sort_elm = { key: uns; (* Random, possibly non-unique. *) sn: uns; (* Sequential in initial array. *) } let elm_pp elm formatter = formatter |> Fmt.fmt "{key=" |> Uns.pp elm.key |> Fmt.fmt ", sn=" |> Uns.pp elm.sn |> Fmt.fmt "}" l...
21.982759
81
0.563137
8a8e41eb2c340fdcb7365817ef61bc93e605a283
1,365
mli
OCaml
src/typing/merge_js.mli
parviz-93/flow
bd22f98a8b254cd3f75586f642121c21fb56ee8f
[ "MIT" ]
1
2021-03-12T10:46:28.000Z
2021-03-12T10:46:28.000Z
src/typing/merge_js.mli
parviz-93/flow
bd22f98a8b254cd3f75586f642121c21fb56ee8f
[ "MIT" ]
null
null
null
src/typing/merge_js.mli
parviz-93/flow
bd22f98a8b254cd3f75586f642121c21fb56ee8f
[ "MIT" ]
null
null
null
(** * Copyright (c) 2014-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 Reqs : sig type t val empty: t val add_impl: string -> File_key.t -> Utils_js.LocSet.t -> t -> t val add_dep_impl: string...
31.744186
89
0.67619
8a5f7e6e54bffca2033dc28b2eba31ec203184b6
10,594
ml
OCaml
infer/src/pulse/Pulse.ml
tahmidbintaslim/infer
1d2f00faea9523a1bed93085a800063e88f09482
[ "MIT" ]
null
null
null
infer/src/pulse/Pulse.ml
tahmidbintaslim/infer
1d2f00faea9523a1bed93085a800063e88f09482
[ "MIT" ]
8
2021-05-12T00:06:23.000Z
2022-02-27T11:21:00.000Z
infer/src/pulse/Pulse.ml
tahmidbintaslim/infer
1d2f00faea9523a1bed93085a800063e88f09482
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format module L = Logging open IResult.Let_syntax open PulseBasicInterface open PulseDomainInterface let rep...
39.529851
103
0.650179
8a597cabf7c791480162fb8f9232b7b8d2eb2043
2,487
ml
OCaml
day12.ml
basile-henry/aoc2019
243ebf1db60d6e9640cf0831cb0caaaadfac0966
[ "MIT" ]
1
2019-12-02T12:15:22.000Z
2019-12-02T12:15:22.000Z
day12.ml
basile-henry/aoc2019
243ebf1db60d6e9640cf0831cb0caaaadfac0966
[ "MIT" ]
null
null
null
day12.ml
basile-henry/aoc2019
243ebf1db60d6e9640cf0831cb0caaaadfac0966
[ "MIT" ]
null
null
null
open Util type vec1 = int type vec3 = int list type planets1 = (vec1 list * vec1 list) type planets3 = (vec3 list * vec3 list) let parse (data : string) : planets3 = ( data |> String.trim |> String.split_on_char '\n' |> List.map (fun line -> match String.split_on_char '=' line with ...
28.261364
72
0.542018
8a9f6d9334091d0a0d84173ba1d3f83ba514711f
345
ml
OCaml
ocaml/coinChange.ml
AlexandruBurlacu/algorithmic-sandbox
88693ada15435b828ee02354083fc5e993774438
[ "MIT" ]
null
null
null
ocaml/coinChange.ml
AlexandruBurlacu/algorithmic-sandbox
88693ada15435b828ee02354083fc5e993774438
[ "MIT" ]
null
null
null
ocaml/coinChange.ml
AlexandruBurlacu/algorithmic-sandbox
88693ada15435b828ee02354083fc5e993774438
[ "MIT" ]
null
null
null
(* Needs fix *) let coinChange amount coins = let ways = Array.make (amount + 1) 0 Array.set ways 0 1 List.iter (fun coin -> for j = coin to amount do Array.set ways j (Array.get ways j + Array.get ways (j - coin)) done) coins Array.get ways amount coinChange 25 [1; 5; 10; 20] |> string...
21.5625
71
0.628986
af91aa933b694468c5b9d6301a68047713871b50
2,728
ml
OCaml
tools/collectRegs.ml
jmadiot/herdtools7
b58a26946e2012a40ad280c3a11f2d251824a3ae
[ "CECILL-B" ]
null
null
null
tools/collectRegs.ml
jmadiot/herdtools7
b58a26946e2012a40ad280c3a11f2d251824a3ae
[ "CECILL-B" ]
null
null
null
tools/collectRegs.ml
jmadiot/herdtools7
b58a26946e2012a40ad280c3a11f2d251824a3ae
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
35.894737
78
0.544721