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
//===--- Options.swift ----------------------------------------------------===//\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\swift-xcodegen\Sources\swift-xcodegen\Options.swift
Options.swift
Swift
7,917
0.95
0.100372
0.059574
awesome-app
431
2025-06-03T14:02:13.526760
BSD-3-Clause
false
4fe38a4d3d41e78b1ad03041f216b986
//===--- SwiftXcodegen.swift ----------------------------------------------===//\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\swift-xcodegen\Sources\swift-xcodegen\SwiftXcodegen.swift
SwiftXcodegen.swift
Swift
13,847
0.95
0.276744
0.077748
python-kit
867
2023-11-17T02:34:41.889007
GPL-3.0
false
398ecc72d5c6d5c43b13804e00121bdc
//===--- Error.swift ------------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Error.swift
Error.swift
Swift
1,288
0.8
0.090909
0.354839
vue-tools
123
2025-07-03T05:37:44.821963
Apache-2.0
false
02c8eb484d2c7651f80028a27d08bc29
//===--- Repo.swift -------------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Repo.swift
Repo.swift
Swift
1,115
0.8
0.1
0.324324
react-lib
703
2025-06-14T05:15:56.715795
BSD-3-Clause
false
22e72e1d5dbd9419576df8de8b5489be
//===--- Utils.swift ------------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Utils.swift
Utils.swift
Swift
4,153
0.8
0.076923
0.140625
awesome-app
76
2024-01-20T06:21:05.710763
GPL-3.0
false
e1704a072589174890d44df697f3001f
//===--- BuildArgs.swift --------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\BuildArgs\BuildArgs.swift
BuildArgs.swift
Swift
9,153
0.8
0.190141
0.186992
vue-tools
621
2024-02-08T00:37:51.350521
MIT
false
6e2772d5a40bde96395f006ff0db1e7f
//===--- ClangBuildArgsProvider.swift -------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\BuildArgs\ClangBuildArgsProvider.swift
ClangBuildArgsProvider.swift
Swift
3,909
0.95
0.272727
0.3
python-kit
964
2023-09-26T10:25:10.412695
MIT
false
a1262cdf6ca1dfc189301e1f7872709b
//===--- CommandArgTree.swift ---------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\BuildArgs\CommandArgTree.swift
CommandArgTree.swift
Swift
2,377
0.8
0.254237
0.480769
awesome-app
779
2025-06-28T01:02:22.472248
BSD-3-Clause
false
5eeb346f61952f9638622bef9e1614c6
//===--- RunnableTargets.swift --------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\BuildArgs\RunnableTargets.swift
RunnableTargets.swift
Swift
2,219
0.8
0.093333
0.203125
awesome-app
969
2025-01-16T23:19:14.059538
Apache-2.0
false
d213d1bf7726d863698e3c3bf2e04866
//===--- SwiftTargets.swift -----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\BuildArgs\SwiftTargets.swift
SwiftTargets.swift
Swift
9,219
0.8
0.208178
0.150407
awesome-app
136
2024-03-28T01:20:06.490411
GPL-3.0
false
838a6b79e2fafc30530454dc55c03846
//===--- Command.swift ----------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Command\Command.swift
Command.swift
Swift
6,085
0.8
0.059441
0.090535
awesome-app
370
2024-01-13T21:40:53.554402
GPL-3.0
false
1429007b4cac0b9f2f8500a33ab973aa
//===--- CommandParser.swift ----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Command\CommandParser.swift
CommandParser.swift
Swift
6,123
0.8
0.191176
0.102703
vue-tools
583
2024-04-15T17:32:28.426760
BSD-3-Clause
false
508a934c85c5d932ae157bd41af3296f
//===--- CompileCommands.swift --------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Command\CompileCommands.swift
CompileCommands.swift
Swift
1,354
0.8
0.06383
0.3
vue-tools
533
2023-12-17T15:11:58.874436
BSD-3-Clause
false
b7d1fbdd1ba8158fa4863e57ceaef7c5
//===--- CompileLanguage.swift --------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Command\CompileLanguage.swift
CompileLanguage.swift
Swift
807
0.8
0.166667
0.392857
awesome-app
646
2024-11-01T02:46:13.747196
GPL-3.0
false
83be0db2c61422a00a968d92999d7f83
//===--- FlagSpec.swift ---------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Command\FlagSpec.swift
FlagSpec.swift
Swift
2,286
0.8
0.074074
0.216216
awesome-app
810
2024-12-28T17:57:44.331458
MIT
false
a21a89d308372fc09d6aec6d24c4f43e
//===--- KnownCommand.swift -----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Command\KnownCommand.swift
KnownCommand.swift
Swift
8,267
0.95
0.063604
0.169231
python-kit
452
2025-02-15T17:36:53.420232
Apache-2.0
false
940b1027c486796be7c01bd5d783ef9b
//===--- Lock.swift -----------------------------------------------===//\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/LICENSE.t...
dataset_sample\swift\apple_swift\utils\swift-xcodegen\Sources\SwiftXcodeGen\Concurrency\Lock.swift
Lock.swift
Swift
1,119
0.95
0.093023
0.297297
awesome-app
257
2024-05-07T05:25:59.543313
GPL-3.0
false
cb279594293bf4e3d4c136cfc359dabc
//===--- MutexBox.swift ---------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Concurrency\MutexBox.swift
MutexBox.swift
Swift
1,026
0.95
0.128205
0.314286
python-kit
136
2024-11-22T13:08:41.421017
MIT
false
393e70fba0bc3d96b02b45aac181abcf
//===--- ClangTarget.swift ------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\ClangTarget.swift
ClangTarget.swift
Swift
2,798
0.8
0.243902
0.22973
node-utils
940
2024-08-14T19:32:40.933955
MIT
false
cde8666727af17f4f89c7519707c1727
//===--- ClangTargetSource.swift ------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\ClangTargetSource.swift
ClangTargetSource.swift
Swift
891
0.8
0.111111
0.48
awesome-app
96
2025-04-13T19:27:25.438406
BSD-3-Clause
false
1acf592f08b4e9107574fff6b64597ab
//===--- GeneratedProject.swift -------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\GeneratedProject.swift
GeneratedProject.swift
Swift
774
0.8
0.095238
0.578947
node-utils
104
2024-11-26T06:29:37.963397
BSD-3-Clause
false
704f86f6bc237aac6108c94682748089
//===--- ProjectGenerator.swift -------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\ProjectGenerator.swift
ProjectGenerator.swift
Swift
29,856
0.95
0.177363
0.168848
awesome-app
757
2023-08-26T18:37:20.126242
BSD-3-Clause
false
c84c81aa797ea4dd6a7599739139d35f
//===--- ProjectSpec.swift ------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\ProjectSpec.swift
ProjectSpec.swift
Swift
7,637
0.8
0.161943
0.119816
vue-tools
458
2024-06-21T06:45:39.669587
Apache-2.0
false
3fd6a74a427e154de399b8e3d80484e6
//===--- SchemeGenerator.swift --------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\SchemeGenerator.swift
SchemeGenerator.swift
Swift
4,454
0.95
0.075581
0.084507
vue-tools
650
2024-09-08T12:52:59.221631
MIT
false
2e2bccd21b14060862ae9907739ffa84
//===--- SwiftTarget.swift ------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\SwiftTarget.swift
SwiftTarget.swift
Swift
1,775
0.95
0.086957
0.183333
python-kit
277
2023-11-18T11:24:40.967680
MIT
false
4b1e16743d97749079106eb07b6c24c7
//===--- SwiftTargetSource.swift ------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\SwiftTargetSource.swift
SwiftTargetSource.swift
Swift
628
0.8
0.105263
0.647059
vue-tools
985
2023-10-02T07:39:13.286667
BSD-3-Clause
false
425ec4dc7928e4240ed37a5315877eab
//===--- WorkspaceGenerator.swift -----------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Generator\WorkspaceGenerator.swift
WorkspaceGenerator.swift
Swift
2,634
0.8
0.103448
0.205128
python-kit
338
2023-09-14T09:46:18.832932
Apache-2.0
false
66c93e5391fc243df12f5856b5138f0d
//===--- AnsiColor.swift - ANSI formatting control codes ------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2022-2024 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\swift-xcodegen\Sources\SwiftXcodeGen\Logging\AnsiColor.swift
AnsiColor.swift
Swift
4,320
0.8
0.055901
0.106667
react-lib
597
2023-08-21T18:12:47.843252
MIT
false
a08144c028ac9c7f622b6ec8b431ae3b
//===--- Logger.swift -----------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Logging\Logger.swift
Logger.swift
Swift
5,170
0.95
0.051136
0.166667
python-kit
917
2025-07-06T09:33:24.921257
Apache-2.0
false
3b76444c307d8823ec5c0dbd5707e3ed
//===--- BuildConfiguration.swift -----------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Ninja\BuildConfiguration.swift
BuildConfiguration.swift
Swift
831
0.8
0.107143
0.423077
vue-tools
902
2024-12-18T11:38:07.586908
GPL-3.0
false
b9de3fad7f34e83591865598f004c444
//===--- NinjaBuildDir.swift ----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Ninja\NinjaBuildDir.swift
NinjaBuildDir.swift
Swift
2,682
0.95
0.157895
0.205882
awesome-app
556
2023-08-07T19:42:39.766481
MIT
false
349b53a671ad27a56ec910c0154f8970
//===--- NinjaParser.swift ------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Ninja\NinjaParser.swift
NinjaParser.swift
Swift
9,961
0.95
0.149606
0.107784
node-utils
834
2024-04-06T12:25:17.078614
BSD-3-Clause
false
8626a45991c496f5860f09f3de9e0e99
//===--- RepoBuildDir.swift -----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Ninja\RepoBuildDir.swift
RepoBuildDir.swift
Swift
3,459
0.95
0.191304
0.107843
react-lib
134
2024-07-08T03:22:19.463724
GPL-3.0
false
2b9856dc904f6be2939b5943cf9798b8
//===--- AbsolutePath.swift -----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Path\AbsolutePath.swift
AbsolutePath.swift
Swift
3,178
0.95
0.113043
0.111111
vue-tools
54
2024-11-04T02:03:11.659071
Apache-2.0
false
57d7e31bc1c3ada62cd3b0a4bb678459
//===--- AnyPath.swift ----------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Path\AnyPath.swift
AnyPath.swift
Swift
1,878
0.95
0.085366
0.15493
awesome-app
841
2024-01-16T13:02:55.639632
MIT
false
1f773c2d53f47c5f9669063cde600d4b
//===--- DirectoryCache.swift ---------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Path\DirectoryCache.swift
DirectoryCache.swift
Swift
1,290
0.95
0.131579
0.411765
vue-tools
237
2024-11-02T08:15:51.072982
BSD-3-Clause
false
b5d7aa3fc5d83c8394705e08531dad76
//===--- FileExtension.swift ----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Path\FileExtension.swift
FileExtension.swift
Swift
727
0.8
0.103448
0.392857
awesome-app
662
2023-09-28T06:17:20.105508
BSD-3-Clause
false
135ebf932ffeaad86b71a08c2d3a0797
//===--- PathProtocol.swift -----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Path\PathProtocol.swift
PathProtocol.swift
Swift
4,167
0.95
0.072848
0.184
awesome-app
78
2024-01-08T09:05:29.450912
MIT
false
65bcc96e8fd2257783c6d9dbe3f973be
//===--- RelativePath.swift -----------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Path\RelativePath.swift
RelativePath.swift
Swift
2,341
0.95
0.065789
0.212121
python-kit
304
2025-03-30T00:01:25.779021
MIT
false
aff96b24e0089bcebae2b0ac1ed7ca12
//===--- Byte.swift -------------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Scanner\Byte.swift
Byte.swift
Swift
1,097
0.8
0.047619
0.289474
vue-tools
259
2024-09-16T04:34:24.493261
BSD-3-Clause
false
10bb74e3e57dde473af41866c5297d73
//===--- ByteScanner.swift ------------------------------------------------===//\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\swift-xcodegen\Sources\SwiftXcodeGen\Scanner\ByteScanner.swift
ByteScanner.swift
Swift
11,049
0.8
0.132212
0.106742
node-utils
983
2024-06-24T23:58:20.392425
MIT
false
a3d24b5debebc9ca2342e57298c311d7
//===----------------------------------------------------------------------===//\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\utils\swift-xcodegen\Sources\Xcodeproj\Errors.swift
Errors.swift
Swift
692
0.8
0.105263
0.611111
react-lib
968
2024-06-08T13:56:14.025638
Apache-2.0
false
5d1bef7d8ad00dab12c0658996a79bc1
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift 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 http://swift.org/L...
dataset_sample\swift\apple_swift\utils\swift-xcodegen\Sources\Xcodeproj\PropertyList.swift
PropertyList.swift
Swift
4,194
0.95
0.098684
0.17037
node-utils
363
2025-02-03T20:00:10.816182
GPL-3.0
false
0cf2a1bcb2a5be8c663dfb98ef23d7ab
//===--- PropertyListEncoder.swift ----------------------------------------===//\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\swift-xcodegen\Sources\Xcodeproj\PropertyListEncoder.swift
PropertyListEncoder.swift
Swift
8,708
0.95
0.038961
0.064039
vue-tools
271
2024-06-03T12:24:40.008834
Apache-2.0
false
fd06027b5b8c974f2e6d05f88af5a486
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift 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 http://swift.org/L...
dataset_sample\swift\apple_swift\utils\swift-xcodegen\Sources\Xcodeproj\XcodeProjectModel.swift
XcodeProjectModel.swift
Swift
18,071
0.95
0.086093
0.235294
node-utils
252
2024-01-14T15:24:59.169989
BSD-3-Clause
false
ab3bfa18bc7a7c8b67eb99b04abd5118
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift 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 http://swift.org/L...
dataset_sample\swift\apple_swift\utils\swift-xcodegen\Sources\Xcodeproj\XcodeProjectModelSerialization.swift
XcodeProjectModelSerialization.swift
Swift
23,739
0.95
0.157989
0.353755
react-lib
89
2024-03-25T06:47:32.930856
BSD-3-Clause
false
6ceb2d4e9512e7b0025375fac4985f8e
// swift-tools-version: 5.10.0\n// The swift-tools-version declares the minimum version of Swift required to build this package.\n\nimport PackageDescription\n\nlet package = Package(\n name: "swift_snapshot_tool",\n platforms: [.macOS(.v14)],\n products: [\n // Products define the executables and libraries a pac...
dataset_sample\swift\apple_swift\utils\swift_snapshot_tool\Package.swift
Package.swift
Swift
1,057
0.95
0
0.214286
awesome-app
37
2024-01-11T04:31:33.254037
GPL-3.0
false
12c04625485b84cda0481c5daec7b0c2
//===--- bisect_toolchains.swift ------------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\bisect_toolchains.swift
bisect_toolchains.swift
Swift
6,237
0.95
0.104167
0.096386
python-kit
964
2025-05-11T18:27:31.437745
Apache-2.0
false
929e4d38d95e8eea3db3c9cf27072272
//===--- download_toolchain.swift -----------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\download_toolchain.swift
download_toolchain.swift
Swift
5,926
0.95
0.131429
0.113924
react-lib
814
2024-10-30T08:24:57.567755
MIT
false
e7a27686caacc726a0c7e20d2bcb1c97
//===--- get_tags.swift ---------------------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\get_tags.swift
get_tags.swift
Swift
2,843
0.95
0.063158
0.240506
vue-tools
802
2023-07-21T14:33:24.147555
Apache-2.0
false
0dbc114dc5584b7f844f0095d8e2b388
//===--- github_repository.swift ------------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\github_repository.swift
github_repository.swift
Swift
1,112
0.95
0.083333
0.255814
vue-tools
208
2024-12-28T17:16:05.672255
MIT
false
467dcec22372d2888bc87f303ded7c57
//===--- list_snapshots.swift ---------------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\list_snapshots.swift
list_snapshots.swift
Swift
1,024
0.95
0.129032
0.461538
node-utils
954
2023-11-13T14:13:19.089176
BSD-3-Clause
false
f0d6809639c920111ea3f55570aba2e6
//===--- logging.swift ----------------------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\logging.swift
logging.swift
Swift
674
0.95
0.105263
0.647059
awesome-app
816
2024-05-07T09:27:14.019627
GPL-3.0
false
95a6698f5aac2254d01b74b4902fbf7f
//===--- misc_global_strings.swift ----------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\misc_global_strings.swift
misc_global_strings.swift
Swift
596
0.8
0.153846
0.916667
react-lib
972
2024-05-01T14:19:17.158232
Apache-2.0
false
ecee12c06beceae33da6b3277af9052a
//===--- run_toolchain.swift ----------------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\run_toolchain.swift
run_toolchain.swift
Swift
3,574
0.95
0.096491
0.166667
node-utils
428
2023-07-19T13:08:18.710596
GPL-3.0
false
d6ac08d9c35adc110436a9373202a162
//===--- swift_snapshot_tool.swift ----------------------------------------===//\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\utils\swift_snapshot_tool\Sources\swift_snapshot_tool\swift_snapshot_tool.swift
swift_snapshot_tool.swift
Swift
910
0.95
0.107143
0.44
react-lib
953
2025-05-28T06:38:54.921103
BSD-3-Clause
false
99c8d1d2039ec835f9ac73d8cc9b4b8b
// rdar://problem/54581756\n// RUN: %empty-directory(%t)\n\n// First set up an app-like target with the same name as a system module. Make\n// sure the bridging header has a bunch of extra imports to force the\n// SmallVector 'ImportedHeaderExports' in ClangImporter::Implementation to be\n// reallocated.\n// RUN: %targ...
dataset_sample\swift\apple_swift\validation-test\ClangImporter\bridging-header-reentrancy.swift
bridging-header-reentrancy.swift
Swift
1,102
0.95
0
0.785714
vue-tools
997
2024-09-18T15:23:47.203335
BSD-3-Clause
true
f3e505c21905ee3d0a168de1b0956928
// RUN: %target-swift-frontend -emit-sil %s -verify\n// RUN: %target-swift-frontend -emit-sil %s -enable-upcoming-feature MemberImportVisibility -verify\n\n// REQUIRES: VENDOR=apple\n// REQUIRES: swift_feature_MemberImportVisibility\n\nimport CoreFoundation\n\npublic func takesHashable<T: Hashable>(_ t: T) {}\n\npublic...
dataset_sample\swift\apple_swift\validation-test\ClangImporter\cfobject-conformances.swift
cfobject-conformances.swift
Swift
547
0.95
0
0.210526
python-kit
273
2024-04-14T17:03:38.436851
GPL-3.0
true
9413ae175f0763493c65ec27dea8f644
// RUN: %target-swift-frontend -F %S/Inputs/explicit-system-framework-path/sdkroot/Library/Frameworks -F %S/Inputs/explicit-system-framework-path/override -typecheck -sdk %S/Inputs/explicit-system-framework-path/sdkroot %s 2>&1 | %FileCheck %s\n\n// Make sure we're matching Clang's behavior on this.\n// RUN: echo '@imp...
dataset_sample\swift\apple_swift\validation-test\ClangImporter\explicit-system-framework-path.swift
explicit-system-framework-path.swift
Swift
919
0.95
0
0.9
python-kit
121
2025-05-23T16:28:40.551138
MIT
true
2a5196692ca4558a27e680bce727cc46
// RUN: %target-swift-frontend -sdk "" -I %S/Inputs/macros-repeatedly-redefined -typecheck %s -verify\n\n// This used to result in a use-after-free because the SmallVector holding the\n// macros was reallocated.\nimport A\nimport B\nimport C\nimport D\nimport E\nimport F\n\n_ = REDEFINED // no-warning\n_ = x // expecte...
dataset_sample\swift\apple_swift\validation-test\ClangImporter\macros-repeatedly-redefined.swift
macros-repeatedly-redefined.swift
Swift
345
0.95
0
0.272727
vue-tools
137
2023-11-29T08:35:30.693402
Apache-2.0
true
8608f9f0965df41f7fb1e27ffa35a78a
/// Darwin's memcmp accepts nullable pointers, make sure the SwiftShims one\n/// preserves the same type.\n// REQUIRES: VENDOR=apple\n// RUN: %target-build-swift %s -o %t.out\n\nimport SwiftShims\nimport Foundation\n\nfunc foo () {\n let a = UnsafeMutableRawPointer.allocate(byteCount: 4, alignment: 4)\n let b = Unsaf...
dataset_sample\swift\apple_swift\validation-test\ClangImporter\memcmp-definitions.swift
memcmp-definitions.swift
Swift
409
0.95
0
0.333333
vue-tools
99
2025-07-03T04:33:24.019542
BSD-3-Clause
true
fe624cc6465f93526033718f1f9a6e5e
// This source file is part of the Swift.org open source project\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.org/LICENSE.txt for license information\n// See https://swift.org/CONTRIBUTORS.txt for t...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers\28870-swift-associatedtypedecl-getoverriddendecls-const.swift
28870-swift-associatedtypedecl-getoverriddendecls-const.swift
Swift
462
0.95
0.3
0.777778
vue-tools
529
2024-10-27T19:33:40.473992
BSD-3-Clause
true
90a4bf0e487e8d9d8e3282f96668c24e
// RUN: not --crash %target-swift-frontend -emit-ir %s\n// rdar://problem/65571199\n// UNSUPPORTED: asan\n\n// https://github.com/apple/swift/issues/51259\n\nprotocol TreeProtocol {\n\n typealias NodeProtocol = _TreeNodeProtocol\n associatedtype Node : NodeProtocol where Node.Tree == Self\n associatedtype NVal...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2\0208-issue-51259.swift
0208-issue-51259.swift
Swift
1,297
0.8
0
0.095238
node-utils
814
2023-08-13T10:53:10.590380
MIT
true
56e0e396007b4e6f56f3fdb915c4b72e
// RUN: not --crash %target-swift-frontend -typecheck -target %target-swift-5.9-abi-triple %s\n\nstruct Variadic<each A> {}\n\nprotocol VariadicResult {\n associatedtype A\n func foo() -> Variadic<A>\n}\n\nfunc variadicResult(a: any VariadicResult) {\n a.foo()\n}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2\existential-member-access-invariant-pack-type.swift
existential-member-access-invariant-pack-type.swift
Swift
256
0.8
0
0.111111
awesome-app
56
2024-10-12T04:58:47.226661
Apache-2.0
true
f0ed21ae0403f2cf9e01cd0e760d86dc
// RUN: not --crash %target-swift-frontend -emit-sil %s\n\n// https://github.com/swiftlang/swift/issues/80657\nenum E {\n case e\n\n static func foo() {\n _ = { [self] in\n switch e {\n case e:\n break\n default:\n break\n }\n }\n }\n}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2\issue-80657.swift
issue-80657.swift
Swift
263
0.8
0.058824
0.133333
node-utils
210
2024-12-01T10:35:24.279977
Apache-2.0
true
bc4c5aa1ca7245c5f289cb9e37d3dd7a
// RUN: %target-swift-frontend %s -emit-silgen\n\n// rdar://problem/19792730\n\npublic func foo<\n Expected : Sequence,\n Actual : Sequence,\n T : Comparable\n>(expected: Expected, actual: Actual)\n where\n Expected.Iterator.Element == Actual.Iterator.Element,\n Expected.Iterator.Element == T {}\n\npublic func fo...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0001-rdar19792730.swift
0001-rdar19792730.swift
Swift
515
0.8
0
0.111111
python-kit
887
2023-12-02T22:25:18.267989
BSD-3-Clause
true
2bbb095a6fb1bc06cfac990ecec82a7c
// RUN: %target-swift-frontend %s -emit-silgen\n\n// rdar://problem/19792768\n\npublic func foo<\n Expected : Sequence,\n Actual : Sequence,\n T : Comparable\n>(_ expected: Expected, _ actual: Actual)\n where\n Expected.Iterator.Element == Actual.Iterator.Element,\n Expected.Iterator.Element == (T, T) {}\n\nfunc ...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0002-rdar19792768.swift
0002-rdar19792768.swift
Swift
411
0.8
0
0.133333
awesome-app
980
2025-04-29T21:15:44.560821
GPL-3.0
true
688cb4c4a0456503fef96eb8a275acd1
// RUN: not %target-swift-frontend %s -typecheck\n\npublic protocol Q_SequenceDefaults {\n typealias Element\n typealias Iterator : IteratorProtocol\n func makeIterator() -> Iterator\n}\n\nextension Q_SequenceDefaults {\n public final var underestimatedCount: Int { return 0 }\n public final func preprocessingPass<...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0003-rdar20564378.swift
0003-rdar20564378.swift
Swift
4,262
0.95
0.031847
0.195313
python-kit
197
2024-07-25T13:41:34.596116
Apache-2.0
true
c858974a5513122d0882d882ff7df48a
// RUN: %target-swift-frontend %s -typecheck\n\n// REQUIRES: objc_interop\n\nimport Foundation\n\nstruct X {\n var a: NSObject\n}\n\n[X]()\n\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0003-rdar20740573.swift
0003-rdar20740573.swift
Swift
131
0.95
0
0.285714
vue-tools
978
2023-08-29T19:25:02.944917
GPL-3.0
true
c2f8addcc379f1e8da36e61a93934493
// RUN: not %target-swift-frontend %s -typecheck\n\npublic protocol Q_SequenceDefaults {\n typealias Element\n typealias Iterator : IteratorProtocol\n func makeIterator() -> Iterator\n}\n\nextension Q_SequenceDefaults {\n public final var underestimatedCount: Int { return 0 }\n public final func preprocessingPass<...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0004-rdar20564605.swift
0004-rdar20564605.swift
Swift
4,452
0.95
0.02994
0.17037
awesome-app
386
2025-01-12T13:21:07.936105
MIT
true
6a17d5aebb4b97316fbf318b4dade054
// RUN: not %target-swift-frontend %s -typecheck\n\npublic protocol Q_SequenceDefaults {\n typealias Element\n typealias Iterator : IteratorProtocol\n func makeIterator() -> Iterator\n}\n\nextension Q_SequenceDefaults {\n public final var underestimatedCount: Int { return 0 }\n public final func preprocessingPass<...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0006-rdar20588474.swift
0006-rdar20588474.swift
Swift
4,260
0.95
0.031847
0.1875
python-kit
621
2025-06-09T10:31:48.524610
MIT
true
850fe64a176c498ab4e900bc39acf5fb
// RUN: not %target-swift-frontend %s -typecheck\n\nprotocol X {\n typealias R\n}\n\nextension Array : X {\n}\n\nlet xs = [1,2,3]\n\nfunc z<A: X>(A) {\n}\n\nlet ys = z(xs)\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0007-rdar20750480.swift
0007-rdar20750480.swift
Swift
161
0.8
0
0.1
python-kit
954
2025-05-29T18:58:58.922924
BSD-3-Clause
true
b385578db8f190fbb968ec631424fa0c
// RUN: %target-swift-frontend %s -emit-ir -o /dev/null\npublic protocol OurProtocol {\n\n associatedtype T\n var myVar: T? {get set}\n var validator: (Int) -> (T) { get set }\n}\n\nclass Parent {\n\n}\n\nclass MyClass<T> : OurProtocol {\n var myVar: T?\n var validator: (Int) -> (T) = { (t) -> (T) in return t as! ...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0008-rdar18796397.swift
0008-rdar18796397.swift
Swift
346
0.95
0.1
0.076923
python-kit
265
2024-08-18T13:58:44.253547
BSD-3-Clause
true
f46a515e77717868c4cea890f5f5c855
// RUN: %target-swift-frontend %s -emit-ir -o /dev/null\n\nprotocol P {\n static var name: String { get }\n init(i:Int)\n}\n\nclass A: P {\n class var name: String {\n get { return "A" }\n }\n required init(i:Int) {}\n}\nclass B: P {\n class var name: String {\n get { return "A" }\n }\n required init(i:In...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0009-rdar18996669.swift
0009-rdar18996669.swift
Swift
403
0.95
0.148148
0.047619
awesome-app
623
2023-09-09T09:06:03.102134
MIT
true
47928d2f653578078fec53264ebc92c7
// RUN: not %target-swift-frontend %s -typecheck\n\npublic protocol Q_SequenceDefaults {\n typealias Iterator : IteratorProtocol\n func makeIterator() -> Iterator\n}\n\nextension Q_SequenceDefaults {\n typealias Element = Iterator.Element\n \n public final var underestimatedCount: Int { return 0 }\n public final ...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0010-rdar20638881.swift
0010-rdar20638881.swift
Swift
4,310
0.95
0.031847
0.195313
react-lib
118
2025-02-15T03:12:09.225855
GPL-3.0
true
98a907721321faddbe25d48995a33ed1
// RUN: %target-swift-frontend %s -emit-ir\n\n// rdar://20985062\n\nclass A {\n func foo(_ a: [(x: Int, y: Double)]) {}\n}\n\nfunc accept<T>(_ t: T.Type, _ value: inout T) {}\n\ntypealias TheType = (A) -> ([(x: Int, y: Double)]) -> ()\nvar curried = A.foo\naccept(TheType.self, &curried)\n\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0011-rdar20985062.swift
0011-rdar20985062.swift
Swift
278
0.95
0.071429
0.222222
node-utils
295
2025-01-31T21:58:24.774101
BSD-3-Clause
true
7703e5ca135d149ace44a2bf7a96a25f
// RUN: not %target-swift-frontend %s -typecheck\n\nprotocol A {}\nextension A {\n final func f() {}\nprotocol B {\n func f()\n}\nstruct S : A, B {}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0011-rdar21042357.swift
0011-rdar21042357.swift
Swift
143
0.8
0
0.125
python-kit
650
2025-02-15T02:49:27.166942
GPL-3.0
true
262c46f0ee684c7ed17a2e68447f7ded
// RUN: %target-swift-frontend %s -emit-silgen\n\nprotocol FooProtocol {\n associatedtype Element\n}\n\nprotocol Bar {\n associatedtype Foo : FooProtocol\n typealias Element = Foo.Element\n\n mutating func extend<\n C : FooProtocol\n >(elements: C)\n where\n C.Element == Element\n}\n\nstruct FooImpl<T> : ...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0012-rdar20270240.swift
0012-rdar20270240.swift
Swift
569
0.8
0
0.115385
awesome-app
948
2023-07-30T16:01:10.361583
GPL-3.0
true
a841b91124c69987fa41c857ea3d3b68
// RUN: %target-swift-frontend %s -emit-ir\n\nprotocol SourceTargetTransformable {\n associatedtype Source\n associatedtype Target\n \n // FIXME: should really be a typealias once we support that\n associatedtype Transformer = (Source) -> Target\n}\n\n\nstruct PiecewiseTransformedIteratorOf<\n ...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0013-rdar19519590.swift
0013-rdar19519590.swift
Swift
2,545
0.8
0.042857
0.034483
python-kit
287
2024-07-05T22:10:41.998117
MIT
true
562bad2731809c95762073b7a8453a3b
// RUN: not %target-swift-frontend %s -typecheck\n\nprotocol MyIteratorProtocol {\n typealias Element\n mutating func next() -> Element?\n}\n\nprotocol MySequence {\n typealias Iterator : MyIteratorProtocol\n func makeIterator() -> Iterator\n}\n\nprotocol MyCollectionDefaults : MySequence {}\nextension MyCollection...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0014-rdar20508671.swift
0014-rdar20508671.swift
Swift
773
0.8
0
0.035714
node-utils
997
2024-03-13T05:34:27.477619
Apache-2.0
true
a62ab2735560d688eeab3a9eec70a2dc
// RUN: not %target-swift-frontend %s -typecheck\n\nprotocol P {\n func doSomething()\n\n typealias Y\n func doSomething2(Y)\n}\n\nprotocol P2 : P {\n func doSomething3()\n}\n\nstruct X {}\n\nclass B<T> : P2 {\n func doSomething() { }\n\n typealias Y = T\n\n func doSomething2<T2>(t : T) { }\n\n func doSomething...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0015-rdar16803384.swift
0015-rdar16803384.swift
Swift
651
0.95
0.021277
0.029412
vue-tools
524
2025-02-28T18:57:23.446307
Apache-2.0
true
56e8b009fb061d5be52bf45383d908ed
// RUN: %target-swift-frontend %s -emit-silgen\n\nstruct Curds {\n var whey: AnyObject? = nil\n}\n\nprivate class Butter {\n fileprivate func churn<T>(block: () throws -> T) throws -> T {\n return try block()\n }\n}\n\nstruct Cow {\n private var b : Butter\n init() {\n self.b = Butter()\n }\n\n func ...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0016-rdar21437203.swift
0016-rdar21437203.swift
Swift
474
0.95
0.1
0.041667
vue-tools
326
2024-05-26T13:03:48.554512
GPL-3.0
true
1eebb75b0cc33a34c9c372df99fb5859
// RUN: not %target-swift-frontend %s -typecheck\n\nprotocol Empty {}\n\nextension Empty {\n protocol ThisCrashesSwift {}\n}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0017-rdar21087186.swift
0017-rdar21087186.swift
Swift
122
0.8
0
0.2
python-kit
313
2025-02-21T15:31:34.315031
GPL-3.0
true
77dec288ed593bcb51f2b13406f2b3e3
// RUN: not %target-swift-frontend %s -typecheck\n\npublic protocol Indexable {\n typealias Index : ForwardIndex\n var startIndex: Index {get}\n var endIndex: Index {get}\n typealias _Element\n subscript(_i: Index) -> _Element {get}\n}\n\nprotocol Collection : Indexable, Sequence {}\n\npublic struct IndexingIterat...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0018-rdar21524144.swift
0018-rdar21524144.swift
Swift
655
0.8
0
0.043478
awesome-app
919
2025-02-25T00:39:55.499920
Apache-2.0
true
e4108910972047060a1396641570e833
// RUN: not %target-swift-frontend %s -typecheck\n\ninternal protocol _SequenceWrapper {\n typealias Base : Sequence\n typealias Iterator : IteratorProtocol = Base.Iterator\n \n var _base: Base {get}\n}\n\nextension Sequence\n where Self : _SequenceWrapper, Self.Iterator == Self.Base.Iterator {\n public func make...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0019-rdar21511651.swift
0019-rdar21511651.swift
Swift
14,318
0.95
0.037123
0.383099
react-lib
810
2024-06-14T20:14:14.638655
BSD-3-Clause
true
5d6cd884182819866626c283468852c3
// RUN: not %target-swift-frontend %s -typecheck\n\nprotocol Resettable : AnyObject {\n func reset()\n}\n\ninternal var _allResettables: [Resettable] = []\n\npublic class TypeIndexed<Value> : Resettable {\n public init(_ value: Value) {\n self.defaultValue = value\n _allResettables.append(self)\n }\n \n publ...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0020-rdar21598514.swift
0020-rdar21598514.swift
Swift
5,661
0.95
0.027273
0.038674
awesome-app
969
2025-04-27T10:35:02.128277
Apache-2.0
true
20397f4f90d01bd38e9151ec708ec1b8
// RUN: not %target-swift-frontend %s -typecheck\n\nprotocol Fixpoint {\n typealias Algebra : Algebraic\n init(_ : Algebra)\n var out: Algebra { get }}\nprotocol Algebraic {typealias Recur}\nenum Expr<T>: Algebraic {\n typealias Recur = T\n case Null\n func map<U>(transform: T -> U) -> Expr<U> {return .Null}\n}\nfunc o...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0021-rdar21333511.swift
0021-rdar21333511.swift
Swift
733
0.8
0
0.05
python-kit
938
2024-10-26T18:02:26.848890
GPL-3.0
true
3277033f9d2b51f945b089aa98e66b61
// RUN: %target-swift-frontend %s -emit-silgen\n\nimport StdlibUnittest\n\npublic struct MyRange<Bound : ForwardIndex> {\n var startIndex: Bound\n var endIndex: Bound\n}\n\npublic protocol ForwardIndex : Equatable {\n associatedtype Distance : SignedNumeric\n func successor() -> Self\n}\n\npublic protocol MySequenc...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0022-rdar21625478.swift
0022-rdar21625478.swift
Swift
11,295
0.95
0.016317
0.050279
node-utils
79
2024-07-03T08:09:30.850015
Apache-2.0
true
52cc7f73ac82146c9c9844260c8cf9a3
// RUN: not %target-swift-frontend %s -typecheck\n\nfinal class A<X, Y where Y.Z == X> {\n private var y: Y\n}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0024-rdar21551616.swift
0024-rdar21551616.swift
Swift
108
0.95
0.2
0.25
react-lib
409
2025-07-04T03:04:24.288516
Apache-2.0
true
98ad54b45f9d904288237109d695bdfa
// RUN: not %target-swift-frontend %s -typecheck\n\n/// Abstraction of numeric types that approximate real numbers\nprotocol ApproximateReal {\n init() // zero\n func * (Self,Self) -> Self\n func + (Self,Self) -> Self\n func / (Self,Self) -> Self\n func - (Self,Self) -> Self\n prefix func + (Self) -> Self\n pref...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0026-rdar21382194.swift
0026-rdar21382194.swift
Swift
2,909
0.8
0.026316
0.107527
awesome-app
682
2024-02-13T04:27:16.265487
MIT
true
f06f80602014e5d748810cce8a2b3493
// RUN: not %target-swift-frontend %s -typecheck\n\n/// A type that is just a wrapper over some base Sequence\ninternal protocol _SequenceWrapper {\n typealias Base : Sequence\n typealias Iterator : IteratorProtocol = Base.Iterator\n \n var _base: Base {get}\n}\n\nextension Sequence\n where Self : _SequenceWrapper...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0027-rdar21514140.swift
0027-rdar21514140.swift
Swift
12,849
0.95
0.037879
0.383436
vue-tools
688
2023-12-06T04:19:29.778115
BSD-3-Clause
true
e909b62e3db00053302c9b37f485295d
// RUN: not %target-swift-frontend %s -typecheck\n\n_ = {\n protocol P {\n typealias A\n }\n}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0031-rdar19606899.swift
0031-rdar19606899.swift
Swift
93
0.6
0
0.166667
node-utils
147
2024-09-23T17:57:15.590260
GPL-3.0
true
83fb2d1f68626068c6918d9b973d67ef
// RUN: not %target-swift-frontend %s -typecheck\n\nclass A : A { }\n\nfunc doIt<T>(obj: AnyObject) -> T? {\n return obj as? T\n}\n\nlet result: A? = doIt(A()) as A?\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0032-rdar19919421.swift
0032-rdar19919421.swift
Swift
159
0.95
0.111111
0.166667
vue-tools
592
2024-03-18T07:00:48.364475
Apache-2.0
true
e2f1b57a81bfe91c1d639ddfd9930ce9
// RUN: %target-swift-frontend %s -emit-silgen\n\nfunc a() {\n func f(x: (Void) -> Any) { }\n var g = { 3 }\n f { g }\n}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0034-rdar21982453.swift
0034-rdar21982453.swift
Swift
124
0.8
0
0.166667
awesome-app
691
2023-10-27T10:48:00.539819
BSD-3-Clause
true
920479e066f212f3431a02d79278b770
// RUN: not %target-swift-frontend %s -typecheck\n\nclass CFArray {}\nstruct U<T> {}\n\nfunc yyy<T, Result>(arg: inout T, _ body: U<T> -> Result) -> Result {\n return body(U<T>())\n}\n\nenum YYY: Int, OptionSet {\n case A = 1\n \n init(rawValue: Int) {\n self = .A\n }\n}\n\nfunc XXX(flags: YYY, _ outItems: U<CF...
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0035-rdar22003613.swift
0035-rdar22003613.swift
Swift
451
0.95
0.035714
0.045455
react-lib
277
2024-12-03T18:33:09.969791
MIT
true
8877702fafb3f12bbe32ab6600569322
// RUN: not %target-swift-frontend %s -typecheck\n\n// rdar://problem/23719809&23720006\n\nfunc ~=() {}\nfunc ~=(_: Int) {}\nfunc ~=(_: () -> ()) {}\n\nswitch 0 {\ncase 0:\n break\n}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0036-rdar23719809.swift
0036-rdar23719809.swift
Swift
175
0.8
0.083333
0.222222
awesome-app
299
2024-06-25T00:51:58.901428
MIT
true
5ccef2f735b31275abc555549bf8b402
// RUN: not %target-swift-frontend %s -emit-silgen\n\nprotocol FooType {\n func bar(b: Int)\n}\n\nextension FooType {\n func bar(a: Int, b: Int) {}\n}\n\nstruct Foo : FooType {}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0037-SILWitnessVisitor.swift
0037-SILWitnessVisitor.swift
Swift
170
0.8
0
0.125
python-kit
145
2024-01-27T01:40:50.649189
MIT
true
1ff0116b2ccbfac8708cd9643eef4741
// RUN: not %target-swift-frontend %s -emit-silgen\n\nstruct BInt {}\ntypealias IncompleteRange = (BInt?, BInt?)\nextension IncompleteRange {}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0039-typechecker-crash.swift
0039-typechecker-crash.swift
Swift
139
0.8
0
0.25
vue-tools
203
2024-02-21T14:12:13.216352
Apache-2.0
true
e1329a5c6bd1862e3ac7b65a829f6046
// RUN: %target-swift-frontend %s -emit-silgen\n\n// rdar://23899799\nlet sol1 = { $1 ? "Dr. " + $0 : $0 }\nsol1("Seuss", true)\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0040-rdar23899799-broken-bool.swift
0040-rdar23899799-broken-bool.swift
Swift
125
0.8
0
0.5
vue-tools
911
2025-05-27T08:00:39.903167
Apache-2.0
true
e30e4f46a8e6bf68d564e28a1c4ee042
// RUN: %target-swift-frontend %s -typecheck\n\nextension Collection {\n func f() -> [Iterator.Element] {\n return Array(self.prefix(0))\n }\n}\n
dataset_sample\swift\apple_swift\validation-test\compiler_crashers_2_fixed\0041-walkToDeclPost-crash.swift
0041-walkToDeclPost-crash.swift
Swift
151
0.8
0
0.166667
react-lib
829
2025-04-28T12:18:27.933842
GPL-3.0
true
ffc14f4f7d8e970ed7b60b58c5834a9d