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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
//\n// TunnelControlPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-11.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass TunnelControlPage: Page {\n private struct ConnectionAttempt: Hashable {\n let ipAddress: String... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\TunnelControlPage.swift | TunnelControlPage.swift | Swift | 8,730 | 0.95 | 0.109091 | 0.121547 | react-lib | 162 | 2025-02-14T18:58:50.777059 | GPL-3.0 | true | 01563a2762190086c2cc4ff12951af5d |
//\n// UDPOverTCPObfuscationSettingsPage.swift\n// MullvadVPN\n//\n// Created by Andrew Bulhak on 2024-12-12.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass UDPOverTCPObfuscationSettingsPage: Page {\n @discardableResult override init(_ app: XCUIApplicat... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\UDPOverTCPObfuscationSettingsPage.swift | UDPOverTCPObfuscationSettingsPage.swift | Swift | 1,163 | 0.95 | 0.044444 | 0.216216 | vue-tools | 513 | 2025-05-31T16:06:07.891668 | BSD-3-Clause | true | a77e68874a449ee97fad5c54712dafc3 |
//\n// VPNSettingsPage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-03-04.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass VPNSettingsPage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\VPNSettingsPage.swift | VPNSettingsPage.swift | Swift | 6,297 | 0.95 | 0.011111 | 0.055944 | python-kit | 957 | 2025-01-07T15:17:16.080086 | BSD-3-Clause | true | 6af4bcca042d5f9b2e28ffb055cc17c3 |
//\n// WelcomePage.swift\n// MullvadVPNUITests\n//\n// Created by Niklas Berglund on 2024-01-30.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport XCTest\n\nclass WelcomePage: Page {\n @discardableResult override init(_ app: XCUIApplication) {\n super.init(app)\n\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Pages\WelcomePage.swift | WelcomePage.swift | Swift | 919 | 0.95 | 0.029412 | 0.25 | node-utils | 190 | 2025-06-18T16:03:15.972094 | BSD-3-Clause | true | e8cc4a17fad3b3bf627e5c94eeb564f3 |
//\n// SnapshotHelper.swift\n// Example\n//\n// Created by Felix Krause on 10/8/15.\n//\n\n// -----------------------------------------------------\n// IMPORTANT: When modifying this file, make sure to\n// increment the version number at the very\n// bottom of the file to notify users about\n//... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\MullvadVPNUITests\Screenshots\SnapshotHelper.swift | SnapshotHelper.swift | Swift | 11,733 | 0.95 | 0.122699 | 0.143911 | node-utils | 456 | 2024-02-17T09:08:49.308065 | GPL-3.0 | true | eb1956b8632c06dc5c7cd095af5270af |
//\n// AsyncBlockOperation.swift\n// Operations\n//\n// Created by pronebird on 06/07/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport protocol MullvadTypes.Cancellable\n\n/// Asynchronous block operation\npublic class AsyncBlockOperation: AsyncOperation, @unchecked S... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\AsyncBlockOperation.swift | AsyncBlockOperation.swift | Swift | 1,656 | 0.95 | 0.016129 | 0.153846 | awesome-app | 172 | 2025-04-24T05:30:02.222190 | BSD-3-Clause | false | ac16f9a30bcaf035f2d76c0c4005cf61 |
//\n// AsyncOperation.swift\n// Operations\n//\n// Created by pronebird on 01/06/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n@objc private enum State: Int, Comparable, CustomStringConvertible {\n case initialized\n case pending\n case evaluatingConditions\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\AsyncOperation.swift | AsyncOperation.swift | Swift | 10,241 | 0.95 | 0.065 | 0.125392 | react-lib | 326 | 2024-06-24T08:18:36.107302 | Apache-2.0 | false | e516f89bd8cf0358d7d6ebc52e2568b0 |
//\n// AsyncOperationQueue.swift\n// Operations\n//\n// Created by pronebird on 30/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic final class AsyncOperationQueue: OperationQueue, @unchecked Sendable {\n override public func addOperation(_ operation: Operatio... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\AsyncOperationQueue.swift | AsyncOperationQueue.swift | Swift | 2,894 | 0.95 | 0.117647 | 0.08642 | python-kit | 447 | 2025-05-09T13:20:13.582121 | Apache-2.0 | false | c5ed63528a272e076341315cfa8df1f6 |
//\n// BackgroundObserver.swift\n// Operations\n//\n// Created by pronebird on 31/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n#if canImport(UIKit)\n\nimport MullvadTypes\nimport UIKit\n\n@available(iOSApplicationExtension, unavailable)\npublic final class BackgroundObserver: OperationO... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\BackgroundObserver.swift | BackgroundObserver.swift | Swift | 1,518 | 0.95 | 0.055556 | 0.255814 | awesome-app | 354 | 2024-04-17T10:24:11.733086 | MIT | false | 3f9ad277d4d8fe2749fbbc87eadfcc75 |
//\n// BlockCondition.swift\n// Operations\n//\n// Created by pronebird on 25/09/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic final class BlockCondition: OperationCondition {\n public typealias HandlerBlock = (Operation, @escaping (Bool) -> Void) -> Void\n\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\BlockCondition.swift | BlockCondition.swift | Swift | 687 | 0.95 | 0.066667 | 0.291667 | node-utils | 133 | 2024-01-06T17:20:50.151321 | GPL-3.0 | false | 97d1d504574a2c16be7c0cecfda6ecda |
//\n// GroupOperation.swift\n// Operations\n//\n// Created by pronebird on 31/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic final class GroupOperation: AsyncOperation, @unchecked Sendable {\n private let operationQueue = AsyncOperationQueue()\n private l... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\GroupOperation.swift | GroupOperation.swift | Swift | 929 | 0.95 | 0.028571 | 0.25 | python-kit | 194 | 2023-07-11T13:17:59.153158 | GPL-3.0 | false | 1928168414243f3865830c7e7f4976d3 |
//\n// MutuallyExclusive.swift\n// Operations\n//\n// Created by pronebird on 25/09/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic final class MutuallyExclusive: OperationCondition {\n public let name: String\n\n public var isMutuallyExclusive: Bool {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\MutuallyExclusive.swift | MutuallyExclusive.swift | Swift | 537 | 0.95 | 0.08 | 0.35 | vue-tools | 196 | 2023-09-02T03:48:22.446430 | GPL-3.0 | false | 739c4204c0aef6edfe9996d4a15be379 |
//\n// NoCancelledDependenciesCondition.swift\n// Operations\n//\n// Created by pronebird on 25/09/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic final class NoCancelledDependenciesCondition: OperationCondition {\n public var name: String {\n "NoCancelle... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\NoCancelledDependenciesCondition.swift | NoCancelledDependenciesCondition.swift | Swift | 670 | 0.95 | 0.068966 | 0.304348 | node-utils | 186 | 2025-05-22T18:09:16.998281 | GPL-3.0 | false | 1d376aa56c2b957a3375ba0b59b637d4 |
//\n// NoFailedDependenciesCondition.swift\n// Operations\n//\n// Created by pronebird on 25/09/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic final class NoFailedDependenciesCondition: OperationCondition {\n public var name: String {\n "NoFailedDependen... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\NoFailedDependenciesCondition.swift | NoFailedDependenciesCondition.swift | Swift | 1,249 | 0.95 | 0.090909 | 0.228571 | node-utils | 61 | 2025-01-24T07:18:51.121438 | BSD-3-Clause | false | 756c0d7b838f1c875112da6476dafb1e |
//\n// OperationBlockObserverSupport.swift\n// Operations\n//\n// Created by Jon Petersson on 2023-09-07.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic protocol OperationBlockObserverSupport {}\n\nextension OperationBlockObserverSupport where Self: AsyncOperation {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\OperationBlockObserverSupport.swift | OperationBlockObserverSupport.swift | Swift | 1,003 | 0.95 | 0 | 0.407407 | react-lib | 968 | 2024-07-26T21:41:46.395616 | GPL-3.0 | false | 2d4973bf651b8f8e5b3f5c782da7a25c |
//\n// OperationCondition.swift\n// Operations\n//\n// Created by pronebird on 30/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic protocol OperationCondition {\n var name: String { get }\n var isMutuallyExclusive: Bool { get }\n\n func evaluate(for oper... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\OperationCondition.swift | OperationCondition.swift | Swift | 365 | 0.95 | 0.0625 | 0.538462 | vue-tools | 227 | 2024-06-26T23:31:53.750037 | BSD-3-Clause | false | 3f1f8b3d85f6f3dd4c7106fecb6a1632 |
//\n// OperationError.swift\n// Operations\n//\n// Created by pronebird on 24/01/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic enum OperationError: LocalizedError, Equatable {\n /// Unsatisfied operation requirement.\n case unsatisfiedRequirement\n\n ///... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\OperationError.swift | OperationError.swift | Swift | 724 | 0.95 | 0.03125 | 0.333333 | vue-tools | 959 | 2024-05-06T16:56:27.788024 | MIT | false | 4257acd3e25e8bbe5d617283368288d7 |
//\n// OperationObserver.swift\n// Operations\n//\n// Created by pronebird on 30/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic protocol OperationObserver {\n func didAttach(to operation: Operation)\n func operationDidStart(_ operation: Operation)\n fu... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\OperationObserver.swift | OperationObserver.swift | Swift | 1,821 | 0.95 | 0.079365 | 0.148148 | awesome-app | 420 | 2023-10-27T17:00:26.678890 | Apache-2.0 | false | 866940e883f79cbaf8202cb907375d4b |
//\n// OutputOperation.swift\n// Operations\n//\n// Created by pronebird on 31/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic protocol OutputOperation: Operation {\n associatedtype Output: Sendable\n\n var output: Output? { get }\n}\n | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\OutputOperation.swift | OutputOperation.swift | Swift | 285 | 0.95 | 0 | 0.583333 | awesome-app | 91 | 2025-05-10T22:28:59.739114 | Apache-2.0 | false | 864992f7da50e80ecc67946865735877 |
//\n// ResultBlockOperation.swift\n// Operations\n//\n// Created by pronebird on 12/05/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport protocol MullvadTypes.Cancellable\n\npublic final class ResultBlockOperation<Success: Sendable>: ResultOperation<Success>, @unchecke... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\ResultBlockOperation.swift | ResultBlockOperation.swift | Swift | 1,772 | 0.95 | 0.033898 | 0.14 | awesome-app | 53 | 2025-02-23T08:21:07.918253 | GPL-3.0 | false | 629389e537d68f335ed5ac78321717cf |
//\n// ResultOperation.swift\n// Operations\n//\n// Created by pronebird on 23/03/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Base class for operations producing result.\nopen class ResultOperation<Success: Sendable>: AsyncOperation, OutputOperation, @unchecked Se... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Operations\ResultOperation.swift | ResultOperation.swift | Swift | 3,636 | 0.95 | 0.049645 | 0.132743 | python-kit | 989 | 2024-08-24T08:16:15.025267 | Apache-2.0 | false | ca680e1a2838a3b2849ec59bf71b459b |
//\n// DeviceCheck.swift\n// PacketTunnel\n//\n// Created by pronebird on 13/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// The verdict of an account status check.\nenum AccountVerdict: Equatable {\n /// Account is no longer valid.\n cas... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\DeviceCheck\DeviceCheck.swift | DeviceCheck.swift | Swift | 1,732 | 0.95 | 0.028571 | 0.446429 | awesome-app | 111 | 2024-03-21T11:00:03.686091 | GPL-3.0 | false | 82cd492e96ec2749b99d10484116cc1f |
//\n// DeviceCheckOperation.swift\n// PacketTunnel\n//\n// Created by pronebird on 20/04/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Operations\nimport PacketTunnelCore\nimpor... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\DeviceCheck\DeviceCheckOperation.swift | DeviceCheckOperation.swift | Swift | 11,268 | 0.95 | 0.091216 | 0.116466 | python-kit | 450 | 2024-06-18T23:50:15.254172 | Apache-2.0 | false | 4080c97571f2610d4495bd072f40eef2 |
//\n// DeviceCheckRemoteService.swift\n// PacketTunnel\n//\n// Created by pronebird on 30/05/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\nimport WireGuardKitTypes\n\n/// An object that implements remote service used by `DeviceChec... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\DeviceCheck\DeviceCheckRemoteService.swift | DeviceCheckRemoteService.swift | Swift | 1,798 | 0.95 | 0 | 0.142857 | node-utils | 963 | 2024-06-30T00:04:50.041008 | GPL-3.0 | false | 5510f9c76bd4f9dc21b8c9644be50d5a |
//\n// DeviceCheckRemoteServiceProtocol.swift\n// PacketTunnel\n//\n// Created by pronebird on 07/06/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport WireGuardKitTypes\n\n/// A protocol that formalizes remote service dependency used by `DeviceChec... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\DeviceCheck\DeviceCheckRemoteServiceProtocol.swift | DeviceCheckRemoteServiceProtocol.swift | Swift | 892 | 0.95 | 0 | 0.296296 | awesome-app | 475 | 2024-12-16T01:16:31.875201 | GPL-3.0 | false | 852f22a9bdd20328678d40ce334b4649 |
//\n// DeviceStateAccessor.swift\n// PacketTunnel\n//\n// Created by pronebird on 30/05/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport MullvadTypes\n\n/// An object that provides access to `DeviceState` used by `DeviceCheckOperation`.\nstruct... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\DeviceCheck\DeviceStateAccessor.swift | DeviceStateAccessor.swift | Swift | 571 | 0.95 | 0.090909 | 0.421053 | vue-tools | 732 | 2024-06-19T15:25:48.140603 | BSD-3-Clause | false | 7d236f88da785923bdc69d60698f6d03 |
//\n// DeviceStateAccessorProtocol.swift\n// PacketTunnel\n//\n// Created by pronebird on 07/06/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\n\n/// A protocol that formalizes device state accessor dependency used by `DeviceCheckOperation`.\nprotoco... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\DeviceCheck\DeviceStateAccessorProtocol.swift | DeviceStateAccessorProtocol.swift | Swift | 431 | 0.95 | 0 | 0.571429 | python-kit | 657 | 2023-08-02T16:17:11.335744 | GPL-3.0 | false | 8015cf7da1fc3dac26940d5d302b37bd |
//\n// BlockedStateErrorMapper.swift\n// PacketTunnel\n//\n// Created by pronebird on 14/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport PacketTunnelCore\nimport WireGuardKit\n\n/**\n Struct responsi... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PacketTunnelProvider\BlockedStateErrorMapper.swift | BlockedStateErrorMapper.swift | Swift | 3,043 | 0.95 | 0.063291 | 0.3 | python-kit | 300 | 2025-04-26T03:34:31.000587 | GPL-3.0 | false | 7ecff6975176b4b5fdbcb3740fdbdce8 |
//\n// DeviceCheck+BlockedStateReason.swift\n// PacketTunnel\n//\n// Created by pronebird on 14/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport PacketTunnelCore\n\nextension DeviceCheck {\n /// Returns blocked state reason inferred from the device check result.... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PacketTunnelProvider\DeviceCheck+BlockedStateReason.swift | DeviceCheck+BlockedStateReason.swift | Swift | 655 | 0.95 | 0.103448 | 0.333333 | awesome-app | 987 | 2025-05-14T21:20:45.508923 | MIT | false | 27dbd88f9648ed4e68e956f0394cab52 |
//\n// DeviceChecker.swift\n// PacketTunnel\n//\n// Created by pronebird on 12/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\nimport Operations\nimport PacketTunnelCore\n\nfinal class DeviceChecker {\n private let dispatchQueu... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PacketTunnelProvider\DeviceChecker.swift | DeviceChecker.swift | Swift | 1,944 | 0.95 | 0.017544 | 0.183673 | react-lib | 274 | 2024-01-06T09:27:41.368729 | GPL-3.0 | false | 12a2fda4fd6696229513b03dd3893892 |
//\n// NEProviderStopReason+Debug.swift\n// PacketTunnel\n//\n// Created by pronebird on 14/04/2020.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport NetworkExtension\n\nextension NEProviderStopReason: CustomStringConvertible {\n public var description: String {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PacketTunnelProvider\NEProviderStopReason+Debug.swift | NEProviderStopReason+Debug.swift | Swift | 1,567 | 0.95 | 0.037736 | 0.137255 | awesome-app | 46 | 2024-05-25T07:45:31.083850 | MIT | false | 7a5c8ca720632be8f3b6485ac03e0472 |
//\n// PacketTunnelPathObserver.swift\n// PacketTunnel\n//\n// Created by pronebird on 10/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport MullvadLogging\nimport MullvadTypes\nimport Network\nimport NetworkExtension\nimport PacketTunnelCore\n\nfinal class PacketTunnel... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PacketTunnelProvider\PacketTunnelPathObserver.swift | PacketTunnelPathObserver.swift | Swift | 1,529 | 0.95 | 0.017857 | 0.148936 | awesome-app | 276 | 2025-05-30T12:46:43.089031 | GPL-3.0 | false | cd86f9b7d33bdf416abcaab009def6e6 |
//\n// PacketTunnelProvider.swift\n// PacketTunnel\n//\n// Created by pronebird on 31/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\nimport MullvadRustRuntime\nimport MullvadSettings\nimport MullvadTypes\nimport NetworkExtensio... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PacketTunnelProvider\PacketTunnelProvider.swift | PacketTunnelProvider.swift | Swift | 16,492 | 0.95 | 0.06383 | 0.088154 | react-lib | 13 | 2025-02-13T00:33:50.812553 | Apache-2.0 | false | 28590f044b00d5fc89ee33505ae3221b |
//\n// SettingsReader.swift\n// PacketTunnel\n//\n// Created by pronebird on 30/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport PacketTunnelCore\n\nstruct SettingsReader: SettingsReaderProtocol {\n func read() throws -> Settings {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PacketTunnelProvider\SettingsReader.swift | SettingsReader.swift | Swift | 1,714 | 0.95 | 0.103448 | 0.196078 | node-utils | 696 | 2023-09-20T08:49:52.288018 | MIT | false | f7e9e142a3ab3ed3c1b301897034e10b |
//\n// PostQuantumKeyExchangingPipeline.swift\n// PacketTunnel\n//\n// Created by Mojgan on 2024-07-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadRustRuntime\nimport MullvadSettings\nimport MullvadTypes\nimport PacketTunnelCore\nimport WireGuardKitTypes\n\nfinal public class Eph... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PostQuantum\EphemeralPeerExchangingPipeline.swift | EphemeralPeerExchangingPipeline.swift | Swift | 2,913 | 0.95 | 0.02381 | 0.090909 | awesome-app | 580 | 2023-11-28T20:14:46.526444 | Apache-2.0 | false | a2498ad5df1b59aec77c6e587e5c0ebd |
//\n// MultiHopPostQuantumKeyExchanging.swift\n// PacketTunnel\n//\n// Created by Mojgan on 2024-07-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadRustRuntime\nimport MullvadSettings\nimport MullvadTypes\nimport PacketTunnelCore\nimport WireGuardKitTypes\n\nfi... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PostQuantum\MultiHopEphemeralPeerExchanger.swift | MultiHopEphemeralPeerExchanger.swift | Swift | 6,154 | 0.95 | 0.029586 | 0.051282 | python-kit | 116 | 2024-11-16T18:50:15.494417 | BSD-3-Clause | false | 2f26e2b5f15bbd24110b7bdca2b7cbc0 |
//\n// PostQuantumKeyExchangeActor.swift\n// PacketTunnel\n//\n// Created by Marco Nikic on 2024-04-12.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadRustRuntimeProxy\nimport MullvadTypes\nimport NetworkExtension\nimport WireGuardKitTypes\n\npublic protocol PostQu... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PostQuantum\PostQuantumKeyExchangeActor.swift | PostQuantumKeyExchangeActor.swift | Swift | 5,261 | 0.95 | 0.034483 | 0.168 | vue-tools | 505 | 2025-01-21T17:14:38.077657 | Apache-2.0 | false | 334e5b5f338be3b5ac702ecd4a60e4bb |
//\n// SingleHopPostQuantumKeyExchanging.swift\n// PacketTunnel\n//\n// Created by Mojgan on 2024-07-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadRustRuntime\nimport MullvadSettings\nimport MullvadTypes\nimport PacketTunnelCore\nimport WireGuardKitTypes\n\ns... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\PostQuantum\SingleHopEphemeralPeerExchanger.swift | SingleHopEphemeralPeerExchanger.swift | Swift | 3,350 | 0.95 | 0 | 0.079545 | vue-tools | 547 | 2024-08-11T06:09:10.823882 | Apache-2.0 | false | d1cdbda59bd909b93273f11fb63b41c6 |
//\n// WgAdapter.swift\n// PacketTunnel\n//\n// Created by pronebird on 29/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n@preconcurrency import MullvadLogging\nimport MullvadTypes\nimport NetworkExtension\nimport PacketTunnelCore\n@preconcurrency import WireGuardKit\n\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\WireGuardAdapter\WgAdapter.swift | WgAdapter.swift | Swift | 7,375 | 0.95 | 0.100437 | 0.04712 | vue-tools | 406 | 2024-07-30T04:05:53.303159 | MIT | false | 7e79069e3a83cc4ef47bd525a4d1133e |
//\n// WireGuardAdapter+Async.swift\n// PacketTunnel\n//\n// Created by pronebird on 30/06/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport WireGuardKit\n\nextension WireGuardAdapter {\n func start(tunnelConfiguration: TunnelConfiguration, daita: DaitaConfiguration... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\WireGuardAdapter\WireGuardAdapter+Async.swift | WireGuardAdapter+Async.swift | Swift | 2,154 | 0.95 | 0.117647 | 0.111111 | react-lib | 856 | 2023-09-11T15:58:36.803106 | MIT | false | 87b0e64d653d05fcfdb0163fa1c10092 |
//\n// WireGuardAdapterError+Localization.swift\n// PacketTunnel\n//\n// Created by pronebird on 14/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport WireGuardKit\n\nextension WireGuardAdapterError: LocalizedError {\n public var errorDescription: String? {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\WireGuardAdapter\WireGuardAdapterError+Localization.swift | WireGuardAdapterError+Localization.swift | Swift | 1,699 | 0.95 | 0.02 | 0.166667 | react-lib | 392 | 2023-08-03T19:02:37.015076 | Apache-2.0 | false | 76433ec1eb2602f5ec8ca0f2d7dd080a |
//\n// WireGuardLogLevel+Logging.swift\n// PacketTunnel\n//\n// Created by pronebird on 15/07/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport WireGuardKit\n\nextension WireGuardLogLevel {\n var loggerLevel: Logger.Level {\n switch sel... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnel\WireGuardAdapter\WireGuardLogLevel+Logging.swift | WireGuardLogLevel+Logging.swift | Swift | 425 | 0.95 | 0.045455 | 0.35 | vue-tools | 592 | 2024-06-14T10:15:32.049025 | GPL-3.0 | false | 6b781510bc4462faa3264124a25d1b1e |
//\n// AnyTask.swift\n// PacketTunnel\n//\n// Created by pronebird on 28/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// A type-erased `Task`.\npublic protocol AnyTask: Sendable {\n /// Cancel task.\n func cancel()\n}\n\nextension Task: AnyTask {}\n | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\AnyTask.swift | AnyTask.swift | Swift | 294 | 0.95 | 0 | 0.642857 | awesome-app | 735 | 2024-08-24T01:27:13.911374 | Apache-2.0 | false | cf2bc1229cd7e0e511d36b8969fe7621 |
//\n// AutoCancellingTask.swift\n// PacketTunnel\n//\n// Created by pronebird on 31/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/**\n Type that cancels the task held inside upon `deinit`.\n\n It behaves identical to `Combine.AnyCancellable`.\n */\npublic final clas... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\AutoCancellingTask.swift | AutoCancellingTask.swift | Swift | 473 | 0.95 | 0.038462 | 0.428571 | react-lib | 430 | 2025-03-10T00:21:44.102066 | BSD-3-Clause | false | ad24983023169c5eca7d797986d61097 |
//\n// ConfigurationBuilder.swift\n// PacketTunnel\n//\n// Created by pronebird on 30/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport Network\nimport WireGuardKitTypes\n\n/// Error returned when there is an endpoint but its public key is inval... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\ConfigurationBuilder.swift | ConfigurationBuilder.swift | Swift | 2,659 | 0.95 | 0.021978 | 0.1125 | awesome-app | 995 | 2024-05-09T17:23:54.878254 | GPL-3.0 | false | d2da5c7386406d42fdc3fe7b138439bd |
//\n// ConnectionConfigurationBuilder.swift\n// PacketTunnelCore\n//\n// Created by Mojgan on 2024-09-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport Network\nimport WireGuardKitTypes\n\nprotocol Configuration {\n var name: String { get }\n f... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\ConnectionConfigurationBuilder.swift | ConnectionConfigurationBuilder.swift | Swift | 5,502 | 0.95 | 0.073826 | 0.053435 | python-kit | 806 | 2024-09-09T06:55:04.758846 | Apache-2.0 | false | fc244fa808c36d2979345f96d6185d79 |
//\n// EphemeralPeerKey.swift\n// PacketTunnelCore\n//\n// Created by Mojgan on 2024-07-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport WireGuardKitTypes\n\n/// The preshared / private key used by ephemeral peers\npublic struct EphemeralPeerKey: Equatable {\n public let preSharedKey:... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\EphemeralPeerKey.swift | EphemeralPeerKey.swift | Swift | 534 | 0.95 | 0 | 0.470588 | python-kit | 678 | 2023-08-08T04:51:33.956888 | Apache-2.0 | false | 7c273d27e2e685660e9fdcc519ffd4f0 |
//\n// EphemeralPeerNegotiationState.swift\n// PacketTunnelCore\n//\n// Created by Mojgan on 2024-07-16.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadREST\nimport MullvadTypes\n@preconcurrency import WireGuardKitTypes\n\npublic enum EphemeralPeerNegotiationState: Equatable, Sendabl... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\EphemeralPeerNegotiationState.swift | EphemeralPeerNegotiationState.swift | Swift | 2,260 | 0.95 | 0.014493 | 0.116667 | python-kit | 68 | 2023-11-14T09:19:47.884128 | Apache-2.0 | false | 7e123faf5da83415631a680d87925211 |
//\n// EventChannel.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 27/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n// Formerly known as CommandChannel\n//\n\nimport Foundation\n\n/**\n Sync-to-async ordered coalescing channel with unbound buffering.\n\n Publishers send events ove... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\EventChannel.swift | EventChannel.swift | Swift | 7,640 | 0.95 | 0.09417 | 0.206522 | node-utils | 37 | 2023-09-08T12:11:29.960090 | GPL-3.0 | false | bd5e65ba2043df26600ec7147fb34d24 |
//\n// NetworkPath+.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 14/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\nextension Network.NWPath.Status {\n /// Converts `NetworkPath.status` into `NetworkReachability`.\n var networkReacha... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\NetworkPath+NetworkReachability.swift | NetworkPath+NetworkReachability.swift | Swift | 587 | 0.95 | 0.038462 | 0.333333 | node-utils | 21 | 2023-10-31T11:21:24.161703 | GPL-3.0 | false | 96074cd5e90a038ea528237a9a4862ae |
//\n// ObservedState+Extensions.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 16/10/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\nextension ObservedState {\n public var name: String {\n switch self {\n case .connected:\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\ObservedState+Extensions.swift | ObservedState+Extensions.swift | Swift | 1,355 | 0.95 | 0.053571 | 0.134615 | node-utils | 767 | 2025-01-09T08:22:40.474754 | GPL-3.0 | false | be37cb57bd08c49b46a977b796e49fc9 |
//\n// ObservedState.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 11/10/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport Foundation\nimport MullvadREST\nimport MullvadSettings\nimport MullvadTypes\nimport Network\n@preconcurrency import WireGuardKitTypes\n\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\ObservedState.swift | ObservedState.swift | Swift | 4,591 | 0.95 | 0.007752 | 0.109244 | node-utils | 946 | 2025-02-15T00:13:29.186097 | Apache-2.0 | false | 589d1b3e35d7a8c25837dfd117ffb4b6 |
//\n// Actor+ConnectionMonitoring.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 26/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension PacketTunnelActor {\n /// Assign a closure receiving tunnel monitor events.\n func setTunnelMonitorEventHandl... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor+ConnectionMonitoring.swift | PacketTunnelActor+ConnectionMonitoring.swift | Swift | 551 | 0.95 | 0 | 0.529412 | awesome-app | 935 | 2024-09-30T15:27:38.393699 | GPL-3.0 | false | e6b76bc5799637c2677fda10ce24fcc7 |
//\n// Actor+ErrorState.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 26/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport Network\nimport WireGuardKitTypes\n\nextension PacketTunnelActor {\n /**\n Transition actor to error s... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor+ErrorState.swift | PacketTunnelActor+ErrorState.swift | Swift | 6,286 | 0.95 | 0.092593 | 0.17037 | python-kit | 280 | 2025-02-03T03:05:49.448184 | GPL-3.0 | false | 0a5dbef805d9c540c1e8a73c13651e68 |
//\n// Actor+.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 07/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Combine\nimport Foundation\n\nextension PacketTunnelActor {\n /// Returns a stream yielding `ObservedState`.\n /// Note that the stream yields current va... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor+Extensions.swift | PacketTunnelActor+Extensions.swift | Swift | 1,108 | 0.95 | 0.075 | 0.314286 | python-kit | 746 | 2023-09-28T17:22:48.415916 | BSD-3-Clause | false | 441adf988677b7431426290f31498a4b |
//\n// Actor+KeyPolicy.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 26/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension PacketTunnelActor {\n /**\n Cache WG active key for a period of time, before switching to using the new one stored in s... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor+KeyPolicy.swift | PacketTunnelActor+KeyPolicy.swift | Swift | 3,837 | 0.95 | 0.122449 | 0.3125 | python-kit | 202 | 2023-08-07T06:18:24.571398 | MIT | false | 0362d968c7460b119bd6c05a9c5e909c |
//\n// Actor+NetworkReachability.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 26/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\nextension PacketTunnelActor {\n /**\n Start observing changes to default path.\n\n - Parameter noti... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor+NetworkReachability.swift | PacketTunnelActor+NetworkReachability.swift | Swift | 1,324 | 0.95 | 0 | 0.342857 | react-lib | 498 | 2023-12-27T01:51:21.148223 | GPL-3.0 | false | 0c1c09507314a128846ab7edf34bba55 |
//\n// PacketTunnelActor+PostQuantum.swift\n// PacketTunnelCore\n//\n// Created by Andrew Bulhak on 2024-05-13.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport WireGuardKitTypes\n\nextension PacketTunnelActor {\n /**\n Attempt to start the proce... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor+PostQuantum.swift | PacketTunnelActor+PostQuantum.swift | Swift | 4,334 | 0.95 | 0.119266 | 0.185567 | react-lib | 114 | 2023-12-10T07:40:00.012640 | Apache-2.0 | false | ed9c4129bc54a80df5ee98331f3a1703 |
//\n// PacketTunnelActor+Public.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 27/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport WireGuardKitTypes\n\n/**\n Public methods for dispatching commands to Actor.\n\n - All methods in thi... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor+Public.swift | PacketTunnelActor+Public.swift | Swift | 2,408 | 0.95 | 0.061728 | 0.343284 | node-utils | 871 | 2023-07-19T12:05:31.886202 | GPL-3.0 | false | 98587fcb9d45757ff720742716bc5ecc |
//\n// Actor+SleepCycle.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 26/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nextension PacketTunnelActor {\n /**\n Clients should call this method to notify actor when device wakes up.\n\n `NEPacketTun... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor+SleepCycle.swift | PacketTunnelActor+SleepCycle.swift | Swift | 712 | 0.95 | 0 | 0.458333 | react-lib | 960 | 2023-07-13T15:00:13.701061 | MIT | false | 59b348589b7433fa8eb9447eefe09113 |
//\n// PacketTunnelActor.swift\n// PacketTunnel\n//\n// Created by pronebird on 30/06/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n@preconcurrency import MullvadLogging\nimport MullvadREST\nimport MullvadRustRuntime\nimport MullvadSettings\nimport MullvadTypes\nimport Ne... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActor.swift | PacketTunnelActor.swift | Swift | 19,199 | 0.95 | 0.105051 | 0.095349 | awesome-app | 985 | 2023-11-03T03:42:41.255516 | GPL-3.0 | false | c699399711e590ad8c9a3bf7693fc30a |
//\n// Command.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 27/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport Network\nimport WireGuardKitTypes\n\nextension PacketTunnelActor {\n /// Describes events that the state machine ha... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActorCommand.swift | PacketTunnelActorCommand.swift | Swift | 2,917 | 0.95 | 0.047059 | 0.260274 | python-kit | 925 | 2025-07-01T14:38:50.693122 | BSD-3-Clause | false | 2e3470cf37cdb5b352a1a2a9676c342a |
//\n// PacketTunnelActorProtocol.swift\n// PacketTunnelCoreTests\n//\n// Created by Jon Petersson on 2023-10-11.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic protocol PacketTunnelActorProtocol {\n var observedState: ObservedState { get async }\n\n func reconnect... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActorProtocol.swift | PacketTunnelActorProtocol.swift | Swift | 417 | 0.95 | 0 | 0.538462 | python-kit | 829 | 2024-01-04T21:09:17.209610 | MIT | false | 77f15c8c07751d401f1b0abcbbb589aa |
//\n// PacketTunnelActorReducer.swift\n// PacketTunnelCore\n//\n// Created by Andrew Bulhak on 2024-05-22.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport Network\nimport WireGuardKitTypes\n\nextension PacketTunnelActor {\n /// A structure encoding... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\PacketTunnelActorReducer.swift | PacketTunnelActorReducer.swift | Swift | 8,823 | 0.95 | 0.078125 | 0.106509 | react-lib | 38 | 2023-11-20T11:12:01.526065 | Apache-2.0 | false | 0ed33171876d8d4ad7bfdae517c0617b |
//\n// ProtocolObfuscator.swift\n// PacketTunnelCore\n//\n// Created by Marco Nikic on 2023-11-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadRustRuntime\nimport MullvadSettings\nimport MullvadTypes\n\npublic struct ProtocolObfuscationResult... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\ProtocolObfuscator.swift | ProtocolObfuscator.swift | Swift | 2,518 | 0.95 | 0.024096 | 0.185714 | python-kit | 536 | 2025-06-14T22:40:36.207304 | GPL-3.0 | false | ba719a3457d6d68b814445a1e1610c79 |
//\n// StartOptions.swift\n// PacketTunnel\n//\n// Created by pronebird on 03/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\n\n/// Packet tunnel start options parsed from dictionary passed to packet tunnel with a call to `startTunnel()`.\npublic stru... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\StartOptions.swift | StartOptions.swift | Swift | 1,799 | 0.95 | 0.051724 | 0.346939 | vue-tools | 862 | 2025-06-09T05:53:08.421174 | MIT | false | 232a134613ee67979570fad3ef92ff8a |
//\n// State+Extensions.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 08/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport WireGuardKitTypes\n\nextension State {\n /// Target state the actor should transition into upon request to... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\State+Extensions.swift | State+Extensions.swift | Swift | 8,047 | 0.95 | 0.084444 | 0.111675 | python-kit | 607 | 2023-07-12T15:29:38.459120 | MIT | false | e3b30752476a2c3f010b520e812082d1 |
//\n// State.swift\n// PacketTunnel\n//\n// Created by pronebird on 07/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadRustRuntime\nimport MullvadSettings\nimport MullvadTypes\n@preconcurrency import WireGuardKitTypes\n\n/**\n Tunnel act... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\State.swift | State.swift | Swift | 9,354 | 0.95 | 0.055556 | 0.44 | awesome-app | 161 | 2024-08-27T13:10:38.118194 | MIT | false | f886edb0b5b55aa22c61456eb5b7b3a2 |
//\n// Task+.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 11/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\nprivate typealias TaskCancellationError = CancellationError\n\nextension Task where Success == Never, Failure == Never {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\Task+Duration.swift | Task+Duration.swift | Swift | 2,883 | 0.95 | 0.119403 | 0.333333 | vue-tools | 247 | 2023-09-19T16:36:22.801292 | Apache-2.0 | false | 95f172def5ba49a0bc59eb1d0958c571 |
//\n// Timings.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 21/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// Struct holding all timings used by tunnel actor.\npublic struct PacketTunnelActorTimings: Sendable {\n /// Periodici... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\Timings.swift | Timings.swift | Swift | 936 | 0.95 | 0.035714 | 0.458333 | vue-tools | 417 | 2024-07-25T01:00:37.313560 | GPL-3.0 | false | b57f47b9a3899b48f3b19230b4e0a517 |
//\n// TunnelSettingsManager.swift\n// PacketTunnelCore\n//\n// Created by Mojgan on 2024-06-05.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\npublic struct TunnelSettingsManager: SettingsReaderProtocol {\n let settingsReader: SettingsReaderProtocol\n let onLoadSettingsHandler: ((Settings) ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\TunnelSettingsManager.swift | TunnelSettingsManager.swift | Swift | 709 | 0.8 | 0.043478 | 0.35 | node-utils | 919 | 2024-02-07T19:07:48.847793 | MIT | false | 21bb2fe135b07efb1fd6851bee962e89 |
//\n// BlockedStateErrorMapperProtocol.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 14/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// A type responsible for mapping errors returned by dependencies of `PacketTunnelActor` to `Block... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\Protocols\BlockedStateErrorMapperProtocol.swift | BlockedStateErrorMapperProtocol.swift | Swift | 434 | 0.95 | 0.066667 | 0.615385 | react-lib | 544 | 2024-07-19T20:16:00.283287 | MIT | false | ae710a77f8f04b9b0f323ba5b2d3d3af |
//\n// PostQuantumKeyExchangingProtocol.swift\n// PacketTunnel\n//\n// Created by Mojgan on 2024-07-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\nimport WireGuardKitTypes\n\npublic protocol EphemeralPeerExchangingProtocol {\n func start() async\n func receivePostQua... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\Protocols\EphemeralPeerExchangingProtocol.swift | EphemeralPeerExchangingProtocol.swift | Swift | 545 | 0.95 | 0 | 0.388889 | python-kit | 425 | 2025-02-18T14:45:09.169097 | GPL-3.0 | false | 21bfc1590acb09c9c0aeac7544f5b99f |
//\n// SettingsReaderProtocol.swift\n// PacketTunnel\n//\n// Created by pronebird on 25/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadSettings\nimport MullvadTypes\nimport Network\n@preconcurrency import WireGuardKitTypes\n\n/// A type that implements a r... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\Protocols\SettingsReaderProtocol.swift | SettingsReaderProtocol.swift | Swift | 3,456 | 0.95 | 0.036036 | 0.25 | python-kit | 193 | 2023-08-23T02:37:38.983509 | MIT | false | 60b8c0049ebaedaa087125ee976f22b9 |
//\n// TunnelAdapterProtocol.swift\n// PacketTunnel\n//\n// Created by pronebird on 08/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport Network\n\n@preconcurrency import WireGuardKitTypes\n\n/// Protocol describing interface for any kind of ada... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Actor\Protocols\TunnelAdapterProtocol.swift | TunnelAdapterProtocol.swift | Swift | 1,417 | 0.95 | 0.021739 | 0.333333 | react-lib | 464 | 2023-07-17T21:58:54.054144 | GPL-3.0 | false | c5e6db9c1541b12b432d0bf419ce59f2 |
// swiftlint:disable line_length\n// This is an autogenerated file, do not edit\npublic struct Maybenot {\n public let machines="""\n02eNptjLsNwCAQQ++yQRZImTJlRIfYBDEJA7ERJQtQ0iC+dxSIJ1mWLcv5TsLH9wMmF4KLqwkRAawk2yPR00CHX3V3j1GziWvE09NBBWg9Fjk=\n02eNqFjLENwCAMBP8hC2SJlKnTsVr2zBKUaVACNgiBEJxknex/Oezv9fjjRCF8mXLY4pAEbp... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Daita\Maybenot.swift | Maybenot.swift | Swift | 984 | 0.8 | 0 | 0.2 | node-utils | 165 | 2025-05-22T11:24:15.850452 | MIT | false | 17a4d63e210304976e57d40fafe3010a |
//\n// AppMessageHandler.swift\n// PacketTunnel\n//\n// Created by pronebird on 19/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadREST\n\n/**\n Actor handling packet tunnel IPC (app) messages and patching them through to the right fa... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\IPC\AppMessageHandler.swift | AppMessageHandler.swift | Swift | 3,489 | 0.95 | 0.052632 | 0.164557 | awesome-app | 492 | 2025-04-10T03:28:27.328300 | MIT | false | 7e8bcf429b899b9252cb85e2167422cd |
//\n// PacketTunnelOptions.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 22/08/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\n\npublic struct PacketTunnelOptions {\n /// Keys for options dictionary\n private enum Keys: String {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\IPC\PacketTunnelOptions.swift | PacketTunnelOptions.swift | Swift | 1,910 | 0.95 | 0.098361 | 0.291667 | vue-tools | 366 | 2025-05-28T13:03:47.263291 | MIT | false | 7a6bf105bc51b6768b8deb250d533ab2 |
//\n// TunnelProviderMessage.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 27/07/2021.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\n\n/// Enum describing supported app messages handled by packet tunnel provider.\npublic enum TunnelProviderMessa... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\IPC\TunnelProviderMessage.swift | TunnelProviderMessage.swift | Swift | 1,708 | 0.95 | 0.04918 | 0.3 | react-lib | 612 | 2024-12-19T19:21:40.715015 | Apache-2.0 | false | 286d9cf0300ef040e129e957ef5b7afb |
//\n// TunnelProviderReply.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 20/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Container type for tunnel provider reply.\npublic struct TunnelProviderReply<T: Codable>: Codable {\n public var value: T\n\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\IPC\TunnelProviderReply.swift | TunnelProviderReply.swift | Swift | 581 | 0.95 | 0.115385 | 0.380952 | vue-tools | 227 | 2023-09-09T02:29:33.907691 | Apache-2.0 | false | b4bc058bfe6d3488e6cd5be8e4cf88eb |
//\n// ICMP.swift\n// PacketTunnelCore\n//\n// Created by Andrew Bulhak on 2024-07-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nstruct ICMP {\n public enum Error: LocalizedError {\n case malformedResponse(MalformedResponseReason)\n\n public var errorDesc... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Pinger\ICMP.swift | ICMP.swift | Swift | 3,884 | 0.95 | 0.042017 | 0.164948 | python-kit | 94 | 2024-05-08T11:22:59.873719 | BSD-3-Clause | false | af0160f0a7069b4ae9fc537d617665e2 |
//\n// PingerProtocol.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 10/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\n/// The result of processing ICMP reply.\npublic enum PingerReply {\n /// ICMP reply was successfully parsed.\n cas... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Pinger\PingerProtocol.swift | PingerProtocol.swift | Swift | 928 | 0.95 | 0 | 0.419355 | react-lib | 351 | 2023-11-17T05:41:48.403626 | Apache-2.0 | false | 0c4a6251f135cf8cbf141201c684e922 |
//\n// TunnelPinger.swift\n// PacketTunnelCore\n//\n// Created by Andrew Bulhak on 2024-07-08.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport Network\nimport PacketTunnelCore\nimport WireGuardKit\n\npublic final class TunnelPinger: PingerProtocol {\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\Pinger\TunnelPinger.swift | TunnelPinger.swift | Swift | 2,944 | 0.95 | 0.068182 | 0.118421 | vue-tools | 845 | 2024-03-07T22:07:17.090640 | Apache-2.0 | false | 443dd7e3fb9a0b9b7377a5eb0c17242c |
//\n// DefaultPathObserverProtocol.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 10/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\n/// A type providing default path access and observation.\npublic protocol DefaultPathObserverProtocol: Send... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\TunnelMonitor\DefaultPathObserverProtocol.swift | DefaultPathObserverProtocol.swift | Swift | 735 | 0.95 | 0.043478 | 0.631579 | vue-tools | 276 | 2024-02-13T04:13:41.304280 | GPL-3.0 | false | 4858630b89409be74084faf219b5d5fd |
//\n// PingStats.swift\n// PacketTunnelCore\n//\n// Created by Marco Nikic on 2024-02-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Ping statistics.\nstruct PingStats {\n /// Dictionary holding sequence and corresponding date when echo request took place.\n var ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\TunnelMonitor\PingStats.swift | PingStats.swift | Swift | 504 | 0.95 | 0 | 0.647059 | python-kit | 388 | 2023-08-31T10:59:14.434447 | MIT | false | 0754ab90e273aa4bff0fd46ed5875599 |
//\n// TunnelDeviceInfoProtocol.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 08/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// A type that can provide statistics and basic information about tunnel device.\npublic protocol TunnelDeviceInfoProtocol {\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\TunnelMonitor\TunnelDeviceInfoProtocol.swift | TunnelDeviceInfoProtocol.swift | Swift | 488 | 0.95 | 0.055556 | 0.666667 | awesome-app | 319 | 2023-10-10T18:49:41.126554 | MIT | false | 85327f79221f8e1fa66cbfc4dc5b32c3 |
//\n// TunnelMonitor.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 09/02/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport MullvadTypes\nimport Network\nimport NetworkExtension\n\n/// Tunnel monitor.\npublic final class TunnelMonitor... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\TunnelMonitor\TunnelMonitor.swift | TunnelMonitor.swift | Swift | 10,584 | 0.95 | 0.06383 | 0.047782 | node-utils | 781 | 2023-09-03T17:44:54.734456 | BSD-3-Clause | false | a47df343f1f6101049532f09de9a4eda |
//\n// TunnelMonitorProtocol.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 10/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\n/// Tunnel monitor event.\npublic enum TunnelMonitorEvent: Sendable {\n /// Dispatched after receiving the firs... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\TunnelMonitor\TunnelMonitorProtocol.swift | TunnelMonitorProtocol.swift | Swift | 1,680 | 0.95 | 0.022727 | 0.6 | node-utils | 949 | 2025-03-23T12:10:16.070215 | GPL-3.0 | false | 421d39505ed1cd2ee7bf174cc73789de |
//\n// TunnelMonitorState.swift\n// PacketTunnelCore\n//\n// Created by Marco Nikic on 2024-02-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\n\n/// Connection state.\nenum TunnelMonitorConnectionState {\n /// Initialized and doing nothing.\n case s... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\TunnelMonitor\TunnelMonitorState.swift | TunnelMonitorState.swift | Swift | 5,688 | 0.95 | 0.09375 | 0.18 | node-utils | 730 | 2023-07-11T15:12:01.831349 | Apache-2.0 | false | f8e9b29995ace0763c8884f6ad567f0b |
//\n// TunnelMonitorTimings.swift\n// PacketTunnelCore\n//\n// Created by Jon Petersson on 2023-09-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadTypes\n\npublic struct TunnelMonitorTimings {\n /// Interval for periodic heartbeat ping issued when traffic is flowing.\n /// S... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\TunnelMonitor\TunnelMonitorTimings.swift | TunnelMonitorTimings.swift | Swift | 2,637 | 0.95 | 0.043478 | 0.375 | python-kit | 560 | 2025-01-04T11:28:22.457947 | Apache-2.0 | false | 5233dde018847e0963f5153ae61af4c4 |
//\n// WgStats.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 08/08/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic struct WgStats {\n public let bytesReceived: UInt64\n public let bytesSent: UInt64\n\n public init(bytesReceived: UInt64 = 0, by... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\TunnelMonitor\WgStats.swift | WgStats.swift | Swift | 416 | 0.95 | 0 | 0.4375 | awesome-app | 916 | 2024-10-10T00:14:48.310373 | GPL-3.0 | false | bfcb07e3bb72dfb2c484fc837027101d |
//\n// ProxyURLRequest.swift\n// PacketTunnelCore\n//\n// Created by Sajad Vishkai on 2022-10-03.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// Struct describing serializable URLRequest data.\npublic struct ProxyURLRequest: Codable {\n public let id: UUID\n public l... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\URLRequestProxy\ProxyURLRequest.swift | ProxyURLRequest.swift | Swift | 990 | 0.95 | 0 | 0.258065 | node-utils | 4 | 2025-06-27T01:18:26.749949 | Apache-2.0 | false | 6ea56ff5efcec0e54517951735e485cd |
//\n// ProxyURLResponse.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 20/10/2022.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\n\n/// Struct describing serializable URLResponse data.\npublic struct ProxyURLResponse: Codable, Sendable {\n publ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\URLRequestProxy\ProxyURLResponse.swift | ProxyURLResponse.swift | Swift | 1,830 | 0.95 | 0 | 0.148148 | node-utils | 105 | 2024-09-29T03:54:52.817634 | GPL-3.0 | false | fb36e3eb84184a970ac277bcbb73805b |
//\n// URLRequestProxy.swift\n// PacketTunnelCore\n//\n// Created by pronebird on 03/02/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport MullvadTypes\n\n/// Network request proxy capable of passing serializable requests and responses over the given... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\URLRequestProxy\URLRequestProxy.swift | URLRequestProxy.swift | Swift | 3,308 | 0.95 | 0.044444 | 0.213333 | react-lib | 670 | 2023-09-23T22:29:45.023798 | Apache-2.0 | false | a93cfe2411e68e8170896b9827606400 |
//\n// URLRequestProxyProtocol.swift\n// PacketTunnelCore\n//\n// Created by Jon Petersson on 2023-10-11.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\n\npublic protocol URLRequestProxyProtocol {\n func sendRequest(_ proxyRequest: ProxyURLRequest, complet... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCore\URLRequestProxy\URLRequestProxyProtocol.swift | URLRequestProxyProtocol.swift | Swift | 492 | 0.95 | 0 | 0.5 | awesome-app | 695 | 2023-09-04T14:37:45.917765 | Apache-2.0 | false | 2bda82c13c87873bb1985c406e42199e |
//\n// BlockedStateErrorMapperStub.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 18/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport PacketTunnelCore\n\n/// Blocked state error mapper stub that can be configured with a block t... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\BlockedStateErrorMapperStub.swift | BlockedStateErrorMapperStub.swift | Swift | 828 | 0.95 | 0.033333 | 0.4 | awesome-app | 294 | 2024-02-16T13:56:39.851050 | GPL-3.0 | true | d5ee452003671167e357901f598acf1b |
//\n// DefaultPathObserverFake.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 16/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\nimport NetworkExtension\nimport PacketTunnelCore\n\n/// Default path observer fake that uses in-memory storag... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\DefaultPathObserverFake.swift | DefaultPathObserverFake.swift | Swift | 984 | 0.95 | 0.029412 | 0.321429 | python-kit | 84 | 2025-06-02T21:24:05.527214 | BSD-3-Clause | true | ad8a7a0ad65b4f935ddd5015c074f741 |
//\n// EphemeralPeerExchangeActorStub.swift\n// MullvadPostQuantumTests\n//\n// Created by Mojgan on 2024-07-18.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n@testable import MullvadRustRuntime\n@testable import MullvadTypes\nimport NetworkExtension\n@testable import PacketTunnelCore\n@testable ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\EphemeralPeerExchangeActorStub.swift | EphemeralPeerExchangeActorStub.swift | Swift | 1,699 | 0.95 | 0.054545 | 0.145833 | awesome-app | 36 | 2025-03-06T00:56:40.804740 | BSD-3-Clause | true | af3a55c58f8435e66cb9fbbbf589a440 |
//\n// KeyExchangingResultStub.swift\n// MullvadPostQuantumTests\n//\n// Created by Mojgan on 2024-07-19.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\n@testable import MullvadRustRuntime\n@testable import MullvadTypes\n@testable import WireGuardKitTypes\n\nstruct KeyExchangingResultStub: Ephemer... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\KeyExchangingResultStub.swift | KeyExchangingResultStub.swift | Swift | 1,132 | 0.95 | 0 | 0.225806 | react-lib | 841 | 2023-08-06T05:50:24.185380 | BSD-3-Clause | true | 132404ac609f77a2325c36d3754f27c9 |
//\n// NetworkCounters.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 16/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/// A type capable of receiving and updating network counters.\nprotocol NetworkStatsReporting {\n /// Increment number of bytes... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\NetworkCounters.swift | NetworkCounters.swift | Swift | 1,416 | 0.95 | 0.037037 | 0.318182 | awesome-app | 289 | 2024-07-17T23:47:53.700073 | BSD-3-Clause | true | f19516e8911bd5d7468e1da5c002e353 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.