content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
// RUN: %target-swift-frontend %s -verify -emit-sil -o /dev/null\n\nstruct R<T> {\n var str: String?\n}\n\nfunc map<A, B>(e: (A) -> B) -> () -> R<B> {\n fatalError()\n}\nfunc map<A, B>(_ : (A) -> B) -> (A?) -> B? {\n fatalError()\n}\n\ninfix operator |>\nfunc |> <A, B> (g: A, h: (A) -> B) -> B { h(g) }\n\ninfix oper...
dataset_sample\swift\apple_swift\test\Constraints\rdar62201037.swift
rdar62201037.swift
Swift
617
0.8
0
0.04
python-kit
642
2025-02-02T12:00:23.050711
Apache-2.0
true
78b643a6beac4f13453a5f923c95292c
// RUN: %target-swift-frontend -emit-sil -verify %s | %FileCheck %s\n\nclass A {}\nclass B: A {}\n\nfunc test<T>(_ type: T.Type) -> T? {\n fatalError()\n}\n\n// CHECK: [[RESULT:%.*]] = function_ref @$s12rdar628426514testyxSgxmlF\n// CHECK-NEXT: apply [[RESULT]]<B>({{.*}})\nlet _: A? = test(B.self)\n
dataset_sample\swift\apple_swift\test\Constraints\rdar62842651.swift
rdar62842651.swift
Swift
289
0.95
0.166667
0.333333
react-lib
38
2024-12-08T06:03:32.777321
MIT
true
12aaad0829869bbc35421783833ad546
// RUN: %target-typecheck-verify-swift\n\nclass C {\n init!() {}\n}\n\nfunc foo<T>(_: T.Type, _ fn: () -> T) {}\n\nfunc test() {\n foo(C.self) { C() }\n}\n
dataset_sample\swift\apple_swift\test\Constraints\rdar62890683.swift
rdar62890683.swift
Swift
146
0.95
0.090909
0.125
node-utils
29
2023-10-11T20:52:28.376663
MIT
true
67d5b6e9fa6bef1e9ed9210d9c2b55cd
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify %s\n// REQUIRES: objc_interop\n\nimport Foundation\n\nclass Obj: NSObject {\n}\n\nclass Container {\n var objects: [Obj]\n init(objects: [Obj]) {}\n}\n\nfunc test(other: Container) {\n _ = Container(objects: other)\n // expected-error@...
dataset_sample\swift\apple_swift\test\Constraints\rdar65254452.swift
rdar65254452.swift
Swift
389
0.95
0.117647
0.230769
vue-tools
664
2025-06-08T08:05:34.662977
MIT
true
77e7c94a66704b92f3191ea404e29a14
// RUN: %target-typecheck-verify-swift\n\nstruct Result {}\n\n@resultBuilder\nstruct Builder { // expected-note 4 {{add 'buildOptional(_:)' to the result builder 'Builder' to add support for 'if' statements without an 'else'}}\n static func buildBlock() -> Result {\n Result()\n }\n}\n\nfunc test_builder<T>(@Builde...
dataset_sample\swift\apple_swift\test\Constraints\rdar65320500.swift
rdar65320500.swift
Swift
1,572
0.95
0.173913
0.117647
awesome-app
960
2024-03-29T23:39:49.261749
BSD-3-Clause
true
671dcaf34acaa44622406d8a94080d98
// RUN: %target-typecheck-verify-swift\n\nprotocol P {}\n\nprotocol Func {\n associatedtype Result\n\n init()\n\n mutating func update<D: P>(data: D)\n\n func finalize() -> Result\n}\n\nstruct S<T: P, F: Func> {\n var arr: [T]\n\n func test() -> [F.Result] {\n return stride(from: 0, to: arr.endIndex, by: 2).ma...
dataset_sample\swift\apple_swift\test\Constraints\rdar66234725.swift
rdar66234725.swift
Swift
553
0.8
0
0.047619
node-utils
695
2023-12-18T11:25:44.651407
BSD-3-Clause
true
e8f6bb5eaa9af7fc42fbd889a26ca97f
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -enable-experimental-feature KeyPathWithMethodMembers -typecheck -verify %s\n// REQUIRES: objc_interop\n// REQUIRES: swift_feature_KeyPathWithMethodMembers\n\nimport Foundation\n\n@objc class A : NSObject {\n func uniqueID() -> Int {\n 42\n }\n}\n\n// F...
dataset_sample\swift\apple_swift\test\Constraints\rdar68155466.swift
rdar68155466.swift
Swift
924
0.95
0.03125
0.259259
react-lib
216
2023-08-23T10:36:42.254788
MIT
true
a04eaf842f8e06224965442e45df63db
// RUN: %target-typecheck-verify-swift\n\n@propertyWrapper\n@dynamicMemberLookup\nstruct Binding<Value> {\n var wrappedValue: Value\n\n init(get: @escaping () -> Value, set: @escaping (Value) -> Void) {\n self.wrappedValue = get()\n }\n\n subscript<Subject>(dynamicMember keyPath: WritableKeyPath<Value, Subject>)...
dataset_sample\swift\apple_swift\test\Constraints\rdar71858936.swift
rdar71858936.swift
Swift
594
0.95
0.035714
0.043478
awesome-app
698
2025-05-21T21:53:40.194441
BSD-3-Clause
true
4e57a11ec87f3fee6df65e8a1ce69f2d
// RUN: %target-typecheck-verify-swift\n\n// REQUIRES: objc_interop\n\nimport Foundation\n\nlet int: Int = 0\nfunc a(_ a: NSNumber) {}\na(int)// expected-error {{cannot convert value of type 'Int' to expected argument type 'NSNumber'}} {{6-6= as NSNumber}}\n
dataset_sample\swift\apple_swift\test\Constraints\rdar82828226.swift
rdar82828226.swift
Swift
249
0.95
0
0.333333
python-kit
544
2024-05-25T02:06:24.376540
GPL-3.0
true
b30e5f9729dc567859c7156a752349f1
// RUN: %target-typecheck-verify-swift -swift-version 6\n\n// rdar://85263844 - initializer 'init(_:)' requires the types be equivalent\nfunc rdar85263844(arr: [(q: String, a: Int)]) -> AnySequence<(question: String, answer: Int)> {\n AnySequence(arr.map { $0 })\n // expected-error@-1 {{initializer 'init(_:)' require...
dataset_sample\swift\apple_swift\test\Constraints\rdar85263844_swift6.swift
rdar85263844_swift6.swift
Swift
1,281
0.95
0.090909
0.321429
node-utils
662
2023-10-21T08:27:18.175385
MIT
true
d889190f589d6530f3c3456e76f4898d
// RUN: %target-typecheck-verify-swift\n\nstruct S<A: Collection> : Collection where A.Index == Int {\n typealias Element = A.Iterator.Element\n typealias Index = A.Index\n \n init(base: A, baseRange: Range<Index>) {\n self.base = base\n self.baseRange = baseRange\n }\n \n var startIndex: Index {\n retu...
dataset_sample\swift\apple_swift\test\Constraints\recursive_concrete_constraints.swift
recursive_concrete_constraints.swift
Swift
691
0.8
0
0.038462
python-kit
815
2025-01-06T13:21:38.648823
BSD-3-Clause
true
2c6f0f0a497c22ebe450862ec19fbaf1
// RUN: %target-typecheck-verify-swift\n\nstruct A<T> {}\n\nextension A where T == Int32 { // expected-note 3{{requirement specified as 'T' == 'Int32' [with T = Int]}}\n struct B : ExpressibleByIntegerLiteral {\n typealias E = Int\n typealias IntegerLiteralType = Int\n\n init(integerLiteral: IntegerLiteralTyp...
dataset_sample\swift\apple_swift\test\Constraints\requirement_failures_in_contextual_type.swift
requirement_failures_in_contextual_type.swift
Swift
937
0.95
0.027778
0.153846
vue-tools
370
2025-02-22T21:59:55.201887
GPL-3.0
true
622622604cb65f8c7afa3f287a697e9c
// RUN: %target-run-simple-swift | %FileCheck %s\n// REQUIRES: executable_test\n\nenum Either<T,U> {\n case first(T)\n case second(U)\n}\n\n@resultBuilder\nstruct TupleBuilder {\n static func buildBlock<T1>(_ t1: T1) -> (T1) {\n return (t1)\n }\n\n static func buildBlock<T1, T2>(_ t1: T1, _ t2: T2) -> (T1, T2) ...
dataset_sample\swift\apple_swift\test\Constraints\result_builder.swift
result_builder.swift
Swift
30,919
0.95
0.067643
0.104832
react-lib
784
2024-01-08T00:18:19.331158
Apache-2.0
true
485c4f9ad791915195fe1e5126989f00
// RUN: %empty-directory(%t)\n// RUN: %target-build-swift -module-name main -I %t -L %t %s -o %t/main %target-rpath(%t)\n// RUN: %target-codesign %t/main\n// RUN: %target-run %t/main | %FileCheck %s\n\n// REQUIRES: executable_test\n\n@propertyWrapper\nstruct Wrapper<Value> {\n public var value: Value\n\n init(wrapped...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_ast_transform.swift
result_builder_ast_transform.swift
Swift
2,842
0.8
0.042424
0.091603
node-utils
382
2023-07-30T13:15:07.663996
MIT
true
20ea90a24e0351314ce1d856816d2812
// RUN: %target-typecheck-verify-swift -target %target-cpu-apple-macosx50\n\n// REQUIRES: OS=macosx\n\n@available(*, unavailable)\n@resultBuilder\nstruct UnavailableBuilder {\n// expected-note@-1 2 {{'UnavailableBuilder' has been explicitly marked unavailable here}}\n static func buildBlock() {}\n}\n\n@UnavailableBuil...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_availability.swift
result_builder_availability.swift
Swift
7,502
0.8
0.083333
0.117647
node-utils
445
2025-04-22T09:32:46.220905
GPL-3.0
true
b08f152cc988a9673509bfc2e42c5c12
// RUN: %target-typecheck-verify-swift -debug-constraints -target %target-swift-5.1-abi-triple 2>%t.err\n// RUN: %FileCheck %s < %t.err\n\nprotocol P<Output> {\n associatedtype Output\n}\n\nstruct S<Output> : P {\n init(_: Output) {}\n}\n\n@resultBuilder\nstruct Builder {\n static func buildExpression<T>(_ e: T) -> ...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_conjunction_selection.swift
result_builder_conjunction_selection.swift
Swift
2,598
0.8
0.036145
0.357143
node-utils
248
2023-08-08T06:01:42.268785
MIT
true
a816b19f986dd8d40672b5eb0727e84b
// RUN: %target-typecheck-verify-swift -target %target-swift-5.1-abi-triple\n\nenum Either<T,U> {\n case first(T)\n case second(U)\n}\n\n// expected-note @+2 {{add 'buildArray(_:)' to the result builder 'TupleBuilder' to add support for 'for'..'in' loops}}\n// expected-note @+1 2 {{struct 'TupleBuilder' declared here...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_diags.swift
result_builder_diags.swift
Swift
27,824
0.95
0.070305
0.076582
node-utils
924
2025-01-07T05:10:57.777200
BSD-3-Clause
true
5df25acdcb60e70affe2c8d75add42a0
// RUN: %target-swift-emit-silgen %s -verify | %FileCheck %s\n\n// Tests for a crash that occurred when the result builder transform encountered\n// an empty case statement.\nprotocol V { }\n\nstruct EV: V { }\n\n@resultBuilder\nstruct VB {\n static func buildBlock(_ components: any V...) -> any V { EV() }\n static f...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_empty_case.swift
result_builder_empty_case.swift
Swift
864
0.8
0.073171
0.264706
node-utils
990
2024-08-30T15:05:51.847053
BSD-3-Clause
true
c266cc1acebab83310f69f3251936297
// No warnings.\n// RUN: %target-typecheck-verify-swift\n//\n// RUN: %target-run-simple-swift | %FileCheck %s\n//\n// REQUIRES: executable_test\n\n@resultBuilder\nstruct Builder<T> {\n static func buildBlock(_ args: T...) -> [T] { args }\n}\n\n// https://github.com/swiftlang/swift/issues/72739\ndo {\n @Builder<T>\n ...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_generic_exec.swift
result_builder_generic_exec.swift
Swift
725
0.8
0
0.314286
vue-tools
85
2024-06-01T15:47:53.188782
MIT
true
a24cce80447d147da45e4a1410053cf4
// RUN: %target-swift-frontend -dump-ast %s | %FileCheck %s\n\nprotocol P {\n associatedtype A\n\n @Builder<A>\n var x1: [S] { get }\n \n @Builder<Self>\n var x2: [S] { get }\n}\n\n@resultBuilder\nenum Builder<T> {\n static func buildBlock(_ args: S...) -> [S] { args }\n}\n\nstruct S {}\n\n// CHECK: struct_dec...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_generic_infer.swift
result_builder_generic_infer.swift
Swift
2,264
0.8
0
0.388889
node-utils
112
2024-07-28T19:25:56.476617
GPL-3.0
true
114b2cac2c36e3e78d03d7d5aefb0659
// First, test everything together.\n//\n// RUN: %target-typecheck-verify-swift\n\n// Now to the cross-module test. The result builder and protocols go to the\n// module, the rest to the importing file.\n//\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t/src)\n// RUN: split-file %s %t/src\n//\n// RUN: %targe...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_infer.swift
result_builder_infer.swift
Swift
32,834
0.95
0.211196
0.215926
python-kit
514
2024-07-24T16:42:50.899478
GPL-3.0
true
ed1a29b69ddcb5d083af09174897270b
// RUN: %target-typecheck-verify-swift\n// rdar://81228221\n\n@resultBuilder\nstruct Builder {\n static func buildBlock(_ components: Int...) -> Int { 0 }\n static func buildEither(first component: Int) -> Int { 0 }\n static func buildEither(second component: Int) -> Int { 0 }\n static func buildOptional(_ componen...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_invalid_stmts.swift
result_builder_invalid_stmts.swift
Swift
1,284
0.8
0.112903
0.035088
vue-tools
23
2024-09-28T09:45:44.775885
GPL-3.0
true
58b88cb88044ba9f7638bf694450e782
// RUN: %empty-directory(%t)\n// RUN: split-file %s %t\n// RUN: %target-swift-frontend -emit-module -emit-module-path %t/Transitive.swiftmodule -parse-as-library %t/Transitive.swift\n// RUN: %target-swift-frontend -emit-module -emit-module-path %t/Direct.swiftmodule -I %t/ -parse-as-library %t/Direct.swift\n// RUN: %ta...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_member_import_visibility.swift
result_builder_member_import_visibility.swift
Swift
3,258
0.95
0
0.177215
vue-tools
576
2024-07-09T20:00:43.108823
MIT
true
2ec0ef14b0c3c386daa51583c0cf10c9
// RUN: %target-typecheck-verify-swift -target %target-swift-5.9-abi-triple\n\nprotocol Element {\n associatedtype Body: Element\n\n @Builder\n var body: Body { get }\n}\n\n@resultBuilder\nstruct Builder {\n static func buildBlock<C>(_ content: C) -> C {\n fatalError()\n }\n\n static func buildBlock<each C>(\n...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_nested_diags.swift
result_builder_nested_diags.swift
Swift
2,470
0.95
0
0.047619
vue-tools
778
2024-06-11T00:12:35.203513
BSD-3-Clause
true
8207a34fc4b1cadf4e2a2fc0fea81878
// RUN: %target-swift-frontend -target %target-swift-5.1-abi-triple -typecheck -verify %s\n\nprotocol Taggable {}\nextension String: Taggable {}\n\n@resultBuilder\nstruct TaggableBuilder {\n static func buildBlock(_ params: Taggable...) -> String {\n return "Your tags weren't worth keeping anyway"\n }\n}\n\n@Tagga...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_opaque_result.swift
result_builder_opaque_result.swift
Swift
499
0.8
0
0.058824
vue-tools
221
2024-11-03T12:39:05.070237
GPL-3.0
true
079c05c5830e0648a1d8ab2126743883
// RUN: %target-typecheck-verify-swift -target %target-swift-5.1-abi-triple\n\n@resultBuilder\nstruct TupleBuilder {\n static func buildBlock<T1, T2>(_ t1: T1, _ t2: T2) -> (T1, T2) {\n return (t1, t2)\n }\n}\n\nprotocol Tupled {\n associatedtype TupleType\n \n @TupleBuilder var tuple: TupleType { get }\n}\n\ns...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_opaque_result_structural.swift
result_builder_opaque_result_structural.swift
Swift
394
0.8
0
0.058824
node-utils
908
2023-07-30T19:12:14.688049
MIT
true
8f4e90d28bf490b4c060fec19b5adaaf
// RUN: %target-swift-frontend -typecheck -dump-ast %s | %FileCheck %s\n\nenum Either<T,U> {\n case first(T)\n case second(U)\n}\n\n@resultBuilder\nstruct TupleBuilder {\n static func buildBlock<T1>(_ t1: T1) -> (T1) {\n return (t1)\n }\n\n static func buildBlock<T1, T2>(_ t1: T1, _ t2: T2) -> (T1, T2) {\n r...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_switch_with_vars.swift
result_builder_switch_with_vars.swift
Swift
4,427
0.95
0.04918
0.355769
awesome-app
25
2024-04-12T23:17:48.900041
BSD-3-Clause
true
e8e823977832b67dba0828aca676aa89
// RUN: %target-typecheck-verify-swift\n\n@resultBuilder\nstruct DummyBuilder {\n static func buildBlock<T>(_ t: T) -> T {\n return t\n }\n}\n\nfunc dummy<T>(@DummyBuilder _: () -> T) {}\n\ndummy {\n var computedVar: Int { return 123 }\n ()\n}\n\ndummy {\n lazy var lazyVar: Int = 123\n ()\n}\n\ndummy {\n var ...
dataset_sample\swift\apple_swift\test\Constraints\result_builder_vars.swift
result_builder_vars.swift
Swift
1,023
0.8
0
0.116279
awesome-app
103
2024-10-15T07:48:56.424717
Apache-2.0
true
212f364883892a542baffff4533c8a01
// RUN: %target-typecheck-verify-swift\n// RUN: not %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s\n\nprotocol Fooable {\n associatedtype Foo // expected-note{{protocol requires nested type 'Foo'}}\n\n var foo: Foo { get }\n}\n\nprotocol Barrable {\n associatedtype Bar: Fooable\n...
dataset_sample\swift\apple_swift\test\Constraints\same_types.swift
same_types.swift
Swift
16,186
0.95
0.042959
0.291176
awesome-app
230
2023-10-31T04:34:20.484403
GPL-3.0
true
995573966049b1dadb65582ff63c3841
// RUN: %empty-directory(%t/src)\n// RUN: split-file %s %t/src\n\n/// Build the library A\n// RUN: %target-swift-frontend -emit-module %t/src/A.swift \\n// RUN: -module-name A -swift-version 5 -enable-library-evolution \\n// RUN: -emit-module-path %t/A.swiftmodule \\n// RUN: -emit-module-interface-path %t/A.swift...
dataset_sample\swift\apple_swift\test\Constraints\specialization_with_shadowing.swift
specialization_with_shadowing.swift
Swift
2,226
0.95
0.013158
0.612903
awesome-app
637
2024-01-09T20:52:47.866634
GPL-3.0
true
00db9a14b50bddab70c9e9953d02aed3
// RUN: %target-typecheck-verify-swift -swift-version 5\n\nprotocol P {}\n\nstruct S : P {\n var other: S { S() }\n}\n\n\nstruct G<T> : P {\n var other: G<T> { fatalError() }\n}\n\nextension P where Self == S {\n static var property: S { S() }\n\n static var iuoProp: S! { S() }\n static var optProp: S? { S() }\n\n...
dataset_sample\swift\apple_swift\test\Constraints\static_members_on_protocol_in_generic_context.swift
static_members_on_protocol_in_generic_context.swift
Swift
21,398
0.95
0.013699
0.281553
python-kit
514
2025-04-11T12:28:17.186459
Apache-2.0
true
6f95e049b5b1e2442794b5dbd401e9eb
// RUN: %target-swift-frontend -target %target-swift-5.1-abi-triple -typecheck -verify %s\n\n// rdar://75978086 - static member lookup doesn't work with opaque types\n\nprotocol Intent {}\n\nextension Intent where Self == Intents.List {\n static func orderedList() -> Self {\n return Intents.List.orderedList(nestedI...
dataset_sample\swift\apple_swift\test\Constraints\static_member_on_protocol_with_opaque_result.swift
static_member_on_protocol_with_opaque_result.swift
Swift
459
0.8
0
0.142857
react-lib
987
2025-06-16T01:11:05.241598
Apache-2.0
true
799221114a6eebd3062ddb11771b67c3
// RUN: %target-typecheck-verify-swift\nenum TestType {\n case foo\n case bar(Bool, (a: String, (b: String, (String, (c: String, Bool), String), String)))\n}\n\nfunc test(type: TestType) -> String {\n let str: String = {\n switch type {\n case .foo:\n return ""\n case .bar(_, (_...
dataset_sample\swift\apple_swift\test\Constraints\sub-pattern-matching-of-enum-element-for-closure.swift
sub-pattern-matching-of-enum-element-for-closure.swift
Swift
402
0.8
0.055556
0.0625
node-utils
892
2024-11-11T06:51:44.680473
GPL-3.0
true
0fe3d10342ee11059ea2c5e0645ea343
// RUN: %target-typecheck-verify-swift\n\n// Simple subscript of arrays:\nfunc simpleSubscript(_ array: [Float], x: Int) -> Float {\n _ = array[x]\n return array[x]\n}\n\n// Subscript of archetype.\nprotocol IntToStringSubscript {\n subscript (i : Int) -> String { get }\n}\n\nclass FauxDictionary {\n subscript (i :...
dataset_sample\swift\apple_swift\test\Constraints\subscript.swift
subscript.swift
Swift
6,982
0.95
0.066667
0.167539
react-lib
749
2025-06-26T11:12:02.670735
BSD-3-Clause
true
2006d54f18e0222924d8840b4754b389
// RUN: %target-typecheck-verify-swift -swift-version 6\n\n// Note: In Swift >= 6 mode this would become an error.\nfunc test_subscript_accepts_type_name_argument() {\n struct A {\n subscript(a: A.Type) -> Int { get { 42 } }\n }\n\n func test(a: A, optA: A?) {\n let _ = a[A] // expected-error {{expected member...
dataset_sample\swift\apple_swift\test\Constraints\subscript_swift6.swift
subscript_swift6.swift
Swift
838
0.8
0
0.4
awesome-app
586
2025-06-16T15:47:48.799232
GPL-3.0
true
fed77fd3f43624b697c3569490298be1
// RUN: %target-typecheck-verify-swift -parse-as-library \n\nclass D : B {\n func foo() {\n super.init() // expected-error{{'super.init' cannot be called outside of an initializer}}\n }\n\n init(a:Int) {\n super.init()\n }\n\n init(f:Int) {\n super.init(a: "x")\n }\n\n init(g:Int) {\n super.init("aoe...
dataset_sample\swift\apple_swift\test\Constraints\super_constructor.swift
super_constructor.swift
Swift
1,550
0.95
0.153846
0.06
awesome-app
395
2024-07-25T22:22:09.873006
GPL-3.0
true
67043d2dcc56af35cc9ab7039dbeaefa
// RUN: %target-typecheck-verify-swift -parse-as-library\n\nclass D : B {\n func b_foo() -> Int { return super.foo }\n\n override func bar(_ a: Float) -> Int { return super.bar(a) }\n\n func bas() -> (Int, UnicodeScalar, String) {\n return (super.zim(), super.zang(), super.zung())\n }\n\n override var zippity :...
dataset_sample\swift\apple_swift\test\Constraints\super_method.swift
super_method.swift
Swift
1,340
0.95
0.098361
0.042553
awesome-app
333
2023-11-13T13:47:18.772977
GPL-3.0
true
8463490a0e628808e8399dfed9a92c91
// RUN: %target-typecheck-verify-swift\n\nfunc escapeByBitCast(f: () -> ()) -> () -> () {\n return unsafeBitCast(f, to: (() -> ()).self)\n // expected-error@-1 {{converting non-escaping parameter 'f' to generic parameter 'T' may allow it to escape}}\n}\n\nfunc changeFnRep(f: @escaping () -> ()) -> @convention(block) ...
dataset_sample\swift\apple_swift\test\Constraints\suspicious_bit_casts.swift
suspicious_bit_casts.swift
Swift
21,690
0.95
0.042802
0.402597
node-utils
925
2023-07-16T12:38:15.882862
BSD-3-Clause
true
a4615f04dbc8a64939f289aec93685f0
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) -import-objc-header %S/Inputs/c_pointer_conversions.h %s -emit-sil -verify | %FileCheck %s\n\n// REQUIRES: objc_interop\n\n\n// Check that implicit conversions don't make expressions ambiguous\nfunc test_overloaded_ref_is_not_ambiguous() {\n ...
dataset_sample\swift\apple_swift\test\Constraints\swift_to_c_pointer_conversions_sil.swift
swift_to_c_pointer_conversions_sil.swift
Swift
1,926
0.95
0
0.555556
awesome-app
415
2024-05-12T05:46:13.695845
BSD-3-Clause
true
973643500121cf96403cc940232398b3
// RUN: %target-typecheck-verify-swift\n\nenum E {\n case e\n case f\n case g(Int)\n}\n\nfunc testDotSyntax1() -> E {\n switch Bool.random() { case true: .e case false: .f }\n}\nfunc testDotSyntax2() -> E? {\n switch Bool.random() { case true: .e case false: .f }\n}\nfunc testDotSyntax3() -> E? {\n switch Bool.ra...
dataset_sample\swift\apple_swift\test\Constraints\switch_expr.swift
switch_expr.swift
Swift
18,075
0.95
0.165485
0.080834
node-utils
644
2024-07-25T09:48:20.499437
GPL-3.0
true
fe3545e57315101654b4dfc27d1de52e
// RUN: %target-typecheck-verify-swift\n\nfunc useInt(_ x: Int) {}\nfunc useDouble(_ x: Double) {}\n\nclass B {\n init() {} \n}\nclass D1 : B {\n override init() { super.init() } \n}\nclass D2 : B {\n override init() { super.init() } \n}\n\nfunc useB(_ x: B) {}\nfunc useD1(_ x: D1) {}\nfunc useD2(_ x: D2) {}\n\nvar ...
dataset_sample\swift\apple_swift\test\Constraints\ternary_expr.swift
ternary_expr.swift
Swift
3,199
0.95
0.077778
0.070423
awesome-app
23
2024-06-17T20:43:49.440396
MIT
true
4d298f585f397e2d452a18030bb97f9b
// swift-tools-version:5.3\n// The swift-tools-version declares the minimum version of Swift required to build this package.\n\nimport PackageDescription\nimport class Foundation.ProcessInfo\n\nlet package = Package(\n name: "swift-inspect",\n products: [\n .library(name: "SwiftInspectClient", type: .dynam...
dataset_sample\swift\apple_swift\tools\swift-inspect\Package.swift
Package.swift
Swift
2,424
0.95
0.035088
0.074074
node-utils
183
2024-12-03T22:14:48.259351
Apache-2.0
false
8e78f07b2230d93397c631dd7bc8fc15
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\AndroidRemoteProcess.swift
AndroidRemoteProcess.swift
Swift
10,299
0.95
0.165992
0.269767
awesome-app
814
2024-11-28T19:22:48.155984
GPL-3.0
false
84bd5747bfae41fb93fa89a558e5d518
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Backtrace.swift
Backtrace.swift
Swift
1,405
0.95
0.081081
0.393939
node-utils
246
2023-09-26T22:24:52.675144
GPL-3.0
false
13eba5c19e438cc81e1dd565d546d02e
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\DarwinRemoteProcess.swift
DarwinRemoteProcess.swift
Swift
11,985
0.95
0.079882
0.082759
awesome-app
404
2024-11-11T03:55:17.466681
BSD-3-Clause
false
ae3b8e94fceb3326e95b9aad36439ee0
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\LinuxRemoteProcess.swift
LinuxRemoteProcess.swift
Swift
5,653
0.95
0.132911
0.129771
python-kit
562
2024-12-11T13:01:21.804841
BSD-3-Clause
false
6ac8a7e9f8f90163b032ce0077a25972
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\main.swift
main.swift
Swift
5,203
0.95
0.150943
0.202797
awesome-app
897
2024-02-13T17:11:07.587060
Apache-2.0
false
6d963c6c905add07241eb167887884fa
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Process.swift
Process.swift
Swift
5,835
0.95
0.080808
0.133333
awesome-app
162
2024-09-18T14:37:08.131406
GPL-3.0
false
5527da255ab6ac6f22a64579e91f3a98
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\RemoteMirror+Extensions.swift
RemoteMirror+Extensions.swift
Swift
5,859
0.95
0.078788
0.085714
react-lib
354
2024-06-27T01:47:22.131582
BSD-3-Clause
false
893addba89ce41e50598837bbd2bbdc8
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\RemoteProcess.swift
RemoteProcess.swift
Swift
2,386
0.95
0.033333
0.215686
react-lib
894
2024-06-22T11:12:08.510476
Apache-2.0
false
5d758c11d907d96ffd70a2ba61b6c119
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\String+Extensions.swift
String+Extensions.swift
Swift
1,160
0.95
0.068182
0.388889
node-utils
35
2024-03-05T09:47:03.688096
MIT
false
6c26f28ffa2aa1970dc12046ddff213c
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Symbolication+Extensions.swift
Symbolication+Extensions.swift
Swift
9,240
0.95
0.027451
0.073394
python-kit
151
2025-01-27T21:46:47.558977
GPL-3.0
false
a4a17857a03b0febff1d9abf8256a90f
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\WindowsRemoteProcess.swift
WindowsRemoteProcess.swift
Swift
18,345
0.95
0.077922
0.169492
awesome-app
603
2025-04-18T02:02:29.055392
GPL-3.0
false
884fd4cf35d75bdfdd3acc996aef1915
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\WinSDK+Extentions.swift
WinSDK+Extentions.swift
Swift
1,163
0.95
0.117647
0.448276
react-lib
506
2025-03-05T06:58:11.444589
BSD-3-Clause
false
9504b651265775af6dea668b34e087ea
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Operations\DumpArray.swift
DumpArray.swift
Swift
1,804
0.95
0.1
0.317073
react-lib
565
2023-09-21T20:14:54.017656
GPL-3.0
false
e1fa9cda5ef3fbd4e27284a2c057fe28
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Operations\DumpCacheNodes.swift
DumpCacheNodes.swift
Swift
1,383
0.95
0.135135
0.34375
python-kit
751
2024-07-22T08:41:51.374847
MIT
false
7662b67831f5f75d37bdf8f0ea2616f9
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Operations\DumpConcurrency.swift
DumpConcurrency.swift
Swift
15,421
0.95
0.142241
0.043038
python-kit
659
2023-07-31T03:45:08.860111
BSD-3-Clause
false
48e5647bfa99755dc7eaed76682566b0
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Operations\DumpConformanceCache.swift
DumpConformanceCache.swift
Swift
1,153
0.95
0.129032
0.407407
awesome-app
918
2024-01-16T09:19:19.487575
GPL-3.0
false
6fdcda411d9e997c94a451fa7fdf18a5
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Operations\DumpGenericMetadata.swift
DumpGenericMetadata.swift
Swift
8,390
0.95
0.185345
0.057416
awesome-app
201
2023-08-11T00:27:11.206664
Apache-2.0
false
8a1c1dd705faa767237337175b5a7508
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\swift-inspect\Operations\DumpRawMetadata.swift
DumpRawMetadata.swift
Swift
1,647
0.95
0.152174
0.275
awesome-app
719
2024-06-25T17:35:37.020343
Apache-2.0
false
4ea0562a111c62e26601632335b6ec07
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\SwiftInspectLinux\ElfFile.swift
ElfFile.swift
Swift
5,651
0.95
0.077465
0.184211
awesome-app
821
2024-03-10T18:22:47.266264
BSD-3-Clause
false
041cc0667f30bb9b723599275c581767
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\SwiftInspectLinux\LinkMap.swift
LinkMap.swift
Swift
5,071
0.95
0.243056
0.159664
python-kit
971
2023-12-31T08:52:41.642439
MIT
false
9283c1de5baf0b16a2d28adddcffc782
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\SwiftInspectLinux\MemoryMap.swift
MemoryMap.swift
Swift
2,600
0.95
0.131579
0.208955
vue-tools
634
2023-09-27T23:47:08.755689
MIT
false
4b08ef8cbccffa37f5d4f0e405637349
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\SwiftInspectLinux\Process.swift
Process.swift
Swift
4,660
0.95
0.084615
0.220183
awesome-app
442
2024-03-28T14:13:06.133356
MIT
false
9da333903694c746d3437a4acaf1914b
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\SwiftInspectLinux\ProcFS.swift
ProcFS.swift
Swift
1,479
0.95
0.194444
0.484848
react-lib
165
2024-03-10T15:57:49.187251
MIT
false
5e42e8128fd666ddc3d58b4a7ac8affa
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\SwiftInspectLinux\PTrace.swift
PTrace.swift
Swift
5,456
0.95
0.189873
0.193798
react-lib
184
2024-12-01T07:49:10.195747
GPL-3.0
false
37c34e1e20a9fa4d88005f9539df0294
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\SwiftInspectLinux\RegisterSet.swift
RegisterSet.swift
Swift
3,135
0.95
0.053191
0.265823
vue-tools
379
2023-09-16T22:35:46.293434
MIT
false
ab9e9594b6c2cc767490df3c548979b8
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Sources\SwiftInspectLinux\SymbolCache.swift
SymbolCache.swift
Swift
2,617
0.95
0.25
0.215385
vue-tools
423
2024-11-29T18:17:54.510812
GPL-3.0
false
a790a68995e1961765ae78479561e74d
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif...
dataset_sample\swift\apple_swift\tools\swift-inspect\Tests\LinuxMain.swift
LinuxMain.swift
Swift
646
0.95
0.105263
0.6875
node-utils
999
2024-06-26T13:10:30.535782
MIT
true
1314497245279e0cc6903ddb7d07d774
// swift-tools-version: 5.9\n\nimport PackageDescription\n\nlet package = Package(\n name: "swift-plugin-server",\n platforms: [\n .macOS(.v13)\n ],\n products: [\n .executable(name: "swift-plugin-server", targets: ["swift-plugin-server"]),\n .library(name: "SwiftInProcPluginServer", type: .dynamic, target...
dataset_sample\swift\apple_swift\tools\swift-plugin-server\Package.swift
Package.swift
Swift
985
0.95
0
0.03125
vue-tools
567
2024-11-29T21:34:23.566026
BSD-3-Clause
false
c0b67955275f693999da7e2ae33c6acd
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift open source project\n//\n// Copyright (c) 2023 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See http://swift.org/LICENS...
dataset_sample\swift\apple_swift\tools\swift-plugin-server\Sources\swift-plugin-server\swift-plugin-server.swift
swift-plugin-server.swift
Swift
910
0.95
0.192308
0.458333
awesome-app
117
2024-07-27T06:28:25.202462
Apache-2.0
false
0e0971bf11d01f57541238b5e65d577c
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift open source project\n//\n// Copyright (c) 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See http://swift.org/LICENS...
dataset_sample\swift\apple_swift\tools\swift-plugin-server\Sources\SwiftInProcPluginServer\InProcPluginServer.swift
InProcPluginServer.swift
Swift
2,824
0.95
0.1
0.358025
vue-tools
685
2025-02-18T12:46:12.996356
MIT
false
471ed16a2f9d5ca81de99847e5c84135
// swift-tools-version:5.6\n\nimport PackageDescription\n\nlet package = Package(\n name: "GenUnicodeData",\n platforms: [.macOS(.v12)],\n targets: [\n .target(\n name: "GenUtils",\n dependencies: []\n ),\n .executableTarget(\n name: "GenGraphemeBreakProperty",\n dependencies: ["GenUtils...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Package.swift
Package.swift
Swift
782
0.95
0
0.027778
awesome-app
644
2024-12-26T17:54:01.582800
BSD-3-Clause
false
34a9fad7d9368c754a07af9b233906ea
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2022-2025 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift....
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenCaseFolding\main.swift
main.swift
Swift
3,793
0.95
0.085526
0.159292
vue-tools
146
2024-06-10T16:05:55.903687
MIT
false
3b8a3b53cfc45dbb8c837b5dc8a2d93c
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenGraphemeBreakProperty\main.swift
main.swift
Swift
11,413
0.95
0.077482
0.222222
react-lib
723
2025-03-06T11:02:20.236485
MIT
false
1df4d4cb18400ca95997adecb5808a5a
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenNormalization\CCC.swift
CCC.swift
Swift
1,693
0.95
0.104167
0.625
awesome-app
396
2025-01-03T14:44:24.857643
BSD-3-Clause
false
d00950ca6edd8b5e23f1165c532914bd
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenNormalization\Comp.swift
Comp.swift
Swift
4,407
0.95
0.082192
0.25
node-utils
233
2023-11-07T00:37:51.529350
BSD-3-Clause
false
6082a8bc39aee4c267c47a1ee3ece04d
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenNormalization\Decomp.swift
Decomp.swift
Swift
5,324
0.95
0.096257
0.246575
react-lib
489
2024-06-26T16:17:46.019511
MIT
false
1506102895d6bf94eee553bd9daa9d18
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenNormalization\main.swift
main.swift
Swift
2,213
0.95
0.123077
0.346154
node-utils
107
2025-06-08T06:12:22.172129
Apache-2.0
false
1c42680de132f27c3ae0911586999611
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenNormalization\NFX_QC.swift
NFX_QC.swift
Swift
3,291
0.95
0.096774
0.448718
awesome-app
796
2023-11-30T22:06:26.901785
GPL-3.0
false
6b4757ac9ea2aed4900fd28b8e679039
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenNormalization\NormData.swift
NormData.swift
Swift
3,826
0.95
0.070968
0.165289
node-utils
817
2025-03-08T10:45:20.712833
MIT
false
ab1d6fdab845a5c9c6447dcd65c773c6
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScalarProps\Age.swift
Age.swift
Swift
2,687
0.95
0.048544
0.197368
node-utils
870
2023-10-15T17:43:28.900315
BSD-3-Clause
false
2fdad43d0d46efe32dde20efe9457b66
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScalarProps\BinProps.swift
BinProps.swift
Swift
9,814
0.95
0.038911
0.120536
python-kit
644
2024-11-30T02:23:52.767016
Apache-2.0
false
1cbea715383d26f3e2317fc22636fb69
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScalarProps\GeneralCategory.swift
GeneralCategory.swift
Swift
4,674
0.95
0.026596
0.092025
vue-tools
671
2023-11-16T12:31:46.402198
Apache-2.0
false
21a8ae7605029afc949e57b2592fd4a3
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScalarProps\main.swift
main.swift
Swift
1,131
0.95
0.194444
0.413793
awesome-app
945
2024-07-12T12:46:17.252894
GPL-3.0
false
7b8699d68f3e4e63a1439b53da91417c
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScalarProps\Mappings.swift
Mappings.swift
Swift
12,250
0.95
0.090164
0.081794
python-kit
729
2024-03-03T19:49:49.991006
GPL-3.0
false
87592850168919d0218c6df29ab02259
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScalarProps\NameAlias.swift
NameAlias.swift
Swift
4,916
0.95
0.067708
0.163265
awesome-app
135
2024-09-27T17:45:48.183707
GPL-3.0
false
a7b1ec3029842e484beae72827361eb1
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScalarProps\Names.swift
Names.swift
Swift
6,562
0.95
0.076923
0.095
awesome-app
541
2025-05-30T16:30:47.169246
GPL-3.0
false
400fffecf3a21e178c8cfb35ea7604db
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScalarProps\Numeric.swift
Numeric.swift
Swift
4,975
0.95
0.062176
0.12
react-lib
618
2025-04-07T22:38:01.846168
BSD-3-Clause
false
66b8c8050fe2ff3e8035ca4f0531fb59
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2022-2025 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift....
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenScripts\main.swift
main.swift
Swift
24,627
0.95
0.037627
0.077049
python-kit
461
2024-09-10T06:48:16.697524
Apache-2.0
false
8be7dede89b554bda9ce9fb478a7309b
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenUtils\BitArray.swift
BitArray.swift
Swift
1,167
0.8
0.073171
0.305556
vue-tools
711
2024-12-27T13:50:43.528663
GPL-3.0
false
717465ca2432b75dc605bc2c91c62f8b
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenUtils\Emit.swift
Emit.swift
Swift
3,824
0.95
0.045802
0.18018
react-lib
876
2023-12-27T21:44:41.628207
GPL-3.0
false
910d95a0b1713f4523ad84cfa1968e5b
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenUtils\Files.swift
Files.swift
Swift
901
0.95
0.206897
0.423077
python-kit
345
2024-08-28T07:12:58.277863
BSD-3-Clause
false
d75755a16333941c0cb3742c64b1e578
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenUtils\Flatten.swift
Flatten.swift
Swift
2,205
0.8
0.08
0.492537
react-lib
656
2024-06-15T20:00:56.390146
GPL-3.0
false
426bf66c640cf9b524d11d6c4aa7e804
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenUtils\Formatting.swift
Formatting.swift
Swift
1,210
0.8
0.139535
0.416667
awesome-app
163
2024-01-24T01:45:32.915944
Apache-2.0
false
58b8f89872b832642091d9e1d937297d
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenUtils\Hashing.swift
Hashing.swift
Swift
1,257
0.8
0.06
0.261905
vue-tools
23
2024-01-20T14:14:16.458084
GPL-3.0
false
b50e29c4682b4d3e7be7a113c5fcd0ed
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenUtils\Mph.swift
Mph.swift
Swift
2,545
0.8
0.152381
0.1375
react-lib
312
2023-12-02T10:41:38.046298
Apache-2.0
false
50643aa9b6d90b8f765d4d1d6fc9400a
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L...
dataset_sample\swift\apple_swift\utils\gen-unicode-data\Sources\GenWordBreak\main.swift
main.swift
Swift
5,028
0.95
0.041237
0.163522
node-utils
557
2023-09-11T08:04:40.775361
Apache-2.0
false
95d40cb60bb44fff9c600483cafed7d6
// --- sourcekit_fuzzer.swift - a simple code completion fuzzer ---------------\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift...
dataset_sample\swift\apple_swift\utils\sourcekit_fuzzer\sourcekit_fuzzer.swift
sourcekit_fuzzer.swift
Swift
5,619
0.95
0.117949
0.341615
vue-tools
691
2023-07-21T23:36:12.098132
GPL-3.0
false
7afd2753ab26a3aa8dd8a280d2ef03a3
// swift-tools-version: 5.8\n// The swift-tools-version declares the minimum version of Swift required to build this package.\n\nimport PackageDescription\nimport class Foundation.ProcessInfo\n\nlet package = Package(\n name: "swift-xcodegen",\n platforms: [.macOS(.v13)],\n targets: [\n .target(name: "X...
dataset_sample\swift\apple_swift\utils\swift-xcodegen\Package.swift
Package.swift
Swift
1,585
0.95
0.04
0.042553
node-utils
140
2024-12-25T09:15:09.676449
MIT
false
6a0bf1a3998fb87e8bbd5ede97e21f0b