<commit_before>//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

/// NWProtocolDefinition is an abstract superclass that represents the identifier of a
/// protocol that can be used with connections and listeners, such as TCP.
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
public class NWProtocolDefinition : Equatable, CustomDebugStringConvertible {
	public static func == (lhs: NWProtocolDefinition, rhs: NWProtocolDefinition) -> Bool {
		return nw_protocol_definition_is_equal(lhs.nw, rhs.nw)
	}

	/// The name of the protocol, such as "TCP" or "UDP"
	public let name: String
	internal let nw: nw_protocol_definition_t

	internal init(_ nw: nw_protocol_definition_t, _ name: String) {
		self.name = name
		self.nw = nw
	}

	public var debugDescription: String {
		return self.name
	}
}

/// NWProtocolOptions is an abtract superclass that represents a configuration options
/// that can be used to add a protocol into an NWParameters.ProtocolStack. These options
/// configure the behavior of a protocol and cannot be changed after starting a connection.
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
public class NWProtocolOptions {
	internal let nw: nw_protocol_options_t


	internal init(_ nw: nw_protocol_options_t) {
		self.nw = nw
	}
}

/// NWProtocolMetadata is an abtract superclass. An instance of metadata holds a set of
/// protocol-specific metadata. This metadata allows clients to pass down protocol requirements
/// specific to some content being sent; as well as to retrieve metadata specific to some
/// content that was received. Each protocol is responsible for defining its own accessor
/// functions to set and get metadata.
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
public class NWProtocolMetadata {
	internal let nw: nw_protocol_metadata_t

	internal init(_ nw: nw_protocol_metadata_t) {
		self.nw = nw
	}
}

/// NWProtocol is an abstract superclass to which protocol implementations conform.
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
public class NWProtocol {

}
<commit_msg>network-typos: Added another file to this commit<commit_after>//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

/// NWProtocolDefinition is an abstract superclass that represents the identifier of a
/// protocol that can be used with connections and listeners, such as TCP.
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
public class NWProtocolDefinition : Equatable, CustomDebugStringConvertible {
	public static func == (lhs: NWProtocolDefinition, rhs: NWProtocolDefinition) -> Bool {
		return nw_protocol_definition_is_equal(lhs.nw, rhs.nw)
	}

	/// The name of the protocol, such as "TCP" or "UDP"
	public let name: String
	internal let nw: nw_protocol_definition_t

	internal init(_ nw: nw_protocol_definition_t, _ name: String) {
		self.name = name
		self.nw = nw
	}

	public var debugDescription: String {
		return self.name
	}
}

/// NWProtocolOptions is an abstract superclass that represents a configuration options
/// that can be used to add a protocol into an NWParameters.ProtocolStack. These options
/// configure the behavior of a protocol and cannot be changed after starting a connection.
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
public class NWProtocolOptions {
	internal let nw: nw_protocol_options_t


	internal init(_ nw: nw_protocol_options_t) {
		self.nw = nw
	}
}

/// NWProtocolMetadata is an abstract superclass. An instance of metadata holds a set of
/// protocol-specific metadata. This metadata allows clients to pass down protocol requirements
/// specific to some content being sent; as well as to retrieve metadata specific to some
/// content that was received. Each protocol is responsible for defining its own accessor
/// functions to set and get metadata.
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
public class NWProtocolMetadata {
	internal let nw: nw_protocol_metadata_t

	internal init(_ nw: nw_protocol_metadata_t) {
		self.nw = nw
	}
}

/// NWProtocol is an abstract superclass to which protocol implementations conform.
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
public class NWProtocol {

}

{'fraction_non_alphanumeric': 0.14070154810895552, 'fraction_numerical': 0.021164021164021163, 'mean_word_length': 3.0701754385964914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7380532', 'n_tokens_mistral': 1526, 'n_tokens_neox': 1380, 'n_words': 576}