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
af6d8401addca0bd63e25674c99e3927071549ae
2,811
ml
OCaml
hphp/hack/src/server/searchServiceRunner.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/src/server/searchServiceRunner.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/src/server/searchServiceRunner.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open ServerEnv module SearchServiceRunner = struct type t = Relative_path.t * FileInfo.t (* Ch...
30.89011
78
0.65386
afc924f6298417f9591c4f379b9f7b4a8e2812ac
7,059
ml
OCaml
bin/ocamlformat-rpc/main.ml
ocaml-ppx/ocamlformat
c50a61aaeb006a54aa87b4c161f43dcb4608537a
[ "MIT" ]
499
2017-10-09T10:51:58.000Z
2022-03-30T19:11:27.000Z
bin/ocamlformat-rpc/main.ml
ocaml-ppx/ocamlformat
c50a61aaeb006a54aa87b4c161f43dcb4608537a
[ "MIT" ]
1,392
2017-10-19T18:03:58.000Z
2022-03-30T15:53:42.000Z
bin/ocamlformat-rpc/main.ml
ocaml-ppx/ocamlformat
c50a61aaeb006a54aa87b4c161f43dcb4608537a
[ "MIT" ]
118
2017-10-19T18:46:20.000Z
2022-03-30T11:22:50.000Z
(**************************************************************************) (* *) (* OCamlFormat *) (* *) (* ...
42.269461
77
0.536337
af626b7cd9bd86ad0251e5bd1dd255a28fb45799
18
ml
OCaml
data/derived/comb/progs/unify/prog1540.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/prog1540.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog1540.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let _ = exp 10;;
6
16
0.5
afc672386dce876d7afb62a0b1f820bb17031004
5,909
ml
OCaml
libs/ilib/peWriter.ml
wiltonlazary/haxe
4b46713050c78940abf6c1ce19c8337de3744203
[ "MIT" ]
4,753
2015-01-03T00:45:27.000Z
2022-03-31T07:41:28.000Z
libs/ilib/peWriter.ml
wiltonlazary/haxe
4b46713050c78940abf6c1ce19c8337de3744203
[ "MIT" ]
6,784
2015-01-01T01:06:28.000Z
2022-03-31T22:12:14.000Z
libs/ilib/peWriter.ml
wiltonlazary/haxe
4b46713050c78940abf6c1ce19c8337de3744203
[ "MIT" ]
641
2015-01-02T23:54:43.000Z
2022-03-30T07:44:13.000Z
(* * This file is part of ilLib * Copyright (c)2004-2013 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...
36.701863
81
0.626333
afa867c59e9ba487816e28dcff392e3e24ca9737
658
mli
OCaml
src/common/utils/json_rpc.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2020-07-11T17:49:59.000Z
2020-07-11T17:49:59.000Z
src/common/utils/json_rpc.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
null
null
null
src/common/utils/json_rpc.mli
jiaweihli/flow
cb9d84618326e0edff4bb2252378e57ef682774c
[ "MIT" ]
1
2019-11-30T03:40:04.000Z
2019-11-30T03:40:04.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. *) type t = (* method name, params, id (only for requests) *) | Obj of (string * Hh_json.json list * int option) | Malformed of...
28.608696
66
0.612462
afb42077cf2cfd15bdcb514ba1ceab6d3c9ff81b
4,056
ml
OCaml
infer/src/nullsafe/AnnotatedNullability.ml
rob2468/infer
05ea5ec8445e7bbb425c0195c5f071a433af48ec
[ "MIT" ]
1
2021-12-03T02:23:16.000Z
2021-12-03T02:23:16.000Z
infer/src/nullsafe/AnnotatedNullability.ml
vmarcin/L2D2
a600cd7cac9e61846426d1521c4f278914b5583b
[ "MIT" ]
null
null
null
infer/src/nullsafe/AnnotatedNullability.ml
vmarcin/L2D2
a600cd7cac9e61846426d1521c4f278914b5583b
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format (** Representation of a (non local) type in Java program, with added information about its nullab...
36.872727
102
0.723373
af3aeb3eb5959a695ed4bdbcc1b5c91e6a0f9f85
3,328
ml
OCaml
data/sp14/2598.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/2598.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/2598.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 = let rec helper a b acc = if b > 0 then helper a (b - 1) (a :: acc) else acc in helper x n [];; let padZero l1 l2 = let l1_len = List.length l1 in let l2_len = List.length l2 in let l_diff = l1_len - l2_len in if l_diff < 0 then (((clone 0 (l_diff * (-1))) @ l1), l2) else (l1, ((clo...
17.892473
80
0.510216
af75f0d6ae49f899b560cca93dd82b39d4aabef8
9,596
ml
OCaml
interprocedural/test/callGraphTest.ml
jreese/pyre-check
9f71c27b1b4cfee518841c6e98cd52b006fa712f
[ "MIT" ]
null
null
null
interprocedural/test/callGraphTest.ml
jreese/pyre-check
9f71c27b1b4cfee518841c6e98cd52b006fa712f
[ "MIT" ]
null
null
null
interprocedural/test/callGraphTest.ml
jreese/pyre-check
9f71c27b1b4cfee518841c6e98cd52b006fa712f
[ "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 OUnit2 open Ast open Test let test_call_graph_of_define context = let assert_call_graph_of_define ~source ~define...
26.435262
102
0.535952
afca3416de270c2b2d6b2a03ec175bef8fbd614b
1,071
ml
OCaml
etc/example/spill.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
24
2018-01-29T12:51:24.000Z
2022-03-24T09:06:50.000Z
etc/example/spill.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
8
2017-12-26T11:01:51.000Z
2018-10-11T14:04:57.000Z
etc/example/spill.ml
prg-titech/BacCaml
0f572719af0af16d3ba837c31df9dda4f11f583d
[ "Apache-2.0" ]
2
2019-02-19T20:40:37.000Z
2020-04-09T23:20:58.000Z
;; let rec f a b c d = let e = a + b in let f = a + c in let g = a + d in let h = b + c in let i = b + d in let j = c + d in let k = e + f in let l = e + g in let m = e + h in let n = e + i in let o = e + j in let p = f + g in let q = f + h in let r = f + i in let s = f + j in let t = g ...
13.060976
21
0.355742
af57196bfe94fdfa602da39233b548d0de0d0847
249
mli
OCaml
libraries/ec2/lib/disableEbsEncryptionByDefault.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/disableEbsEncryptionByDefault.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/disableEbsEncryptionByDefault.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DisableEbsEncryptionByDefaultRequest.t type output = DisableEbsEncryptionByDefaultResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
35.571429
74
0.779116
af406225c535bb967809c841989173d8d7624c08
664
ml
OCaml
benchmarks/C/formula/sol123.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/formula/sol123.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/formula/sol123.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
type formula = True |False |Not of formula |AndAlso of formula * formula |OrElse of formula * formula |Imply of formula * formula |Equal of exp * exp and exp = Num of int |Plus of exp * exp |Minus of exp * exp let rec doexp (x:exp) = match x with |Num a -> a |Plus (a, b) -> (doexp a) + (doexp b) |...
22.133333
64
0.582831
afc90ea8470d928a4b4933657c882e34a6385397
542
ml
OCaml
data/fa15/clusters/0031.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/fa15/clusters/0031.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/fa15/clusters/0031.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
LetG NonRec [(VarPatG,BopG EmptyG EmptyG)] (AppG [EmptyG,EmptyG]) let b = fst x + snd x in match a with | h :: t -> ((h + b) / 10) :: (((h + b) mod 10) :: t) | _ -> [b / 10 ; b mod 10] EMPTY let sum = fst x + snd x in match a with | [] -> (sum / 10) :: ((sum mod 10) :: a) | h :: t -> (sum / 10) :: ((h + (sum mod 10)) :...
28.526316
65
0.48155
afc21d12e9e58c2219058f37f6272ab92e051a55
34,074
ml
OCaml
hphp/hack/src/providers/naming_provider.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/naming_provider.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/naming_provider.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "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 Hh_prelude open Reordered_argument_collections let writes_enabled = ref true let db_path_of_ctx (ctx : Provider_context...
41.00361
134
0.68768
afd48dd0d3d0a2f77792a67d36dbcec8690aec3e
28,461
ml
OCaml
infer/src/bufferoverrun/bufferOverrunChecker.ml
quangdo3112/infer
846d6fa23dbe3eb24ffa76e117424620a8754e70
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunChecker.ml
quangdo3112/infer
846d6fa23dbe3eb24ffa76e117424620a8754e70
[ "MIT" ]
null
null
null
infer/src/bufferoverrun/bufferOverrunChecker.ml
quangdo3112/infer
846d6fa23dbe3eb24ffa76e117424620a8754e70
[ "MIT" ]
null
null
null
(* * Copyright (c) 2016-present, Programming Research Laboratory (ROPAS) * Seoul National University, Korea * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) op...
40.542735
100
0.659604
af6bbe9e35d545912943b18cee2dcdce5e22b221
892
ml
OCaml
libraries/route53/lib/deleteHealthCheck.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/deleteHealthCheck.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/deleteHealthCheck.ml
UnrealAkama/ocaml-aws
6947ff1acc4c911702d25b462bb6640cd70997d4
[ "BSD-3-Clause" ]
null
null
null
open Types open Aws type input = DeleteHealthCheckRequest.t type output = unit 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.append [ ...
24.108108
91
0.642377
f363dcc8bd24889a39c0cecfc3c6e8b78e24060f
16,458
ml
OCaml
ag_pathanalysis/libtracewrap/libtrace/piqi/piqi/piqilib/piq_parser.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2019-12-05T19:47:42.000Z
2021-05-05T13:41:16.000Z
ag_pathanalysis/libtracewrap/libtrace/piqi/piqi/piqilib/piq_parser.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
null
null
null
ag_pathanalysis/libtracewrap/libtrace/piqi/piqi/piqilib/piq_parser.ml
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2021-04-20T07:44:02.000Z
2021-04-20T08:38:41.000Z
(*pp camlp4o -I `ocamlfind query piqi.syntax` pa_labelscope.cmo pa_openin.cmo *) (* Copyright 2009, 2010, 2011, 2012, 2013 Anton Lavrik Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
28.523397
110
0.582331
af4c9f0fa66916cfd650faaa1be86dcf18f9747e
19,494
ml
OCaml
src/comb_intf.ml
janestreet/hardcaml
4176633d734e3fb79d6e95bc85c2a19984ff9594
[ "MIT" ]
372
2018-05-25T10:51:24.000Z
2022-03-25T14:38:34.000Z
src/comb_intf.ml
janestreet/hardcaml
4176633d734e3fb79d6e95bc85c2a19984ff9594
[ "MIT" ]
9
2018-07-15T02:52:39.000Z
2022-01-05T15:11:16.000Z
src/comb_intf.ml
janestreet/hardcaml
4176633d734e3fb79d6e95bc85c2a19984ff9594
[ "MIT" ]
18
2018-08-12T06:08:50.000Z
2022-02-22T11:42:17.000Z
open Base (** Various functions that build a tree-structured circuit take an optional [branching_factor] argument that controls the number of branches at each level of the circuit. With [N] inputs and [branching_factor = 1] the depth is [N]. With [branching_factor = 2] the the depth is [ceil_log2 N]. Si...
29.990769
94
0.583975
afc96cbe044b745b760dcea38c4c69de2e39be85
628
ml
OCaml
data/sp14/0998.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/sp14/0998.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/sp14/0998.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let pipe fs = let f a x x = x a in let base p = p in List.fold_left f base fs;; (* fix let pipe fs = let f a x x a = a in let base p = p in List.fold_left f base fs;; *) (* changed spans (2,28)-(2,29) (2,28)-(2,31) *) (* type error slice (2,14)-(2,77) (2,20)-(2,31) (2,22)-(2,31) (2,24)-(2,31) (2,28)-(2,29) (2,28...
13.361702
79
0.487261
af186d60c24ea9e8120d6494d9352a84da49f436
1,792
mli
OCaml
libraries/ec2/lib/detachVolume.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/ec2/lib/detachVolume.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/detachVolume.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the <code>busy</code> state while detaching. If this happens, detachment can be delayed indefinitely ...
59.733333
927
0.722098
f311dedd1e9eac5cbfa11ac09b85a4ebc8b572ab
2,857
ml
OCaml
mirage/network.ml
nickbetteridge/capnp-rpc
5dcc307d3410fb25df1a617aed2ffbae41abd6d2
[ "Apache-2.0" ]
null
null
null
mirage/network.ml
nickbetteridge/capnp-rpc
5dcc307d3410fb25df1a617aed2ffbae41abd6d2
[ "Apache-2.0" ]
null
null
null
mirage/network.ml
nickbetteridge/capnp-rpc
5dcc307d3410fb25df1a617aed2ffbae41abd6d2
[ "Apache-2.0" ]
1
2021-09-02T07:53:07.000Z
2021-09-02T07:53:07.000Z
open Lwt.Infix module Log = Capnp_rpc.Debug.Log let error fmt = fmt |> Fmt.kstrf @@ fun msg -> Error (`Msg msg) module Location = struct type t = [ | `TCP of string * int ] let tcp ~host ~port = `TCP (host, port) let pp f x = Capnp_rpc_net.Capnp_address.(Location.pp f (x :> Location.t)) let equal...
30.393617
117
0.622331
afc18b70dc2da3b0b541e1b7d6ba471d4dba5e8b
741
ml
OCaml
hphp/hack/test/integration_ml/test_unbound_name.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
2
2019-09-01T19:40:10.000Z
2019-10-18T13:30:30.000Z
hphp/hack/test/integration_ml/test_unbound_name.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2018-12-16T15:39:15.000Z
2018-12-16T15:39:16.000Z
hphp/hack/test/integration_ml/test_unbound_name.ml
sepatus/sepatus
48ae001f2082a5335d64b2567941a8271153de05
[ "PHP-3.01", "Zend-2.0" ]
1
2018-11-17T04:11:10.000Z
2018-11-17T04:11:10.000Z
open Integration_test_base_types module Test = Integration_test_base let a_file_name = "A.php" let b_file_name = "B.php" let a_contents = "<?hh // strict final class A { const mixed C = dict[ 'k' => B::class, ]; } " let b_contents = "<?hh // strict class B {} " let errors = {| File "/A.php", line 5, char...
15.765957
64
0.646424
afe07ee98c0ad93049c50d323d0ff1a5e9700d43
11,238
ml
OCaml
service/check.ml
skylerberg/pyre-check
e7967e5ee65dd09608f162cdb36a5b0919aeb5e3
[ "MIT" ]
null
null
null
service/check.ml
skylerberg/pyre-check
e7967e5ee65dd09608f162cdb36a5b0919aeb5e3
[ "MIT" ]
null
null
null
service/check.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 Ast open Pyre type result = { module_tracker: Analysis.ModuleTracker.t; ast_environment: Analysis.AstEnvironment.t; env...
34.79257
98
0.714718
af1a6eb2c71c7229a4412ecbeec114398f642b31
1,358
ml
OCaml
sol/sol_011.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
10
2018-10-15T02:11:39.000Z
2022-01-26T08:57:12.000Z
sol/sol_011.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
null
null
null
sol/sol_011.ml
bcc32/projecteuler-ocaml
647a1db1caaf919a1c506c213a2e7948ac3ea63c
[ "MIT" ]
1
2020-04-18T13:03:50.000Z
2020-04-18T13:03:50.000Z
open! Core open! Import let size = 20 let product_size = 4 let horizontal_products grid = let open Sequence.Let_syntax in let%bind row = Array.to_sequence grid in let%map i = Sequence.range ~stop:`inclusive 0 (size - product_size) in Sequence.fold ~init:1 ~f:( * ) (let%map j = Sequence.range i (i ...
23.016949
82
0.687776
af49a0a302550b307738b18e4328074dfc1b9e54
52,299
ml
OCaml
duniverse/core_kernel/test/src/test_time.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/core_kernel/test/src/test_time.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
duniverse/core_kernel/test/src/test_time.ml
mseri/owl_tutorials
d41b92d68fa98fc03742edbd1ca5105d6e0d53c9
[ "MIT" ]
null
null
null
open! Core_kernel open Expect_test_helpers_kernel let utc date_string ofday_string = Time.of_date_ofday (Date.of_string date_string) (Time.Ofday.of_string ofday_string) ~zone:Time.Zone.utc ;; let examples = [ Time.epoch ; utc "2001-01-01" "00:00:00" ; utc "2013-10-07" "09:30:00" ; utc "2017-07-2...
37.43665
91
0.57439
afe13e9ea1e1995ee821556478e8fda915d0d396
1,957
mli
OCaml
common/numbering.mli
whirm/mlorg
a4cc46889ab5ed151af8df5d2cb9153775052b24
[ "BSD-2-Clause" ]
3
2018-12-01T23:14:30.000Z
2022-01-23T08:33:26.000Z
common/numbering.mli
whirm/mlorg
a4cc46889ab5ed151af8df5d2cb9153775052b24
[ "BSD-2-Clause" ]
null
null
null
common/numbering.mli
whirm/mlorg
a4cc46889ab5ed151af8df5d2cb9153775052b24
[ "BSD-2-Clause" ]
1
2018-09-11T09:46:18.000Z
2018-09-11T09:46:18.000Z
(** Handling fancy numbering *) (** This module is used in numbered lists and headings to provide with fancy numbering. The idea is that the user specify a format for the number such as [I.i.α]. Then you take this format, and a list of numbers [[2; 3; 4]], and it'll give you the string [II.iii.δ]. Thi...
41.638298
135
0.67348
f3044330d61d010ca8cf56e68243a0c999df510a
6,365
ml
OCaml
src/sast.ml
Naereen/Coral
8ee2612fc2367121b859e7f60de1fcd71e127586
[ "Apache-2.0" ]
null
null
null
src/sast.ml
Naereen/Coral
8ee2612fc2367121b859e7f60de1fcd71e127586
[ "Apache-2.0" ]
null
null
null
src/sast.ml
Naereen/Coral
8ee2612fc2367121b859e7f60de1fcd71e127586
[ "Apache-2.0" ]
null
null
null
open Ast (* sast.ml: contains the definitions of the algebraic types which make up the semantically checked abstract syntax tree. The overall semantically checked program is an sprogram, with a list of semantically checked statements (sstmt list) and a list of global variables and their inferred types (bind list). ...
54.87069
270
0.667243
afe469cc67efc3e06740d1b90eef2228ac43335a
1,420
mli
OCaml
infer/src/concurrency/MethodMatcher.mli
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
1
2019-09-11T13:16:25.000Z
2019-09-11T13:16:25.000Z
infer/src/concurrency/MethodMatcher.mli
seonhoLee-ms/symexec
1e04ee78410e01fcc5346213fbfa13d9d15949a5
[ "MIT" ]
null
null
null
infer/src/concurrency/MethodMatcher.mli
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. *) open! IStd (** pattern matcher for Java/C++ methods NB matching is modulo template arguments in C++ classes and functions *) t...
35.5
99
0.699296
f3ed24e999901d65afc713aa29e9a090e7b58e00
3,244
ml
OCaml
src/lib_webassembly/interpreter/util/lazy_map.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/lib_webassembly/interpreter/util/lazy_map.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
src/lib_webassembly/interpreter/util/lazy_map.ml
maiste/tezos
1a28a48ed2c9fa654ed7d601302d551332b52e77
[ "MIT" ]
null
null
null
module type KeyS = sig include Map.OrderedType val zero : t val add : t -> t -> t val sub : t -> t -> t val to_string : t -> string end module type S = sig type key module Map : Map.S with type key = key type 'a t val num_elements : 'a t -> key val create : ?values:'a Map.t -> ?produce_valu...
23.171429
86
0.604192
afc5115e9b1663026bc5ab38af15300481c54af9
55,785
mll
OCaml
third_party/flow/src/parser/lexer_flow.mll
bowlofstew/kythe
23a3524de3924901ffaba4b8bcab8abe96de6f3a
[ "Apache-2.0" ]
1
2021-04-24T08:18:15.000Z
2021-04-24T08:18:15.000Z
third_party/flow/src/parser/lexer_flow.mll
bowlofstew/kythe
23a3524de3924901ffaba4b8bcab8abe96de6f3a
[ "Apache-2.0" ]
3
2020-12-31T09:08:34.000Z
2021-09-28T05:42:02.000Z
third_party/flow/src/parser/lexer_flow.mll
moul/kythe
2e198cc818981fc6cffa14d8263fda3a33da6429
[ "Apache-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 "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) { module As...
40.075431
2,449
0.431048
afa763531d1fa41c4b697e52a845c2069cbc59fd
1,568
ml
OCaml
bymc/src/piaDomPlugin.ml
konnov/bymc
3cbd7416308f52a1737b544c11648dcba3a8c063
[ "BSD-3-Clause" ]
18
2017-07-13T21:56:26.000Z
2022-01-31T06:16:13.000Z
bymc/src/piaDomPlugin.ml
konnov/bymc
3cbd7416308f52a1737b544c11648dcba3a8c063
[ "BSD-3-Clause" ]
null
null
null
bymc/src/piaDomPlugin.ml
konnov/bymc
3cbd7416308f52a1737b544c11648dcba3a8c063
[ "BSD-3-Clause" ]
5
2017-06-14T09:47:59.000Z
2021-08-30T15:49:00.000Z
open Printf open Accums open Debug open PiaDom open Plugin open SpinIr open SpinIrImp class pia_dom_plugin_t (plugin_name: string) = object(self) inherit analysis_plugin_t plugin_name val mutable m_dom: pia_domain option = None method transform rt = let prog = self#get_input...
34.086957
84
0.565051
f39db965c03b7609d8e03149c20042e45aa1cf9b
1,493
ml
OCaml
duet/categorize.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
25
2016-10-10T13:52:45.000Z
2021-12-15T07:49:04.000Z
duet/categorize.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
3
2016-02-10T14:03:46.000Z
2019-08-18T13:59:53.000Z
duet/categorize.ml
nclskoh/duet
bb2e84f8184683cac59b914d5d8f2c959fdf6b0c
[ "MIT" ]
20
2016-02-10T13:46:19.000Z
2022-02-18T16:02:16.000Z
open Core open Srk open CfgIr module RG = Interproc.RG module Callgraph = RecGraph.Callgraph(Interproc.RG) module CGLoop = Loop.Make(Callgraph) let categorize file = let show_bool x = if x then "True" else "False" in match file.entry_points with | [main] -> begin let rg = Interproc.make_recgraph ...
27.648148
75
0.564635
afb5fe03cf0328d3ac67008a114eebc24ffb2715
7,088
ml
OCaml
examples/matrix/band/test_sunmatrix_band.ml
Octachron/sundialsml
e941ad5265d6d5b152210c8d5df6b2b871af07dc
[ "BSD-3-Clause" ]
null
null
null
examples/matrix/band/test_sunmatrix_band.ml
Octachron/sundialsml
e941ad5265d6d5b152210c8d5df6b2b871af07dc
[ "BSD-3-Clause" ]
null
null
null
examples/matrix/band/test_sunmatrix_band.ml
Octachron/sundialsml
e941ad5265d6d5b152210c8d5df6b2b871af07dc
[ "BSD-3-Clause" ]
null
null
null
(* * ----------------------------------------------------------------- * Programmer(s): Daniel Reynolds @ SMU * David Gardner @ LLNL * ----------------------------------------------------------------- * OCaml port: Timothy Bourke, Inria, Jun 2018. * -------------------------------------------------...
31.642857
105
0.582957
f3a54851a54b6f2ee5bce8abbc268d5fd9485b79
1,354
ml
OCaml
dist/gcc-compatible/lib/Hacl_Chacha20_bindings.ml
racherb/hacl-star
e6642cdfd26368e5b5ac760c4270198055f6998e
[ "Apache-2.0" ]
null
null
null
dist/gcc-compatible/lib/Hacl_Chacha20_bindings.ml
racherb/hacl-star
e6642cdfd26368e5b5ac760c4270198055f6998e
[ "Apache-2.0" ]
null
null
null
dist/gcc-compatible/lib/Hacl_Chacha20_bindings.ml
racherb/hacl-star
e6642cdfd26368e5b5ac760c4270198055f6998e
[ "Apache-2.0" ]
null
null
null
open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F let hacl_Impl_Chacha20_chacha20_init = foreign "Hacl_Impl_Chacha20_chacha20_init" ((ptr uint32_t) @-> ((ptr uint8_t) @-> ((ptr uint8_t) @-> (uint32_t @-> (returning void))))) let hacl_Impl_Chacha20_...
34.717949
75
0.539143
afd6c9dcf1afedf963fbb8212f80698c6381c719
775
ml
OCaml
src/data/example.ml
kluvin/irmin.org
9a039ddabbd8c8ac516ed8abc0c034bb8e3e6853
[ "0BSD" ]
5
2019-11-21T19:30:01.000Z
2021-02-03T18:30:07.000Z
src/data/example.ml
kluvin/irmin.org
9a039ddabbd8c8ac516ed8abc0c034bb8e3e6853
[ "0BSD" ]
28
2019-11-21T11:39:03.000Z
2022-02-28T04:08:32.000Z
src/data/example.ml
kluvin/irmin.org
9a039ddabbd8c8ac516ed8abc0c034bb8e3e6853
[ "0BSD" ]
9
2019-11-21T16:04:59.000Z
2021-06-24T17:29:48.000Z
open Lwt.Infix (* Irmin store with string contents *) module Store = Irmin_unix.Git.FS.KV(Irmin.Contents.String) (* Database configuration *) let config = Irmin_git.config ~bare:true "/tmp/irmin/test" (* Commit author *) let author = "Example <example@example.com>" (* Commit information *) let info fmt = Irmin_unix...
25
92
0.637419
f36e1dd169eaa1c3abe4094548eabe10fa255a1f
340
mli
OCaml
interpreter/spec/eval.mli
smvv/webassembly-spec
316201ce9500bc0d4b1c4726a5e5a6ed5ca7448d
[ "Apache-2.0" ]
1
2019-08-30T06:21:53.000Z
2019-08-30T06:21:53.000Z
interpreter/spec/eval.mli
smvv/webassembly-spec
316201ce9500bc0d4b1c4726a5e5a6ed5ca7448d
[ "Apache-2.0" ]
null
null
null
interpreter/spec/eval.mli
smvv/webassembly-spec
316201ce9500bc0d4b1c4726a5e5a6ed5ca7448d
[ "Apache-2.0" ]
null
null
null
open Values open Instance exception Link of Source.region * string exception Trap of Source.region * string exception Crash of Source.region * string exception Exhaustion of Source.region * string val init : Ast.module_ -> extern list -> instance (* raises Link, Trap *) val invoke : closure -> value list -> value lis...
30.909091
73
0.747059
f3a1c228fea0f0a76df425a8188bcee4af688a09
2,120
ml
OCaml
src/var.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
src/var.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
src/var.ml
neojski/ecaml
00adeed63c00e3e52a4a2475c3a8256fd70c66b6
[ "MIT" ]
null
null
null
open! Core_kernel open! Import0 include Var_intf module Buffer = Buffer0 type 'a t = { symbol : Symbol.t ; type_ : 'a Value.Type.t } [@@deriving fields] let sexp_of_t _ { symbol; type_ } = [%message "" ~_:(symbol : Symbol.t) ~_:(type_ : _ Value.Type.t)] ;; type 'a var = 'a t [@@deriving sexp_of] let create ...
28.266667
85
0.676887
af2717781682893d9a4b7075e9ce92540562c368
176
ml
OCaml
instrumentor/decure/prepareDecure.ml
liblit/sampler
eaedba51ee8367b9b355e6f85a6c677878160d49
[ "BSD-3-Clause" ]
null
null
null
instrumentor/decure/prepareDecure.ml
liblit/sampler
eaedba51ee8367b9b355e6f85a6c677878160d49
[ "BSD-3-Clause" ]
null
null
null
instrumentor/decure/prepareDecure.ml
liblit/sampler
eaedba51ee8367b9b355e6f85a6c677878160d49
[ "BSD-3-Clause" ]
1
2019-01-08T11:09:59.000Z
2019-01-08T11:09:59.000Z
open Cil open Classify class visitor file = object inherit Manager.visitor "decure" file as super method private statementClassifier = new Collector.visitor end
16
62
0.755682
af62e8a41f0c0d3cba9d8588083f0afa9a87a1ff
20,142
ml
OCaml
src/data/CCIntMap.ml
jpdeplaix/ocaml-containers
019e4378a10527e7d19dfa0627a8a1fc4102e562
[ "BSD-2-Clause" ]
null
null
null
src/data/CCIntMap.ml
jpdeplaix/ocaml-containers
019e4378a10527e7d19dfa0627a8a1fc4102e562
[ "BSD-2-Clause" ]
null
null
null
src/data/CCIntMap.ml
jpdeplaix/ocaml-containers
019e4378a10527e7d19dfa0627a8a1fc4102e562
[ "BSD-2-Clause" ]
null
null
null
(* This file is free software, part of containers. See file "license" for more details. *) (** {1 Map specialized for Int keys} *) (* "Fast Mergeable Integer Maps", Okasaki & Gill. We use big-endian trees. *) (** Masks with exactly one bit active *) module Bit : sig type t = private int val highest : int -> ...
28.210084
90
0.537434
af5a55ec56f1c0822c4a44db6dc16470f0ee41bb
7,246
ml
OCaml
src/infrastructure/resources/service_resource.ml
SquidDev/scrutiny
48c3b3c7fef6292107d01dfa8b6958ac5c511be0
[ "BSD-3-Clause" ]
1
2020-12-10T02:58:26.000Z
2020-12-10T02:58:26.000Z
src/infrastructure/resources/service_resource.ml
SquidDev/scrutiny
48c3b3c7fef6292107d01dfa8b6958ac5c511be0
[ "BSD-3-Clause" ]
null
null
null
src/infrastructure/resources/service_resource.ml
SquidDev/scrutiny
48c3b3c7fef6292107d01dfa8b6958ac5c511be0
[ "BSD-3-Clause" ]
null
null
null
module Infra = Scrutiny_infrastructure module Journal = Scrutiny_systemd.Journal module Systemd = Scrutiny_systemd.Manager module Log = (val Logs.src_log (Logs.Src.create __MODULE__) : Logs.LOG) let unit_fields = [ "USER_UNIT"; "UNIT"; "_SYSTEMD_USER_UNIT"; "_SYSTEMD_UNIT" ] let watch_journal ~switch ~unit_name = L...
34.179245
100
0.627657
d2dcb3a7702cc2715020a5478eab55fb54debc11
3,168
mly
OCaml
vendor/ocaml-lsp-1.4.0/lsp/bin/typescript/ts_parser.mly
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
vendor/ocaml-lsp-1.4.0/lsp/bin/typescript/ts_parser.mly
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
vendor/ocaml-lsp-1.4.0/lsp/bin/typescript/ts_parser.mly
nicobao/caramel
5f77e1db48146ecb69c7ebad72c40c89106b79b6
[ "Apache-2.0" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
%{ open Ts_types open Ts_types.Unresolved open! Import %} %token Const %token Enum %token Extends %token Interface %token Namespace %token Readonly %token Type %token L_curly R_curly %token L_square R_square %token L_angle R_angle %token R_paren L_paren %token Semicolon %token Comma %token<string> Ident %token C...
24.75
92
0.630366
af28e51d1fa5b399b2713f079fae6819cdb6e43b
18
ml
OCaml
path_tracer/src/p3.ml
dalev/path-tracer-ocaml
54c26384d60cd12193a5509ed14d712d0c35755e
[ "MIT" ]
1
2021-03-07T19:23:26.000Z
2021-03-07T19:23:26.000Z
path_tracer/src/p3.ml
dalev/path-tracer-ocaml
54c26384d60cd12193a5509ed14d712d0c35755e
[ "MIT" ]
null
null
null
path_tracer/src/p3.ml
dalev/path-tracer-ocaml
54c26384d60cd12193a5509ed14d712d0c35755e
[ "MIT" ]
null
null
null
include Affine.P3
9
17
0.833333
afa1d6f110bc6f9b6316c448346b928b44e9ff1f
42,540
ml
OCaml
src/parser_utils/__tests__/file_sig_test.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2020-12-23T05:42:50.000Z
2020-12-23T05:42:50.000Z
src/parser_utils/__tests__/file_sig_test.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-04-16T12:04:57.000Z
2021-04-16T12:04:57.000Z
src/parser_utils/__tests__/file_sig_test.ml
radex/flow
803afdc9990c4bdc3d489ec498f2b032fa7b2c08
[ "MIT" ]
1
2021-05-12T18:13:36.000Z
2021-05-12T18:13:36.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open OUnit2 open File_sig.With_Loc let visit ?parse_options ?(module_ref_prefix = None) source = let (ast, _) = Parser_flow.prog...
54.122137
105
0.56213
afc78c69bdb71e68c24e3db3197b51b31af3dab7
1,524
ml
OCaml
src/util/ndata.ml
dakk/sail-gadgets
89a57af8accd06cc83a9f242ca4120dbdbf33fad
[ "MIT" ]
5
2020-05-15T09:38:04.000Z
2021-01-13T00:46:19.000Z
src/util/ndata.ml
dakk/sail-gadgets
89a57af8accd06cc83a9f242ca4120dbdbf33fad
[ "MIT" ]
null
null
null
src/util/ndata.ml
dakk/sail-gadgets
89a57af8accd06cc83a9f242ca4120dbdbf33fad
[ "MIT" ]
null
null
null
open React open Nmea type t = { ll: Coord.t signal * (?step:step -> Coord.t -> unit); hdg: float signal * (?step:step -> float -> unit); sog: float signal * (?step:step -> float -> unit); sats: Sentence.sat list signal * (?step:step -> Sentence.sat list -> unit); } let empty () = { ll= S.create @@ ((0.0,...
27.709091
88
0.468504
afa48844181585dcf11233c93b60f6842539049c
17,160
ml
OCaml
src/ocaml-config/ocaml_config.ml
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
null
null
null
src/ocaml-config/ocaml_config.ml
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
2
2018-01-12T08:41:59.000Z
2020-12-30T21:57:31.000Z
src/ocaml-config/ocaml_config.ml
mlasson/dune
599b7873be67c9798f9fe87979e7fec3b3a6d78b
[ "MIT" ]
null
null
null
open! Stdune open Result.O module Prog_and_args = struct type t = { prog : string ; args : string list } end open Prog_and_args module Value = struct type t = | Bool of bool | Int of int | String of string | Words of string list | Prog_and_args of ...
36.588486
80
0.579604
af5c49f1c297bf8a168b8715becef289f8cb4be8
188
ml
OCaml
lib/common.ml
tari3x/webgpu
450b6a3cab751e15e3b5ef2a6badd96df1257e15
[ "BSD-3-Clause" ]
4
2020-08-04T22:41:03.000Z
2020-09-24T21:48:23.000Z
lib/common.ml
tari3x/webgpu
450b6a3cab751e15e3b5ef2a6badd96df1257e15
[ "BSD-3-Clause" ]
1
2021-12-29T20:01:13.000Z
2021-12-29T20:01:13.000Z
lib/common.ml
tari3x/webgpu
450b6a3cab751e15e3b5ef2a6badd96df1257e15
[ "BSD-3-Clause" ]
null
null
null
let rec topsort ~gt = function | [] -> [] | x :: xs -> (match List.partition (gt x) xs with | [], xs -> x :: topsort ~gt xs | xs, xs' -> topsort ~gt (xs @ [ x ] @ xs')) ;;
23.5
48
0.452128
afccb70721354454f9db6167d4814bd41f1eea0d
15,790
ml
OCaml
src/parser/jsx_parser.ml
giltho/flow
ac42cb1a4d3d17afde4c9ce3c12fa847e897959f
[ "MIT" ]
null
null
null
src/parser/jsx_parser.ml
giltho/flow
ac42cb1a4d3d17afde4c9ce3c12fa847e897959f
[ "MIT" ]
null
null
null
src/parser/jsx_parser.ml
giltho/flow
ac42cb1a4d3d17afde4c9ce3c12fa847e897959f
[ "MIT" ]
1
2021-05-12T18:13:36.000Z
2021-05-12T18:13:36.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Ast = Flow_ast open Token open Parser_common open Parser_env open Flow_ast module JSX (Parse : Parser_common.PARSER) = stru...
34.933628
109
0.558391
afd5c806e4c103928acaee0ab21b285010dcd987
48,200
ml
OCaml
hphp/hack/src/client/clientArgs.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
1
2021-12-02T18:52:19.000Z
2021-12-02T18:52:19.000Z
hphp/hack/src/client/clientArgs.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/clientArgs.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
1
2020-11-09T08:56:11.000Z
2020-11-09T08:56:11.000Z
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open ClientCommand open ClientEnv (** Arg specs shared across more than 1 arg parser. *) module Com...
39.573071
164
0.600975
af302d737515afd1792a10569fc33d619948c9ae
5,142
ml
OCaml
src/incnat.ml
mgree/kmt
f8e5e13f740a8f79bf450df227fda899b71d8fbc
[ "MIT" ]
19
2020-03-06T13:52:57.000Z
2021-07-30T07:40:20.000Z
src/incnat.ml
mgree/kmt
f8e5e13f740a8f79bf450df227fda899b71d8fbc
[ "MIT" ]
1
2022-02-09T20:48:48.000Z
2022-02-09T20:48:48.000Z
src/incnat.ml
mgree/kmt
f8e5e13f740a8f79bf450df227fda899b71d8fbc
[ "MIT" ]
2
2021-02-12T19:02:50.000Z
2021-08-10T06:20:34.000Z
open Kat open Syntax open Common open Hashcons open Range type a = Gt of string * int [@@deriving eq] type p = Increment of string | Assign of string * int [@@deriving eq] let compare_a (Gt (x,n)) (Gt (y,m)) = let cmp = StrType.compare x y in if cmp <> 0 then cmp else n - m let compare_p p q = ma...
30.070175
119
0.548814
afa3d53bbbb071b406a77e927a5c842810f17ecc
1,657
ml
OCaml
test/domain/filer_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
null
null
null
test/domain/filer_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
11
2020-03-14T01:09:36.000Z
2022-03-02T02:09:30.000Z
test/domain/filer_test.ml
derui/sxfiler
b88f99d4aa495ef3958ad1ca823e5a10146ca33a
[ "MIT" ]
null
null
null
open Sxfiler_domain module C = Sxfiler_core module F = Test_fixtures let make_left_file_window file_list = File_window.make_left ~file_list ~history:(Location_history.make ()) let make_right_file_window file_list = File_window.make_right ~file_list ~history:(Location_history.make ()) let test_set = [ Alcotest_...
44.783784
108
0.684973
af6e35562f261b4d15de04a8e868d1cad5daf7a0
1,765
ml
OCaml
hphp/hack/src/typing/typing_substring.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_substring.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_substring.ml
enjmusic/hhvm
5e931f1beea84a609fbe71872a8f2101ee516d86
[ "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 Core_kernel open Typing_defs module Reason = Typing_reason module Env = Typing_env module TUtils = Typing_util...
32.685185
84
0.709348
f351bcd887e94c265651ffebc1e4192b3aa31891
7,882
ml
OCaml
data/derived/comb/progs/unify/prog5074.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/prog0161.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog0161.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX *) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
25.101911
148
0.639939
afaaa76eb2d2b5ed7d9a950dccc029231460ff20
10,041
ml
OCaml
libraries/ec2/lib/importSnapshot.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/ec2/lib/importSnapshot.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/importSnapshot.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 ImportSnapshotRequest = struct type t = { client_data: ClientData.t option [@ocaml.doc "<p>The client-specific data.</p>"]; client_token: String.t option [@ocaml.doc "<p>Token to...
50.969543
1,813
0.595259
f31ed23d98e63585e29bc8de164f5e5fac1a3d9f
1,445
ml
OCaml
src/intbitsList.ml
ostera/hardcaml
1100988ea72e3b79c4c47a0a954a122e6c1f9131
[ "MIT" ]
null
null
null
src/intbitsList.ml
ostera/hardcaml
1100988ea72e3b79c4c47a0a954a122e6c1f9131
[ "MIT" ]
null
null
null
src/intbitsList.ml
ostera/hardcaml
1100988ea72e3b79c4c47a0a954a122e6c1f9131
[ "MIT" ]
null
null
null
open! Import (* Bits API built using lists on ints. Allows any bit precision and is simple, but slow. *) module Gates = struct (* msb first *) type t = int list [@@deriving compare] let equal = [%compare.equal: t] let empty = [] let is_empty = List.is_empty let width x = List.length x let of_consta...
25.803571
85
0.595156
af8639dca5d82dd2452ff6bfab38b952b21a6b50
1,236
ml
OCaml
src/lib/ir/label.ml
SimonJF/cmm_of_wasm
10fea570f80f91ee26c23a6cca48b29795c9967b
[ "MIT" ]
80
2018-07-13T14:04:33.000Z
2022-02-23T20:15:32.000Z
src/lib/ir/label.ml
SimonJF/cmm_of_wasm
10fea570f80f91ee26c23a6cca48b29795c9967b
[ "MIT" ]
14
2018-07-16T15:38:54.000Z
2018-08-28T08:17:42.000Z
src/lib/ir/label.ml
SimonJF/cmm_of_wasm
10fea570f80f91ee26c23a6cca48b29795c9967b
[ "MIT" ]
1
2020-10-31T16:49:42.000Z
2020-10-31T16:49:42.000Z
module Id = struct type t = | Gen of int | Return let count = ref (-1) let create () = incr count; Gen !count let return = Return let print ppf t = match t with | Gen t -> Format.fprintf ppf "l%i" t | Return -> Format.fprintf ppf "return" let is_return = function | Return -> ...
19.935484
65
0.61246
afa207feec703f5fb6b0ed2a310553540fefe4ef
2,512
mll
OCaml
infer/src/al/types_lexer.mll
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/src/al/types_lexer.mll
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/src/al/types_lexer.mll
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 open Lexing open Types_parser exception SyntaxError of string let next_line lexbuf = let pos = lexbuf...
31.4
94
0.55414
d2d370d2a7eb625f77e66393f6dc7d91077aa0a4
889
mli
OCaml
src/lustre/lspInfo.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
62
2015-02-04T17:49:51.000Z
2022-03-19T21:52:06.000Z
src/lustre/lspInfo.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
110
2015-01-20T14:26:17.000Z
2022-03-22T02:25:49.000Z
src/lustre/lspInfo.mli
daniel-larraz/kind2
168918803d5f834676c1d328573ee32b2bedee6e
[ "Apache-2.0" ]
25
2017-02-20T21:13:55.000Z
2021-07-20T19:46:09.000Z
(* This file is part of the Kind 2 model checker. Copyright (c) 2021 by the Board of Trustees of the University of Iowa Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.a...
35.56
72
0.751406
af943dff5ee6414873d007aee2cbb3cdd8fb721b
3,091
ml
OCaml
test/test_compare.ml
EduardoRFS/base
8993e35ba2e83e5020b2deb548253ef1e4a699d4
[ "MIT" ]
641
2016-09-16T15:51:06.000Z
2022-03-31T19:30:56.000Z
test/test_compare.ml
EduardoRFS/base
8993e35ba2e83e5020b2deb548253ef1e4a699d4
[ "MIT" ]
121
2016-09-17T07:30:00.000Z
2022-03-03T21:00:03.000Z
test/test_compare.ml
EduardoRFS/base
8993e35ba2e83e5020b2deb548253ef1e4a699d4
[ "MIT" ]
95
2016-09-16T23:31:38.000Z
2022-03-19T01:35:06.000Z
open! Base open Expect_test_helpers_base module type S = sig type t [@@deriving sexp_of] include Comparable.Polymorphic_compare with type t := t end (* Test the consistency of derived comparison operators with [compare] because many of them are hand-optimized in [Base]. *) let test (type a) here (module T : S...
30.009709
91
0.584277
af6b2697820195cd4bd8319f3c5d779aad21447a
1,854
ml
OCaml
data/sp14_min/0584.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
15
2020-05-10T13:06:57.000Z
2021-07-15T19:23:32.000Z
data/sp14_min/0584.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
4
2020-01-28T22:51:35.000Z
2022-02-10T00:36:31.000Z
data/sp14_min/0584.ml
gsakkas/rite
958a0ad2460e15734447bc07bd181f5d35956d3b
[ "BSD-3-Clause" ]
2
2019-09-19T12:24:29.000Z
2021-08-18T11:44:40.000Z
let rec clone x n = match n with | n when n <= 0 -> [] | _ -> x :: (clone x (n - 1));; let rec padZero l1 l2 = if (List.length l1) > (List.length l2) then (l1, ((clone 0 ((List.length l1) - (List.length l2))) @ l2)) else (((clone 0 ((List.length l2) - (List.length l1))) @ l1), l2);; let rec removeZero l = ...
25.39726
95
0.539374
f318a38da7feff9257d947f43e06b72071cc0369
1,771
mli
OCaml
src/services/autocomplete/autocomplete_js.mli
isker/flow
e2b72277ef898a8645f3a6059660927247b08d9c
[ "MIT" ]
null
null
null
src/services/autocomplete/autocomplete_js.mli
isker/flow
e2b72277ef898a8645f3a6059660927247b08d9c
[ "MIT" ]
null
null
null
src/services/autocomplete/autocomplete_js.mli
isker/flow
e2b72277ef898a8645f3a6059660927247b08d9c
[ "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 ac_id = { include_super: bool; include_this: bool; type_: Type.t; } type autocomplete_type = | Ac_ignored (** ignore...
30.534483
86
0.666855
afa6f8a28e80287f201225068d4dfc1d241c3ac9
1,892
ml
OCaml
src/backgroundFolderFetching.ml
xbl3/google-drive-ocamlfuse_astrada
0543cb6c89c1b12121cc2a40a4bd720ca2145175
[ "MIT" ]
1
2020-08-28T15:08:02.000Z
2020-08-28T15:08:02.000Z
src/backgroundFolderFetching.ml
xbl3/google-drive-ocamlfuse_astrada
0543cb6c89c1b12121cc2a40a4bd720ca2145175
[ "MIT" ]
null
null
null
src/backgroundFolderFetching.ml
xbl3/google-drive-ocamlfuse_astrada
0543cb6c89c1b12121cc2a40a4bd720ca2145175
[ "MIT" ]
null
null
null
open GapiLens.Infix type t = { stop_folder_fetching : bool; read_dir : string -> unit; } let stop_folder_fetching = { GapiLens.get = (fun x -> x.stop_folder_fetching); GapiLens.set = (fun v x -> { x with stop_folder_fetching = v }) } let read_dir = { GapiLens.get = (fun x -> x.read_dir); GapiLens.set = (f...
26.277778
73
0.680233
d2d9c03f71793f509b738ca7810220db59fded53
3,458
ml
OCaml
src/proto_alpha/lib_protocol/raw_level_repr.ml
daachi/tezos
00118e91ff13bb54ff658907ed8ffc1c4d3d2266
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/raw_level_repr.ml
daachi/tezos
00118e91ff13bb54ff658907ed8ffc1c4d3d2266
[ "MIT" ]
null
null
null
src/proto_alpha/lib_protocol/raw_level_repr.ml
daachi/tezos
00118e91ff13bb54ff658907ed8ffc1c4d3d2266
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.020833
79
0.556969
afe83e96ae22419322666f1bf0948260aa4d5d2a
4,024
ml
OCaml
infer/src/pulse/PulseExecutionDomain.ml
tony-go/infer
63ea04035552634532542e59795ca5e902e61171
[ "MIT" ]
null
null
null
infer/src/pulse/PulseExecutionDomain.ml
tony-go/infer
63ea04035552634532542e59795ca5e902e61171
[ "MIT" ]
1
2021-04-19T09:50:03.000Z
2021-04-19T09:50:03.000Z
infer/src/pulse/PulseExecutionDomain.ml
isabella232/infer
ad2fc1148da3e0342c02b4aa3ae160de34598669
[ "MIT" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module F = Format open PulseBasicInterface module AbductiveDomain = PulseAbductiveDomain module LatentIssue = PulseLaten...
41.916667
100
0.740557
f384f711fe03ba4144b9ee60cea9c643998bf03f
4,228
mli
OCaml
duniverse/opam-core.2.0.7+dune/src/state/opamUpdate.mli
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
duniverse/opam-core.2.0.7+dune/src/state/opamUpdate.mli
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
duniverse/opam-core.2.0.7+dune/src/state/opamUpdate.mli
snowleopard/duniverse
8af7ca1d4043b76d96cfe146926621186a0c75aa
[ "ISC" ]
null
null
null
(**************************************************************************) (* *) (* Copyright 2012-2015 OCamlPro *) (* Copyright 2012 INRIA *) (* ...
46.461538
80
0.659177
af890e93e40ed43b38a1257280a9a6a04c104fd2
2,029
mli
OCaml
src/common/flowConfig.mli
tako-black/nagare
8b5cb8eed2b208197abcf582b591537def887ba3
[ "BSD-3-Clause" ]
2
2015-07-28T23:53:32.000Z
2015-07-31T15:17:21.000Z
src/common/flowConfig.mli
nmn/flow
a1de61dfdbf0ae53f5fb1926f83930389d9fbc30
[ "BSD-3-Clause" ]
null
null
null
src/common/flowConfig.mli
nmn/flow
a1de61dfdbf0ae53f5fb1926f83930389d9fbc30
[ "BSD-3-Clause" ]
null
null
null
(** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "flow" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * *) type moduleSys...
28.985714
80
0.721538
afe925456e548435b8278213ce36f8efb3c1efc5
476
ml
OCaml
hphp/hack/src/client/clientLint.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/hack/src/client/clientLint.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/hack/src/client/clientLint.ml
SiebelsTim/hhvm
ae63d696e8e97f113c4d8ef8c7dcd56d8633ef6c
[ "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. * *) let go (resul...
29.75
80
0.739496
afe934ddd3998cacbe98f60364a5799bda42a3df
21,098
ml
OCaml
infer/src/absint/TaintTrace.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/src/absint/TaintTrace.ml
Static-Analysis-Tools/infer
2a920fc3e510384b51daad9e4e81ff7c6785ab4f
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/src/absint/TaintTrace.ml
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 module F = Format module type Spec = sig module Source : Source.S module Sink : Sink.S module Sanitizer : Sanit...
37.540925
101
0.684235
f35c441e44e5f86c57a6947b154235335008abf5
2,552
mli
OCaml
interfaces/4.06/array.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
23
2017-11-16T10:01:56.000Z
2021-06-23T08:44:44.000Z
interfaces/4.06/array.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
15
2018-04-21T13:49:52.000Z
2022-02-16T11:19:38.000Z
interfaces/4.06/array.mli
crabtw/stdcompat
667cb7bf93f423e3c7f56b319e9366394d6adc4a
[ "BSD-2-Clause-FreeBSD" ]
8
2018-04-23T18:10:00.000Z
2021-12-14T14:31:22.000Z
external length : 'a array -> int = "%array_length" external get : 'a array -> int -> 'a = "%array_safe_get" external set : 'a array -> int -> 'a -> unit = "%array_safe_set" external make : int -> 'a -> 'a array = "caml_make_vect" external create : int -> 'a -> 'a array = "caml_make_vect"[@@ocaml.deprecated ...
52.081633
89
0.565047
afb495f8885219943a01c418d9ecafc8eedb0d34
368
ml
OCaml
astlib/base/version.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
57
2019-05-15T14:23:37.000Z
2021-05-24T19:23:19.000Z
astlib/base/version.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
53
2019-06-06T16:27:15.000Z
2020-05-14T18:05:50.000Z
astlib/base/version.ml
ceastlund/ppx
e9367353e0ac7f6e1b408be21b01645475eea623
[ "MIT" ]
7
2019-06-03T15:07:32.000Z
2020-04-06T14:06:22.000Z
open! Base type t = Astlib.Version.t let compare = Comparable.lift String.compare ~f:Astlib.Version.to_string let equal = Comparable.lift String.equal ~f:Astlib.Version.to_string let sexp_of_t t = Sexp.Atom (Astlib.Version.to_string t) let hash t = hash_string (Astlib.Version.to_string t) let hash_fold_t hash t = has...
36.8
75
0.790761
af2e1517acd89062d93f3317bdd1f9ba33dde92b
2,865
ml
OCaml
src/geopub/geoloc.ml
miaEngiadina/geopub
1af46a88f375d1c6113dfb901bad2ca3171e8990
[ "BSD-2-Clause", "MIT" ]
4
2019-12-19T15:49:07.000Z
2020-02-27T21:34:47.000Z
src/geopub/geoloc.ml
miaEngiadina/geopub
1af46a88f375d1c6113dfb901bad2ca3171e8990
[ "BSD-2-Clause", "MIT" ]
null
null
null
src/geopub/geoloc.ml
miaEngiadina/geopub
1af46a88f375d1c6113dfb901bad2ca3171e8990
[ "BSD-2-Clause", "MIT" ]
null
null
null
(* * SPDX-FileCopyrightText: 2021 pukkamustard <pukkamustard@posteo.net> * * SPDX-License-Identifier: AGPL-3.0-or-later *) (* Provides types for handling Geolocation of posts and users (according to [XEP-0080: User Location](https://xmpp.org/extensions/xep-0080.html)). *) type t = { latitude : float; longitud...
31.483516
149
0.551832
af660ab38dbc33840e256a7bc883e6b4f8df694e
14,698
ml
OCaml
hphp/hack/src/server/findRefsService.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/server/findRefsService.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/server/findRefsService.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
1
2022-02-19T09:29:50.000Z
2022-02-19T09:29:50.000Z
(* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Hh_prelude open Option.Monad_infix open Reordered_argument_collections open ServerCommandTypes.Find_refs open T...
35.674757
80
0.684107
f3bef106806042084bde040881456022a47a75e3
117
ml
OCaml
hphp/hack/src/facts/ffi/rust_facts_ffi.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
9,491
2015-01-01T00:30:28.000Z
2022-03-31T20:22:11.000Z
hphp/hack/src/facts/ffi/rust_facts_ffi.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
4,796
2015-01-01T00:26:31.000Z
2022-03-31T01:09:05.000Z
hphp/hack/src/facts/ffi/rust_facts_ffi.ml
divinity76/hhvm
cfde9bb3d7d49740d0ca0228e2d714637b155a13
[ "PHP-3.01", "Zend-2.0" ]
2,126
2015-01-01T11:13:29.000Z
2022-03-28T19:58:15.000Z
external extract_as_json_ffi : int -> Relative_path.t -> string -> bool -> string option = "extract_as_json_ffi"
29.25
59
0.726496
f386b9ddba6199eb75a7f5d76576fde3b3d81276
1,866
ml
OCaml
hphp/hack/src/typing/nast_check/interface_check.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/nast_check/interface_check.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/nast_check/interface_check.ml
Tiththa/hhvm
d6f984c858544ae716c12413048772f831959307
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(** * Copyright (c) 2018, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel open Nast module SN = Naming_special_names let enforce_no_body m = match m.m_body.fb_ast with ...
27.441176
77
0.719185
afbe830e6ffff69ecb7dc4127d85ea286d758978
7,221
ml
OCaml
data/derived/comb/progs/unify/prog8791.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/prog4009.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog4009.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX *) (*XXXXXXXXXXXXXXXXXXXXXXXXXXX*) let rec sumList xs = match xs with | [] -> 0 | h::t -> h + sumList t let _ = sumList [1; 2; 3; 4] let _ = sumList [1; -2; 3; 5] let _ = sumList [1; 3; 5; 7; 9; 11] (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X...
24.231544
94
0.607257
afbd4bbafc4879f570a4ca36034dedc113a1dace
170
mli
OCaml
2018/04/event.mli
bcc32/advent-of-code
37f47063bdc005513a14a2a3c12c3c6564e883cb
[ "MIT" ]
2
2022-01-04T23:09:54.000Z
2022-01-26T08:57:20.000Z
2018/04/event.mli
bcc32/advent-of-code
37f47063bdc005513a14a2a3c12c3c6564e883cb
[ "MIT" ]
null
null
null
2018/04/event.mli
bcc32/advent-of-code
37f47063bdc005513a14a2a3c12c3c6564e883cb
[ "MIT" ]
null
null
null
open! Core open! Async open! Import type t val of_string : string -> t (** list of (guard id, (sleep, wake) times) *) val analyze : t list -> (int * (int * int)) list
15.454545
48
0.623529
af97e1b773ff00f26ec84882cd07579a786f9771
7,489
ml
OCaml
duniverse/menhir/src/basicSyntax.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
2
2022-03-03T01:38:24.000Z
2022-03-03T01:54:36.000Z
duniverse/menhir/src/basicSyntax.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
duniverse/menhir/src/basicSyntax.ml
pitag-ha/ppx_universe
4d7dab337767961e346e4bfe1596f38370581dee
[ "MIT" ]
1
2022-03-02T19:35:36.000Z
2022-03-02T19:35:36.000Z
(******************************************************************************) (* *) (* Menhir *) (* ...
37.445
92
0.587128
f306c755448b788ada54b79a914981dc668b484e
711
ml
OCaml
test_native/_opam/.opam-switch/sources/ocaml-base-compiler.4.07.1/testsuite/tests/tool-ocaml/t121-setstringchar.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/tool-ocaml/t121-setstringchar.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/tool-ocaml/t121-setstringchar.ml
dauletisataev/form-ppx
caa4311ab58b171950dce74def61133830d4740c
[ "MIT" ]
null
null
null
(* TEST include tool-ocaml-lib flags = "-w a" ocaml_script_as_argument = "true" * setup-ocaml-build-env ** ocaml *) open Lib;; let x = Bytes.of_string "foo" in x.[2] <- 'x'; if Bytes.get x 2 <> 'x' then raise Not_found ;; (** 0 CONSTINT 42 2 PUSHACC0 3 MAKEBLOCK1 0 5 POP 1 7 SETGLOB...
17.775
44
0.589311
f34b9d0095d3115dc0722f4ccd2d384542624047
16,774
ml
OCaml
interprocedural_analyses/taint/test/testHelper.ml
GreyElaina/pyre-check
abcb5daa64c38a25aed9ab238bb61290444ab06c
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/test/testHelper.ml
GreyElaina/pyre-check
abcb5daa64c38a25aed9ab238bb61290444ab06c
[ "MIT" ]
null
null
null
interprocedural_analyses/taint/test/testHelper.ml
GreyElaina/pyre-check
abcb5daa64c38a25aed9ab238bb61290444ab06c
[ "MIT" ]
1
2021-02-20T13:09:30.000Z
2021-02-20T13:09:30.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module TypeCheck = Analysis.TypeCheck open Core open OUnit2 open Analysis module AnalysisError = Analysis.AnalysisError open Ast op...
32.954813
101
0.667998
f3d516357c3fa82b5c497ff1ebeddf0b02fe5392
35,950
ml
OCaml
backend/cn/wellTyped.ml
SamB/cerberus
680fe1f71247988cd5802ceefefefbbd4ef78ed6
[ "BSD-2-Clause" ]
null
null
null
backend/cn/wellTyped.ml
SamB/cerberus
680fe1f71247988cd5802ceefefefbbd4ef78ed6
[ "BSD-2-Clause" ]
null
null
null
backend/cn/wellTyped.ml
SamB/cerberus
680fe1f71247988cd5802ceefefefbbd4ef78ed6
[ "BSD-2-Clause" ]
null
null
null
module LS = LogicalSorts module BT = BaseTypes module SymSet = Set.Make(Sym) module TE = TypeErrors module RE = Resources.RE module AT = ArgumentTypes open Global open TE open Pp open Locations open Typing open Effectful.Make(Typing) let check_consistency = ref true module WIT = struct let check_bound_l loc s...
37.061856
111
0.527427
d2f15938f7b2693f7547bbe8242cbf67502289d8
43,085
ml
OCaml
src/data/cond.ml
ryosu-sato/r_type
a6540a6c6cc01c4ce17b8e87dc6412fd39ea6277
[ "Apache-2.0" ]
null
null
null
src/data/cond.ml
ryosu-sato/r_type
a6540a6c6cc01c4ce17b8e87dc6412fd39ea6277
[ "Apache-2.0" ]
1
2021-01-19T10:44:43.000Z
2021-02-15T09:45:29.000Z
src/data/cond.ml
ryosu-sato/r_type
a6540a6c6cc01c4ce17b8e87dc6412fd39ea6277
[ "Apache-2.0" ]
1
2020-12-31T09:39:32.000Z
2020-12-31T09:39:32.000Z
open Core module Subst = struct type t = (Identity.t * Identity.t) list [@@deriving eq, sexp, ord, hash] let empty = [] let add (self:t) ((k:Identity.t), (v:Identity.t)) : t = if List.Assoc.mem self ~equal:Stdlib.(=) k then self else if Stdlib.(k = v) then self else (k, v) :: self let subst se...
30.775
119
0.532343
afabc980e8f87668b01eb94a3e7e3f56aacd4062
2,755
ml
OCaml
examples/github_app.ml
copy/ocurrent
02a3ee8dba9fba5b63939643c2cf6ca4c4c2dfbf
[ "Apache-2.0" ]
null
null
null
examples/github_app.ml
copy/ocurrent
02a3ee8dba9fba5b63939643c2cf6ca4c4c2dfbf
[ "Apache-2.0" ]
null
null
null
examples/github_app.ml
copy/ocurrent
02a3ee8dba9fba5b63939643c2cf6ca4c4c2dfbf
[ "Apache-2.0" ]
null
null
null
(* This pipeline is GitHub app. It monitors all GitHub repositories the app is asked to handle, and uses Docker to build the latest version on all branches and PRs. *) let program_name = "github_app" open Current.Syntax module Git = Current_git module Github = Current_github module Docker = Current_docker.Defa...
35.320513
113
0.692196
afba1702b5469daaf68d77e7b94f45c4d7175fa9
1,214
ml
OCaml
hack/utils/sys/handle.ml
disnet/flow
f916c6d4300220fda951d123b85b8f05a75a3427
[ "MIT" ]
null
null
null
hack/utils/sys/handle.ml
disnet/flow
f916c6d4300220fda951d123b85b8f05a75a3427
[ "MIT" ]
null
null
null
hack/utils/sys/handle.ml
disnet/flow
f916c6d4300220fda951d123b85b8f05a75a3427
[ "MIT" ]
2
2021-02-02T14:51:26.000Z
2021-02-02T14:52:05.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. * *) (* On Win32, unwrap the handle from the 'abstract block' representing the file descriptor otherwise it can't be ...
31.128205
69
0.749588
afab4442b835cf528fd7d26b0b51d0293a46a9fa
257
mli
OCaml
libraries/ec2/lib/deleteTransitGatewayVpcAttachment.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
libraries/ec2/lib/deleteTransitGatewayVpcAttachment.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
1
2021-06-22T14:33:23.000Z
2021-06-22T14:33:23.000Z
libraries/ec2/lib/deleteTransitGatewayVpcAttachment.mli
Nymphium/ocaml-aws
91567339845eedfe5dabbcfd229df3b38889a09e
[ "BSD-3-Clause" ]
null
null
null
open Types type input = DeleteTransitGatewayVpcAttachmentRequest.t type output = DeleteTransitGatewayVpcAttachmentResult.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
36.714286
74
0.785992
afeaf1c580fb3be8cfd539f4ae0db86beb41f35c
589
ml
OCaml
hphp/hack/src/server/fullFidelityParseService.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-17T02:24:38.000Z
2020-01-17T02:24:38.000Z
hphp/hack/src/server/fullFidelityParseService.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
2
2020-10-11T22:54:12.000Z
2021-07-20T22:12:10.000Z
hphp/hack/src/server/fullFidelityParseService.ml
kavoor/hhvm
4b86dba3f3dadfa05b7fac391f0b28e1f011989c
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) module SyntaxTree = Full_fidelity_syntax_tree.WithSyntax (Full_fidelity_minimal_syntax) (* Entry Point *) let go ...
29.45
69
0.767402
afa74e19cb559c22994484ad51af653954716bd0
168
ml
OCaml
result/cafe2/sigma/sub21/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
result/cafe2/sigma/sub21/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
result/cafe2/sigma/sub21/patch.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
exception Problem let rec sigma (f : int -> int) (a : int) (b : int) : int = if b = b - 1 then raise Problem else if a = b then f b else f b + sigma f a (b - 1)
24
58
0.565476
f37ee7744bbe5a9ce3d4bb475c7f2ea1756a8fd4
59
ml
OCaml
Benchmarks_with_Functional_Bugs/OCaml/Problem2/src/testcases/tc23.ml
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
null
null
null
Benchmarks_with_Functional_Bugs/OCaml/Problem2/src/testcases/tc23.ml
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
null
null
null
Benchmarks_with_Functional_Bugs/OCaml/Problem2/src/testcases/tc23.ml
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
2
2020-11-26T13:27:14.000Z
2022-03-20T02:12:55.000Z
assert ((test (C ((P (("x", V ("x"))), V ("x"))))) = false)
59
59
0.372881
f34759ab446cfda2bf0c4a0aeb4acec7db47bf62
128
ml
OCaml
src/package.ml
bobot/jbuilder
c437069fffa6fd55eaeff4e8628d06cf36d5e39d
[ "Apache-2.0" ]
1
2021-06-14T11:27:06.000Z
2021-06-14T11:27:06.000Z
src/package.ml
stedolan/dune
37b1125f0334133c21ae446645163d1f290f86cd
[ "Apache-2.0" ]
null
null
null
src/package.ml
stedolan/dune
37b1125f0334133c21ae446645163d1f290f86cd
[ "Apache-2.0" ]
null
null
null
type t = { name : string ; path : Path.t ; version_from_opam_file : string option }
21.333333
42
0.453125
afd37997bfbbab8d047d451c7e5d060dcaa019de
3,291
mli
OCaml
duniverse/bos/src/bos_setup.mli
gpetiot/opam-monorepo
93584def27ee2c4073b437b9405f413c227c9c57
[ "0BSD" ]
11
2020-07-14T13:57:02.000Z
2020-09-05T23:50:25.000Z
src/bos_setup.mli
shakthimaan/bos
61526bf67f218fd730db8ac19149945eb9c97d20
[ "0BSD" ]
1
2021-11-08T19:54:28.000Z
2021-11-08T19:54:28.000Z
src/bos_setup.mli
shakthimaan/bos
61526bf67f218fd730db8ac19149945eb9c97d20
[ "0BSD" ]
1
2020-11-25T12:01:04.000Z
2020-11-25T12:01:04.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2016 Daniel C. Bünzli. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (** ...
30.192661
79
0.613491
f3e599313bf88d904d92947a94798abbe524330f
31,072
ml
OCaml
src/frontend/query_commands.ml
mrmr1993/merlin
d0278ca384943373abb28ec15999d4d91b527fe9
[ "MIT" ]
1
2022-03-21T15:43:54.000Z
2022-03-21T15:43:54.000Z
src/frontend/query_commands.ml
mrmr1993/merlin
d0278ca384943373abb28ec15999d4d91b527fe9
[ "MIT" ]
null
null
null
src/frontend/query_commands.ml
mrmr1993/merlin
d0278ca384943373abb28ec15999d4d91b527fe9
[ "MIT" ]
null
null
null
(* {{{ COPYING *( This file is part of Merlin, an helper for ocaml editors Copyright (C) 2013 - 2015 Frédéric Bour <frederic.bour(_)lakaban.net> Thomas Refis <refis.thomas(_)gmail.com> Simon Castellan <simon.castellan(_)iuwt.fr> Permission is hereby...
37.846529
95
0.628959
af8c9f259b02f31c6db87222ffbf2b36bf03e35c
1,880
ml
OCaml
libraries/route53/lib/getReusableDelegationSet.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/getReusableDelegationSet.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
libraries/route53/lib/getReusableDelegationSet.ml
pm-mck/ocaml-aws
7912f94e73941d07d350d7f06c625853298c962c
[ "BSD-3-Clause" ]
null
null
null
open Types_internal open Aws type input = GetReusableDelegationSetRequest.t type output = GetReusableDelegationSetResponse.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_o...
31.333333
106
0.582447
af2a2e23c9e908b4d772508edfa4538a9c06db9e
1,684
mli
OCaml
CodeHawk/CHJ/jchpre/jCHClassAnalysis.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
17
2020-08-17T15:35:57.000Z
2022-03-23T14:40:19.000Z
CodeHawk/CHJ/jchpre/jCHClassAnalysis.mli
Databean/codehawk
91bef3806d87d93b4371a4d1c22a7dc8648e2a16
[ "MIT" ]
6
2020-07-17T05:43:51.000Z
2021-01-06T03:41:46.000Z
CodeHawk/CHJ/jchpre/jCHClassAnalysis.mli
sipma/codehawk
e4eeb41fdea6a8467d1892b9467ec54ef04953b0
[ "MIT" ]
3
2020-08-13T23:18:39.000Z
2021-12-11T11:10:06.000Z
(* ============================================================================= CodeHawk Java Analyzer Author: Henny Sipma ------------------------------------------------------------------------------ The MIT License (MIT) Copyright (c) 2005-2020 Kestrel Technology LLC Permission is hereby grante...
44.315789
83
0.647862
af06da5dd402f3f1465093576ea75fae730c38b7
1,038
mli
OCaml
server/state.mli
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
server/state.mli
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "MIT" ]
null
null
null
server/state.mli
HsuanTingLu/pyre-check
1cf85df830c6e20ec6abe27f5afed4bc16dcc70b
[ "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 Network type raw_connections = { socket: Socket.t; json_socket: Socket.t; adapter_socket: Socket.t; persistent_client...
27.315789
66
0.760116
afba7cfbb5cbf0599731038f10a581079538a703
1,061
mly
OCaml
code/parsing/parser.mly
bguil/examples
506e420c23c127430533ca5ee0b04be12278218b
[ "Unlicense" ]
328
2015-01-08T13:55:08.000Z
2022-03-11T12:56:04.000Z
code/parsing/parser.mly
bguil/examples
506e420c23c127430533ca5ee0b04be12278218b
[ "Unlicense" ]
17
2015-01-04T00:26:01.000Z
2018-05-31T08:16:44.000Z
code/parsing/parser.mly
bguil/examples
506e420c23c127430533ca5ee0b04be12278218b
[ "Unlicense" ]
83
2015-01-21T15:07:56.000Z
2022-03-11T12:56:08.000Z
%token <int> INT %token <float> FLOAT %token <string> ID %token <string> STRING %token TRUE %token FALSE %token NULL %token LEFT_BRACE %token RIGHT_BRACE %token LEFT_BRACK %token RIGHT_BRACK %token COLON %token COMMA %token EOF (* part 1 *) %start <Json.value option> prog %% (* part 2 *) prog: | EOF { None } ...
16.578125
60
0.559849
afdc4e81eec643f354844b7de54de85f82fca4e6
2,082
mli
OCaml
code/src/netmulticore/netmcore_sem.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/netmulticore/netmcore_sem.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
code/src/netmulticore/netmcore_sem.mli
UnixJunkie/ocamlnet
81282279d073a85e3ed6e8b7030710ed9b7b2d02
[ "BSD-3-Clause" ]
null
null
null
(* $Id$ *) (** Semaphores *) (** Semaphores are here defined as values that reside in shared heaps ({!Netmcore_heap}), for example in the header field of {!Netmcore_array} or somewhere else in heap-allocated data structures. In order to ensure that the semaphore is in the heap, the special funct...
34.131148
75
0.704131
f3041aef64e37fb45e450ff0904144820530d6e6
6,637
mli
OCaml
src/common/reason.mli
HenriBeck/flow
d65644053200414d84b65ca7e561eb01257d9d0e
[ "MIT" ]
null
null
null
src/common/reason.mli
HenriBeck/flow
d65644053200414d84b65ca7e561eb01257d9d0e
[ "MIT" ]
null
null
null
src/common/reason.mli
HenriBeck/flow
d65644053200414d84b65ca7e561eb01257d9d0e
[ "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. *) val mk_id: unit -> int type reason_desc = | RNumber | RString | RBoolean | RMixed | REmpty | RAny | RVoid | RNull | RNullOrVoid |...
26.979675
90
0.745216
afea4df80f1166501bcfc188db1369a4982c2eed
89,760
ml
OCaml
trained/NYSE-MS-day-2014-04-24-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
null
null
null
trained/NYSE-MS-day-2014-04-24-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
null
null
null
trained/NYSE-MS-day-2014-04-24-basic.ml
ReyderOlarte/Fintech_AutoStock
59dba40d1cbc056739af33145b4b24682374e23a
[ "MIT" ]
2
2020-05-03T11:14:09.000Z
2021-11-18T10:26:30.000Z
[BASIC] [BASIC:PARAMS] [BASIC:NETWORK] beginTraining=0 connectionLimit=0 contextTargetOffset=0,0,0 contextTargetSize=0,0,0 endTraining=2 hasContext=f inputCount=180 layerCounts=4,37,181 layerFeedCounts=4,36,180 layerContextCount=0,0,0 layerIndex=0,4,41 output=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
2,992
27,304
0.816054
f393c5ae74c2d89dc35cf7915c040c627731d485
2,070
ml
OCaml
src/common/lwt/lwtLoop.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
1
2021-03-27T07:05:32.000Z
2021-03-27T07:05:32.000Z
src/common/lwt/lwtLoop.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "MIT" ]
2
2021-05-09T02:43:12.000Z
2021-09-02T14:09:40.000Z
src/common/lwt/lwtLoop.ml
mirek/flow
fa1268d9153ec372796d7bf0fb364e648f1eb51f
[ "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. *) (* It is useful to write infinite loops using lwt. They're useful for reading, for writing, for * waiting for some broadcast messa...
32.34375
99
0.638164
afcb7d5630a3b8b48c1b2f8778ba6bf7b582bd50
23,042
ml
OCaml
src/dune_rules/artifact_substitution.ml
janestreet/jbuilder
863174b353146a5af143fd78530b1eafad987eda
[ "Apache-2.0" ]
245
2016-12-02T14:13:32.000Z
2018-01-14T20:00:40.000Z
src/dune_rules/artifact_substitution.ml
janestreet/jbuilder
863174b353146a5af143fd78530b1eafad987eda
[ "Apache-2.0" ]
380
2017-01-28T18:46:52.000Z
2018-01-17T13:34:51.000Z
src/dune_rules/artifact_substitution.ml
janestreet/jbuilder
863174b353146a5af143fd78530b1eafad987eda
[ "Apache-2.0" ]
59
2016-12-02T13:58:19.000Z
2018-01-06T18:23:02.000Z
open Import (* Artifact substitutions works as follow: the substitution is encoded as a string of the form: {v %%DUNE_PLACEHOLDER:<len>:<symbolic-value>%% v} Where: - [<len>] is the full length of the encoded string - [<symbolic-value>] is an encoding of a [Value.t] For instance: "%%DUNE_PLACEHOL...
38.467446
80
0.584411
afae2b7ecf7402c7061cdd2ce8403b1c0cf0c3bb
2,529
ml
OCaml
example/echo/echo.ml
atolab/apero-net
d21290610d06a36f1ee571dea475f25ed5735151
[ "Apache-2.0" ]
4
2019-07-30T09:02:46.000Z
2020-06-06T04:48:21.000Z
example/echo/echo.ml
atolab/apero-net
d21290610d06a36f1ee571dea475f25ed5735151
[ "Apache-2.0" ]
null
null
null
example/echo/echo.ml
atolab/apero-net
d21290610d06a36f1ee571dea475f25ed5735151
[ "Apache-2.0" ]
null
null
null
open Apero_net open Cmdliner (* Make the service with the TcpService functor *) module EchoService = TcpService.Make (Apero.MVar_lwt) module Config = TcpService.Config (* The first step is to define the message that will be used to communicate between TcpService and the service implementation *) module Message...
35.125
101
0.699091
af64c5d52b0c531fa612257371a806bb65e854aa
10,993
ml
OCaml
src/typing/sigHash.ml
mourner/flow
8bb9d4ef01786d18b9033f16fb0c6eec21f4b0eb
[ "MIT" ]
null
null
null
src/typing/sigHash.ml
mourner/flow
8bb9d4ef01786d18b9033f16fb0c6eec21f4b0eb
[ "MIT" ]
null
null
null
src/typing/sigHash.ml
mourner/flow
8bb9d4ef01786d18b9033f16fb0c6eec21f4b0eb
[ "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. *) (* Hash of signatures. Signature are just "resolved" types that serve to describe module exports. See Merge_js for how sign...
25.98818
80
0.692986
af7bb4fda167b7b9335d8a81aff40556462fd3df
8,188
ml
OCaml
src/dune_rules/preprocess.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
null
null
null
src/dune_rules/preprocess.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
1
2017-12-08T01:25:07.000Z
2017-12-08T01:25:07.000Z
src/dune_rules/preprocess.ml
jeremiedimino/dune
ba112ce967bb9307db7d92efcb13c603724947e5
[ "MIT" ]
1
2017-12-07T21:21:12.000Z
2017-12-07T21:21:12.000Z
open! Dune_engine open Stdune open Dune_lang.Decoder module Pps_and_flags = struct let decode = let+ loc = loc and+ l, flags = until_keyword "--" ~before:String_with_vars.decode ~after:(repeat String_with_vars.decode) and+ syntax_version = Dune_lang.Syntax.get_exn Stanza.syntax in let p...
30.781955
81
0.604055