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
bc80c5a72c99a77840cec59165a0035b56bf1148
1,077
mli
OCaml
experiments/ownership-inference/infer/infer/src/java/jFrontend.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
30
2019-06-28T15:20:25.000Z
2021-08-25T11:37:30.000Z
experiments/ownership-inference/infer/infer/src/java/jFrontend.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
39
2019-06-28T15:08:12.000Z
2020-07-17T01:44:33.000Z
experiments/ownership-inference/infer/infer/src/java/jFrontend.mli
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
17
2019-06-28T14:40:41.000Z
2021-03-11T19:26:13.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. *) open! IStd open Javalib_pack val path_of_cached_classname : JBasics.class_name -> strin...
35.9
99
0.742804
bc798c82446dcfdd95f4514524fb47058038272d
4,049
ml
OCaml
daq/Sat1/fftw-3.0.1/genfft/oracle.ml
abrahamneben/orbcomm_beam_mapping
71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004
[ "MIT" ]
1
2019-04-10T02:50:19.000Z
2019-04-10T02:50:19.000Z
power_data_to_sat_passes/Sat1/fftw-3.0.1/genfft/oracle.ml
abrahamneben/orbcomm_beam_mapping
71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004
[ "MIT" ]
null
null
null
power_data_to_sat_passes/Sat1/fftw-3.0.1/genfft/oracle.ml
abrahamneben/orbcomm_beam_mapping
71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004
[ "MIT" ]
null
null
null
(* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * Copyright (c) 2003 Matteo Frigo * Copyright (c) 2003 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fre...
28.921429
76
0.648308
bc2cdb932aca88306d50e4b0c8e02e2403aad558
69,173
ml
OCaml
infer/src/base/Config.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/base/Config.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
infer/src/base/Config.ml
ryoon/infer
7b8dc59386529801f9a7fb67ead94053dbf53b42
[ "BSD-3-Clause" ]
null
null
null
(* * Copyright (c) 2009 - 2013 Monoidics ltd. * Copyright (c) 2013 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS...
36.349448
103
0.721018
bc69dad1de9d1de421ad1619ddd4edd026027cf0
1,808
ml
OCaml
src-bindings/polka/polka.ml
SaySayo/vscode-ocaml-platform
9121940dd8355a1b11da145aa4e4df0bbd00d026
[ "ISC" ]
1
2021-10-13T10:04:15.000Z
2021-10-13T10:04:15.000Z
src-bindings/polka/polka.ml
SaySayo/vscode-ocaml-platform
9121940dd8355a1b11da145aa4e4df0bbd00d026
[ "ISC" ]
null
null
null
src-bindings/polka/polka.ml
SaySayo/vscode-ocaml-platform
9121940dd8355a1b11da145aa4e4df0bbd00d026
[ "ISC" ]
null
null
null
open Interop module Server = struct include Interface.Make () module Address = struct include Interface.Make () include [%js: val port : t -> int [@@js.get]] include [%js: val address : t -> string [@@js.get]] end include [%js: val close : t -> ?callback:(Node.JsError.t or_undefin...
21.52381
77
0.589602
bc5b84241590c0dfca9175b6e3dd3192cee73250
305
mli
OCaml
lib/syb_constructors.mli
yallop/staged-generic-programming
643fe847e63babc54f6ba5d9c160c664c30df2fc
[ "MIT" ]
27
2017-09-05T14:25:03.000Z
2021-11-16T11:10:07.000Z
lib/syb_constructors.mli
yallop/staged-generic-programming
643fe847e63babc54f6ba5d9c160c664c30df2fc
[ "MIT" ]
null
null
null
lib/syb_constructors.mli
yallop/staged-generic-programming
643fe847e63babc54f6ba5d9c160c664c30df2fc
[ "MIT" ]
null
null
null
type field_info = { name: string; mut: bool } type constructor = | Cons | Tuple of int | Record of field_info list | Name of string val constructor : string -> constructor val string_of_constructor : constructor -> string val string_of_applied_constructor : constructor -> string list -> string
25.416667
72
0.737705
bc703168ac59eeb039c5dc965b0000fe2a0e1139
4,955
ml
OCaml
src/dune/lib_dep.ml
JasonGross/dune
623706dd61fb8d45c7ee1a54546c039447972f4d
[ "MIT" ]
null
null
null
src/dune/lib_dep.ml
JasonGross/dune
623706dd61fb8d45c7ee1a54546c039447972f4d
[ "MIT" ]
null
null
null
src/dune/lib_dep.ml
JasonGross/dune
623706dd61fb8d45c7ee1a54546c039447972f4d
[ "MIT" ]
null
null
null
open Stdune module Select = struct module Choice = struct type t = { required : Lib_name.Set.t ; forbidden : Lib_name.Set.t ; file : string } let decode ~result_fn = let open Dune_lang.Decoder in enter (let* dune_version = Dune_lang.Syntax.get_exn Stanza.syntax in...
31.163522
79
0.53663
bc63c3b0bf399c00070c0ecb1ac345f2fea900c6
1,959
ml
OCaml
baas/create_embeddings.ml
daydreamt/ocaml-balltree
ab721decf097292a311658eacf6e11652b5a5f7f
[ "Apache-2.0" ]
1
2021-02-14T21:27:54.000Z
2021-02-14T21:27:54.000Z
baas/create_embeddings.ml
daydreamt/ocaml-balltree
ab721decf097292a311658eacf6e11652b5a5f7f
[ "Apache-2.0" ]
null
null
null
baas/create_embeddings.ml
daydreamt/ocaml-balltree
ab721decf097292a311658eacf6e11652b5a5f7f
[ "Apache-2.0" ]
null
null
null
(* get_embedding function is essentially derivative work of https://github.com/LaurentMazare/ocaml-bert/blob/master/src/model/distilbert.ml *) open Core open! Base open! Torch module Model = Bert_model.Distilbert module Token = Bert_tokenize.Token module Tokenizer = Bert_tokenize.Bert_tokenizer module Vocab = Bert_tok...
45.55814
234
0.708525
8aa820f33e4bc3a92cf4482f9eb74623fe1193d1
3,496
ml
OCaml
src/lib_crypto/test/test_merkle.ml
Shikanime/Tezos
3f4be780d80337454518b7fed424520c1a0a5c3c
[ "MIT" ]
1
2021-11-03T08:21:08.000Z
2021-11-03T08:21:08.000Z
src/lib_crypto/test/test_merkle.ml
Shikanime/Tezos
3f4be780d80337454518b7fed424520c1a0a5c3c
[ "MIT" ]
null
null
null
src/lib_crypto/test/test_merkle.ml
Shikanime/Tezos
3f4be780d80337454518b7fed424520c1a0a5c3c
[ "MIT" ]
4
2021-04-27T15:00:34.000Z
2021-09-26T21:50:01.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.8
79
0.511442
bc645898a3adb934ea4e69a024c90e1c865ab760
80
ml
OCaml
data/derived/comb/progs/unify/prog5678.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/prog0800.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0800.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec sumList n xs = match xs with | [] -> 0 | h::t -> (h n) + (sumList 0);;
26.666667
78
0.5
bca821ae5b1481d6a2201995ffff0f0d71a6b944
6,206
ml
OCaml
src/stdune/string.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/stdune/string.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
src/stdune/string.ml
AltGr/dune
5cd4eb6f228649218722caa14a6a5630cba991b0
[ "MIT" ]
null
null
null
(* Because other the syntax s.[x] causes trouble *) module String = Dune_caml.String include StringLabels let compare a b = Ordering.of_int (String.compare a b) module T = struct type t = StringLabels.t let compare = compare let equal (x : t) (y : t) = x = y let hash (s : t) = Hashtbl.hash s let to_dyn ...
21.253425
79
0.57251
44db58908744b064db82f628afbf5acb14956a67
4,078
ml
OCaml
duniverse/Zarith/config/discover.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
duniverse/Zarith/config/discover.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
duniverse/Zarith/config/discover.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
module C = Configurator.V1 module OV = Ocaml_version open Printf (* Returns arch, ccdef, opt (cc/as) *) let x86_64_def = "x86_64", ["-DZ_ELF";"-DZ_DOT_LABEL_PREFIX"], [] let i686_def = "i686", ["-DZ_ELF";"-DZ_DOT_LABEL_PREFIX"], [] let cygwin_def word_size = match word_size with | "64" -> "x86_64_mingw64", ...
32.624
115
0.654242
bc50a2db47bbfd3800bdcba06b88441db6031949
6,806
ml
OCaml
hphp/hack/src/typing/typing_instantiate.ml
wmde/hhvm
f43ae21551b3e37ec955bce770ca9a99677388fc
[ "PHP-3.01", "Zend-2.0" ]
1
2017-09-13T22:07:37.000Z
2017-09-13T22:07:37.000Z
hphp/hack/src/typing/typing_instantiate.ml
wmde/hhvm
f43ae21551b3e37ec955bce770ca9a99677388fc
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_instantiate.ml
wmde/hhvm
f43ae21551b3e37ec955bce770ca9a99677388fc
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) open Utils op...
34.373737
80
0.58228
bc22046c66c1ab13236c314e574c554c9eb7e0a9
9,432
ml
OCaml
src/irmin/watch.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
1,491
2015-01-04T05:34:56.000Z
2022-03-31T09:53:17.000Z
src/irmin/watch.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
1,132
2015-01-05T17:06:31.000Z
2022-03-30T19:56:47.000Z
src/irmin/watch.ml
jthelin/irmin
f989de227332918b12c25415c0fa8ed2a1e34ec9
[ "0BSD" ]
144
2015-01-30T14:00:16.000Z
2022-03-29T16:30:47.000Z
(* * Copyright (c) 2013-2021 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...
28.844037
80
0.551739
bcd2ed5b0229aa0a951e18f9a337e7f7da7f2aee
227
mli
OCaml
libraries/cloudformation/lib/getTemplateSummary.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudformation/lib/getTemplateSummary.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudformation/lib/getTemplateSummary.mli
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types type input = GetTemplateSummaryInput.t type output = GetTemplateSummaryOutput.t type error = Errors_internal.t include (Aws.Call with type input := input and type output := output and type error := error)
32.428571
75
0.748899
bcd244dab187ebcc43663ebcb417b9177ffade91
440
ml
OCaml
Pratica /Pratica3/sizeList.ml
carol666/LC
1f7fc68559a4bc78235ac191681aeac24bbfe44c
[ "MIT" ]
null
null
null
Pratica /Pratica3/sizeList.ml
carol666/LC
1f7fc68559a4bc78235ac191681aeac24bbfe44c
[ "MIT" ]
null
null
null
Pratica /Pratica3/sizeList.ml
carol666/LC
1f7fc68559a4bc78235ac191681aeac24bbfe44c
[ "MIT" ]
null
null
null
let lst = [1;2;3;4] let rec list_length l = match l with [] -> 0 | h::t -> 1 + list_length t let rec list_length_tr l acc = match l with | [] -> acc | h::t -> list_length_tr t (1+acc) let rec read_list n acc = if n >= 0 then read_list (n-1) (read_int()::acc) else acc let () = Printf.printf "Ocaml:...
20.952381
79
0.606818
bcabe6d5080c264f7061826a4243f39f33505674
5,460
ml
OCaml
CodeHawk/CHB/bchlibx86/bCHX86Opcodes.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHB/bchlibx86/bCHX86Opcodes.ml
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHB/bchlibx86/bCHX86Opcodes.ml
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Binary Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2019 Kestrel Technology LLC Permission is hereby gra...
31.022727
89
0.609707
8a83059d9ea17218cde6f293024cfed328953b63
31
mli
OCaml
vendor/incr_map/src/incr_map.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
22
2016-07-11T21:48:58.000Z
2021-12-17T02:44:47.000Z
vendor/incr_map/src/incr_map.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
2
2020-11-02T15:17:31.000Z
2021-01-08T10:29:59.000Z
vendor/incr_map/src/incr_map.mli
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
5
2020-10-08T13:26:18.000Z
2021-12-17T03:02:23.000Z
include Incr_map_intf.Incr_map
15.5
30
0.903226
bcc184145fd9bc4871b3723e58e7fa190391b020
807
ml
OCaml
data/fa15/repaired/naive/0111.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/repaired/naive/0111.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15/repaired/naive/0111.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec digitsOfInt = fun n -> (let return = [] in if n <> 0 then digitsOfInt 0 else return) (* -------------------------------------- *) let rec digitsOfInt = fun n -> (let return = [] in if n <> 0 then digitsOfInt (- 0) else return) (* -----------------------------------...
15.226415
74
0.467162
bc77083815c8153db13a362b3066bcc92392210e
196
ml
OCaml
test/expect/fail_uchar.ml
jobjo/popper
f59307129a5ee81f7e1f20862baee6fecfc5e4e7
[ "0BSD" ]
29
2021-05-07T12:49:28.000Z
2021-11-27T11:26:11.000Z
test/expect/fail_uchar.ml
jobjo/popper
f59307129a5ee81f7e1f20862baee6fecfc5e4e7
[ "0BSD" ]
17
2021-05-07T18:02:39.000Z
2021-09-06T08:19:58.000Z
test/expect/fail_uchar.ml
jobjo/popper
f59307129a5ee81f7e1f20862baee6fecfc5e4e7
[ "0BSD" ]
2
2021-06-13T16:45:33.000Z
2021-09-12T21:08:55.000Z
open Popper open Sample.Syntax let () = Clean.run @@ test (fun () -> let* _ = Sample.(with_log "uchar" (Comparator.pp Comparator.uchar) uchar) in fail "Failed")
17.818182
73
0.566327
bc8f9eb8146a37d7409c9e5360f67ce6225b8945
28,495
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/asmcomp/un_anf.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
1
2020-09-24T05:03:32.000Z
2020-09-24T05:03:32.000Z
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/asmcomp/un_anf.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/asmcomp/un_anf.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
37.892287
79
0.64478
44cc2a83b6cbece09492fac51744837e213e2564
3,449
mli
OCaml
interfaces/4.14/string.mli
dune-universe/stdcompat
eb699342517e260e8db86b0ba6c2b3758e85f794
[ "BSD-2-Clause" ]
null
null
null
interfaces/4.14/string.mli
dune-universe/stdcompat
eb699342517e260e8db86b0ba6c2b3758e85f794
[ "BSD-2-Clause" ]
null
null
null
interfaces/4.14/string.mli
dune-universe/stdcompat
eb699342517e260e8db86b0ba6c2b3758e85f794
[ "BSD-2-Clause" ]
null
null
null
type t = string val make : int -> char -> string val init : int -> (int -> char) -> string val empty : string val of_bytes : bytes -> string val to_bytes : string -> bytes external length : string -> int = "%string_length" external get : string -> int -> char = "%string_safe_get" val concat : string -> string list -> s...
42.580247
77
0.648594
bca66b9e7fa86ac31f82ead17d30ec1419a5ae2d
1,109
ml
OCaml
src/sock.ml
fccm/ocaml-clanlib
1929f1c11d4cc9fc19e7da22826238b4cce7a07d
[ "Zlib", "OLDAP-2.2.1" ]
1
2020-10-24T14:48:04.000Z
2020-10-24T14:48:04.000Z
src/sock.ml
fccm/ocaml-clanlib
1929f1c11d4cc9fc19e7da22826238b4cce7a07d
[ "Zlib", "OLDAP-2.2.1" ]
null
null
null
src/sock.ml
fccm/ocaml-clanlib
1929f1c11d4cc9fc19e7da22826238b4cce7a07d
[ "Zlib", "OLDAP-2.2.1" ]
null
null
null
let () = let address = "www.google.com" in let port = "80" in let google_server = CL_SocketName.init ~address ~port () in let connection = CL_TCPConnection.init google_server () in let http_request = "GET / HTTP/1.1\r\n\ Host: www.google.com\r\n\ Connection: close\r\n\ \r\n" in let _ =...
27.04878
61
0.667268
44ef0ac6e9dcdf815f07591e8e3ec41d4f04b268
114
ml
OCaml
internal/Something.ml
Naturalclar/ReasonNativeProject
ae6eea83f9f9d1beab4fe3ac686a50bbdc33474c
[ "MIT" ]
138
2017-04-08T02:59:01.000Z
2022-03-25T21:34:29.000Z
internal/Something.ml
Code-distancing/ReasonNativeProject
ae6eea83f9f9d1beab4fe3ac686a50bbdc33474c
[ "MIT" ]
18
2017-04-07T09:37:03.000Z
2018-09-04T15:10:58.000Z
internal/Something.ml
Code-distancing/ReasonNativeProject
ae6eea83f9f9d1beab4fe3ac686a50bbdc33474c
[ "MIT" ]
39
2017-04-08T18:36:40.000Z
2022-03-25T21:42:29.000Z
(* we can have ocaml as well as reason sources *) let opt = Re.opt let format = "OCaml" let calculate x = x * 2
16.285714
49
0.657895
afa5906c2ad253f4b01b3c26ffe7a59a8a39ddf8
1,430
ml
OCaml
tests/pp.ml
maelvls/ocamlyices2
554893d467a4bf3e9b0b630833b417348b15e771
[ "0BSD" ]
2
2017-04-05T13:53:54.000Z
2018-11-23T00:16:01.000Z
tests/pp.ml
maelvalais/ocamlyices2
554893d467a4bf3e9b0b630833b417348b15e771
[ "0BSD" ]
5
2017-04-07T14:29:10.000Z
2021-01-08T18:01:46.000Z
tests/pp.ml
maelvalais/ocamlyices2
554893d467a4bf3e9b0b630833b417348b15e771
[ "0BSD" ]
1
2017-04-05T16:58:14.000Z
2017-04-05T16:58:14.000Z
open Yices2 open OUnit2 let trim s = let is_space = function | ' ' | '\012' | '\n' | '\r' | '\t' -> true | _ -> false in let len = String.length s in let i = ref 0 in while !i < len && is_space (String.get s !i) do incr i done; let j = ref (len - 1) in while !j >= !i && is_space (String.get s...
25.087719
78
0.61958
44dd4862b3409d1885c9a961729e81a91723e270
7,590
ml
OCaml
iperf_vnetif/unikernel.ml
TImada/mirage_iperf
afd09f2cefd4ea0a73e99a497c22bf466d07527d
[ "0BSD" ]
15
2017-01-04T22:11:16.000Z
2022-01-14T11:47:58.000Z
iperf_vnetif/unikernel.ml
TImada/mirage_iperf
afd09f2cefd4ea0a73e99a497c22bf466d07527d
[ "0BSD" ]
1
2019-09-01T14:34:52.000Z
2019-09-01T14:34:52.000Z
iperf_vnetif/unikernel.ml
TImada/mirage_iperf
afd09f2cefd4ea0a73e99a497c22bf466d07527d
[ "0BSD" ]
2
2019-02-07T17:57:54.000Z
2019-08-07T13:52:58.000Z
open Vnetif_common open Lwt.Infix type stats_c = { mutable bytes: int64; mutable start_time: int64; mutable last_time: int64; } type stats_s = { mutable bytes: int64; } module Main (Time : Mirage_types_lwt.TIME) = struct module B = Vnetif_backends.Basic module V = VNETIF_STACK (B) (Time) let backend = V...
57.5
2,926
0.767984
bca8ee082dc4be430bc9b00cd17fd415ffc60868
282
ml
OCaml
delimited_kernel/src/header.ml
janestreet/core_extended
6702f1881f841cb2121124b5ce8dcad7844fb8e8
[ "MIT" ]
22
2015-02-10T21:51:43.000Z
2021-12-17T02:52:33.000Z
delimited_kernel/src/header.ml
janestreet/core_extended
6702f1881f841cb2121124b5ce8dcad7844fb8e8
[ "MIT" ]
19
2015-02-05T14:06:12.000Z
2021-01-14T12:30:38.000Z
delimited_kernel/src/header.ml
janestreet/core_extended
6702f1881f841cb2121124b5ce8dcad7844fb8e8
[ "MIT" ]
10
2015-01-25T00:01:37.000Z
2021-12-17T02:53:16.000Z
open Core type t = [ `No | `Yes | `Require of string list | `Replace of string list | `Add of string list | `Transform of (string list -> string list[@sexp.opaque]) | `Filter_map of (string list -> string option list[@sexp.opaque]) ] [@@deriving sexp_of]
18.8
68
0.620567
bcaed752be6594db47f5dfd07d500989863e6a55
214
ml
OCaml
data/derived/comb/progs/unify/prog8360.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/prog3571.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog3571.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let rec sepConcat sep sl = match sl with | [] -> "" | h::t -> let f a x = a ^ (sep ^ x) in let base = h in let l = t in List.fold_left f base l;; let stringOfList f l = sepConcat "; " l.map f;;
21.4
60
0.528037
bcc513c0fa7118ae29c554fe14ea3973beedf51d
3,366
ml
OCaml
vendor/core_kernel/src/bag_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
834
2015-01-02T03:14:35.000Z
2022-03-28T05:17:24.000Z
vendor/core_kernel/src/bag_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
99
2015-01-03T09:30:25.000Z
2022-02-23T02:40:57.000Z
vendor/core_kernel/src/bag_intf.ml
chambart/memtrace_viewer_with_deps
3ab670c89c934e445a1f470a2cc70c3bb17c0d20
[ "MIT" ]
100
2015-02-01T10:54:19.000Z
2022-03-15T18:23:22.000Z
(** Imperative set-like data structure. There are a few differences from simple sets: - Duplicates are allowed. - It doesn't require anything (hashable, comparable) of elements in the bag. - Addition and removal are constant time operations. It is an error to modify a bag ([add], [remove], [remov...
33.66
91
0.603981
4461ddd1e3d3c7dfd402d6f8fb7e39a20b2de075
18,755
ml
OCaml
data/derived/comb/progs/cnstr/prog2271.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/cnstr/prog2271.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/cnstr/prog2271.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXX...
32.961336
208
0.668835
44ff3baa7db4a057f3cdb658e52af9a4d7986f7f
366
mli
OCaml
src/glue/sector.mli
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
24
2019-04-13T21:09:47.000Z
2022-03-28T10:43:52.000Z
src/glue/sector.mli
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
5
2019-10-21T08:15:39.000Z
2020-03-12T08:41:58.000Z
src/glue/sector.mli
ludovicdeluna/planet
753a68d96ec7933697e9c6d2b15ee2a494da4ecd
[ "MIT" ]
1
2020-03-12T08:24:13.000Z
2020-03-12T08:24:13.000Z
(** Deal with Planet's sectors *) open Bedrock (** Get the database *) val database : Shapes.Sector.t Database.t (** Fetch sectors list *) val all : unit -> (string, Shapes.Sector.t) Hashtbl.t Validation.t (** Fetch sectors list as [Json.t] *) val to_json : unit -> Paperwork.Json.t Validation.t (** Render sectors ...
22.875
66
0.68306
bccbc7b81f2ce8a2340eb799faf918353c183ef4
232
ml
OCaml
hphp/hack/src/parser/rust_pointer.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/rust_pointer.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/rust_pointer.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. * *) type t = int option [@@deriving show]
23.2
66
0.689655
bc1c72c6daa3f1b233b51a49327c720e38bcccde
692
mli
OCaml
lib/monads.mli
uds-psl/autosubst-ocaml
f820bde3c51299b5f54ef21af39ac4654854d124
[ "MIT" ]
8
2022-01-02T12:01:15.000Z
2022-01-16T13:50:59.000Z
lib/monads.mli
uds-psl/autosubst-ocaml
f820bde3c51299b5f54ef21af39ac4654854d124
[ "MIT" ]
null
null
null
lib/monads.mli
uds-psl/autosubst-ocaml
f820bde3c51299b5f54ef21af39ac4654854d124
[ "MIT" ]
null
null
null
(** Some functions that were not in the monad library yet TODO add to the monadic library *) module ExtraFunctionsList : functor (MON: Monadic.Monad.MONAD) -> sig val a_split_map : ('a -> ('b * 'c) MON.t) -> 'a list -> ('b list * 'c list) MON.t val a_map2 : ('a -> 'b -> 'c MON.t) -> 'a list -> 'b list -> 'c...
40.705882
83
0.541908
bc2305878c53f42b4c745b15f6d4f15b2937c6e9
3,978
ml
OCaml
ast/module.ml
skylerberg/pyre-check
e7967e5ee65dd09608f162cdb36a5b0919aeb5e3
[ "MIT" ]
null
null
null
ast/module.ml
skylerberg/pyre-check
e7967e5ee65dd09608f162cdb36a5b0919aeb5e3
[ "MIT" ]
null
null
null
ast/module.ml
skylerberg/pyre-check
e7967e5ee65dd09608f162cdb36a5b0919aeb5e3
[ "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 Expression open Statement type aliased_exports = Reference.t Reference.Map.Tree.t [@@deriving eq, sexp] let compare_aliased_...
32.341463
99
0.643288
44caad88257e401ffdc053ebb7dfd6604b73ac71
2,126
mli
OCaml
src/Source.mli
Khady/ocamlformat
5f7578197599ace20ec3103db9673b86432ff90d
[ "MIT" ]
null
null
null
src/Source.mli
Khady/ocamlformat
5f7578197599ace20ec3103db9673b86432ff90d
[ "MIT" ]
null
null
null
src/Source.mli
Khady/ocamlformat
5f7578197599ace20ec3103db9673b86432ff90d
[ "MIT" ]
null
null
null
(********************************************************************** * * * OCamlFormat * * * * Copyright (c) 2017-present, ...
35.433333
73
0.526811
bc824bdde2e70b2e985b7c5e39c235b544574337
4,901
ml
OCaml
src/dune/dir_set.ml
Julow/dune
2aac0728daa65780df9187a409a1c166ff9ab6bf
[ "MIT" ]
null
null
null
src/dune/dir_set.ml
Julow/dune
2aac0728daa65780df9187a409a1c166ff9ab6bf
[ "MIT" ]
null
null
null
src/dune/dir_set.ml
Julow/dune
2aac0728daa65780df9187a409a1c166ff9ab6bf
[ "MIT" ]
null
null
null
open! Stdune type t0 = | Empty | Universal | Nontrivial of nontrivial and nontrivial = { default : bool ; here : bool ; exceptions : t0 String.Map.t } type _ t = t0 let here = function | Empty -> false | Universal -> true | Nontrivial t -> t.here let default = function | Empty -> false | Un...
23.117925
76
0.61416
44fb8ffbeee145d488da019530bee72ee2609782
26,906
ml
OCaml
src/parsing/parsing_service_js.ml
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
null
null
null
src/parsing/parsing_service_js.ml
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
null
null
null
src/parsing/parsing_service_js.ml
aryzing/flow
e352b6b3ff135e78b402234dfbfa7e6653580b70
[ "MIT" ]
null
null
null
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast = Flow_ast module File_sig = File_sig.With_Loc open Utils_js open Sys_utils type t = (Loc.t, Loc.t) Ast.program * Fil...
39.451613
102
0.672638
449cd5ce4a57d71e9149dfd40ead63afe1715135
991
mli
OCaml
src/core/CCSexp.mli
grayswandyr/ocaml-containers
c9f659eb4c79bab124a5e00085bf88a954f76672
[ "BSD-2-Clause" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
src/core/CCSexp.mli
grayswandyr/ocaml-containers
c9f659eb4c79bab124a5e00085bf88a954f76672
[ "BSD-2-Clause" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
src/core/CCSexp.mli
grayswandyr/ocaml-containers
c9f659eb4c79bab124a5e00085bf88a954f76672
[ "BSD-2-Clause" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
(* This file is free software, part of containers. See file "license" for more details. *) (** {1 Handling S-expressions} @since 3.0 moved into containers-core, previously in [containers.sexp] *) type 'a or_error = ('a, string) result type 'a gen = unit -> 'a option (** {2 Abstract representation of S-expressio...
21.085106
90
0.642785
446d4e3ea287710161fe33f716f48d061671dcf5
19,681
ml
OCaml
src/lib/transaction_snark/test/multisig_account/multisig_account.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_snark/test/multisig_account/multisig_account.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
src/lib/transaction_snark/test/multisig_account/multisig_account.ml
BearerPipelineTest/mina-1
9bc196df7b38afc6d05a4eddb4baf4eae87a2421
[ "Apache-2.0" ]
null
null
null
open Core open Mina_ledger open Signature_lib open Mina_base open Snark_params open Tick open Pickles_types module U = Transaction_snark_tests.Util module Spec = Transaction_snark.For_tests.Spec module Impl = Pickles.Impls.Step let%test_module "multisig_account" = ( module struct let constraint_constants = U.con...
42.971616
83
0.487526
bc8acf54334d253e76966db7569fc16ae44d5266
19,859
mli
OCaml
src/core/CCStringLabels.mli
yallop/ocaml-containers
27e39a0fc8f570b78e37f931f7be4f923414ac24
[ "BSD-2-Clause" ]
403
2015-03-04T09:50:16.000Z
2022-03-31T07:15:26.000Z
src/core/CCStringLabels.mli
yallop/ocaml-containers
27e39a0fc8f570b78e37f931f7be4f923414ac24
[ "BSD-2-Clause" ]
326
2015-01-01T06:30:20.000Z
2022-03-23T13:02:47.000Z
src/core/CCStringLabels.mli
yallop/ocaml-containers
27e39a0fc8f570b78e37f931f7be4f923414ac24
[ "BSD-2-Clause" ]
92
2015-01-10T22:07:33.000Z
2022-01-25T17:03:55.000Z
(* This file is free software, part of containers. See file "license" for more details. *) (** {1 Basic String Utils} *) type 'a iter = ('a -> unit) -> unit (** Fast internal iterator. @since 2.8 *) type 'a gen = unit -> 'a option include module type of struct include StringLabels end (** {{: https://caml.inri...
37.611742
132
0.633516
bcbb1b0935cde1094769c68e46dc71985750dd96
959
mli
OCaml
controller/server/network.mli
krksgbr/playos
9e9d243be2f027e58cf8b1a7b5e52150d0e1522e
[ "MIT" ]
null
null
null
controller/server/network.mli
krksgbr/playos
9e9d243be2f027e58cf8b1a7b5e52150d0e1522e
[ "MIT" ]
null
null
null
controller/server/network.mli
krksgbr/playos
9e9d243be2f027e58cf8b1a7b5e52150d0e1522e
[ "MIT" ]
null
null
null
(** Initialize Network connectivity *) val init : systemd : Systemd.Manager.t -> connman : Connman.Manager.t -> (unit,exn) Lwt_result.t module Internet : sig (** Internet connectivity state *) type state = | Pending | Connected | NotConnected of string [@@deriving sexp] val is_connected : stat...
22.302326
139
0.661105
bcb1a1da5b141e762f79dbd1c18d2b05018aac1c
8,175
ml
OCaml
command/persistentCommand.ml
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
5
2019-02-14T19:46:47.000Z
2020-01-16T05:48:45.000Z
command/persistentCommand.ml
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
null
null
null
command/persistentCommand.ml
Mohd4633/pyre-check
7aafc399e6887dfe9f5aeb1e09426460a9796025
[ "MIT" ]
2
2019-02-14T19:46:23.000Z
2020-07-13T03:53:04.000Z
(* Copyright (c) 2016-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Core open LanguageServer.Protocol open Pyre open Network open Server type reason = string type exit_code = int exception ClientExit o...
35.543478
100
0.640367
bc49ca0087b9e848dfd17c2be351bc0656728075
1,921
ml
OCaml
src/ocaml_version.ml
jpdeplaix/mirage-ci
4645faf9b01bb7eda11619ea804d80d2a20b90e1
[ "0BSD" ]
null
null
null
src/ocaml_version.ml
jpdeplaix/mirage-ci
4645faf9b01bb7eda11619ea804d80d2a20b90e1
[ "0BSD" ]
null
null
null
src/ocaml_version.ml
jpdeplaix/mirage-ci
4645faf9b01bb7eda11619ea804d80d2a20b90e1
[ "0BSD" ]
null
null
null
type t = { major: int; minor: int; patch: int option; extra: string option } let v ?patch ?extra major minor = { major; minor; patch; extra } let to_string = function | {major;minor;patch=None;extra=None} -> Printf.sprintf "%d.%02d" major minor | {major;minor;patch=Some patch;extra=None} -> Printf.sprintf "%d.%...
32.559322
109
0.636127
44b8266c8d5144246e433e4e64097f97b665784b
11,525
ml
OCaml
src/dune/inline_tests.ml
Julow/dune
2aac0728daa65780df9187a409a1c166ff9ab6bf
[ "MIT" ]
null
null
null
src/dune/inline_tests.ml
Julow/dune
2aac0728daa65780df9187a409a1c166ff9ab6bf
[ "MIT" ]
null
null
null
src/dune/inline_tests.ml
Julow/dune
2aac0728daa65780df9187a409a1c166ff9ab6bf
[ "MIT" ]
null
null
null
open! Stdune open Import open Dune_file open Build.O open! No_io module SC = Super_context module Backend = struct module M = struct module Info = struct let name = Sub_system_name.make "inline_tests.backend" type t = { loc : Loc.t ; runner_libraries : (Loc.t * Lib_name.t) list ...
30.408971
80
0.551497
bcd32d0fe49c900e21c4ef773943bffc291901ef
311
ml
OCaml
zamburak/interface.ml
MichaelKonobeev/zamburak
26946483abba76a4a94cb82d7dc6db3a2bea6862
[ "MIT" ]
2
2020-08-24T01:36:41.000Z
2021-08-19T11:05:01.000Z
zamburak/interface.ml
MichaelKonobeev/zamburak
26946483abba76a4a94cb82d7dc6db3a2bea6862
[ "MIT" ]
null
null
null
zamburak/interface.ml
MichaelKonobeev/zamburak
26946483abba76a4a94cb82d7dc6db3a2bea6862
[ "MIT" ]
null
null
null
class type bandit = object method narms : int method pull : int -> float option method regret : float method reset : unit end class type alg = object method narms : int method pull : ?ntimes:int -> unit -> int * float method regret : float method reset : unit end
14.136364
52
0.617363
bca89578126626c109ff94587c9fe2171742737f
43,485
mli
OCaml
vscode/vscode/vscode.mli
arozovyk/vscode-ocaml-platform
387335b2cf54507e45ad85802d7566a8f56f6e45
[ "0BSD" ]
null
null
null
vscode/vscode/vscode.mli
arozovyk/vscode-ocaml-platform
387335b2cf54507e45ad85802d7566a8f56f6e45
[ "0BSD" ]
null
null
null
vscode/vscode/vscode.mli
arozovyk/vscode-ocaml-platform
387335b2cf54507e45ad85802d7566a8f56f6e45
[ "0BSD" ]
null
null
null
open Interop val version : string module Disposable : sig include Js.T val from : t list -> t val make : dispose:(unit -> unit) -> t val dispose : t -> unit end module Command : sig include Js.T val title : t -> string val command : t -> string val tooltip : t -> string option val arguments ...
19.892498
80
0.640083
bc00aabdc55124f3d565daff0042259893655ff0
12,233
mli
OCaml
src/dune_rules/dune_file.mli
bleepbloopsify/dune
55a27c721af1077a167e253af31ccb717986317b
[ "MIT" ]
null
null
null
src/dune_rules/dune_file.mli
bleepbloopsify/dune
55a27c721af1077a167e253af31ccb717986317b
[ "MIT" ]
null
null
null
src/dune_rules/dune_file.mli
bleepbloopsify/dune
55a27c721af1077a167e253af31ccb717986317b
[ "MIT" ]
null
null
null
(** Representation and parsing of Dune files *) open! Dune_engine open! Stdune open Import module Lint : sig type t = Preprocess.Without_instrumentation.t Preprocess.Per_module.t val no_lint : t end module Js_of_ocaml : sig type t = { flags : Ordered_set_lang.Unexpanded.t ; javascript_files : string l...
25.972399
80
0.654214
44c02583652b78b564377491aad5be335e3f1eca
3,379
ml
OCaml
libraries/cloudwatch/lib/listTagsForResource.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/cloudwatch/lib/listTagsForResource.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/cloudwatch/lib/listTagsForResource.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
open Types[@@ocaml.warning "-33"] open Aws.BaseTypes[@@ocaml.warning "-33"] open Aws module ListTagsForResourceInput = struct type t = { resource_a_r_n: String.t [@ocaml.doc "<p>The ARN of the CloudWatch resource that you want to view tags for. For more information on ARN format, see...
35.568421
306
0.600769
bc71c0af52a4868803d244ac155cb389cfa306bc
98
ml
OCaml
data/sp14/clusters/0131.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14_min/clusters/0131.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14/clusters/0131.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
SeqG (AppG [EmptyG,EmptyG]) (AppG [EmptyG]) 1 :: x; additivePersistence (sumList (digitsOfInt n))
24.5
45
0.714286
bc6e0e5d5c84a23122c46953aed8df0d126baefd
8,074
ml
OCaml
src/wrapper/tensor.ml
paralax/tensorflow-ocaml
38536a16e785b1b0d5afa521311f11d797925546
[ "Apache-2.0" ]
null
null
null
src/wrapper/tensor.ml
paralax/tensorflow-ocaml
38536a16e785b1b0d5afa521311f11d797925546
[ "Apache-2.0" ]
1
2019-04-08T08:37:44.000Z
2019-04-08T08:37:44.000Z
src/wrapper/tensor.ml
issuu/tensorflow-ocaml
908ad63f39597f265db93c2978a9aa256c24d606
[ "Apache-2.0" ]
null
null
null
type float32_elt = Bigarray.float32_elt type float64_elt = Bigarray.float64_elt type ('a, 'b) t = { data : ('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t ; scalar : bool } type p = P : (_, _) t -> p let create kind dims = let dims, scalar = if Array.length dims = 0 then [| 1 |], true else dims, ...
30.01487
85
0.64652
bce165ba15c36f531e192c7ad3814bf5bfab507a
351
ml
OCaml
test/time/ary_time.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
1
2022-01-25T01:46:13.000Z
2022-01-25T01:46:13.000Z
test/time/ary_time.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
null
null
null
test/time/ary_time.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
null
null
null
let rec ary i n xs ys zs = if n <= i then zs else ( zs.(i) <- xs.(i) + ys.(i); ary (i + 1) n xs ys zs) in let n = 5000 in let xs = Array.make n 1 in let ys = Array.make n 2 in let zs = Array.make n 3 in let s = get_current_micros () in let _ = ary 0 n xs ys zs in let e = get_current_micros () in print_int...
20.647059
36
0.589744
44b701e832b8d523e5ea56f443533f77a7d5f5a7
1,757
ml
OCaml
universo/elaboration/var.ml
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
160
2017-11-16T16:16:09.000Z
2022-03-03T07:14:11.000Z
universo/elaboration/var.ml
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
188
2017-11-24T18:14:54.000Z
2022-03-17T09:11:41.000Z
universo/elaboration/var.ml
firewall2142/Dedukti
c65e7e66fe4bb8285db1856b8fe2a2532da2bd50
[ "CECILL-B" ]
19
2018-02-09T10:18:02.000Z
2022-02-26T13:05:00.000Z
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 () ->...
32.537037
126
0.655094
8a5f83714ef5290e4635bb253b6e34ef5f4d9cbb
8,560
ml
OCaml
src-cli/unmark_cli.ml
pqwy/unmark
b0cc8f002df3b9d8ae3f292e12607cd9000530dd
[ "0BSD" ]
19
2019-03-01T16:39:11.000Z
2021-11-04T10:04:47.000Z
src-cli/unmark_cli.ml
pqwy/unmark
b0cc8f002df3b9d8ae3f292e12607cd9000530dd
[ "0BSD" ]
null
null
null
src-cli/unmark_cli.ml
pqwy/unmark
b0cc8f002df3b9d8ae3f292e12607cd9000530dd
[ "0BSD" ]
null
null
null
(* Copyright (c) 2018 David Kaloper Meršinjak. All rights reserved. See LICENSE.md *) open Unmark open Rresult let (%) f g x = f (g x) module Option = struct let (>>|) a f = match a with Some x -> Some (f x) | _ -> None let (%%) f a = a >>| f let get ~none = function Some x -> x | _ -> none end let rec seq...
37.54386
81
0.624182
bc189848639cd5802dce87e090ec9137405f4aac
562
ml
OCaml
bootstrap/test/basis/array/test_is_sorted.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
1
2021-08-13T04:54:39.000Z
2021-08-13T04:54:39.000Z
bootstrap/test/basis/array/test_is_sorted.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
1
2020-02-14T19:21:40.000Z
2020-02-14T19:21:40.000Z
bootstrap/test/basis/array/test_is_sorted.ml
cevans87/Hemlock
448c17ba6a59064820f3c15e50b13a0323ea1aa0
[ "MIT" ]
null
null
null
open! Basis.Rudiments open! Basis open Array open Format let test () = let test_is_sorted arr = begin printf "is_sorted %a: not strict -> %B, strict -> %B\n" (pp Uns.pp) arr (is_sorted arr ~cmp:Uns.cmp) (is_sorted ~strict:true arr ~cmp:Uns.cmp) end in printf "@[<h>"; test_is_sorted [||]; ...
22.48
59
0.6121
bc43496b41d9106f5bfcdb903d845ca0e5a67c95
139
ml
OCaml
result/fixml/iter/sub13/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/fixml/iter/sub13/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/fixml/iter/sub13/original.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
let rec iter : int * ('a -> 'a) -> 'a -> 'a = fun (n, func) x -> let nx = func x in match n with 0 -> x | _ -> iter (n - 1, func) nx
23.166667
50
0.453237
bc14a31b96d020bf6f1e2af2b64836fb4eeab91d
25,143
ml
OCaml
lib/extension.ml
mirleft/ocaml-x509
c48b0df31e87adc80d66c9b5dc094b511ef15a34
[ "BSD-2-Clause" ]
33
2015-01-06T03:07:48.000Z
2022-03-08T03:13:48.000Z
lib/extension.ml
mirleft/ocaml-x509
c48b0df31e87adc80d66c9b5dc094b511ef15a34
[ "BSD-2-Clause" ]
80
2015-01-15T00:27:33.000Z
2022-02-15T10:34:54.000Z
lib/extension.ml
mirleft/ocaml-x509
c48b0df31e87adc80d66c9b5dc094b511ef15a34
[ "BSD-2-Clause" ]
31
2015-01-05T19:08:00.000Z
2022-02-08T02:32:48.000Z
type key_usage = [ | `Digital_signature | `Content_commitment | `Key_encipherment | `Data_encipherment | `Key_agreement | `Key_cert_sign | `CRL_sign | `Encipher_only | `Decipher_only ] let pp_key_usage ppf ku = Fmt.string ppf (match ku with | `Digital_signature -> "digital signature" ...
37.470939
126
0.633138
44ced84eadd3bae3a50a3ef79c4daf8723770827
17,584
ml
OCaml
src/main/frogtest.ml
c-cube/frog-utils
3f68c606a7abe702f9e22a0606080191a2952b18
[ "BSD-2-Clause" ]
4
2015-03-18T16:27:30.000Z
2019-05-14T11:49:53.000Z
src/main/frogtest.ml
c-cube/frog-utils
3f68c606a7abe702f9e22a0606080191a2952b18
[ "BSD-2-Clause" ]
29
2015-02-04T18:45:07.000Z
2017-06-15T14:13:49.000Z
src/main/frogtest.ml
c-cube/frog-utils
3f68c606a7abe702f9e22a0606080191a2952b18
[ "BSD-2-Clause" ]
null
null
null
(* This file is free software, part of frog-utils. See file "license" for more details. *) (* run tests, or compare results *) open Result open Frog open Frog_server module T = Test module E = Misc.LwtErr (** {2 Run} *) module Run = struct (* callback that prints a result *) let nb_sec_minute = 60 let nb_sec_...
34.95825
126
0.617038
af4fb8ba93f6fc063941421634425e739f93243c
2,094
ml
OCaml
src-lib/b0_codec.ml
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
src-lib/b0_codec.ml
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
src-lib/b0_codec.ml
dysinger/b0
59c24086f5bbee1484dea4e4ec9592bfdc6691fb
[ "ISC" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2017 The b0 programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) op...
38.072727
79
0.578797
bcb64970f18acb4c1047298737a46d4858016c71
24,842
ml
OCaml
hphp/hack/src/utils/sys/sys_utils.ml
Wilfred/hhvm
87cea12a34ec7edb94111be6bfb9458aac7b1997
[ "PHP-3.01", "Zend-2.0" ]
1
2022-02-10T10:48:39.000Z
2022-02-10T10:48:39.000Z
hphp/hack/src/utils/sys/sys_utils.ml
Wilfred/hhvm
87cea12a34ec7edb94111be6bfb9458aac7b1997
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/utils/sys/sys_utils.ml
Wilfred/hhvm
87cea12a34ec7edb94111be6bfb9458aac7b1997
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude module Printexc = Stdlib.Printexc external realpath : string -> string option = "hh_realpath" exte...
30.295122
121
0.660213
bcc0b0865ab5ab04a9939b9c3aa8052574058717
223
ml
OCaml
sledge/src/llair/var.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
1
2019-09-11T13:16:25.000Z
2019-09-11T13:16:25.000Z
sledge/src/llair/var.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
null
null
null
sledge/src/llair/var.ml
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "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. *) (** Variables *) include Exp.Var
20.272727
66
0.699552
bcacfda6610152f5e8e5fc2b6229fed7ae2e1cae
238
mli
OCaml
parser/stream.mli
Amaoto17/camlsh
eb47499fea81c109715a58cb5507d498a9b1b074
[ "MIT" ]
null
null
null
parser/stream.mli
Amaoto17/camlsh
eb47499fea81c109715a58cb5507d498a9b1b074
[ "MIT" ]
null
null
null
parser/stream.mli
Amaoto17/camlsh
eb47499fea81c109715a58cb5507d498a9b1b074
[ "MIT" ]
null
null
null
module type S = sig module Elem : Elem.S module Pos : Pos.S type t val uncons : t -> (Elem.t * t) option val get_pos : t -> Pos.t end module Char : sig include S with module Elem = Elem.Char val of_string : string -> t end
18.307692
40
0.638655
bc985cbf7a3ba3a48d8c951463bb684f4cf811f9
96,752
ml
OCaml
src/parser.ml
tobireinhard/verifast
23450fca026647bea989979686cc6b63da839854
[ "MIT" ]
null
null
null
src/parser.ml
tobireinhard/verifast
23450fca026647bea989979686cc6b63da839854
[ "MIT" ]
null
null
null
src/parser.ml
tobireinhard/verifast
23450fca026647bea989979686cc6b63da839854
[ "MIT" ]
null
null
null
open Big_int open Num open Util open Stats open Lexer open Ast (* Region: the parser *) let common_keywords = [ "switch"; "case"; ":"; "return"; "for"; "void"; "if"; "else"; "while"; "!="; "<"; ">"; "<="; ">="; "&&"; "++"; "--"; "+="; "-="; "*="; "/="; "&="; "|="; "^="; "%="; "<<="; ">>="; ">>>="; "...
50.60251
345
0.563451
bca085d849d8316f0c3d5008e1269db59a0fc230
2,718
mll
OCaml
base/lexer.mll
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
24
2018-01-29T12:51:24.000Z
2022-03-24T09:06:50.000Z
base/lexer.mll
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
8
2017-12-26T11:01:51.000Z
2018-10-11T14:04:57.000Z
base/lexer.mll
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
2
2019-02-19T20:40:37.000Z
2020-04-09T23:20:58.000Z
{ exception UnknownToken of string exception SyntaxError of string open Parser } let space = [' ' '\t' '\n' '\r'] let digit = ['0'-'9'] let lower = ['a'-'z'] let upper = ['A'-'Z'] rule token = parse | space+ { token lexbuf } | "(*" { comment lexbuf; token lexbuf } | '(' { LPAREN } | ')' { ...
18.364865
83
0.500736
bc999ee99c7c189a8c111e2ee5598cad79584e67
24,077
ml
OCaml
src/Cmts.ml
janestreet/ocamlformat
953c48a4f63be421f995fb5d4c4168dccd3d4fea
[ "MIT" ]
6
2018-06-26T10:08:18.000Z
2021-12-17T03:01:06.000Z
src/Cmts.ml
samcarterjj/ocamlformat
953c48a4f63be421f995fb5d4c4168dccd3d4fea
[ "MIT" ]
1
2022-02-08T19:16:58.000Z
2022-02-09T10:55:37.000Z
src/Cmts.ml
samcarterjj/ocamlformat
953c48a4f63be421f995fb5d4c4168dccd3d4fea
[ "MIT" ]
4
2018-04-11T11:35:14.000Z
2021-12-17T03:02:13.000Z
(********************************************************************** * * * OCamlFormat * * * * Copyright (c) 2017-present, ...
35.616864
78
0.594135
bcd41b17bc8492a2d20ab7c61fc5f45b82313223
2,697
ml
OCaml
Gillian-JS/lib/JSIL/Pred.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
41
2020-05-21T18:16:26.000Z
2022-03-20T10:23:46.000Z
Gillian-JS/lib/JSIL/Pred.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
26
2020-02-29T10:26:27.000Z
2021-10-20T14:04:20.000Z
Gillian-JS/lib/JSIL/Pred.ml
GillianPlatform/Gillian
7634be726b20fa65037d4fae9b37e351b7c86e79
[ "Apache-2.0" ]
5
2020-03-20T17:45:28.000Z
2022-02-24T18:18:26.000Z
module SSubst = Gillian.Symbolic.Subst module L = Logging module Type = Gillian.Gil_syntax.Type module Expr = Gillian.Gil_syntax.Expr module Formula = Gillian.Gil_syntax.Formula (** {b JSIL logic predicate}. *) type t = { name : string; (** Name of the predicate *) num_params : int; (** Number of parameters *...
32.493976
76
0.602892
bc40225dfc93276dfc1948133089527024b869a3
1,961
ml
OCaml
libraries/ec2/lib/describeLaunchTemplateVersions.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/describeLaunchTemplateVersions.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/describeLaunchTemplateVersions.ml
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DescribeLaunchTemplateVersionsRequest.t type output = DescribeLaunchTemplateVersionsResult.t type error = Errors_internal.t let service = "ec2" let signature_version = Request.V4 let to_http service region req = let uri = Uri.add_query_params (Uri.of_string (Aws.Uti...
31.629032
110
0.587455
bce440904910a12ac45800f74ffb7e18887c91e5
3,060
ml
OCaml
src/vision/squeezenet.ml
rchavezj/ocaml-torch
321b172696897ff717e5d07b87c332b8c5535908
[ "Apache-2.0" ]
1
2019-07-04T16:21:29.000Z
2019-07-04T16:21:29.000Z
src/vision/squeezenet.ml
rchavezj/ocaml-torch
321b172696897ff717e5d07b87c332b8c5535908
[ "Apache-2.0" ]
null
null
null
src/vision/squeezenet.ml
rchavezj/ocaml-torch
321b172696897ff717e5d07b87c332b8c5535908
[ "Apache-2.0" ]
null
null
null
open Base open Torch let fire vs in_planes squeeze_planes exp1_planes exp3_planes = let squeeze = Layer.conv2d_ (Var_store.sub vs "squeeze") ~ksize:1 ~stride:1 ~input_dim:in_planes squeeze_planes in let exp1 = Layer.conv2d_ (Var_store.sub vs "expand1x1") ~ksize:1...
32.903226
88
0.605229
bc66dc946e7bf36b9acc3a58ac7cef0d77e32580
452
ml
OCaml
bootstrap/test/basis/string/test_escaped.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
25
2020-02-03T20:31:04.000Z
2022-03-30T17:22:35.000Z
bootstrap/test/basis/string/test_escaped.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
152
2020-02-03T23:16:05.000Z
2022-02-24T22:14:04.000Z
bootstrap/test/basis/string/test_escaped.ml
BranchTaken/Hemlock
25a3fce449caa06ad46db351efcfb428f423184d
[ "MIT" ]
4
2020-02-03T07:36:22.000Z
2020-10-31T03:44:52.000Z
open! Basis.Rudiments open! Basis open String let test () = let rec fn i = begin match i with | 0x80L -> () | _ -> begin File.Fmt.stdout |> Uns.fmt ~alt:true ~zpad:true ~width:2L ~base:Basis.Fmt.Hex i |> Basis.Fmt.fmt " -> \"" |> fmt (escaped (of_codepoint Codepoint.(trunc...
20.545455
71
0.528761
bc9430625286ce6bb4fa84df0c5892f253c895c5
1,152
mli
OCaml
lib/fir/src/with_meta.mli
c4-project/c4f
c2765061ad816d41d0545eabe3f3cd7c574383f4
[ "CECILL-B", "MIT" ]
2
2021-06-09T22:28:00.000Z
2021-06-30T18:08:22.000Z
lib/fir/src/with_meta.mli
c4-project/c4f
c2765061ad816d41d0545eabe3f3cd7c574383f4
[ "CECILL-B", "MIT" ]
13
2021-02-10T08:57:29.000Z
2021-02-16T16:17:25.000Z
lib/fir/src/with_meta.mli
c4-project/c4f
c2765061ad816d41d0545eabe3f3cd7c574383f4
[ "CECILL-B", "MIT" ]
1
2021-06-09T22:28:01.000Z
2021-06-09T22:28:01.000Z
(* This file is part of c4f. Copyright (c) 2018-2021 C4 Project c4t itself is licensed under the MIT License. See the LICENSE file in the project root for more information. Parts of c4t are based on code from the Herdtools7 project (https://github.com/herd/herdtools7) : see the LICENSE.herd file in th...
30.315789
76
0.673611
bc10e28cf26b72bf0ee42697344ae9439e8eb98d
63
ml
OCaml
prog/test.ml
Liu233w/marklang
8329875bbf47cddc7f7e0eb54c375cce410bbaf0
[ "Apache-2.0" ]
4
2016-12-19T10:41:06.000Z
2021-12-14T01:25:19.000Z
prog/test.ml
Liu233w/marklang
8329875bbf47cddc7f7e0eb54c375cce410bbaf0
[ "Apache-2.0" ]
null
null
null
prog/test.ml
Liu233w/marklang
8329875bbf47cddc7f7e0eb54c375cce410bbaf0
[ "Apache-2.0" ]
1
2017-07-12T12:48:59.000Z
2017-07-12T12:48:59.000Z
标题 #第一节 正文 1 正文 2 ``` 引用 1 引用 2 ``` #第二节 ##2-1 正文 3 ##2-2 正文 4
4.5
5
0.47619
bc9086d5f0a209afcdc5817852be370c28b68b9e
9,602
mli
OCaml
src/common/reason.mli
ostera/flow
5006818684fe3210edb57c07fbb978287fdd225f
[ "MIT" ]
1
2019-07-15T20:48:46.000Z
2019-07-15T20:48:46.000Z
src/common/reason.mli
wgao19/flow
8e6b768fd787c5a1b5f7025fbf8b3b00111671de
[ "MIT" ]
null
null
null
src/common/reason.mli
wgao19/flow
8e6b768fd787c5a1b5f7025fbf8b3b00111671de
[ "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. *) val mk_id: unit -> int type 'loc virtual_reason_desc = | RTrusted of 'loc virtual_reason_desc | RPrivate of 'loc virtual_reason...
34.170819
156
0.75828
44816da617beef46224b6310aa5d50683f70b9db
6,817
ml
OCaml
src/gapi/gapiJwtServiceAccount.ml
astrada/gapi-ocaml
e3a6b5c52b25e727bd7d06df1c820f722aff7b2f
[ "MIT" ]
68
2015-01-21T09:19:55.000Z
2022-02-25T03:17:19.000Z
src/gapi/gapiJwtServiceAccount.ml
astrada/gapi-ocaml
e3a6b5c52b25e727bd7d06df1c820f722aff7b2f
[ "MIT" ]
25
2015-05-16T23:44:58.000Z
2022-01-14T15:13:22.000Z
src/gapi/gapiJwtServiceAccount.ml
astrada/gapi-ocaml
e3a6b5c52b25e727bd7d06df1c820f722aff7b2f
[ "MIT" ]
17
2015-05-17T23:35:17.000Z
2022-02-28T20:45:03.000Z
module JwtClaim = struct type t = { iss : string; scope : string; aud : string; exp : float; iat : float; sub : string; } let iss = { GapiLens.get = (fun x -> x.iss); GapiLens.set = (fun v x -> { x with iss = v }); } let scope = { GapiLens.get = (fun x -> ...
32.308057
80
0.637817
bc4d692dad9c59652ae4580852f7904fb01abef2
516
ml
OCaml
data/fa15_min/0636.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/0636.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/0636.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let pipe fs = let f a x = let h::t = fs in h a x in let base = 0 in List.fold_left f base fs;; (* fix let pipe fs = let f a x g = x (a g) in let base k = k in List.fold_left f base fs;; *) (* changed spans (3,15)-(3,37) fun g -> x (a g) LamG VarPatG (AppG [EmptyG]) (4,14)-(4,15) fun k -> k LamG VarPatG Var...
13.230769
71
0.523256
bc63ea857da846444976871c65c05d9deb782963
128
ml
OCaml
hollight/test/amc12a-2021-p9.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
102
2021-05-04T09:50:13.000Z
2022-03-27T12:00:05.000Z
hollight/test/amc12a-2021-p9.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
49
2021-05-06T09:36:49.000Z
2022-03-31T18:58:23.000Z
hollight/test/amc12a-2021-p9.ml
openai/miniF2F
8a41b05c9d8c49f0724f2e41d2236e6eb5e44cb7
[ "MIT" ]
17
2021-05-06T09:04:02.000Z
2022-03-29T11:25:46.000Z
let amc12a-2021-p9 = `&(nproduct (0..(7-1)) (\k. 2 EXP (2 EXP k) + 3 EXP (2 EXP k))) = int_of_num (3 EXP 128) - &(2 EXP 128)`;;
64
127
0.539063
bc9a6ceab424a477ba154c9756120e3aba0cbf1e
24,849
mll
OCaml
src/ocaml/preprocess/406/lexer_raw.mll
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
1
2021-06-14T11:08:56.000Z
2021-06-14T11:08:56.000Z
src/ocaml/preprocess/406/lexer_raw.mll
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
4
2019-01-19T10:08:04.000Z
2019-02-27T21:41:30.000Z
src/ocaml/preprocess/406/lexer_raw.mll
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
1
2021-06-14T11:07:29.000Z
2021-06-14T11:07:29.000Z
(***********************************************************************) (* *) (* OCaml *) (* *) (* Xavier Ler...
34.133242
92
0.562397
44f3ce1d9d5460f760ab05fcf914551b6c06aff8
1,078
mli
OCaml
lib/syndic_date.mli
paurkedal/Syndic
7a70e3062e42f9ee0ec77f282e1924736b0dff2a
[ "MIT" ]
22
2015-01-17T15:57:02.000Z
2021-09-12T06:59:59.000Z
lib/syndic_date.mli
paurkedal/Syndic
7a70e3062e42f9ee0ec77f282e1924736b0dff2a
[ "MIT" ]
27
2015-01-01T09:57:27.000Z
2020-01-23T08:48:27.000Z
lib/syndic_date.mli
paurkedal/Syndic
7a70e3062e42f9ee0ec77f282e1924736b0dff2a
[ "MIT" ]
8
2015-10-22T10:12:56.000Z
2022-02-07T16:35:36.000Z
(** Minimal date module required by Syndic. *) (** A date with time. *) type t = Ptime.t val epoch : t (** The POSIX time, i.e. Thursday, 1 January 1970 00:00:00 (UTC). *) val compare : t -> t -> int (** Compare dates in increasing order. *) val max : t -> t -> t (** [max d1 d2] return the maximum (i.e. more recent...
19.6
75
0.589981
bcb75188e5e954c0744e613d4a65e84163c3f767
16,630
ml
OCaml
src/solve.ml
seliopou/dprle
55037a4bc922beaf0a9d22be5997095e9fcdca35
[ "BSD-3-Clause" ]
3
2016-04-11T17:43:37.000Z
2018-01-31T11:16:51.000Z
src/solve.ml
frenetic-lang/dprle
98d0497510cc2cd7087c1f369f091ab7cab86140
[ "BSD-3-Clause" ]
null
null
null
src/solve.ml
frenetic-lang/dprle
98d0497510cc2cd7087c1f369f091ab7cab86140
[ "BSD-3-Clause" ]
null
null
null
(* Copyright (c) 2008-2009, University of Virginia All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright not...
35.995671
84
0.659531
bc9d2aa7644387cd08da87aa3b2145b3f794accd
4,037
ml
OCaml
ast/import.ml
LexiFi/ppxlib
b3d7bca1e72cf2767de8d6cee6b0e1cf7a0b08cd
[ "MIT" ]
179
2018-03-13T16:22:57.000Z
2022-03-23T20:30:12.000Z
ast/import.ml
LexiFi/ppxlib
b3d7bca1e72cf2767de8d6cee6b0e1cf7a0b08cd
[ "MIT" ]
222
2018-03-13T15:44:22.000Z
2022-03-26T08:56:14.000Z
ast/import.ml
LexiFi/ppxlib
b3d7bca1e72cf2767de8d6cee6b0e1cf7a0b08cd
[ "MIT" ]
52
2018-03-15T19:14:22.000Z
2022-03-22T14:40:58.000Z
(* This file is used to control what we use from the current compiler and what is embed in this library. It must be opened in all modules, especially the ones coming from the compiler. *) module Js = Versions.OCaml_412 module Ocaml = Versions.OCaml_current module Select_ast (Ocaml : Versions.OCaml_version) = s...
33.92437
106
0.659648
bc7067b27103d4d166bd8d7b2200451f2f1004a3
208
mli
OCaml
libraries/ec2/lib/createNetworkAclEntry.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/createNetworkAclEntry.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/createNetworkAclEntry.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = CreateNetworkAclEntryRequest.t type output = unit type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
29.714286
74
0.740385
bcd77242029970c87231c478008031deca9e4b2e
1,230
mli
OCaml
utilities/lib/miscellaneous.mli
enaudon/calculus-corral
d33e95c649defae013750bcd7b8d8bf12c00bdba
[ "MIT" ]
1
2020-05-13T13:51:57.000Z
2020-05-13T13:51:57.000Z
utilities/lib/miscellaneous.mli
enaudon/calculus-corral
d33e95c649defae013750bcd7b8d8bf12c00bdba
[ "MIT" ]
null
null
null
utilities/lib/miscellaneous.mli
enaudon/calculus-corral
d33e95c649defae013750bcd7b8d8bf12c00bdba
[ "MIT" ]
null
null
null
(** {1 Input} *) (** [file_to_string ~buf_len file] constructs a string containing the contents of the [file]. The optional [buf_len] argument is the initial size of the internal buffer used to read [file]. *) val file_to_string : ?buf_len:int -> string -> string (** [char_string_to_string ~buf_len stream] co...
37.272727
78
0.691057
bc4b71c3aa2c752401b520514052bbc69953a5a7
11,869
ml
OCaml
encode.ml
arlencox/lyne-solver
a2bed5699199367567a43e233879d96646409081
[ "MIT" ]
1
2019-07-01T14:34:23.000Z
2019-07-01T14:34:23.000Z
encode.ml
arlencox/lyne-solver
a2bed5699199367567a43e233879d96646409081
[ "MIT" ]
null
null
null
encode.ml
arlencox/lyne-solver
a2bed5699199367567a43e233879d96646409081
[ "MIT" ]
null
null
null
type id = int (* start at 1 *) type cell = | Empty (* empty vertex *) | Shape of id (* normal shape *) | Start of id (* start of path *) | End of id (* end of path *) | Count of int (* paths must pass through n times *) type t = cell array array (* vertex *) type v = int * int (* edg...
26.143172
120
0.533154
bc8c6a1907738ee38f9c8f65e755e22dc23712f1
28,188
ml
OCaml
hphp/hack/src/parser/coroutine/coroutine_syntax.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/coroutine/coroutine_syntax.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/parser/coroutine/coroutine_syntax.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2017, 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. *) (** * Contains ...
28.881148
80
0.807684
8a8301076f7ffa5036d6faa50ae2f21d7b1ff1c1
28
ml
OCaml
test_projects/test_project/src/hello.ml
drewolson/mix_caramel
bb8bf296a09b8221a5817389858005c6b2ced780
[ "Apache-2.0" ]
16
2020-11-10T23:44:44.000Z
2021-07-24T18:11:54.000Z
test_projects/test_project/src/hello.ml
drewolson/mix_caramel
bb8bf296a09b8221a5817389858005c6b2ced780
[ "Apache-2.0" ]
5
2020-12-20T03:25:41.000Z
2021-05-18T20:17:45.000Z
test_projects/test_project/src/hello.ml
drewolson/mix_caramel
bb8bf296a09b8221a5817389858005c6b2ced780
[ "Apache-2.0" ]
4
2020-12-04T02:16:56.000Z
2021-05-02T17:11:59.000Z
let f () = "Hello, Joe!"
9.333333
16
0.428571
bcd17937eec607169cd7e4410f6304262bc7aebc
248
mli
OCaml
libraries/rds/lib/describeDBClusterParameterGroups.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/describeDBClusterParameterGroups.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/rds/lib/describeDBClusterParameterGroups.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DescribeDBClusterParameterGroupsMessage.t type output = DBClusterParameterGroupsMessage.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
35.428571
74
0.778226
bc60cf5e5a183e4f8c6f79ff6f2fceaa52b956b5
701
mli
OCaml
source/domains/abstractToppedSetDomain.mli
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
5,975
2018-05-11T15:54:32.000Z
2022-03-31T14:38:00.000Z
source/domains/abstractToppedSetDomain.mli
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
524
2018-05-11T16:47:20.000Z
2022-03-22T17:43:06.000Z
source/domains/abstractToppedSetDomain.mli
zhuang-93/pyre-check
460b4c7bd81b152f386d6867c963564e1b20f19c
[ "MIT" ]
501
2018-05-11T16:46:29.000Z
2022-03-19T04:41:57.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module type ELEMENT = sig include AbstractSetDomain.ELEMENT (* Widen to top when set exceeds max count *) val max_count : un...
21.242424
79
0.68331
bcd14a76008a4a4ddebea79044449163a1d4421f
12,351
ml
OCaml
src/ocaml-output/FStar_Syntax_Unionfind.ml
pnmadelaine/FStar
cd926286b895228447ca15e03e00e7f7509815bb
[ "Apache-2.0" ]
2,231
2015-01-05T02:19:24.000Z
2022-03-30T05:54:05.000Z
src/ocaml-output/FStar_Syntax_Unionfind.ml
pnmadelaine/FStar
cd926286b895228447ca15e03e00e7f7509815bb
[ "Apache-2.0" ]
2,151
2015-01-06T05:01:08.000Z
2022-03-31T23:16:08.000Z
src/ocaml-output/FStar_Syntax_Unionfind.ml
pnmadelaine/FStar
cd926286b895228447ca15e03e00e7f7509815bb
[ "Apache-2.0" ]
281
2015-02-13T00:14:17.000Z
2022-03-13T12:51:04.000Z
open Prims type vops_t = { next_major: unit -> FStar_Syntax_Syntax.version ; next_minor: unit -> FStar_Syntax_Syntax.version } let (__proj__Mkvops_t__item__next_major : vops_t -> unit -> FStar_Syntax_Syntax.version) = fun projectee -> match projectee with | { next_major; next_minor;_} -> next_major let (_...
35.288571
131
0.647802
bcb1d14dbb76316fa64a53134dcb60a963b99627
150
ml
OCaml
plugins/mips/mips_utils.ml
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
plugins/mips/mips_utils.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
plugins/mips/mips_utils.ml
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
open Core_kernel open Bap.Std let mips_fail format = let fail str = failwith (sprintf "MIPS lifter fail: %s" str) in Printf.ksprintf fail format
21.428571
65
0.746667
44ec504294387539a3d51401cdd6782908858a37
1,491
mli
OCaml
wp/plugin/lib/wp_analysis.mli
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
null
null
null
wp/plugin/lib/wp_analysis.mli
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
null
null
null
wp/plugin/lib/wp_analysis.mli
whst/cbat_tools
6c2d659881e6b694f97258115aac25f6c2622db4
[ "MIT" ]
null
null
null
(***************************************************************************) (* *) (* Copyright (C) 2018/2019 The Charles Stark Draper Laboratory, Inc. *) (* *) (* This...
49.7
79
0.470154
bcdd8037b4ad7d7527d79e417886ae5bba417a7e
12,422
ml
OCaml
src/services/inference/dep_service.ml
marcmenn/flow
96e2ae6e50401594a2fbffcce883cf7349a5a15a
[ "MIT" ]
1
2020-12-23T05:42:50.000Z
2020-12-23T05:42:50.000Z
src/services/inference/dep_service.ml
Miazzy/flow
9ec27c7b6582d0e46a57508a2491130e7912e533
[ "MIT" ]
null
null
null
src/services/inference/dep_service.ml
Miazzy/flow
9ec27c7b6582d0e46a57508a2491130e7912e533
[ "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 (* sketch of baseline incremental alg: Note: this is for strict mode only, which is the easy case, since it d...
43.739437
100
0.715424
4491c45ca572990e573601e4f2805adfb96c0d39
12,247
ml
OCaml
src/vmm_unix.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
src/vmm_unix.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
src/vmm_unix.ml
reynir/albatross
3f36fe63826d13a44dbce1045d1ddb55eb63b681
[ "ISC" ]
null
null
null
(* (c) 2017 Hannes Mehnert, all rights reserved *) open Rresult open Vmm_core let dbdir = ref (Fpath.v "/nonexisting") let set_dbdir path = dbdir := path type supported = FreeBSD | Linux let uname = let cmd = Bos.Cmd.(v "uname" % "-s") in lazy (match Bos.OS.Cmd.(run_out cmd |> out_string |> success) with ...
37.112121
109
0.626113
bcd3281bedca30780263b85601bbfc57ab7c2f8d
2,452
ml
OCaml
ocaml-sources/testsuite/tests/typing-modules/pr7851.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/typing-modules/pr7851.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/typing-modules/pr7851.ml
Naereen/ocaml-mots-cles-en-francais
77b1d41e3277d0356e676330f2284b8c01ba14ee
[ "MIT" ]
null
null
null
(* TEST * expect *) (* Leo's version *) module F(X : sig type t end) = struct type x = X.t type y = X.t type t = E of x type u = t = E of y end;; module M = F(struct type t end);; module type S = module type of M;; [%%expect{| module F : functor (X : sig type t end) -> sig type x = X.t type y = X.t ...
27.863636
74
0.532219
bc9adf46a00c13522de4f4e760d9d8c977a14a55
3,642
ml
OCaml
debugger/4.07.1/printval.ml
progman1/genprint-lib
acc1e5cc46b9ce6191d0306f51337581c93ffe94
[ "MIT" ]
20
2019-07-19T15:10:09.000Z
2021-12-11T22:10:23.000Z
debugger/4.07.1/printval.ml
progman1/genprint-lib
acc1e5cc46b9ce6191d0306f51337581c93ffe94
[ "MIT" ]
null
null
null
debugger/4.07.1/printval.ml
progman1/genprint-lib
acc1e5cc46b9ce6191d0306f51337581c93ffe94
[ "MIT" ]
2
2019-07-19T11:47:44.000Z
2021-09-30T16:15:24.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
32.517857
76
0.555464
bcdfd65edf9eebb55e38928b208fb89045b4baeb
1,241
mli
OCaml
src/ocaml-3.12.0/otherlibs/lablGL/glList.mli
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
1
2015-01-27T00:11:26.000Z
2015-01-27T00:11:26.000Z
src/ocaml-3.12.0/otherlibs/lablGL/glList.mli
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
src/ocaml-3.12.0/otherlibs/lablGL/glList.mli
mzp/coq-for-ipad
4fb3711723e2581a170ffd734e936f210086396e
[ "MIT" ]
null
null
null
(* $Id: glList.mli,v 1.4 2000/04/03 02:57:41 garrigue Exp $ *) type t val create : [`compile|`compile_and_execute] -> t (* [create mode] creates a new display list in given mode. It is equivalent to [let base = gen_lists len:1 in begins (nth base pos:0)] *) val ends : unit -> unit (* glEndList: ...
40.032258
77
0.650282
bce3336ff13e76d42398c5b48f1cb3d8b0106b41
1,749
ml
OCaml
libraries/route53/lib/getHostedZone.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/getHostedZone.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/getHostedZone.ml
apeschar/ocaml-aws
4d76d0d760b0e94f496ee49bd3f68fcb671308b8
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = GetHostedZoneRequest.t type output = GetHostedZoneResponse.t type error = Errors_internal.t let service = "route53" 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...
30.684211
95
0.570612
44d29a89a2f49e89917f52e50432bba062c5d79d
2,621
mli
OCaml
infer/src/nullsafe/typeOrigin.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
1
2017-02-15T00:44:54.000Z
2017-02-15T00:44:54.000Z
infer/src/nullsafe/typeOrigin.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/nullsafe/typeOrigin.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "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 type method_parameter_origin = Normal of AnnotatedSignature.param_signature | ObjectEqualsOverride type method_call_or...
43.683333
100
0.709271
bc5dd0a1cac9bedc9f8dd0167e4f50c139269935
485
ml
OCaml
experiments/ownership-inference/infer/facebook-clang-plugins/clang-ocaml/process_test.ml
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
415
2015-01-03T04:54:43.000Z
2021-05-06T01:47:04.000Z
experiments/ownership-inference/infer/facebook-clang-plugins/clang-ocaml/process_test.ml
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
39
2019-06-28T15:08:12.000Z
2020-07-17T01:44:33.000Z
experiments/ownership-inference/infer/facebook-clang-plugins/clang-ocaml/process_test.ml
SunghoLee/hafnium-verification
382494a2280a751a1e33f2676e8bbf5d5e2d9dbf
[ "Apache-2.0" ]
96
2015-04-08T01:58:27.000Z
2021-05-20T09:25:33.000Z
(* * 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. *) open Process let main = let pid, ic = fork (fun oc -> output_string oc "This is a test\n" ; true ) in let zipu...
24.25
98
0.65567
8abf2988359f5cbd6215bfb62858ae310ec1d340
4,510
ml
OCaml
lib/mapper.ml
chriskonstad/Markright
ce433a62a1c26588b6cd1cba19db5e2a22930913
[ "MIT" ]
1
2016-03-22T04:34:16.000Z
2016-03-22T04:34:16.000Z
lib/mapper.ml
chriskonstad/Markright
ce433a62a1c26588b6cd1cba19db5e2a22930913
[ "MIT" ]
9
2016-03-28T23:17:13.000Z
2016-03-31T21:41:43.000Z
lib/mapper.ml
chriskonstad/Markright
ce433a62a1c26588b6cd1cba19db5e2a22930913
[ "MIT" ]
null
null
null
(** Maps variables to actual values *) open Batteries open Parser open Yojson (** Says how to handle the multiple definition warning *) type mult_def_handle = Ignore | Warn | Throw (** Keep the json and the file it's pulled from together *) type named_json = { json : (string * Yojson.Basic.json) list list; fil...
28.544304
79
0.59867
447978d8ff554ebc6c2b201f27314be5501ff3b4
1,393
mli
OCaml
src-remat/size.mli
dbuenzli/remat
28d572e77bbd1ad46bbfde87c0ba8bd0ab99ed28
[ "BSD-3-Clause" ]
2
2015-11-05T16:47:07.000Z
2020-10-22T01:29:32.000Z
src-remat/size.mli
dbuenzli/remat
28d572e77bbd1ad46bbfde87c0ba8bd0ab99ed28
[ "BSD-3-Clause" ]
null
null
null
src-remat/size.mli
dbuenzli/remat
28d572e77bbd1ad46bbfde87c0ba8bd0ab99ed28
[ "BSD-3-Clause" ]
null
null
null
(**************************************************************************) (* *) (* Copyright (C) Jean-Christophe Filliatre *) (* *) (* This sof...
51.592593
76
0.397703
bc39063dbc62de96037730f8ac172599ddff62ea
907
mli
OCaml
uri_paths.mli
avsm/iocamlserver
38c9f13dd531b11ecb6926cd20a4bbde724ed1a8
[ "MIT" ]
16
2015-12-22T15:02:19.000Z
2019-06-16T11:08:04.000Z
uri_paths.mli
avsm/iocamlserver
38c9f13dd531b11ecb6926cd20a4bbde724ed1a8
[ "MIT" ]
3
2016-02-27T00:33:37.000Z
2017-10-04T18:07:35.000Z
uri_paths.mli
avsm/iocamlserver
38c9f13dd531b11ecb6926cd20a4bbde724ed1a8
[ "MIT" ]
9
2016-02-14T17:25:10.000Z
2019-06-16T11:08:05.000Z
(* * iocamlserver - IOCaml notebook server * * (c) 2014 MicroJamJar Ltd * * Author(s): andy.ray@ujamjar.com * Description: regex's for decoding URI paths * *) type message = [ `Static | `File of string | `Root | `Root_guid of string | `Root_new | `Root_copy of string | `Root_nam...
19.717391
60
0.640573
bc9a966d118419d4c5c64ff7450ff0be4af4bb06
2,157
ml
OCaml
hphp/hack/src/typing/typing_generic_constraint.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_generic_constraint.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_generic_constraint.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. * *) module TUtils...
35.360656
80
0.673621
bc837fd28abdca7b78eb413a996af56ab47ae579
1,372
ml
OCaml
data/fa15_min/1368.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/1368.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15_min/1368.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine sine -> sin (pi *. (eval (sine, x, y))) | Cosine cosin...
20.787879
70
0.494169