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
1773536c1e650d146c57f52fad8983a086e8b038
12,470
mll
OCaml
src/frontend/lexer.mll
nhuurre/stanc3
5612b357c1cd5a08cf2a57db97ce0e789bb87018
[ "BSD-3-Clause" ]
null
null
null
src/frontend/lexer.mll
nhuurre/stanc3
5612b357c1cd5a08cf2a57db97ce0e789bb87018
[ "BSD-3-Clause" ]
null
null
null
src/frontend/lexer.mll
nhuurre/stanc3
5612b357c1cd5a08cf2a57db97ce0e789bb87018
[ "BSD-3-Clause" ]
null
null
null
(** The lexer that will feed into the parser. An OCamllex file. *) { module Stack = Core_kernel.Stack open Lexing open Debugging open Preprocessor (* Boilerplate for getting line numbers for errors *) let incr_linenum lexbuf = let pos = lexbuf.lex_curr_p in lexbuf.lex_curr_p <- { pos with pos_...
56.171171
184
0.441299
1763b67c160e80051bd53276d676ccc72614f794
133,240
mli
OCaml
src/gg.mli
dbuenzli/gg
8f761c278d0b2ee2adb94f9fbc033f1bfd76e536
[ "BSD-3-Clause" ]
33
2015-03-26T23:15:45.000Z
2021-12-22T00:15:29.000Z
src/gg.mli
dbuenzli/gg
8f761c278d0b2ee2adb94f9fbc033f1bfd76e536
[ "BSD-3-Clause" ]
20
2015-03-30T08:30:52.000Z
2022-02-14T22:17:02.000Z
src/gg.mli
dbuenzli/gg
8f761c278d0b2ee2adb94f9fbc033f1bfd76e536
[ "BSD-3-Clause" ]
11
2015-09-03T17:53:56.000Z
2020-09-05T06:54:15.000Z
(*--------------------------------------------------------------------------- Copyright (c) 2013 The gg programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (*...
32.898765
80
0.580899
171d7cd2a987542e878b2a3c063f5b3fb9731619
429
mli
OCaml
src/lib/snarky_group_map/checked_map.mli
olton/mina
35a0be706602a3187a21ba757c89d197ff914d7e
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/lib/snarky_group_map/checked_map.mli
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/lib/snarky_group_map/checked_map.mli
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
open Core_kernel open Snarky_backendless val wrap : 'f Snark.m -> potential_xs:('input -> 'f Cvar.t * 'f Cvar.t * 'f Cvar.t) -> y_squared:(x:'f Cvar.t -> 'f Cvar.t) -> ('input -> 'f Cvar.t * 'f Cvar.t) Staged.t module Make (M : Snarky_backendless.Snark_intf.Run) (Params : sig val params : M.field...
25.235294
63
0.615385
bcd8598ab991675bad3cc67f20d26fb6274507e8
185,858
ml
OCaml
src/lib/consensus/proof_of_stake.ml
spaweb/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
2
2021-12-25T09:08:21.000Z
2021-12-26T02:56:33.000Z
src/lib/consensus/proof_of_stake.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
null
null
null
src/lib/consensus/proof_of_stake.ml
umiterkol/mina
af76cb7980d5e81e704120290a850ea9c6f8522e
[ "Apache-2.0" ]
null
null
null
open Async_kernel open Core_kernel open Signed open Unsigned open Currency open Fold_lib open Signature_lib open Snark_params open Bitstring_lib open Num_util module Time = Block_time module Run = Snark_params.Tick.Run module Graphql_base_types = Graphql_lib.Base_types module Length = Mina_numbers.Length let make_chec...
40.651356
313
0.632714
176941d0153ca56b2394f403e71263ad90959f9a
10,152
mli
OCaml
vxml.mli
jrrk2/sysver2ver
2b663134d17def19c3248feb24194f02105d1dae
[ "BSD-2-Clause" ]
2
2020-05-04T23:27:49.000Z
2022-03-16T23:02:05.000Z
vxml.mli
jrrk2/sysver2ver
2b663134d17def19c3248feb24194f02105d1dae
[ "BSD-2-Clause" ]
null
null
null
vxml.mli
jrrk2/sysver2ver
2b663134d17def19c3248feb24194f02105d1dae
[ "BSD-2-Clause" ]
null
null
null
(* BSD 2-Clause License Copyright (c) 2018, jrrk 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 notice, this list of conditions and t...
26.78628
168
0.697695
173ecba3eeaff68720a1a7f84af4c08405d2ec93
226
mli
OCaml
libraries/rds/lib/describeDBSecurityGroups.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/rds/lib/describeDBSecurityGroups.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/rds/lib/describeDBSecurityGroups.mli
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = DescribeDBSecurityGroupsMessage.t type output = DBSecurityGroupMessage.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
20.545455
85
0.778761
1781726e8cc33880d9829b3089bfb3194bf4c54a
1,915
ml
OCaml
examples/ocaml/attic/test.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
5
2019-10-02T20:04:19.000Z
2021-11-04T10:04:53.000Z
examples/ocaml/attic/test.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
examples/ocaml/attic/test.ml
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2018 The brzo programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) open B0_std let () = ...
43.522727
79
0.585901
1721e2ccd57a01386224aa0a38486c29b04799fe
343
ml
OCaml
data/derived/comb/progs/unify/prog4045.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/prog4045.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog4045.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
type expr = | VarX | VarY | Sine of expr | Cosine of expr | Average of expr* expr | Times of expr* expr | Thresh of expr* expr* expr* expr;; let pi = 4.0 *. (atan 1.0);; let rec eval (e,x,y) = match e with | VarX -> x | VarY -> y | Sine e -> sin (pi * (eval (e, x, y))) | Cosine e -> cos (pi...
18.052632
45
0.51312
1767003cbef19f83a5f211c768b4ba470f673b63
1,064
ml
OCaml
src/rresult_result.ml
struktured/or_errors_rresult
f68fb26411d7f61d8e15461b5e8b5ae3c7074172
[ "MIT" ]
1
2020-04-29T20:13:25.000Z
2020-04-29T20:13:25.000Z
src/rresult_result.ml
struktured/or_errors_rresult
f68fb26411d7f61d8e15461b5e8b5ae3c7074172
[ "MIT" ]
null
null
null
src/rresult_result.ml
struktured/or_errors_rresult
f68fb26411d7f61d8e15461b5e8b5ae3c7074172
[ "MIT" ]
null
null
null
open Or_errors.Std module Impl = struct include Rresult.R let map t ~f = map f t let bind t f = (>>=) t f let ignore t = map t ~f:(fun _ -> ()) let all (t: ('a, 'b) t list) : ('a list, 'b) t = let folder acc e = if is_ok e then map acc ~f:(fun l -> get_ok e :: l) else error @@ get_error e in ...
20.862745
85
0.519737
aae65ac2a152b2250dd56d9cfde420465244f27d
10,159
ml
OCaml
x86/proofs/bignum_digitsize.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
33
2021-03-11T16:12:01.000Z
2022-03-06T17:01:18.000Z
x86/proofs/bignum_digitsize.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
8
2021-09-06T12:58:47.000Z
2022-01-03T16:43:09.000Z
x86/proofs/bignum_digitsize.ml
SalusaSecondus/s2n-bignum
bf33aba81577a72924a9add994cba61fbb146026
[ "Apache-2.0" ]
4
2021-03-11T19:28:16.000Z
2021-12-12T23:40:44.000Z
(* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "LICENSE" file ...
48.841346
103
0.652623
17733192954855449b20b5cf8a3fbd20c94049be
18,113
ml
OCaml
src/lib/daemon_rpcs/daemon_rpcs.ml
knarz/coda
efec9ba276083cef14a0cd81902e285cc9172e1d
[ "Apache-2.0" ]
null
null
null
src/lib/daemon_rpcs/daemon_rpcs.ml
knarz/coda
efec9ba276083cef14a0cd81902e285cc9172e1d
[ "Apache-2.0" ]
null
null
null
src/lib/daemon_rpcs/daemon_rpcs.ml
knarz/coda
efec9ba276083cef14a0cd81902e285cc9172e1d
[ "Apache-2.0" ]
null
null
null
open Core_kernel open Async open Coda_base open Signature_lib module Types = struct module Git_sha = struct type t = string [@@deriving sexp, to_yojson, bin_io, eq] let of_string s = s end module Status = struct let digest_entries ~title entries = let max_key_length = List.map ~f:(fun...
31.83304
80
0.636615
17685d98ac24f147bec7628adb04bd82aa363498
250
mli
OCaml
src/stats/stats.mli
ghennequin/dune
0693738306e5cbcbc4d64ea68ead9fbe650d32ea
[ "MIT" ]
1
2022-03-18T02:24:50.000Z
2022-03-18T02:24:50.000Z
src/stats/stats.mli
ghennequin/dune
0693738306e5cbcbc4d64ea68ead9fbe650d32ea
[ "MIT" ]
null
null
null
src/stats/stats.mli
ghennequin/dune
0693738306e5cbcbc4d64ea68ead9fbe650d32ea
[ "MIT" ]
1
2021-05-07T18:08:53.000Z
2021-05-07T18:08:53.000Z
type t type dst = | Out of out_channel | Custom of { write : string -> unit ; close : unit -> unit } val create : dst -> t val emit : t -> Chrome_trace.Event.t -> unit val record_gc_and_fd : t -> unit val close : t -> unit
14.705882
44
0.576
1722826d621997aeb254a9294fdc00a12d90ac00
1,388
ml
OCaml
omega/syntax.ml
rudynicolop/Lambda-Calculi-OCaml
2424f08143b455bf96f45f83674c64c8bdf87766
[ "MIT" ]
null
null
null
omega/syntax.ml
rudynicolop/Lambda-Calculi-OCaml
2424f08143b455bf96f45f83674c64c8bdf87766
[ "MIT" ]
null
null
null
omega/syntax.ml
rudynicolop/Lambda-Calculi-OCaml
2424f08143b455bf96f45f83674c64c8bdf87766
[ "MIT" ]
null
null
null
open Core (** Syntax. *) (** Kind syntax. *) type kind = KStar | KArrow of kind * kind let karrow k1 k2 = KArrow (k1,k2) (** Type syntax. *) type ('a,'b) typ = | TBot | TVar of 'a | TAbs of 'b * kind * ('a,'b) typ | TApp of ('a,'b) typ * ('a,'b) typ | TArrow of ('a,'b) typ * ('a,'b) typ let tvar a = TVar...
22.754098
66
0.543228
afdc8723ed1d3610bf18505ff6e05940e54c62c2
7,918
ml
OCaml
data/derived/comb/progs/unify/prog0178.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/unify/prog0178.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog0178.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
27.023891
148
0.633114
aabb4eddc76fa6fda8e9ee1b046d0429d4dd7a88
540
ml
OCaml
benchmarks/crazy2add/crazy2add/submissions/sub237.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
5
2019-08-26T05:41:41.000Z
2020-05-03T03:58:50.000Z
benchmarks/crazy2add/crazy2add/submissions/sub238.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
null
null
null
benchmarks/crazy2add/crazy2add/submissions/sub238.ml
kupl/TestML
55a6200222303bc06349f3379894f5174d47df5d
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
type crazy2 = NIL | ZERO of crazy2 | ONE of crazy2 | MONE of crazy2 let rec crazy2add (x, y) = match x, y with |a, NIL |NIL, a -> a |ZERO a, ZERO b |ONE a, MONE b |MONE a, ONE b -> ZERO (crazy2add (a, b)) |ONE a, ZERO b |ZERO a, ONE b -> ONE (crazy2add (a, b)) ...
36
74
0.507407
44e9a06c340a44d05cca2cbea3b32d574298fdea
21,786
ml
OCaml
src/qe/presburger.ml
farif/kind2
2ed04899525419b7eb57d99050d3fbb01cb41295
[ "Apache-2.0" ]
null
null
null
src/qe/presburger.ml
farif/kind2
2ed04899525419b7eb57d99050d3fbb01cb41295
[ "Apache-2.0" ]
null
null
null
src/qe/presburger.ml
farif/kind2
2ed04899525419b7eb57d99050d3fbb01cb41295
[ "Apache-2.0" ]
null
null
null
(* This file is part of the Kind 2 model checker. Copyright (c) 2015 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...
29.361186
99
0.486184
1762d5d4b30a968d739df8a3f653ad9715f295f8
2,416
mli
OCaml
src/dune_rules/ordered_set_lang.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
1,056
2018-01-17T23:27:17.000Z
2022-03-28T08:28:13.000Z
src/dune_rules/ordered_set_lang.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
3,824
2018-01-17T15:09:57.000Z
2022-03-31T14:46:35.000Z
src/dune_rules/ordered_set_lang.mli
mndrix/dune
30b84ff370351b13f05db34fd952dfe5d0249bcb
[ "MIT" ]
314
2018-01-21T13:57:15.000Z
2022-03-24T16:17:13.000Z
(** [Ordered_set_lang.t] is a sexp-based representation for an ordered list of strings, with some set like operations. *) open! Stdune open Dune_engine open Import type t val of_atoms : loc:Loc.t -> string list -> t val decode : t Dune_lang.Decoder.t (** Return the location of the set. [loc standard] returns [...
24.907216
80
0.649007
17729807c750c9f88bc72c2407a0d3065c1d86e5
15,836
ml
OCaml
hphp/hack/src/typing/nastInitCheck.ml
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/nastInitCheck.ml
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/nastInitCheck.ml
adityavs/hhvm
0fb64c1eb5160ff70c78587a54ed3d6428273282
[ "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. * *) (* Module checking that all the class members are properly initialized. * To be more precise, this checks that if t...
28.95064
80
0.607792
176a9ea2e3dcab7a91e037282624d0efd8700802
3,358
ml
OCaml
day-04/part-2/giltho.ml
evqna/adventofcode-2020
526bb9c87057d02bda4de9647932a0e25bdb3a5b
[ "MIT" ]
12
2020-11-30T19:22:18.000Z
2021-06-21T05:55:58.000Z
day-04/part-2/giltho.ml
evqna/adventofcode-2020
526bb9c87057d02bda4de9647932a0e25bdb3a5b
[ "MIT" ]
13
2020-11-30T17:27:22.000Z
2020-12-22T17:43:13.000Z
day-04/part-2/giltho.ml
evqna/adventofcode-2020
526bb9c87057d02bda4de9647932a0e25bdb3a5b
[ "MIT" ]
3
2020-12-01T08:49:40.000Z
2022-03-26T21:47:38.000Z
type field_name = Byr | Iyr | Eyr | Hgt | Hcl | Ecl | Pid | Cid [@@deriving enum, show] module Parse = struct open Angstrom let is_whitespace = function ' ' | '\n' -> true | _ -> false let isnt_whitespace = function ' ' | '\n' -> false | _ -> true let is_digit = function '0' .. '9' -> true | _ -> false l...
24.333333
78
0.555092
17768d9744439193eefeaf9a0edfa13345d44a08
139
ml
OCaml
test/tarai.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
1
2022-01-25T01:46:13.000Z
2022-01-25T01:46:13.000Z
test/tarai.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
null
null
null
test/tarai.ml
prg-titech/pmincaml
80810fc97df7f5d10340113eedb8be70a09de2f0
[ "Apache-2.0" ]
null
null
null
let rec tarai x y z = if x - 1 < y then y else tarai (tarai (x-1) y z) (tarai (y-1) z x) (tarai (z-1) x y) in print_int (tarai 10 5 0)
27.8
66
0.57554
175377b295ce823aba1dc83213a3189c8331b308
483
ml
OCaml
src/chapter04/section05/main.ml
imbsky/ocaml-asai
600cd4d8c4e7165d9efe729c7018dfe96cc4eae3
[ "Apache-2.0" ]
4
2019-11-10T22:24:39.000Z
2019-11-11T21:50:45.000Z
src/chapter04/section05/main.ml
imbsky/ocaml-asai
600cd4d8c4e7165d9efe729c7018dfe96cc4eae3
[ "Apache-2.0" ]
null
null
null
src/chapter04/section05/main.ml
imbsky/ocaml-asai
600cd4d8c4e7165d9efe729c7018dfe96cc4eae3
[ "Apache-2.0" ]
null
null
null
(* (1) # let jikyu = 850;; val jikyu : int = 850 # let baito_kyuyo year month = month * (jikyu + (year * 100));; val baito_kyuyo : int -> int -> int = <fun> (2) # let jikoshokai namae = "私の名前は" ^ namae ^ "です。よろしくお願いします。";; val jikoshokai : string -> string = <fun> (3) # let hyojun_taiju shincho = shincho *. shinc...
23
63
0.602484
170f8967e58182439c11f627cdfbfe99cfd7b6ae
1,276
mli
OCaml
minos/options.mli
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
58
2015-04-02T11:56:51.000Z
2022-02-19T21:13:43.000Z
minos/options.mli
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
12
2015-09-05T01:38:17.000Z
2020-08-28T16:39:15.000Z
minos/options.mli
chubbymaggie/bap-plugins
d61192ae1d47a62e764a74d285fac649219a4560
[ "MIT" ]
21
2015-04-01T20:57:22.000Z
2021-11-23T07:13:05.000Z
(** The order of processing is: 1) Generate cut groups (all pairs of sources and sinks) 2) Generate trims (valid cut groups where sources occur before sinks) 3) Generate paths over trims (includes invalid paths that may not end with sink) 4) Produce paths for analysis *) type options = { check : ...
45.571429
74
0.689655
1755af10c9116b75b2a6f1f7961c30abdbfdd663
4,198
ml
OCaml
backend/cn/sctypes.ml
SamB/cerberus
680fe1f71247988cd5802ceefefefbbd4ef78ed6
[ "BSD-2-Clause" ]
null
null
null
backend/cn/sctypes.ml
SamB/cerberus
680fe1f71247988cd5802ceefefefbbd4ef78ed6
[ "BSD-2-Clause" ]
null
null
null
backend/cn/sctypes.ml
SamB/cerberus
680fe1f71247988cd5802ceefefefbbd4ef78ed6
[ "BSD-2-Clause" ]
null
null
null
open Cerb_frontend (* copying some things over from frontend/model/ctype.lem *) (* copying subset of Ctype.ctype *) module IntegerBaseTypes = struct type integerBaseType = Ctype.integerBaseType = | Ichar | Short | Int_ | Long | LongLong (* Things defined in the standard libraries *) | In...
23.988571
62
0.62768
bcb8775bb9adea01e860f8dd00a203b3a7fd3d22
1,707
ml
OCaml
vendor/odoc_parser/ast.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
684
2018-05-24T14:14:06.000Z
2022-03-14T21:13:22.000Z
vendor/odoc_parser/ast.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
439
2018-05-25T21:16:18.000Z
2021-12-03T11:28:10.000Z
vendor/odoc_parser/ast.ml
hartmut27/reason-language-server
a7cccf8bb3e6ae221da84ee3f68c5eed8d25c204
[ "MIT" ]
107
2018-05-30T23:53:50.000Z
2022-01-10T10:50:53.000Z
module Path = Paths.Path module Reference = Paths.Reference module Identifier = Paths.Identifier module Comment = Comment type 'a with_location = 'a Location_.with_location type reference_kind = [ `Simple | `With_text ] type inline_element = [ | `Space | `Word of string | `Code_span of string | `Styled of ...
26.671875
74
0.711189
aa20fabbad62a0fe2ef4ab7e6c3633cf2261bf56
7,755
ml
OCaml
data/derived/comb/progs/unify/prog2370.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
4
2017-07-04T22:30:05.000Z
2021-03-29T14:44:52.000Z
data/derived/sp14/progs/unify/prog2370.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog2370.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
25.85
148
0.673501
aa768283cbee76ca2a994e17d445b8c45f893ddb
961
ml
OCaml
tls/albatross_tls_inetd.ml
kit-ty-kate/albatross
4c619ee15cc21bc71fdc8da625b64c38cfdb81aa
[ "ISC" ]
null
null
null
tls/albatross_tls_inetd.ml
kit-ty-kate/albatross
4c619ee15cc21bc71fdc8da625b64c38cfdb81aa
[ "ISC" ]
null
null
null
tls/albatross_tls_inetd.ml
kit-ty-kate/albatross
4c619ee15cc21bc71fdc8da625b64c38cfdb81aa
[ "ISC" ]
null
null
null
(* (c) 2018 Hannes Mehnert, all rights reserved *) open Lwt.Infix open Albatross_tls_common let jump cacert cert priv_key tmpdir = Sys.(set_signal sigpipe Signal_ignore) ; Albatross_cli.set_tmpdir tmpdir; Lwt_main.run (tls_config cacert cert priv_key >>= fun config -> let fd = Lwt_unix.of_unix_file_des...
30.03125
82
0.621228
17983f52755de79b4456425c1723f5a396c655a7
2,712
ml
OCaml
hphp/hack/src/providers/decl_service_client.ml
gaurav1086/hhvm
44b0edc7a9186a4ccc04ecbba0f5cf52619d37e0
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-17T02:24:38.000Z
2020-01-17T02:24:38.000Z
hphp/hack/src/providers/decl_service_client.ml
gaurav1086/hhvm
44b0edc7a9186a4ccc04ecbba0f5cf52619d37e0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/providers/decl_service_client.ml
gaurav1086/hhvm
44b0edc7a9186a4ccc04ecbba0f5cf52619d37e0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) open Core_kernel type t = { hhi_root: Path.t; rpc_get_gconst: string -> Typing_defs.decl_ty option; } let rpc_get_gconst...
35.220779
80
0.689159
176fc8190f3ac3a8cc12f1fc28338a4f9e1f2e52
17,642
ml
OCaml
hphp/hack/src/hh_fanout/incremental.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_fanout/incremental.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/hh_fanout/incremental.ml
xtaofb/hhvm
5a5d2787039965fa12d36d30820a724a5c0f041d
[ "PHP-3.01", "Zend-2.0" ]
1
2021-01-29T08:44:22.000Z
2021-01-29T08:44:22.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) module Hh_bucket = Bucket open Hh_prelude type client_id = Client_id of string type cursor_id = Cursor_id of string type de...
36.830898
87
0.643181
bc6bf45d6f92130b987021e820383368b751630c
3,922
ml
OCaml
ast/ast_annotate.ml
goofin/crud
c74c1157e26f17cbb3ae34de195451f6bcb3b23c
[ "Apache-2.0" ]
3
2020-09-26T02:13:05.000Z
2020-09-26T02:36:57.000Z
ast/ast_annotate.ml
goofin/crud
c74c1157e26f17cbb3ae34de195451f6bcb3b23c
[ "Apache-2.0" ]
null
null
null
ast/ast_annotate.ml
goofin/crud
c74c1157e26f17cbb3ae34de195451f6bcb3b23c
[ "Apache-2.0" ]
null
null
null
open Base open Stdio type location = { file: string ; start_line: int ; start_pos: int ; end_line: int ; end_pos: int } [@@deriving (sexp, hash, compare)] type 'a t = { node: 'a ; loc: location } let normalize t i = if i < 0 then i + String.length t else i let slice t start stop = let stop...
25.633987
93
0.615247
175ac91bb8cc9d9238f7c9ff8f92d10c3fa72223
2,388
ml
OCaml
src/ppx/signature.ml
green-labs/ppx_spice
9becfd02146c529cc2108cb5a3c3ad4db76393ef
[ "MIT" ]
10
2021-11-01T02:41:05.000Z
2022-01-09T14:14:54.000Z
src/ppx/signature.ml
mattdamon108/ppx_spice
82ef119e08372d78d5f1ad35f08abd54de37d03d
[ "MIT" ]
5
2021-10-30T09:48:16.000Z
2021-11-12T03:21:30.000Z
src/ppx/signature.ml
mattdamon108/ppx_spice
82ef119e08372d78d5f1ad35f08abd54de37d03d
[ "MIT" ]
1
2021-11-12T03:06:33.000Z
2021-11-12T03:06:33.000Z
open Ppxlib open Parsetree open Utils let rec add_encoder_params param_names result_type = match param_names with | [] -> result_type | hd :: tl -> [%type: ([%t Ast_helper.Typ.var hd] -> Js.Json.t) -> [%t result_type]] |> add_encoder_params tl let make_result_type value_type = [%type: ([%t value_t...
27.448276
78
0.639028
aab92d86b44f00dd19b2568ecc00f4db955cfe25
10,746
ml
OCaml
syntax/pickle_class.ml
jaked/deriving
c7b9cea3eb4bbfb9e09673faf725f70247c9df78
[ "MIT" ]
8
2015-09-23T06:25:30.000Z
2022-03-27T11:28:54.000Z
syntax/pickle_class.ml
jaked/deriving
c7b9cea3eb4bbfb9e09673faf725f70247c9df78
[ "MIT" ]
null
null
null
syntax/pickle_class.ml
jaked/deriving
c7b9cea3eb4bbfb9e09673faf725f70247c9df78
[ "MIT" ]
1
2019-08-15T22:20:41.000Z
2019-08-15T22:20:41.000Z
(*pp camlp4of *) (* Copyright Jeremy Yallop 2007. This file is free software, distributed under the MIT license. See the file COPYING for details. *) module InContext (L : Base.Loc) = struct open Base open Utils open Type open Camlp4.PreCast include Base.InContext(L) module UT = Type.Untranslate(L) ...
42.474308
110
0.542434
aa360d36196e39d1f125cee1c3c4cb3227d935a8
2,456
mli
OCaml
src/instr.mli
marcelgoh/opythn
923e71635c6850a115bb4bf14fa6eb75b8ac852a
[ "MIT" ]
3
2019-03-18T21:05:10.000Z
2019-09-02T00:36:17.000Z
src/instr.mli
marcelgoh/opythn
923e71635c6850a115bb4bf14fa6eb75b8ac852a
[ "MIT" ]
null
null
null
src/instr.mli
marcelgoh/opythn
923e71635c6850a115bb4bf14fa6eb75b8ac852a
[ "MIT" ]
null
null
null
(* Interface for instructions *) (* pointer to block of code *) type 'a block = { name : string; ptr : 'a DynArray.t ref; [@opaque] } [@@deriving show] (* type for single bytecode instruction *) type t = (* stack operations *) NOP | POP_TOP (* unary operations: TOS <- <op> TOS *) | UNARY_NEG | UNARY_NOT | UNA...
31.896104
74
0.6307
4488cc0224b75763829cd9aba0116fea92d61d4a
1,002
ml
OCaml
alds/alds1_11_b.ml
r6eve/oaoj
b3225208d6a6260e2d6219ca12fa3f44583ec2c2
[ "BSL-1.0" ]
null
null
null
alds/alds1_11_b.ml
r6eve/oaoj
b3225208d6a6260e2d6219ca12fa3f44583ec2c2
[ "BSL-1.0" ]
null
null
null
alds/alds1_11_b.ml
r6eve/oaoj
b3225208d6a6260e2d6219ca12fa3f44583ec2c2
[ "BSL-1.0" ]
null
null
null
let dfs vs n = let d = Array.make n 0 in let f = Array.make n 0 in let rec doit i time = d.(i) <- time; let time = List.fold_left (fun time v -> if d.(v-1) <> 0 then time else doit (v-1) time) (time + 1) vs.(i) in f.(i) <- time; time + 1 in Array.fold_left (fun (i, time) e ...
24.439024
74
0.5
177f14cc318088890c447670e387bb540c5c7dcd
1,364
mli
OCaml
src/deadObj.mli
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
75
2015-10-23T10:31:57.000Z
2021-09-08T11:08:33.000Z
src/deadObj.mli
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
10
2017-10-18T11:04:30.000Z
2019-10-03T12:42:28.000Z
src/deadObj.mli
vbgl/dead_code_analyzer
c44dc2ea5ccb13df2145e9316e21c39f09dad506
[ "MIT" ]
9
2015-11-09T16:10:05.000Z
2019-10-01T08:38:09.000Z
(***************************************************************************) (* *) (* Copyright (c) 2014-2016 LexiFi SAS. All rights reserved. *) (* *) (* Thi...
20.984615
77
0.46261
1757211f18a8ab6500495c20c4c5b9364f30b23a
8,445
ml
OCaml
hphp/hack/src/decl/decl_to_typing.ml
Jankyboy/hhvm
afae3b129fe51c74d9c169254d1755eec4cb0940
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/decl/decl_to_typing.ml
Jankyboy/hhvm
afae3b129fe51c74d9c169254d1755eec4cb0940
[ "PHP-3.01", "Zend-2.0" ]
2
2020-10-11T22:54:12.000Z
2021-07-20T22:12:10.000Z
hphp/hack/src/decl/decl_to_typing.ml
Jankyboy/hhvm
afae3b129fe51c74d9c169254d1755eec4cb0940
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) 2019, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) (** Helpers for the Decl_inheritance module. Converts Decl representations of class elements (Shallow_decl_defs...
25.984615
80
0.625104
179aa9dce79017f017ae91081b2c2732a10ae308
1,989
ml
OCaml
vendors/irmin-pack/pack_index.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
vendors/irmin-pack/pack_index.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
vendors/irmin-pack/pack_index.ml
osiz-blockchainapp/mica-hCoinSandbox
f877e01bbef8e748a52490bf0af599c654754148
[ "MIT" ]
null
null
null
(* Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS S...
28.414286
75
0.668678
1771f14e80264380ba7d1f9f020d1b6d3eb02f64
5,296
ml
OCaml
node_modules/bs-platform/lib/ocaml/belt_SetInt.ml
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
null
null
null
node_modules/bs-platform/lib/ocaml/belt_SetInt.ml
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
null
null
null
node_modules/bs-platform/lib/ocaml/belt_SetInt.ml
Et7f3/esy-glfw
cd10f4754ee3e0a1404e2cca7b3ed711230d5202
[ "Zlib" ]
null
null
null
# 2 "others/belt_Set.cppo.ml" module I = Belt_internalSetInt # 8 "others/belt_Set.cppo.ml" module N = Belt_internalAVLset module A = Belt_Array type value = I.value type t = I.t let empty = N.empty let isEmpty = N.isEmpty let minimum = N.minimum let minUndefined = N.minUndefined let maximum = N.maximum let ma...
26.217822
78
0.559668
aa8fa14bead569248b76618509d909431993c6ac
23,569
ml
OCaml
runtime-lib/runtime.ml
Sir4ur0n/ppx_inline_test
45a2e008e150d4938b2aded33e8946426c0a0979
[ "MIT" ]
null
null
null
runtime-lib/runtime.ml
Sir4ur0n/ppx_inline_test
45a2e008e150d4938b2aded33e8946426c0a0979
[ "MIT" ]
null
null
null
runtime-lib/runtime.ml
Sir4ur0n/ppx_inline_test
45a2e008e150d4938b2aded33e8946426c0a0979
[ "MIT" ]
null
null
null
module Test_result = struct type t = Success | Failure | Error let to_exit_code = function | Success -> 0 | Failure -> 2 | Error -> 1 ;; let to_string = function | Success -> "success" | Failure -> "failure" | Error -> "error" ;; let combine t1 t2 = match t1, t2 with |...
36.26
113
0.624167
1742ac86ff46d90d3b901b2bef1dacd1dd2e3d48
18,426
ml
OCaml
src/util/cilfacade.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
src/util/cilfacade.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
src/util/cilfacade.ml
mikcp/analyzer
c506fa4bfed6dfd4d81c549e7a4c59be8122a855
[ "MIT" ]
null
null
null
(** Helpful functions for dealing with [Cil]. *) open GobConfig open Cil module E = Errormsg module GU = Goblintutil let get_labelLoc = function | Label (_, loc, _) -> loc | Case (_, loc, _) -> loc | CaseRange (_, _, loc, _) -> loc | Default (loc, _) -> loc let rec get_labelsLoc = function | [] -> Cil.loc...
33.933702
148
0.658092
aa8bd052e7eeb5e9382015fb216de450e531c41e
969
ml
OCaml
src/dune_cache/config.ml
gf3/dune
c0c6bd0906f2ee8a6eed5c65723a70d2ddfb9378
[ "MIT" ]
1
2022-03-18T02:24:50.000Z
2022-03-18T02:24:50.000Z
src/dune_cache/config.ml
gf3/dune
c0c6bd0906f2ee8a6eed5c65723a70d2ddfb9378
[ "MIT" ]
null
null
null
src/dune_cache/config.ml
gf3/dune
c0c6bd0906f2ee8a6eed5c65723a70d2ddfb9378
[ "MIT" ]
1
2021-05-07T18:08:53.000Z
2021-05-07T18:08:53.000Z
open Stdune (* CR-someday amokhov: We should probably switch from float [check_probability] to integer [check_frequency], as in Jenga, to avoid generating random floats. *) (* CR-soon amokhov: That that the reproducibility check actually works. *) module Reproducibility_check = struct (* CR-someday amokhov: Add...
29.363636
83
0.691434
171a7e6455c3032a0ce12550be1dbba49bcec485
8,849
ml
OCaml
src/bin_codec/commands.ml
osiz-blockchainapp/micashV1.0
8c4efe0f59110210502f1bf9f19952ea053771e1
[ "MIT" ]
null
null
null
src/bin_codec/commands.ml
osiz-blockchainapp/micashV1.0
8c4efe0f59110210502f1bf9f19952ea053771e1
[ "MIT" ]
null
null
null
src/bin_codec/commands.ml
osiz-blockchainapp/micashV1.0
8c4efe0f59110210502f1bf9f19952ea053771e1
[ "MIT" ]
null
null
null
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2019 Nomadic Labs, <contact@nomadic-labs.com> *) ...
39.154867
80
0.52763
172e85691b598bbd7994a45ed31015e00f8b5534
1,466
mli
OCaml
source/interprocedural/callResolution.mli
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/interprocedural/callResolution.mli
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
source/interprocedural/callResolution.mli
joshkehn/pyre-check
922b62e78e4990d8d268bb2ebde5912ceea9e226
[ "MIT" ]
null
null
null
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Ast open Analysis (* Evaluates to the representation of literal strings, integers and enums. *) val extract_constant_name :...
34.904762
98
0.755116
1793d4d896a3c10c4deeb621b6131751a3ce4b9e
1,033
ml
OCaml
test/test_common.ml
EduardoRFS/sexplib
eb1594fed781dfc42a6bfe00b988e429a3cce1ef
[ "BSD-3-Clause", "MIT" ]
null
null
null
test/test_common.ml
EduardoRFS/sexplib
eb1594fed781dfc42a6bfe00b988e429a3cce1ef
[ "BSD-3-Clause", "MIT" ]
null
null
null
test/test_common.ml
EduardoRFS/sexplib
eb1594fed781dfc42a6bfe00b988e429a3cce1ef
[ "BSD-3-Clause", "MIT" ]
1
2022-02-15T01:39:47.000Z
2022-02-15T01:39:47.000Z
open Sexplib let () = Printexc.register_printer (function | Sexp.Parse_error { Sexp.err_msg; parse_state = _ } -> Some (Printf.sprintf "Sexp.parse_error {err_msg = %S}" err_msg) | _ -> None) ;; let wrap_in_context ?(no_following_sibling = false) () = [ (fun a -> a) ; (fun a -> "(" ^ a ^ ")") ; (...
24.595238
69
0.453049
44c023285646437891fe6ef24382242086472d50
1,357
ml
OCaml
src/day_02a.ml
ghostrider77/adventOfCode-2018
12585cd473330184f248a51a764c635d4932e9bd
[ "MIT" ]
null
null
null
src/day_02a.ml
ghostrider77/adventOfCode-2018
12585cd473330184f248a51a764c635d4932e9bd
[ "MIT" ]
null
null
null
src/day_02a.ml
ghostrider77/adventOfCode-2018
12585cd473330184f248a51a764c635d4932e9bd
[ "MIT" ]
null
null
null
module CharMap = Map.Make(Char) let read_lines (filename: string): string list = let channel = open_in filename in let rec loop (acc: string list): string list = try let line = input_line channel in loop (line :: acc) with End_of_file -> List.rev acc in let lines = ...
39.911765
119
0.666175
aaa24818db3adcb62ab407cba6b27528a9f14e1f
12,843
ml
OCaml
src/async_udp.ml
janestreet/async_udp
eb456b6dc59d59214fa2fa2b436335df77e7af31
[ "MIT" ]
12
2019-10-25T16:25:05.000Z
2021-12-17T02:50:36.000Z
src/async_udp.ml
janestreet/async_udp
eb456b6dc59d59214fa2fa2b436335df77e7af31
[ "MIT" ]
1
2020-09-03T16:41:49.000Z
2020-09-03T16:41:49.000Z
src/async_udp.ml
janestreet/async_udp
eb456b6dc59d59214fa2fa2b436335df77e7af31
[ "MIT" ]
1
2021-12-17T02:51:40.000Z
2021-12-17T02:51:40.000Z
open! Core open! Async open! Import open! Int.Replace_polymorphic_compare type write_buffer = (read_write, Iobuf.seek) Iobuf.t let default_capacity = 1472 let default_retry = 12 module Config = struct type t = { capacity : int ; init : write_buffer ; stop : unit Deferred.t ; max_ready : int } ...
32.350126
90
0.623842
174846e9a05c6eb9fdb8f2bdf12911989dc6022e
87
mli
OCaml
lib/bap_primus/bap_primus_exn.mli
dra27/bap
bc9679900822afac9c7f7f1dc098958bab217b0e
[ "MIT" ]
1,697
2015-01-09T07:17:41.000Z
2022-03-26T17:48:05.000Z
lib/bap_primus/bap_primus_exn.mli
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
685
2015-01-10T21:32:42.000Z
2022-03-23T23:44:53.000Z
lib/bap_primus/bap_primus_exn.mli
dvntaudio/bap
5cfc3e584ea32d6c0c33013e050fb1a1e8f260de
[ "MIT" ]
294
2015-01-10T15:51:57.000Z
2022-03-20T05:37:22.000Z
type t = .. val to_string : t -> string val add_printer : (t -> string option) -> unit
21.75
46
0.632184
178329e6edf7c6445b893f4ea1be48abb328c891
1,640
ml
OCaml
hash_heap/src/hash_heap_intf.ml
arbipher/core_kernel
458e0e04696c665bf845bb52c176541f489ed2bb
[ "MIT" ]
null
null
null
hash_heap/src/hash_heap_intf.ml
arbipher/core_kernel
458e0e04696c665bf845bb52c176541f489ed2bb
[ "MIT" ]
null
null
null
hash_heap/src/hash_heap_intf.ml
arbipher/core_kernel
458e0e04696c665bf845bb52c176541f489ed2bb
[ "MIT" ]
null
null
null
open! Core_kernel open! Import module type Key = Hashtbl.Key_plain module type S = sig module Key : Key type 'a t val create : ?min_size:int -> ('a -> 'a -> int) -> 'a t val copy : 'a t -> 'a t val push : 'a t -> key:Key.t -> data:'a -> [ `Ok | `Key_already_present ] val push_exn : 'a t -> key:Key.t -> ...
33.469388
86
0.564024
aae37bbe43b031a66c6ec903234c6ca651559ec2
33,501
ml
OCaml
final-backend-master/test/test.ml
shtevie/dating-app
6dd98f0bc0766f908a40220a80b3d99b6a8859ff
[ "MIT" ]
null
null
null
final-backend-master/test/test.ml
shtevie/dating-app
6dd98f0bc0766f908a40220a80b3d99b6a8859ff
[ "MIT" ]
null
null
null
final-backend-master/test/test.ml
shtevie/dating-app
6dd98f0bc0766f908a40220a80b3d99b6a8859ff
[ "MIT" ]
null
null
null
(** Test plan: The approach for our test plan was to ensure that each of our individual modules worked separately while also testing to make sure that they worked together. We tested automatically with Alcotest because it supports Lwt and is used by Opium, which we used to build our application. We...
38.243151
118
0.560401
172ce97cd05c1a6eba5caab33c60a478b53a12ce
1,030
mli
OCaml
particle.mli
mahsu/MariOCaml
9f04c69a3ec01c1f12da5ed9e22a60ce0f7aa5b0
[ "MIT" ]
574
2015-12-20T20:49:10.000Z
2022-01-05T21:59:26.000Z
particle.mli
carlosfrodrigues/MariOCaml
d2359260895b77390648ca5ad126a897e639e7e4
[ "MIT" ]
10
2015-12-21T03:22:19.000Z
2021-02-21T14:59:10.000Z
particle.mli
carlosfrodrigues/MariOCaml
d2359260895b77390648ca5ad126a897e639e7e4
[ "MIT" ]
98
2015-12-20T22:04:55.000Z
2021-10-21T13:35:52.000Z
open Actors open Sprite (* Template params associated with a particle *) type part_params = { sprite: Sprite.sprite; (* Backing sprite *) rot: float; (* Rotation *) lifetime: int; (* Life span *) } type particle = { params: part_params; part_type: Actors.part_typ; pos: Actors.xy; ...
32.1875
78
0.674757
173b98a7a9b7a39ec5bcface8436aa8d0f385114
7,282
ml
OCaml
src/parser_utils/signature_builder/signature_builder_kind.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "MIT" ]
null
null
null
src/parser_utils/signature_builder/signature_builder_kind.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "MIT" ]
null
null
null
src/parser_utils/signature_builder/signature_builder_kind.ml
fizker/flow
e1d0038042c2cba942ece36f96a0e1bd7fb138bd
[ "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_utils = Flow_ast_utils module Ast = Flow_ast module Annot_path = struct type t = | Annot of (Loc.t, Loc.t) Ast.Ty...
29.844262
96
0.643917
1750ac8d3e4674f0b7d484cb4bbde0bf711ae397
3,719
ml
OCaml
hphp/hack/src/client/colorFile.ml
cybernetics/hhvm
2d64184dd67068e02d3069bbc045bca031498465
[ "PHP-3.01", "Zend-2.0" ]
1
2019-04-22T08:48:33.000Z
2019-04-22T08:48:33.000Z
hphp/hack/src/client/colorFile.ml
cybernetics/hhvm
2d64184dd67068e02d3069bbc045bca031498465
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/client/colorFile.ml
cybernetics/hhvm
2d64184dd67068e02d3069bbc045bca031498465
[ "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 m...
35.419048
80
0.536972
174c3b038f1ed6283e013e03ae3b554a047040e6
7,858
ml
OCaml
data/derived/comb/progs/unify/prog7225.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/prog2411.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/fa15/progs/unify/prog2411.orig.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
(*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*) (*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX...
26.193333
148
0.690634
aafc3d9860bee3529936404aab170df4c8ef8898
35,797
ml
OCaml
src/lib_webassembly/interpreter/binary/encode.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_webassembly/interpreter/binary/encode.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
src/lib_webassembly/interpreter/binary/encode.ml
maiste-forks/tezos
ec9b0074da63e061fafa8635b5acba3e052f6df1
[ "MIT" ]
null
null
null
(* Version *) let version = 1l (* Errors *) module Code = Error.Make () exception Code = Code.Error (* Encoding stream *) type stream = { buf : Buffer.t; patches : (int * char) list ref } let stream () = {buf = Buffer.create 8192; patches = ref []} let pos s = Buffer.length s.buf let put s b = Buffer.add_ch...
39.294182
89
0.618627
bc56bb25df81af71a0314b75a09818aee1362edc
4,465
ml
OCaml
prf/PRF.ml
ale64bit/MATH.MA.770
77acea3f99f39bd08a4cb8e0f26176e25e8091b5
[ "MIT" ]
null
null
null
prf/PRF.ml
ale64bit/MATH.MA.770
77acea3f99f39bd08a4cb8e0f26176e25e8091b5
[ "MIT" ]
null
null
null
prf/PRF.ml
ale64bit/MATH.MA.770
77acea3f99f39bd08a4cb8e0f26176e25e8091b5
[ "MIT" ]
null
null
null
type var = string type app = string * var list type t = | Succ of string * var list * var | Const of string * var list * Nat.t | Id of string * var list * var | Subs of string * var list * string * app list | Ind0 of { ind0_base_f : string; ind0_base_zero : Nat.t; ind0_base_q : Nat.t; ...
30.793103
80
0.528779
bcb9c9c859d0f894134bfa846b4a15883e22c54e
19,450
ml
OCaml
src/ocaml-output/FStar_TypeChecker_PatternUtils.ml
antoniolocascio/FStar
b8b1265a0f98aa7a080d38d4d3c9d523154835d1
[ "Apache-2.0" ]
1
2021-06-24T15:16:56.000Z
2021-06-24T15:16:56.000Z
src/ocaml-output/FStar_TypeChecker_PatternUtils.ml
antoniolocascio/FStar
b8b1265a0f98aa7a080d38d4d3c9d523154835d1
[ "Apache-2.0" ]
null
null
null
src/ocaml-output/FStar_TypeChecker_PatternUtils.ml
antoniolocascio/FStar
b8b1265a0f98aa7a080d38d4d3c9d523154835d1
[ "Apache-2.0" ]
null
null
null
open Prims type lcomp_with_binder = (FStar_Syntax_Syntax.bv FStar_Pervasives_Native.option * FStar_TypeChecker_Common.lcomp) let rec (elaborate_pat : FStar_TypeChecker_Env.env -> FStar_Syntax_Syntax.pat -> FStar_Syntax_Syntax.pat) = fun env -> fun p -> let maybe_dot inaccessible a r = ...
52.853261
121
0.400411
1749f76e8390314df245e828bc2cbb2242e2e10a
7,390
ml
OCaml
infer/src/IR/SpecializeProcdesc.ml
clayne/infer
291b75d195b4adc2e6624a70aced05f6890f8299
[ "MIT" ]
2
2021-12-17T13:38:34.000Z
2021-12-17T14:06:53.000Z
infer/src/IR/SpecializeProcdesc.ml
clayne/infer
291b75d195b4adc2e6624a70aced05f6890f8299
[ "MIT" ]
null
null
null
infer/src/IR/SpecializeProcdesc.ml
clayne/infer
291b75d195b4adc2e6624a70aced05f6890f8299
[ "MIT" ]
2
2020-06-23T00:43:10.000Z
2022-03-24T06:24:50.000Z
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module L = Logging (** Applies f_instr_list to all the instructions in all the nodes of the cfg *) let convert_cfg ~call...
43.216374
101
0.676996
448bdd0fc6fb2cc73e6abd884692adf8220f2fd6
111
ml
OCaml
data/derived/comb/progs/unify/prog3237.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/prog3237.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
data/derived/sp14/progs/unify/prog3237.ml
ucsd-progsys/yunounderstand-data
4321f31638d3d8e8e9710dcf6ddb32929ab649bf
[ "CC0-1.0" ]
null
null
null
let pipe fs = let f a x = match x with | [] -> a | _ -> x a in let base = 0 in List.fold_left f base fs;;
22.2
50
0.54955
17056b223214a1dd422270b09f17610fe2d2e6bc
45
ml
OCaml
test/bundler_simple/mod2.ml
coord-e/mlml
ec34b1fe8766901fab6842b790267f32b77a2861
[ "MIT" ]
51
2019-04-06T14:22:22.000Z
2021-11-24T09:53:15.000Z
test/bundler_simple/mod2.ml
coord-e/mlml
ec34b1fe8766901fab6842b790267f32b77a2861
[ "MIT" ]
null
null
null
test/bundler_simple/mod2.ml
coord-e/mlml
ec34b1fe8766901fab6842b790267f32b77a2861
[ "MIT" ]
4
2019-12-30T01:08:42.000Z
2022-02-11T06:36:55.000Z
let print = List.iter print_int let id x = x
15
31
0.711111
175077006d9020390bebbe1e75bfd205fdb4921f
3,357
ml
OCaml
gen/code.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
gen/code.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
gen/code.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
26.642857
78
0.538576
17977d0c7caab38a9c4702ad1a8d7eea6254e42b
2,779
ml
OCaml
infer/src/base/MergeResults.ml
psibi/infer
b06bb42a02c54770a774acc5ed84c4050943bc19
[ "MIT" ]
null
null
null
infer/src/base/MergeResults.ml
psibi/infer
b06bb42a02c54770a774acc5ed84c4050943bc19
[ "MIT" ]
null
null
null
infer/src/base/MergeResults.ml
psibi/infer
b06bb42a02c54770a774acc5ed84c4050943bc19
[ "MIT" ]
null
null
null
(* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open! IStd module L = Logging let merge_procedures_table ~db_file = let db = ResultsDatabase.get_database () in (* Do the merge purel...
37.554054
133
0.72652
aacb8e30533e46e706238786aabe104bf58a3ce4
124
ml
OCaml
benchmarks/C/iter/sol448.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
9
2021-06-04T04:38:13.000Z
2021-12-15T05:45:28.000Z
benchmarks/C/iter/sol448.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
null
null
null
benchmarks/C/iter/sol448.ml
kupl/LearnML
933f6c61f8a24493e1c2c8acf5c93827ee190d2a
[ "MIT" ]
2
2020-02-06T00:36:38.000Z
2020-07-27T09:53:35.000Z
let rec iter : int * (int -> int) -> (int -> int) = fun (n,f) -> if n=0 then fun x -> x else fun x -> f(iter(n-1, f) x);;
41.333333
71
0.483871
17278a4aff703b3092508cf87bf32314a9161da6
2,008
mli
OCaml
upstream/ocaml_403/typing/includecore.mli
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
961
2020-09-15T11:01:50.000Z
2022-03-26T00:25:17.000Z
upstream/ocaml_403/typing/includecore.mli
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
83
2020-09-27T18:51:24.000Z
2022-03-08T10:57:53.000Z
upstream/ocaml_403/typing/includecore.mli
rvantonder/merlin
09d6b2762f0be7129decae97bc2d87fc854bbbce
[ "MIT" ]
26
2020-10-13T10:39:13.000Z
2021-12-07T04:57:33.000Z
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
37.886792
80
0.456673
171a74db7336ce457b0eafadae131799c40131d4
986
mli
OCaml
libraries/rds/lib/listTagsForResource.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/rds/lib/listTagsForResource.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/rds/lib/listTagsForResource.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Lists all tags on an Amazon RDS resource.</p> <p>For an overview on tagging an Amazon RDS resource, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html\">Tagging Amazon RDS Resources</a> in the <i>Amazon RDS User Guide</i>.</p>" *) open Types[@@ocaml.warning "-33"] open Aw...
44.818182
278
0.703854
aa858069f0efbc0a1c3f90568432d93bc5ff65fc
5,155
ml
OCaml
lib/mirage/target/libvirt.ml
TheLortex/mirage
14207fa4f218666c1d09feda4c76350c333976b8
[ "0BSD" ]
1
2019-06-21T11:36:06.000Z
2019-06-21T11:36:06.000Z
lib/mirage/target/libvirt.ml
TheLortex/mirage
14207fa4f218666c1d09feda4c76350c333976b8
[ "0BSD" ]
1
2021-05-01T14:13:41.000Z
2021-05-03T09:09:44.000Z
lib/mirage/target/libvirt.ml
TheLortex/mirage
14207fa4f218666c1d09feda4c76350c333976b8
[ "0BSD" ]
null
null
null
open Functoria let filename ~name = Fpath.(v (name ^ "_libvirt") + "xml") let append fmt s = Fmt.pf fmt (s ^^ "@.") let configure_main ~name = Action.with_output ~path:(filename ~name) ~purpose:"libvirt.xml" (fun fmt -> append fmt "<domain type='xen'>"; append fmt " <name>%s</name>" name; appe...
48.632075
81
0.525897
aac7bd457937f093d1590ace88c5dc8062467d5a
216
mli
OCaml
libraries/cloudformation/lib/listTypeVersions.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/cloudformation/lib/listTypeVersions.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/cloudformation/lib/listTypeVersions.mli
skolemlabs/ocaml-aws-pub
50a21c5b825bac43a8cf332b2da405578c416182
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types type input = ListTypeVersionsInput.t type output = ListTypeVersionsOutput.t type error = Errors_internal.t include Aws.Call with type input := input and type output := output and type error := error
19.636364
85
0.768519
17662aa8d62030369d540bcb91f550d613694d22
12,867
ml
OCaml
src/passes/09.5-inference/worklist_and_pending.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
2
2021-03-06T12:11:41.000Z
2021-11-21T13:54:18.000Z
src/passes/09.5-inference/worklist_and_pending.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
4
2021-11-10T15:04:00.000Z
2022-01-14T07:49:14.000Z
src/passes/09.5-inference/worklist_and_pending.ml
Zett98/ligolang
5217d4afa1f88401b3880c59aa553cd3aba3d627
[ "MIT" ]
1
2022-03-30T09:12:37.000Z
2022-03-30T09:12:37.000Z
open Trace open Typer_common.Errors open Ast_core.Types open Solver_types module M = functor (Solver_instance : sig type indexers_plugins_states end) -> struct open Solver_instance module SRope = Rope.SimpleRope let rec until predicate f state = if predicate state then state else let state = f state in until predi...
59.569444
245
0.560115
aa60450f62d40b24805e5205bdac012411af00c3
179
mli
OCaml
compiler_prev/lib/Typechecker/ExpandPats.mli
nilern/mulled
45df2af868542be92202ea0aca2c8dc489418d2b
[ "BSD-3-Clause" ]
6
2018-11-27T02:03:49.000Z
2020-06-16T11:21:18.000Z
compiler_prev/lib/Typechecker/ExpandPats.mli
nilern/mulled
45df2af868542be92202ea0aca2c8dc489418d2b
[ "BSD-3-Clause" ]
65
2019-10-17T14:56:37.000Z
2020-08-31T18:54:20.000Z
compiler_prev/lib/Typechecker/ExpandPats.mli
broom-lang/broom
c91b155e4385f498112afac5bc26f0e33e87459e
[ "BSD-3-Clause" ]
1
2019-10-17T16:23:27.000Z
2019-10-17T16:23:27.000Z
module T = Fc.Type module E = Fc.Term.Expr module Make (Env : TyperSigs.ENV) (K : TyperSigs.KINDING with type env = Env.t) : TyperSigs.EXPAND_PATS with type env = Env.t
19.888889
49
0.681564
bca1bc754972a1b0614012c897289baf133a39d4
1,691
ml
OCaml
libraries/ec2/lib/describeFpgaImages.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
134
2016-01-11T19:35:49.000Z
2022-02-19T15:57:41.000Z
libraries/ec2/lib/describeFpgaImages.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
66
2016-01-12T00:32:47.000Z
2022-03-31T03:34:49.000Z
libraries/ec2/lib/describeFpgaImages.ml
anuragsoni/ocaml-aws
4acdbcdc95449e7c5f08528f472d25986dd4f8a2
[ "BSD-3-Clause" ]
33
2016-01-11T23:13:26.000Z
2022-03-28T23:49:11.000Z
open Types open Aws type input = DescribeFpgaImagesRequest.t type output = DescribeFpgaImagesResult.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.Util.of_option_exn (Endpoints....
27.274194
92
0.624483
17a53786d85c12c06709035ad9786000a01896e8
11,589
ml
OCaml
srk/src/termination.ml
happypig95/duet
fe630be73ba7f55e8d1973f3c364aa37da159607
[ "MIT" ]
1
2021-12-14T06:46:12.000Z
2021-12-14T06:46:12.000Z
srk/src/termination.ml
happypig95/duet
fe630be73ba7f55e8d1973f3c364aa37da159607
[ "MIT" ]
null
null
null
srk/src/termination.ml
happypig95/duet
fe630be73ba7f55e8d1973f3c364aa37da159607
[ "MIT" ]
null
null
null
open Abstract open Syntax open SrkApron open Printf open BatEnum module TLLRF = TerminationLLRF module TDTA = TerminationDTA module Vec = Linear.QQVector module Mat = Linear.QQMatrix module NL = NestedLoops include Log.Make(struct let name = "Termination" end) type typ_ineq = Tylt0 | Tyeq0 | Tyleq0 let rec print_fi...
35.012085
137
0.666926
17a05943476d0f7191682a3481e8a7fb3b1e4a9b
211
ml
OCaml
pkg/pkg.ml
dra27/syslog-message
9e41963067b7bf78f8253bb6d5334262437828dd
[ "BSD-2-Clause" ]
null
null
null
pkg/pkg.ml
dra27/syslog-message
9e41963067b7bf78f8253bb6d5334262437828dd
[ "BSD-2-Clause" ]
null
null
null
pkg/pkg.ml
dra27/syslog-message
9e41963067b7bf78f8253bb6d5334262437828dd
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env ocaml #use "topfind" #require "topkg" open Topkg let () = Pkg.describe "syslog-message" @@ fun _ -> Ok [ Pkg.mllib "src/syslog-message.mllib"; Pkg.test "test/test_syslog_message" ]
17.583333
43
0.649289
174be421f88f7c8a937ffb8f6c1a22f545330a30
179
ml
OCaml
src/fun/examples/ack.ml
mcaos/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
4
2019-02-14T21:09:35.000Z
2020-10-07T12:19:30.000Z
src/fun/examples/ack.ml
matteobusi/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
null
null
null
src/fun/examples/ack.ml
matteobusi/incremental-mincaml
e440f7afdb49f6e6bbda0fdcba022df9498c8c9e
[ "BSD-3-Clause" ]
1
2020-10-28T16:14:22.000Z
2020-10-28T16:14:22.000Z
let rec ack (x : int) (y : int) : int = if x <= 0 then y + 1 else if y <= 0 then ack (x - 1) 1 else ack (x - 1) (ack x (y - 1)) in print_int(ack 3 10)
16.272727
39
0.446927
17a460b2675aed7ff1d8c020125843c4ada6e651
2,519
mli
OCaml
infer/src/nullsafe/AnnotatedNullability.mli
abs12seth/infer
90d0aa992ca57cc9ad51cd7dda732157ab21b9a8
[ "MIT" ]
null
null
null
infer/src/nullsafe/AnnotatedNullability.mli
abs12seth/infer
90d0aa992ca57cc9ad51cd7dda732157ab21b9a8
[ "MIT" ]
null
null
null
infer/src/nullsafe/AnnotatedNullability.mli
abs12seth/infer
90d0aa992ca57cc9ad51cd7dda732157ab21b9a8
[ "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 (** Nullability of a type in Java program (e.g. in a function or field declaration). It might come from explicit an...
44.192982
117
0.737197
17a2810aa98ff7c5ca97fdff4496c8eca341c0a8
77,043
ml
OCaml
hphp/hack/src/typing/typing_toplevel.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_toplevel.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/typing/typing_toplevel.ml
muglug/hhvm
fdc0f02b0a10a133d9b2f6fc1216617bac17e8bd
[ "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. * *) (* This module implements the typing. * * Given an Nast.program, it infers the type of all the local * variables,...
34.409558
109
0.631725
1715be61bdae001cd682440a4c605765af20421c
9,038
ml
OCaml
hphp/hack/src/server/serverInit.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverInit.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/server/serverInit.ml
Ahsan1350/hhvm
baa987a6decbe4f490a8635c2786a413b2028a45
[ "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 open Result.Export open SearchServiceRunner open ServerEnv module SLC = ServerLocalConfig include Se...
35.167315
90
0.705908
1706b3c767638377a5189ec7db0a8e52e4ba2db8
1,812
mly
OCaml
src/codegen/bare_parser.mly
c-cube/bare-ocaml
d4705aedb1d1cd0dd24658a9d9deaa75b3165779
[ "MIT" ]
19
2020-09-01T06:12:11.000Z
2022-01-24T19:17:47.000Z
src/codegen/bare_parser.mly
c-cube/bare-ocaml
d4705aedb1d1cd0dd24658a9d9deaa75b3165779
[ "MIT" ]
3
2020-09-04T15:56:56.000Z
2020-09-21T21:58:01.000Z
src/codegen/bare_parser.mly
c-cube/bare-ocaml
d4705aedb1d1cd0dd24658a9d9deaa75b3165779
[ "MIT" ]
2
2020-09-05T10:30:05.000Z
2020-09-11T14:51:51.000Z
%{ open Ast open Ast.P %} %token EOF %token LEFT_PAREN %token RIGHT_PAREN %token LEFT_BRACKET %token RIGHT_BRACKET %token LEFT_BRACE %token RIGHT_BRACE %token LEFT_ANGLE %token RIGHT_ANGLE %token TYPE %token COMMA %token COLON %token EQUAL %token PIPE %token ENUM %token OPTIONAL %token MAP %token DATA %token <...
18.875
84
0.638521
1708392272e5d526be6d0e387d49b908cadeba2f
9,666
ml
OCaml
src/parser/enum_parser.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
1
2021-04-04T14:30:02.000Z
2021-04-04T14:30:02.000Z
src/parser/enum_parser.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
src/parser/enum_parser.ml
bnelo12/flow
65f2158e01d5b50df0be0b4fe1f2363fd3b8e7a0
[ "MIT" ]
null
null
null
(** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) open Flow_ast open Parser_common open Parser_env open Token module SSet = Set.Make(String) module Enum (Parse: Parser_common.P...
38.664
96
0.667701
17a62d71c1c6e4cba33ed68af7bfa78f4b0c5c9e
26,308
ml
OCaml
src/proto_004_Pt24m4xi/lib_protocol/operation_repr.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_004_Pt24m4xi/lib_protocol/operation_repr.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_004_Pt24m4xi/lib_protocol/operation_repr.ml
blockchain-app12/cuprumMainnet
089174cfc4f8ebce45e61107d090a7933b8dc9cd
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
34.344648
102
0.604569
172e7e77a42f2c947261ba180a3e509abc06b6d5
127
mli
OCaml
src/core/Log.mli
reynir/calculon
a49a532ae48f69e0fa3562bddf6f822d28ec9632
[ "MIT" ]
null
null
null
src/core/Log.mli
reynir/calculon
a49a532ae48f69e0fa3562bddf6f822d28ec9632
[ "MIT" ]
null
null
null
src/core/Log.mli
reynir/calculon
a49a532ae48f69e0fa3562bddf6f822d28ec9632
[ "MIT" ]
null
null
null
(** {1 Simple logging} *) val verbose : bool ref val log : string -> unit val logf : ('a, unit, string, unit) format4 -> 'a
15.875
49
0.606299
1731568cb31f43951ff02421da38f0ba30983c63
12,762
ml
OCaml
src/typing/func_sig.ml
Connormiha/flow
5a9f63fab7b4c1453c1e0950a56df6fac1a9d612
[ "MIT" ]
null
null
null
src/typing/func_sig.ml
Connormiha/flow
5a9f63fab7b4c1453c1e0950a56df6fac1a9d612
[ "MIT" ]
null
null
null
src/typing/func_sig.ml
Connormiha/flow
5a9f63fab7b4c1453c1e0950a56df6fac1a9d612
[ "MIT" ]
1
2018-01-18T10:09:27.000Z
2018-01-18T10:09:27.000Z
(** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) module Anno = Type_annotation module Flow = Flow_js open Reason open Type type kind = | Ordinary | Async | Generator | AsyncGe...
33.408377
94
0.681163
1756dca00e873c85d414dcb39b0f83c7e920ebcd
7,127
ml
OCaml
library/atom.ml
HarryGifford/AlphaCaml
634d0a04fa90a5b8512876c770584a9a4c8615ac
[ "BSD-3-Clause" ]
null
null
null
library/atom.ml
HarryGifford/AlphaCaml
634d0a04fa90a5b8512876c770584a9a4c8615ac
[ "BSD-3-Clause" ]
null
null
null
library/atom.ml
HarryGifford/AlphaCaml
634d0a04fa90a5b8512876c770584a9a4c8615ac
[ "BSD-3-Clause" ]
null
null
null
open Signatures (* An implementation of identifiers as strings. The subset of ``base'' identifiers is the set of all strings that do not end with ("__" [ '0'-'9' ]+). So, [basename] chops off the longest (repeated) suffix of this form, while [combine] appends "__", followed with a representation of the in...
24.746528
80
0.628034
1761d73b1038b2307edbe584e3dab79dba8ba511
18,666
ml
OCaml
src/res_ast_conversion.ml
jchavarri/syntax
f9207caad19aa92a6256107ae211c70d81106feb
[ "MIT" ]
null
null
null
src/res_ast_conversion.ml
jchavarri/syntax
f9207caad19aa92a6256107ae211c70d81106feb
[ "MIT" ]
null
null
null
src/res_ast_conversion.ml
jchavarri/syntax
f9207caad19aa92a6256107ae211c70d81106feb
[ "MIT" ]
null
null
null
let concatLongidents l1 l2 = let parts1 = Longident.flatten l1 in let parts2 = Longident.flatten l2 in match List.concat [parts1; parts2] |> Longident.unflatten with | Some longident -> longident | None -> l2 (* TODO: support nested open's ? *) let rec rewritePpatOpen longidentOpen pat = match pat.Parsetr...
35.086466
115
0.611058
1734047bd0d849d80a32913c71358f04f85359da
3,611
mli
OCaml
libraries/s3/lib/putBucketTagging.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/s3/lib/putBucketTagging.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/s3/lib/putBucketTagging.mli
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
(** "<p>Sets the tags for a bucket.</p> <p>Use tags to organize your AWS bill to reflect your own cost structure. To do this, sign up to get your AWS account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key val...
138.884615
2,890
0.730822
aa8442327ec59237acadc55d77b8983f0aca1c74
3,464
ml
OCaml
hphp/hack/src/ifc/ifc_types.ml
IceCruelStuff/hhvm
a951c9f704e2a10678581bc1176e47388dcbc849
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/ifc/ifc_types.ml
IceCruelStuff/hhvm
a951c9f704e2a10678581bc1176e47388dcbc849
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/hack/src/ifc/ifc_types.ml
IceCruelStuff/hhvm
a951c9f704e2a10678581bc1176e47388dcbc849
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the "hack" directory of this source tree. * *) module KMap = Typing_continuations.Map module LMap = Local_id.Map module PMap = SMap module Scope = Ifc_scope module Type = Ty...
29.109244
80
0.707564
1746e261373f40527b471103e2e40f1eeac8fbfc
11,774
mli
OCaml
src/proto_alpha/lib_protocol/raw_context.mli
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
src/proto_alpha/lib_protocol/raw_context.mli
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
src/proto_alpha/lib_protocol/raw_context.mli
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
36.227692
82
0.684219
aa9bf0e0c84fd0bd1a0bc46a5d6f7a1acee1d062
759
ml
OCaml
src/types.ml
puripuri2100/xml2saty
f397037c8367549ed038992efd41642372b26521
[ "MIT" ]
null
null
null
src/types.ml
puripuri2100/xml2saty
f397037c8367549ed038992efd41642372b26521
[ "MIT" ]
null
null
null
src/types.ml
puripuri2100/xml2saty
f397037c8367549ed038992efd41642372b26521
[ "MIT" ]
null
null
null
open Range type satysfiType = | SATySFiFunction of Range.t | SATySFiString of Range.t | SATySFiBool of Range.t | SATySFiInt of Range.t | SATySFiFloat of Range.t | SATySFiLength of Range.t | SATySFiInlineText of Range.t | SATySFiBlockText of Range.t | SATySFiList of satysfiType type attribs = (R...
25.3
64
0.670619
176fd2172e3375cee2a5b74f957b026e370d2c77
1,811
ml
OCaml
test/custom.ml
mtelvers/ocluster
62d3ab5e008e2f2b14aba22bb81c5e661a23104f
[ "Apache-2.0" ]
null
null
null
test/custom.ml
mtelvers/ocluster
62d3ab5e008e2f2b14aba22bb81c5e661a23104f
[ "Apache-2.0" ]
null
null
null
test/custom.ml
mtelvers/ocluster
62d3ab5e008e2f2b14aba22bb81c5e661a23104f
[ "Apache-2.0" ]
null
null
null
open Lwt.Infix module Spec = struct let obuilder_spec_to_custom spec builder = let open Cluster_api.Raw in let obuilder = Builder.OBuilder.init_pointer builder in Builder.OBuilder.spec_set obuilder spec let dockerfile_to_custom spec = let open Cluster_api.Raw in let custom = Builder.Custom.ini...
34.169811
138
0.722253
aad229d3e7e2f640a961a48eb9f32ded267b4115
788
ml
OCaml
benchmarks/multicore-lockfree/test_msqueue_multicore.ml
Abdulrahim2567/sandmark
a0557009ca0f4200f5288ca80fce24142f835098
[ "Unlicense" ]
48
2019-07-24T13:03:03.000Z
2022-01-25T21:02:32.000Z
benchmarks/multicore-lockfree/test_msqueue_multicore.ml
Abdulrahim2567/sandmark
a0557009ca0f4200f5288ca80fce24142f835098
[ "Unlicense" ]
196
2019-06-11T10:44:20.000Z
2022-03-31T17:25:31.000Z
benchmarks/multicore-lockfree/test_msqueue_multicore.ml
Abdulrahim2567/sandmark
a0557009ca0f4200f5288ca80fce24142f835098
[ "Unlicense" ]
25
2019-06-13T13:40:51.000Z
2022-03-29T17:18:57.000Z
module Msqueue = Lockfree.MSQueue let num_domains = try int_of_string Sys.argv.(1) with _ -> 4 let num_items = try int_of_string Sys.argv.(2) with _ -> 10000000 let read_percent = try int_of_string Sys.argv.(3) with _ -> 50 let items_per_domain = num_items / num_domains let k = Domain.DLS.new_key Random.State.make_s...
31.52
108
0.714467
17a4f6f7b7218fe4a85d742a779ea8466ff4288b
18,979
ml
OCaml
hphp/hack/test/rust/hhbc_options_migration_test.ml
fyunaz/hhvm
fc52cae6762431395818de9edbb0b918167c4b65
[ "PHP-3.01", "Zend-2.0" ]
1
2021-05-15T22:07:24.000Z
2021-05-15T22:07:24.000Z
hphp/hack/test/rust/hhbc_options_migration_test.ml
seanwallawalla-forks/hhvm
4685a57b633609727c9755efe6d647aebf91ea77
[ "PHP-3.01", "Zend-2.0" ]
1
2021-04-19T09:53:42.000Z
2021-04-19T09:53:42.000Z
hphp/hack/test/rust/hhbc_options_migration_test.ml
seanwallawalla-forks/hhvm
4685a57b633609727c9755efe6d647aebf91ea77
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
open Hh_prelude open OUnit2 (* Useful debugging, since no ppx printer for Hhbc_options.t *) let assert_opts_equal caml rust = assert_equal Hhbc_options.(constant_folding caml) Hhbc_options.(constant_folding rust); assert_equal Hhbc_options.(optimize_null_checks caml) Hhbc_options.(optimize_null_che...
32.83564
82
0.723747
17041af79d0fb92b13664f94c81051656565d9fd
4,444
ml
OCaml
data/fa15/0210.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/0210.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/0210.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.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 | NewOp1 of expr* expr* expr | NewOp2 of expr;; let rec exprToString e = match e with | VarX -> "x" | VarY -> "y" | Sine e1 -> "sin(pi*" ^ ((exprToStri...
19.663717
83
0.456571
aa1c9a8e2bf2374c3e937bcb0a1a349a6c70b7c8
19,487
ml
OCaml
lib/fuzz/test/path_producers.ml
MattWindsor91/c4f
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
7
2018-11-27T23:53:58.000Z
2020-11-22T11:56:16.000Z
lib/fuzz/test/path_producers.ml
MattWindsor91/act
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
235
2018-10-03T16:37:36.000Z
2020-11-22T16:26:51.000Z
lib/fuzz/test/path_producers.ml
MattWindsor91/c4f
8939477732861789abc807c8c1532a302b2848a5
[ "CECILL-B", "MIT" ]
1
2018-11-13T16:43:19.000Z
2018-11-13T16:43:19.000Z
(* This file is part of c4f. Copyright (c) 2018-2022 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...
46.84375
88
0.552625
17115a073a9455d2818b30d06acbc7731092466a
4,746
ml
OCaml
libraries/ssm/lib/getParametersByPath.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
1
2020-05-21T19:12:04.000Z
2020-05-21T19:12:04.000Z
libraries/ssm/lib/getParametersByPath.ml
anmonteiro/ocaml-aws
81cc543a76731177f6d1be8953537297212030d8
[ "BSD-3-Clause" ]
null
null
null
libraries/ssm/lib/getParametersByPath.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 GetParametersByPathRequest = struct type t = { path: String.t [@ocaml.doc "<p>The hierarchy for the parameter. Hierarchies start with a forward slash (/) and end with the parameter name. A par...
44.35514
501
0.639064
173837a986ee8377d0d47e58bbfb6e8a588c0897
27,284
ml
OCaml
test.ml
dbp/funtal
1125889a3819c714f2aef1d9820f01dbd8197045
[ "0BSD" ]
32
2017-02-20T22:41:17.000Z
2021-07-27T05:47:12.000Z
test.ml
dbp/funtal
1125889a3819c714f2aef1d9820f01dbd8197045
[ "0BSD" ]
6
2017-02-20T21:23:18.000Z
2017-02-21T03:03:09.000Z
test.ml
dbp/funtal
1125889a3819c714f2aef1d9820f01dbd8197045
[ "0BSD" ]
4
2017-02-20T21:22:07.000Z
2019-06-16T11:05:34.000Z
open OUnit2;; open Syntax;; open Examples;; let f_expr str = Parse.parse_string Parse.f_expression_eof str let roundtrip ?source comp = let orig, roundtrip = Filename.temp_file ~temp_dir:"." "orig" ".ftal", Filename.temp_file ~temp_dir:"." "roundtrip" ".ftal" in let write_source () = match source with ...
35.250646
230
0.526352
179a19296df5cf88bcfe5fce4d4be80d7aa1f7ff
1,191
mli
OCaml
infer/src/atd/InferCommand.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/atd/InferCommand.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/atd/InferCommand.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. *) (** Main modes of operation for infer *) type t = | Analyze (** analyze previously captured source files *) | Capture (*...
31.342105
103
0.690176
17941f0f9b667c1c37c2877e9d17e782cacffb38
4,354
ml
OCaml
dist/gcc-compatible/lib/EverCrypt_HKDF_bindings.ml
BlackHorseSolutions/hacl-star
e7d8effb0c14f049cf016c09882c18681849c2a3
[ "Apache-2.0" ]
1,332
2018-06-25T18:44:25.000Z
2022-03-24T11:54:21.000Z
dist/gcc-compatible/lib/EverCrypt_HKDF_bindings.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
311
2018-06-23T20:30:19.000Z
2022-03-31T16:52:05.000Z
dist/gcc-compatible/lib/EverCrypt_HKDF_bindings.ml
sthagen/hacl-star
647facec8c2a283a4686941e5c36ccea59a1bcb7
[ "Apache-2.0" ]
143
2018-08-23T11:43:58.000Z
2022-03-09T11:07:13.000Z
open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F module Hacl_Spec_applied = (Hacl_Spec_bindings.Bindings)(Hacl_Spec_stubs) open Hacl_Spec_applied let everCrypt_HKDF_expand_sha1 = foreign "EverCrypt_HKDF_expand_sha1" (ocaml_bytes @-> (ocaml_bytes @-> ...
39.944954
80
0.545016
1726fd3b85aefc1bea186e654ae93a914b93c319
1,693
mli
OCaml
src-ocaml/brzo_b0_opam.mli
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
5
2019-10-02T20:04:19.000Z
2021-11-04T10:04:53.000Z
src-ocaml/brzo_b0_opam.mli
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
src-ocaml/brzo_b0_opam.mli
b0-system/brzo
87a02530707f551a60f9949f82b8603dfa5158b3
[ "0BSD" ]
null
null
null
(*--------------------------------------------------------------------------- Copyright (c) 2018 The brzo programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. ---------------------------------------------------------------------------*) (** Opam b0 helpers. *) ...
41.292683
79
0.587123
174a0e3ec0e2cea57a2f856467b1e47c2c436004
656
ml
OCaml
src/config.ml
daypack-dev/timeisin
ba6cd76271527f61ce972ecfe69211244650cfdf
[ "MIT" ]
10
2020-09-03T16:27:30.000Z
2021-02-08T12:11:09.000Z
src/config.ml
daypack-dev/timeisin
ba6cd76271527f61ce972ecfe69211244650cfdf
[ "MIT" ]
null
null
null
src/config.ml
daypack-dev/timeisin
ba6cd76271527f61ce972ecfe69211244650cfdf
[ "MIT" ]
null
null
null
let default_date_time_format_string = "{year} {mon:Xxx} {mday:0X} {hour:0X}:{min:0X}:{sec:0X} \ {tzoff-sign}{tzoff-hour:0X}:{tzoff-min:0X}:{tzoff-sec:0X}" let default_interval_format_string = "[{syear} {smon:Xxx} {smday:0X} {shour:0X}:{smin:0X}:{ssec:0X} \ {stzoff-sign}{stzoff-hour:0X}:{stzoff-min:0X}:{stzof...
36.444444
75
0.684451
aa2f5def26287c06617da4e69761120637954173
460
mli
OCaml
infer/src/npex/SpecVeri.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/npex/SpecVeri.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
infer/src/npex/SpecVeri.mli
kupl/npex-analyzer
c9a6d60aa76f39bbab04af5186b0399bc4fcdb49
[ "MIT" ]
null
null
null
open! IStd val pp_states : Format.formatter -> SpecCheckerDomain.t list -> unit val pp_normal_and_infered : Format.formatter -> (SpecCheckerDomain.t list * SpecCheckerDomain.t list) -> unit val get_feasible_disjuncts_opt : SpecCheckerDomain.t list -> (SpecCheckerDomain.t list * SpecCheckerDomain.t list) option ...
30.666667
90
0.758696
179929ca148e2daafd1f8c19c69c0d549d5593d8
1,086
ml
OCaml
data/fa15/0715.ml
ucsd-progsys/nate
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
9
2017-08-30T23:00:52.000Z
2021-02-25T23:08:55.000Z
data/fa15/0715.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
null
null
null
data/fa15/0715.ml
ucsd-progsys/ml2
8b1267cd8b10283d8bc239d16a28c654a4cb8942
[ "BSD-3-Clause" ]
1
2022-03-31T19:50:33.000Z
2022-03-31T19:50:33.000Z
let removeDuplicates l = let rec helper (seen,rest) = match rest with | [] -> seen | h::t -> let seen' = if List.mem (h, seen) then h :: seen else seen in let rest' = t in helper (seen', rest') in List.rev (helper ([], l));; (* fix let removeDuplicates l = let rec helper (seen,rest...
15.73913
69
0.483425
1799f9467d3e392849356fbadbd827f980abed16
4,005
ml
OCaml
vendor/dune/src/installed_dune_file.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/installed_dune_file.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
vendor/dune/src/installed_dune_file.ml
prashant-shahi/pesy
5562d9387ba62704f6505c505c906b82f5d73a51
[ "MIT" ]
null
null
null
open! Stdune let parse_sub_system ~parsing_context ~name ~version ~data = let (module M) = Sub_system_info.get name in Syntax.check_supported M.syntax version; let parsing_context, parse = (* We set the syntax to the version used when generating this subsystem. We cannot do this for jbuild defined sub...
38.509615
79
0.636704
aac5b4d584f30a268f43a803dc533e1e53b5a6ec
4,461
ml
OCaml
gen/genUtils.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
gen/genUtils.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
gen/genUtils.ml
csgordon/herdtools7
0b068a7e84eff5edcf3ed495c640d525cd65c545
[ "CECILL-B" ]
null
null
null
(****************************************************************************) (* the diy toolsuite *) (* *) (* Jade Alglave, University College London, UK. *) (* L...
36.867769
79
0.493611