| /external/linux-kselftest/tools/testing/selftests/wireguard/ |
| D | netns.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 6 # This script tests the below topology: 20 # After the topology is prepared we run a series of TCP/UDP iperf3 tests between the 24 set -e 25 shopt -s extglob 30 NPROC=( /sys/devices/system/cpu/cpu+([0-9]) ); NPROC=${#NPROC[@]} 31 netns0="wg-test-$$-0" 32 netns1="wg-test-$$-1" 33 netns2="wg-test-$$-2" [all …]
|
| /external/cronet/net/base/ |
| D | address_list_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 29 // so just zero-ing them out for consistency. in TEST() 54 // Create an 4-element addrinfo. in TEST() 63 memset(&addr->sin_addr, i, IPAddress::kIPv4AddressSize); in TEST() 64 addr->sin_family = AF_INET; in TEST() 66 addr->sin_port = base::HostToNet16(static_cast<uint16_t>(i << 2)); in TEST() 68 ai[i].ai_family = addr->sin_family; in TEST() 106 } tests[] = { in TEST() local 133 for (const auto& test : tests) { in TEST() 146 EXPECT_EQ(std::size(tests), test_list.size()); in TEST() [all …]
|
| D | ip_endpoint_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 46 if (address->sa_family == AF_INET) { in GetPortFieldFromSockaddr() 50 return &sockaddr->sin_port; in GetPortFieldFromSockaddr() 51 } else if (address->sa_family == AF_INET6) { in GetPortFieldFromSockaddr() 55 return &sockaddr->sin6_port; in GetPortFieldFromSockaddr() 66 return -1; in GetPortFromSockaddr() 75 } tests[] = { variable 86 for (auto& test : tests) { in SetUp() 98 for (const auto& test : tests) { in TEST_F() 107 for (const auto& test : tests) { in TEST_F() [all …]
|
| /external/sdk-platform-java/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ |
| D | TestingClient.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 41 // AUTO-GENERATED DOCUMENTATION AND CLASS. 43 * Service Description: A service to facilitate running discrete sets of tests against Showcase. 51 * // - It may require correct/in-range values for request initialization. 52 * // - It may require specifying regional endpoints when creating the service client as shown in 62 * threads. In the example above, try-with-resources is used, which automatically calls close(). 92 * // - It may require correct/in-range values for request initialization. 93 * // - It may require specifying regional endpoints when creating the service client as shown in 107 * // - It may require correct/in-range values for request initialization. 108 * // - It may require specifying regional endpoints when creating the service client as shown in [all …]
|
| D | package-info.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 24 * <p>Service Description: This service is used to test that GAPICs implement various REST-related 27 * received by clients can be round-tripped correctly. 34 * // - It may require correct/in-range values for request initialization. 35 * // - It may require specifying regional endpoints when creating the service client as shown in 44 * .setFInt32(-1143775883) 45 * .setFInt64(-1143775788) 46 * .setFDouble(-1239459382) 47 * .setPInt32(-858673665) 48 * .setPInt64(-858673570) [all …]
|
| /external/grpc-grpc/test/cpp/end2end/xds/ |
| D | xds_cluster_end2end_test.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 52 constexpr char kStatusMessageDropPrefix[] = "EDS-configured drop: "; 55 // CDS tests 63 // Tests that CDS client should send an ACK upon correct CDS response. 66 auto response_state = balancer_->ads_service()->cds_response_state(); in TEST_P() 68 EXPECT_EQ(response_state->state, AdsServiceImpl::ResponseState::ACKED); in TEST_P() 72 // Unit tests for XdsClusterResourceType have exhaustive tests for all 77 balancer_->ads_service()->SetCdsResource(cluster); in TEST_P() 80 EXPECT_EQ(response_state->error_message, in TEST_P() 87 // Tests that we don't trigger does-not-exist callbacks for a resource [all …]
|
| /external/cronet/net/reporting/ |
| D | reporting_policy.h | 2 // Use of this source code is governed by a BSD-style license that can be 22 // browser tests, where there isn't any other way to pass in a specific test 33 // Maximum number of endpoints to remember before evicting 36 // Maximum number of endpoints for a given origin before evicting 37 // TODO(chlily): This is actually a limit on the endpoints for a given client 44 // Backoff policy for failing endpoints. 54 // Whether to persist clients (per-origin endpoint configurations) across 58 // Minimum interval at which to garbage-collect the cache.
|
| D | README.md | 3 Reporting is a central mechanism for sending out-of-band error reports 10 [https://www.w3.org/TR/2018/WD-reporting-1-20180925/]. 11 * The newer API is split into two parts. Document and worker-level reporting 13 (https://w3c.github.io/reporting/), while Network-level reporting is 15 (https://w3c.github.io/reporting/network-reporting.html). 23 by non-browser embedders as well as by Chromium. 27 * The top-level class is the *`ReportingService`*. This lives in the 28 `URLRequestContext`, and provides the high-level operations used by 33 API, such as the maximum number of reports and endpoints to queue, the 45 * The *`ReportingHeaderParser`* parses `Report-To:` and [all …]
|
| D | mock_persistent_reporting_store.h | 2 // Use of this source code is governed by a BSD-style license that can be 19 // received commands in order in a vector, to be checked by tests. Simulates 20 // loading pre-existing stored endpoints and endpoint groups, which can be 107 // Simulates pre-existing clients that were stored previously. Should only be 109 void SetPrestoredClients(std::vector<ReportingEndpoint> endpoints, 115 // endpoints and groups passed to the callback will be empty. If 131 // Gets the number of stored endpoints/groups, simulating the actual number 140 // Simulated pre-existing stored clients. 147 // Simulates the total number of endpoints/groups that would be stored in the 148 // store. Updated when pre-stored policies are added, and when Flush() is
|
| D | reporting_endpoint_manager.h | 2 // Use of this source code is governed by a BSD-style license that can be 28 // Keeps track of which endpoints are pending (have active delivery attempts to 34 // likely necessary - the only goal is to prevent it from growing without 36 // Public for tests. 60 // |endpoint| so it can manage exponential backoff of failing endpoints.
|
| /external/google-cloud-java/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/ |
| D | ReachabilityServiceClient.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 42 // AUTO-GENERATED DOCUMENTATION AND CLASS. 46 * network, between peered VPC networks, between VPC and on-premises networks, or between VPC 59 * // - It may require correct/in-range values for request initialization. 60 * // - It may require specifying regional endpoints when creating the service client as shown in 69 * such as threads. In the example above, try-with-resources is used, which automatically calls 100 * // - It may require correct/in-range values for request initialization. 101 * // - It may require specifying regional endpoints when creating the service client as shown in 116 * // - It may require correct/in-range values for request initialization. 117 * // - It may require specifying regional endpoints when creating the service client as shown in [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/ |
| D | xds_url_map_testcase.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 50 # With the per-run IAM change, the first xDS response has a several minutes 70 def _split_camel(s: str, delimiter: str = '-') -> str: 71 """Turn camel case name to snake-case-like name.""" 79 Feel free to add more pre-compute fields. 82 def __init__(self, xds_json: JsonType): # pylint: disable=too-many-branches 90 self.endpoints = [] 110 except Exception as e: # pylint: disable=broad-except 127 except Exception as e: # pylint: disable=broad-except 131 for endpoint in endpoint_config.get('endpoints', {}): [all …]
|
| /external/aws-sdk-java-v2/core/aws-core/src/test/java/software/amazon/awssdk/awscore/util/ |
| D | AwsHostNameUtilsTest.java | 24 /** Unit tests for the utility methods that parse information from AWS URLs. */ 28 // Verify that standard endpoints parse correctly without a service hint in testStandardNoHint() 30 … assertThat(parseSigningRegion("iam.us-west-2.amazonaws.com", null)).hasValue(Region.US_WEST_2); in testStandardNoHint() 31 … assertThat(parseSigningRegion("ec2.us-west-2.amazonaws.com", null)).hasValue(Region.US_WEST_2); in testStandardNoHint() 33 …assertThat(parseSigningRegion("cloudsearch.us-west-2.amazonaws.com", null)).hasValue(Region.US_WES… in testStandardNoHint() 34 …assertThat(parseSigningRegion("domain.us-west-2.cloudsearch.amazonaws.com", null)).hasValue(Region… in testStandardNoHint() 39 // Verify that standard endpoints parse correctly with a service hint in testStandard() 41 … assertThat(parseSigningRegion("iam.us-west-2.amazonaws.com", "iam")).hasValue(Region.US_WEST_2); in testStandard() 42 … assertThat(parseSigningRegion("ec2.us-west-2.amazonaws.com", "ec2")).hasValue(Region.US_WEST_2); in testStandard() 44 …assertThat(parseSigningRegion("cloudsearch.us-west-2.amazonaws.com", "cloudsearch")).hasValue(Regi… in testStandard() [all …]
|
| /external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/poet/rules/ |
| D | EndpointRulesClientTestSpec.java | 52 import software.amazon.awssdk.codegen.model.rules.endpoints.EndpointTestModel; 53 import software.amazon.awssdk.codegen.model.rules.endpoints.EndpointTestSuiteModel; 54 import software.amazon.awssdk.codegen.model.rules.endpoints.OperationInput; 55 import software.amazon.awssdk.codegen.model.rules.endpoints.ParameterModel; 74 …(especially the services whose rules are completely auto generated), share a same set of tests that 80 Map<String, String> tests = new HashMap<>(); 81 …tests.put("For region us-iso-west-1 with FIPS enabled and DualStack enabled", "Client builder does… 82 …tests.put("For region us-iso-west-1 with FIPS disabled and DualStack enabled", "Client builder doe… 83 …tests.put("For region us-iso-east-1 with FIPS enabled and DualStack enabled", "Client builder does… 84 …tests.put("For region us-iso-east-1 with FIPS disabled and DualStack enabled", "Client builder doe… [all …]
|
| /external/openscreen/discovery/dnssd/impl/ |
| D | querier_impl_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 107 // NOTE: This should only be used for testing hard-to-achieve edge cases. 117 size_t GetTrackedDomainCount() { return graph_->GetTrackedDomainCount(); } in GetTrackedDomainCount() 120 return graph_->IsTracked(domain); in IsDomainTracked() 142 EXPECT_FALSE(querier->IsQueryRunning(service)); 144 EXPECT_CALL(querier->service(), 147 querier->StartQuery(service, &callback); 148 EXPECT_TRUE(querier->IsQueryRunning(service)); 149 testing::Mock::VerifyAndClearExpectations(&querier->service()); 151 EXPECT_TRUE(querier->IsQueryRunning(service)); [all …]
|
| /external/google-cloud-java/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ |
| D | ConnectivityTestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 57 * The user-supplied description of the Connectivity Test. 70 * The user-supplied description of the Connectivity Test. 93 * If the source of the test is within an on-premises network, then you must 99 * ambiguous. However, the test result may include endpoints that you don't 123 * If the source of the test is within an on-premises network, then you must 129 * ambiguous. However, the test result may include endpoints that you don't 153 * If the source of the test is within an on-premises network, then you must 159 * ambiguous. However, the test result may include endpoints that you don't 185 * ambiguous. However, the result can include endpoints that you don't [all …]
|
| /external/aws-sdk-java-v2/core/aws-core/src/main/resources/software/amazon/awssdk/awscore/internal/defaults/ |
| D | sdk-default-configuration.json | 19 "in-region": { 21 "cross-region": { 40 …ge as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the… 41 …-region": "<p>The IN_REGION mode builds on the standard mode and includes optimization tailored fo… 42 …-region": "<p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored… 43 …ge as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the… 44 …-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environme… 48 …s. See <a href=\"https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-retry_mode.html\">… 49 …aws.amazon.com/sdkref/latest/guide/setting-global-sts_regional_endpoints.html\">Setting STS Region… 50 …mines the AWS service endpoint that it uses to talk to the Amazon S3 for the us-east-1 region</p>",
|
| /external/webrtc/test/pc/e2e/ |
| D | stats_based_network_quality_metrics_reporter.h | 4 * Use of this source code is governed by a BSD-style license 36 // TODO(titovartem): make this class testable and add tests. 57 std::vector<EmulatedEndpoint*> endpoints); 59 std::vector<EmulatedEndpoint*> endpoints, 75 // "WebRTC-UseStandardBytesStats". 95 std::vector<EmulatedEndpoint*> endpoints,
|
| /external/aws-sdk-java-v2/.github/workflows/ |
| D | codebuild-ci.yml | 4 paths-ignore: 5 - '**.md' 6 - '.all-contributorsrc' 7 - 'docs/**' 10 - master 11 paths-ignore: 12 - '**.md' 13 - '.all-contributorsrc' 14 - 'docs/**' 17 id-token: write [all …]
|
| /external/google-cloud-java/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/ |
| D | ReachabilityServiceClient.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 41 // AUTO-GENERATED DOCUMENTATION AND CLASS. 45 * network, between peered VPC networks, between VPC and on-premises networks, or between VPC 58 * // - It may require correct/in-range values for request initialization. 59 * // - It may require specifying regional endpoints when creating the service client as shown in 69 * such as threads. In the example above, try-with-resources is used, which automatically calls 100 * // - It may require correct/in-range values for request initialization. 101 * // - It may require specifying regional endpoints when creating the service client as shown in 116 * // - It may require correct/in-range values for request initialization. 117 * // - It may require specifying regional endpoints when creating the service client as shown in [all …]
|
| /external/aws-sdk-java-v2/codegen-lite-maven-plugin/src/main/java/software/amazon/awssdk/codegen/lite/maven/plugin/ |
| D | RegionGenerationMojo.java | 44 @Mojo(name = "generate-regions") 58 @Parameter(property = "endpoints", defaultValue = 59 … "${basedir}/src/main/resources/software/amazon/awssdk/regions/internal/region/endpoints.json") 60 private File endpoints; field in RegionGenerationMojo 64 …Path baseSourcesDirectory = Paths.get(outputDirectory).resolve("generated-sources").resolve("sdk"); in execute() 65 …testsDirectory = Paths.get(outputDirectory).resolve("generated-test-sources").resolve("sdk-tests"); in execute() 67 Partitions partitions = RegionMetadataLoader.build(endpoints); in execute() 85 .forEach(p -> new CodeGenerator(sourcesDirectory.toString(), in generatePartitionMetadataClass() 99 partitions.getPartitions().forEach(p -> services.addAll(p.getServices().keySet())); in generateServiceMetadata() 101 …services.forEach(s -> new CodeGenerator(sourcesDirectory.toString(), new ServiceMetadataGenerator(… in generateServiceMetadata() [all …]
|
| /external/rust/crates/grpcio-sys/grpc/test/http2_test/ |
| D | http2_test_server.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 30 import twisted.internet.endpoints 41 # Positive tests below: 76 '--base_port', 108 endpoint = twisted.internet.endpoints.TCP4ServerEndpoint( 119 '%(levelname) -10s %(asctime)s %(module)s:%(lineno)s | %(message)s',
|
| /external/grpc-grpc/test/http2_test/ |
| D | http2_test_server.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 30 import twisted.internet.endpoints 40 # Positive tests below: 74 "--base_port", 110 endpoint = twisted.internet.endpoints.TCP4ServerEndpoint( 122 "%(levelname) -10s %(asctime)s %(module)s:%(lineno)s | %(message)s"
|
| /external/google-cloud-java/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ |
| D | RegionUrlMapsClient.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 38 // AUTO-GENERATED DOCUMENTATION AND CLASS. 48 * // - It may require correct/in-range values for request initialization. 49 * // - It may require specifying regional endpoints when creating the service client as shown in 52 * String project = "project-309310695"; 53 * String region = "region-934795532"; 54 * String urlMap = "urlMap-836780691"; 60 * as threads. In the example above, try-with-resources is used, which automatically calls close(). 90 * // - It may require correct/in-range values for request initialization. 91 * // - It may require specifying regional endpoints when creating the service client as shown in [all …]
|
| /external/cronet/net/dns/ |
| D | host_resolver.h | 2 // Use of this source code is governed by a BSD-style license that can be 35 #include "third_party/abseil-cpp/absl/types/optional.h" 36 #include "third_party/abseil-cpp/absl/types/variant.h" 50 // literal) to an AddressList object (or other DNS-style results). 117 // empty for non-address requests. 126 // `ERR_IO_PENDING`. May return nullptr or empty for non-address/HTTPS 134 // empty for non-TXT requests. 139 // 2782. May return nullptr or empty for non-SRV/PTR requests. 154 // non-address/HTTPS requests. 228 // Parameter-grouping struct for additional optional parameters for creation [all …]
|