/aosp_15_r20/external/tensorflow/tensorflow/core/data/service/ |
H A D | auto_shard_rewriter_test.cc | 207 WorkerIndexResolver resolver(std::vector<std::string>{"localhost"}); in TEST() local 208 EXPECT_THAT(resolver.GetWorkerIndex("localhost:12345"), in TEST() 211 TF_EXPECT_OK(resolver.ValidateWorker("localhost:12345")); in TEST() 212 resolver.AddWorker("localhost:12345"); in TEST() 213 EXPECT_THAT(resolver.GetWorkerIndex("localhost:12345"), IsOkAndHolds(0)); in TEST() 217 WorkerIndexResolver resolver(std::vector<std::string>{ in TEST() local 219 TF_EXPECT_OK(resolver.ValidateWorker("/worker/task/2:12345")); in TEST() 220 TF_EXPECT_OK(resolver.ValidateWorker("/worker/task/1:23456")); in TEST() 221 TF_EXPECT_OK(resolver.ValidateWorker("/worker/task/0:34567")); in TEST() 222 resolver.AddWorker("/worker/task/2:12345"); in TEST() [all …]
|
/aosp_15_r20/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
H A D | TestUtilities.java | 365 VoteResolver<String> resolver = new VoteResolver<>(getTestVoterInfoList()); in TestTrunkStatus() local 366 resolver.setLocale(CLDRLocale.getInstance("de"), null); in TestTrunkStatus() 367 resolver.setBaileyValue("bailey"); in TestTrunkStatus() 368 resolver.setBaseline("new-item", Status.approved); in TestTrunkStatus() 369 assertEquals("", "new-item", resolver.getWinningValue()); in TestTrunkStatus() 379 VoteResolver<String> resolver = new VoteResolver<>(getTestVoterInfoList()); in TestVoteResolverNgombaTrunkStatus() local 380 resolver.setBaileyValue("bailey"); in TestVoteResolverNgombaTrunkStatus() 381 resolver.setLocale(CLDRLocale.getInstance("jgo"), null); in TestVoteResolverNgombaTrunkStatus() 386 resolver.setBaseline(jgo22trunk, Status.approved); // seed/jgo.xml from 22 in TestVoteResolverNgombaTrunkStatus() 389 logln(resolver.toString()); in TestVoteResolverNgombaTrunkStatus() [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/route53resolver/src/main/resources/codegen-resources/ |
H A D | docs-2.json | 3 …Resolver endpoint:</p> <p> <code>create-resolver-endpoint --name [endpoint_name] --direction INBOU… 5 …rEndpointIpAddress": "<p>Adds IP addresses to an inbound or an outbound resolver endpoint. If you … 6 …ssociateResolverRule": "<p>Associates a resolver rule with a VPC. When you associate a rule with a… 7 …resolver endpoint. There are two types of resolver endpoints, inbound and outbound:</p> <ul> <li> … 8 …"CreateResolverRule": "<p>For DNS queries that originate in your VPCs, specifies which resolver en… 9 …: "<p>Deletes a resolver endpoint. The effect of deleting a resolver endpoint depends on whether i… 10 …p>Deletes a resolver rule. Before you can delete a resolver rule, you must disassociate it from al… 11 …ointIpAddress": "<p>Removes IP addresses from an inbound or an outbound resolver endpoint. If you … 12 …resolver rule and a specified VPC.</p> <important> <p>If you disassociate a resolver rule from a V… 13 …"<p>Gets information about a specified resolver endpoint, such as whether it's an inbound or an ou… [all …]
|
H A D | service-2.json | 9 "serviceFullName":"Amazon Route 53 Resolver", 52 …"documentation":"<p>Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want … 72 …es an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries … 92 …"documentation":"<p>Associates a Resolver rule with a VPC. When you associate a rule with a VPC, R… 162 "documentation":"<p>Creates a Route 53 Resolver on an Outpost.</p>" 182 …Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:</p> <ul> <li> … 202 …Resolver query logging configuration, which defines where you want Resolver to save DNS query logs… 223 …"documentation":"<p>For DNS queries that originate in your VPCs, specifies which Resolver endpoint… 292 "documentation":"<p>Deletes a Resolver on the Outpost.</p>" 309 …":"<p>Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether i… [all …]
|
/aosp_15_r20/external/libtextclassifier/native/utils/ |
H A D | tflite-model-executor.cc | 109 void RegisterSelectedOps(tflite::MutableOpResolver* resolver) { in RegisterSelectedOps() argument 110 resolver->AddBuiltin(tflite::BuiltinOperator_ADD, in RegisterSelectedOps() 114 resolver->AddBuiltin(tflite::BuiltinOperator_CONCATENATION, in RegisterSelectedOps() 118 resolver->AddBuiltin(tflite::BuiltinOperator_CONV_2D, in RegisterSelectedOps() 122 resolver->AddBuiltin(tflite::BuiltinOperator_DEPTHWISE_CONV_2D, in RegisterSelectedOps() 126 resolver->AddBuiltin(tflite::BuiltinOperator_AVERAGE_POOL_2D, in RegisterSelectedOps() 130 resolver->AddBuiltin(::tflite::BuiltinOperator_EQUAL, in RegisterSelectedOps() 133 resolver->AddBuiltin(tflite::BuiltinOperator_FULLY_CONNECTED, in RegisterSelectedOps() 137 resolver->AddBuiltin(::tflite::BuiltinOperator_GREATER_EQUAL, in RegisterSelectedOps() 139 resolver->AddBuiltin(tflite::BuiltinOperator_L2_NORMALIZATION, in RegisterSelectedOps() [all …]
|
/aosp_15_r20/art/compiler/optimizing/ |
H A D | parallel_move_test.cc | 189 TypeParam resolver(&allocator); in TYPED_TEST() local 191 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST() 193 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST() 195 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST() 200 TypeParam resolver(&allocator); in TYPED_TEST() local 202 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST() 204 ASSERT_STREQ("(2 -> 3) (1 -> 2) (1 -> 4) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST() 206 ASSERT_STREQ("(2 -> 3) (1 -> 2) (0 -> 1) (2 -> 4)", resolver.GetMessage().c_str()); in TYPED_TEST() 216 TypeParam resolver(&allocator); in TYPED_TEST() local 218 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST() [all …]
|
/aosp_15_r20/external/cronet/net/dns/ |
H A D | mapped_host_resolver_unittest.cc | 42 // Create a mock host resolver, with specific hostname to IP mappings. in TEST() 49 // Create a remapped resolver that uses |resolver_impl|. in TEST() 50 auto resolver = in TEST() local 57 resolver->CreateRequest(HostPortPair("www.google.com", 80), in TEST() 67 EXPECT_TRUE(resolver->AddRuleFromString("map *.google.com baz.com")); in TEST() 71 request = resolver->CreateRequest(HostPortPair("www.google.com", 80), in TEST() 83 request = resolver->CreateRequest(HostPortPair("foo.com", 77), in TEST() 94 EXPECT_TRUE(resolver->AddRuleFromString("Map *.org proxy:99")); in TEST() 97 request = resolver->CreateRequest(HostPortPair("chromium.org", 61), in TEST() 110 // Create a mock host resolver, with specific hostname to IP mappings. in TEST() [all …]
|
H A D | context_host_resolver_unittest.cc | 128 auto resolver = std::make_unique<ContextHostResolver>( in TEST_F() local 131 resolver->CreateRequest(HostPortPair("example.com", 100), in TEST_F() 159 auto resolver = std::make_unique<ContextHostResolver>( in TEST_F() local 162 resolver->CreateRequest( in TEST_F() 182 auto resolver = std::make_unique<ContextHostResolver>( in TEST_F() local 185 resolver->CreateRequest( in TEST_F() 211 auto resolver = std::make_unique<ContextHostResolver>( in TEST_F() local 216 resolver->CreateRequest(HostPortPair("example.com", 100), in TEST_F() 241 auto resolver = std::make_unique<ContextHostResolver>( in TEST_F() local 245 resolver->CreateDohProbeRequest(); in TEST_F() [all …]
|
/aosp_15_r20/external/cronet/net/proxy_resolution/ |
H A D | configured_proxy_resolution_service_unittest.cc | 348 // Given a MockAsyncProxyResolver |resolver| and some GURLs, validates that the 349 // set of pending request URLs for |resolver| is exactly the supplied list of 351 JobMap GetPendingJobsForURLs(const MockAsyncProxyResolver& resolver, in GetPendingJobsForURLs() argument 364 for (MockAsyncProxyResolver::Job* it : resolver.pending_jobs()) { in GetPendingJobsForURLs() 372 // Given a MockAsyncProxyResolver |resolver| and some GURLs, validates that the 373 // set of cancelled request URLs for |resolver| is exactly the supplied list of 375 JobMap GetCancelledJobsForURLs(const MockAsyncProxyResolver& resolver, in GetCancelledJobsForURLs() argument 389 resolver.cancelled_jobs()) { in GetCancelledJobsForURLs() 617 MockAsyncProxyResolver resolver; in TEST_F() local 649 factory_ptr->pending_requests()[0]->CompleteNowWithForwarder(OK, &resolver); in TEST_F() [all …]
|
H A D | multi_threaded_proxy_resolver_unittest.cc | 142 // Waits until the proxy resolver is blocked within GetProxyForURL(). 191 auto resolver = std::make_unique<BlockableProxyResolver>(); in CreateProxyResolver() local 192 BlockableProxyResolver* resolver_ptr = resolver.get(); in CreateProxyResolver() 193 *result = std::move(resolver); in CreateProxyResolver() 250 // Verify that the script data reaches the synchronous resolver factory. in Init() 261 ProxyResolver& resolver() { in resolver() function in net::__anonfb9de5ab0111::MultiThreadedProxyResolverTest 282 rv = resolver().GetProxyForURL( in TEST_F() 293 // The mock proxy resolver should have written 1 log entry. And in TEST_F() 306 rv = resolver().GetProxyForURL( in TEST_F() 313 rv = resolver().GetProxyForURL( in TEST_F() [all …]
|
/aosp_15_r20/external/grpc-grpc/test/core/client_channel/resolvers/ |
H A D | fake_resolver_test.cc | 19 #include "src/core/resolver/fake/fake_resolver.h" 51 #include "src/core/resolver/endpoint_addresses.h" 52 #include "src/core/resolver/resolver_factory.h" 53 #include "src/core/resolver/resolver_registry.h" 61 class ResultHandler : public Resolver::ResultHandler { 63 void SetExpectedAndNotification(Resolver::Result expected, in SetExpectedAndNotification() 71 void ReportResult(Resolver::Result actual) override { in ReportResult() 87 Resolver::Result expected_ ABSL_GUARDED_BY(mu_); 91 static OrphanablePtr<Resolver> BuildFakeResolver( in BuildFakeResolver() 94 std::unique_ptr<Resolver::ResultHandler> result_handler) { in BuildFakeResolver() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
H A D | type_inference_test.py | 30 class BasicTestResolver(type_inference.Resolver): 31 """A very basic resolver for testing.""" 52 self.resolver = resolver_type() 63 node = type_inference.resolve(node, ctx, graphs, self.resolver) 84 class Resolver(type_inference.Resolver): class 92 node, _ = TestTranspiler(Resolver).transform(test_fn, None) 103 class Resolver(type_inference.Resolver): class 113 TestTranspiler(Resolver).transform(test_fn, None) 119 class Resolver(type_inference.Resolver): class 130 node, _ = TestTranspiler(Resolver).transform(test_fn, None) [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/net/ |
D | conf.go | 21 // The cgo resolver uses C functions like getaddrinfo. 22 // The go resolver reads system files directly and 25 // The netgo build tag prefers the go resolver. 26 // The netcgo build tag prefers the cgo resolver. 29 // However, on Darwin, Plan 9, and Windows the cgo resolver is still available. 30 // On those systems the cgo resolver does not require the cgo tool. 31 // (The term "cgo resolver" was locked in by GODEBUG settings 32 // at a time when the cgo resolver did require the cgo tool.) 34 // Adding netdns=go to GODEBUG will prefer the go resolver. 35 // Adding netdns=cgo to GODEBUG will prefer the cgo resolver. [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/ |
H A D | mutable_op_resolver_test.cc | 68 MutableOpResolver resolver; in TEST() local 69 resolver.AddBuiltin(BuiltinOperator_ADD, GetDummyRegistration()); in TEST() 72 resolver.FindOp(BuiltinOperator_ADD, 1); in TEST() 80 MutableOpResolver resolver; in TEST() local 81 resolver.AddBuiltin(BuiltinOperator_ADD, GetDummyRegistration()); in TEST() 84 resolver.FindOp(BuiltinOperator_CONV_2D, 1); in TEST() 89 MutableOpResolver resolver; in TEST() local 91 resolver.AddBuiltin(BuiltinOperator_ADD, GetDummyRegistration(), 2); in TEST() 95 found_registration = resolver.FindOp(BuiltinOperator_ADD, 1); in TEST() 98 found_registration = resolver.FindOp(BuiltinOperator_ADD, 2); in TEST() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/runtime/ |
H A D | symbolic_shape_test.cc | 93 SymbolicShapesResolver resolver(type, constraints); in TEST() local 97 auto symbolic = resolver.Resolve(operands); in TEST() 98 auto hash = resolver.ResolveHash(operands); in TEST() 109 auto symbolic = resolver.Resolve(operands); in TEST() 110 auto hash = resolver.ResolveHash(operands); in TEST() 121 auto symbolic = resolver.Resolve(operands); in TEST() 122 auto hash = resolver.ResolveHash(operands); in TEST() 133 auto symbolic = resolver.Resolve(operands); in TEST() 134 auto hash = resolver.ResolveHash(operands); in TEST() 155 SymbolicShapesResolver resolver(type, constraints); in TEST() local [all …]
|
/aosp_15_r20/external/ksp/test-utils/src/main/kotlin/com/google/devtools/ksp/processor/ |
H A D | AsMemberOfProcessor.kt | 6 import com.google.devtools.ksp.processing.Resolver in <lambda>() 18 override fun process(resolver: Resolver): List<KSAnnotated> { in <lambda>() 19 val base = resolver.getClassDeclarationByName("Base")!! in <lambda>() 20 val child1 = resolver.getClassDeclarationByName("Child1")!! in <lambda>() 21 addToResults(resolver, base, child1.asStarProjectedType()) in <lambda>() 22 val child2 = resolver.getClassDeclarationByName("Child2")!! in <lambda>() 23 addToResults(resolver, base, child2.asStarProjectedType()) in <lambda>() 24 val child2WithString = resolver.getDeclaration<KSPropertyDeclaration>("child2WithString") in <lambda>() 25 addToResults(resolver, base, child2WithString.type.resolve()) in <lambda>() 28 val notAChild = resolver.getClassDeclarationByName("NotAChild")!! in <lambda>() [all …]
|
/aosp_15_r20/packages/providers/MediaProvider/tests/src/com/android/providers/media/stableuris/job/ |
D | StableUriIdleMaintenanceServiceTest.java | 92 final ContentResolver resolver = context.getContentResolver(); in testDataMigrationForInternalVolume() local 94 MediaStore.setStableUrisFlag(resolver, MediaStore.VOLUME_INTERNAL, true); in testDataMigrationForInternalVolume() 97 MediaStore.waitForIdle(resolver); in testDataMigrationForInternalVolume() 98 MediaStore.scanVolume(resolver, MediaStore.VOLUME_INTERNAL); in testDataMigrationForInternalVolume() 99 try (Cursor c = resolver.query( in testDataMigrationForInternalVolume() 113 MediaStore.waitForIdle(resolver); in testDataMigrationForInternalVolume() 115 MediaStore.runIdleMaintenanceForStableUris(resolver); in testDataMigrationForInternalVolume() 117 verifyLevelDbPresence(resolver, INTERNAL_BACKUP_NAME); in testDataMigrationForInternalVolume() 120 BackupIdRow backupIdRow = BackupIdRow.deserialize(MediaStore.readBackup(resolver, in testDataMigrationForInternalVolume() 127 MediaStore.setStableUrisFlag(resolver, MediaStore.VOLUME_INTERNAL, false); in testDataMigrationForInternalVolume() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/fake/ |
D | fake_resolver.cc | 17 // This is similar to the sockaddr resolver, except that it supports a 22 #include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h" 39 #include "src/core/lib/resolver/resolver_factory.h" 40 #include "src/core/lib/resolver/server_address.h" 48 class FakeResolver : public Resolver { 94 // Channels sharing the same subchannels may have different resolver response in FakeResolver() 136 // TODO(roth): Change resolver result generator to be able to inject in MaybeSendResultLocked() 140 result.addresses = absl::UnavailableError("Resolver transient failure"); in MaybeSendResultLocked() 162 explicit FakeResolverResponseSetter(RefCountedPtr<FakeResolver> resolver, in FakeResolverResponseSetter() argument 163 Resolver::Result result, in FakeResolverResponseSetter() [all …]
|
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
H A D | OneHandedSettingsUtil.java | 76 * @param resolver ContentResolver of context 82 public Uri registerSettingsKeyObserver(String key, ContentResolver resolver, in registerSettingsKeyObserver() argument 86 if (resolver != null && uriKey != null) { in registerSettingsKeyObserver() 87 resolver.registerContentObserver(uriKey, false, observer, newUserId); in registerSettingsKeyObserver() 95 * @param resolver ContentResolver of context 98 public void unregisterSettingsKeyObserver(ContentResolver resolver, in unregisterSettingsKeyObserver() argument 100 if (resolver != null) { in unregisterSettingsKeyObserver() 101 resolver.unregisterContentObserver(observer); in unregisterSettingsKeyObserver() 110 public boolean getSettingsOneHandedModeEnabled(ContentResolver resolver, int userId) { in getSettingsOneHandedModeEnabled() argument 111 return Settings.Secure.getIntForUser(resolver, in getSettingsOneHandedModeEnabled() [all …]
|
/aosp_15_r20/external/grpc-grpc/test/cpp/naming/ |
H A D | resolver_component_tests_runner.py | 27 argp = argparse.ArgumentParser(description='Run c-ares resolver tests') 56 test_runner_log(('WARNING: cur resolver set to %s. This set of tests ' 81 '--qname', 'health-check-local-dns-server-is-alive.resolver-tests.grpctestingexp', 126 test_runner_log('Run test with target: %s' % 'no-srv-ipv4-single-target.resolver-tests-version-4.gr… 129 '--target_name', 'no-srv-ipv4-single-target.resolver-tests-version-4.grpctestingexp.', 144 test_runner_log('Run test with target: %s' % 'srv-ipv4-single-target.resolver-tests-version-4.grpct… 147 '--target_name', 'srv-ipv4-single-target.resolver-tests-version-4.grpctestingexp.', 162 test_runner_log('Run test with target: %s' % 'srv-ipv4-multi-target.resolver-tests-version-4.grpcte… 165 '--target_name', 'srv-ipv4-multi-target.resolver-tests-version-4.grpctestingexp.', 180 test_runner_log('Run test with target: %s' % 'srv-ipv6-single-target.resolver-tests-version-4.grpct… [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/asio/test/ip/ |
D | icmp.cpp | 433 // ip::icmp::resolver compile and link correctly. Runtime failures are ignored. 441 boost::asio::ip::icmp::resolver::results_type) {} in operator ()() 461 ip::icmp::resolver::query q(ip::icmp::v4(), "localhost", "0"); in test() 467 ip::icmp::resolver resolver(ioc); in test() local 468 ip::icmp::resolver resolver2(ioc_ex); in test() 471 ip::icmp::resolver resolver3(std::move(resolver)); in test() 477 resolver = ip::icmp::resolver(ioc); in test() 478 resolver = std::move(resolver3); in test() 483 ip::icmp::resolver::executor_type ex = resolver.get_executor(); in test() 488 resolver.cancel(); in test() [all …]
|
D | udp.cpp | 527 // ip::udp::resolver compile and link correctly. Runtime failures are ignored. 535 boost::asio::ip::udp::resolver::results_type) {} in operator ()() 555 ip::udp::resolver::query q(ip::udp::v4(), "localhost", "0"); in test() 561 ip::udp::resolver resolver(ioc); in test() local 562 ip::udp::resolver resolver2(ioc_ex); in test() 565 ip::udp::resolver resolver3(std::move(resolver)); in test() 571 resolver = ip::udp::resolver(ioc); in test() 572 resolver = std::move(resolver3); in test() 577 ip::udp::resolver::executor_type ex = resolver.get_executor(); in test() 582 resolver.cancel(); in test() [all …]
|
/aosp_15_r20/external/tflite-support/tensorflow_lite_support/java/src/native/task/core/ |
H A D | minimal_op_resolver.cc | 27 MutableOpResolver resolver; in CreateOpResolver() local 28 resolver.AddBuiltin(::tflite::BuiltinOperator_RESHAPE, in CreateOpResolver() 30 resolver.AddBuiltin(::tflite::BuiltinOperator_GATHER, in CreateOpResolver() 32 resolver.AddBuiltin(::tflite::BuiltinOperator_STRIDED_SLICE, in CreateOpResolver() 34 resolver.AddBuiltin(::tflite::BuiltinOperator_FULLY_CONNECTED, in CreateOpResolver() 36 resolver.AddBuiltin(::tflite::BuiltinOperator_CAST, in CreateOpResolver() 38 resolver.AddBuiltin(::tflite::BuiltinOperator_MUL, in CreateOpResolver() 40 resolver.AddBuiltin(::tflite::BuiltinOperator_ADD, in CreateOpResolver() 42 resolver.AddBuiltin(::tflite::BuiltinOperator_TRANSPOSE, in CreateOpResolver() 44 resolver.AddBuiltin(::tflite::BuiltinOperator_SPLIT, in CreateOpResolver() [all …]
|
/aosp_15_r20/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | RawContactUtil.java | 36 public static void update(ContentResolver resolver, long rawContactId, in update() argument 39 resolver.update(uri, values, null, null); in update() 42 public static String[] queryByRawContactId(ContentResolver resolver, in queryByRawContactId() argument 46 Cursor cursor = resolver.query(uri, projection, null, null, null); in queryByRawContactId() 50 public static void delete(ContentResolver resolver, long rawContactId, in delete() argument 56 resolver.delete(uri, null, null); in delete() 59 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) { in queryContactIdByRawContactId() argument 63 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid, in queryContactIdByRawContactId() 71 public static boolean rawContactExistsById(ContentResolver resolver, long rawContactid) { in rawContactExistsById() argument 72 long contactId = queryContactIdByRawContactId(resolver, rawContactid); in rawContactExistsById() [all …]
|
/aosp_15_r20/external/icu/tools/srcgen/currysrc/libs/ |
HD | org.eclipse.osgi.source_3.13.0.v20180409-1500.jar | ... apache/felix/
org/apache/felix/resolver/
org/apache/felix/resolver/WireImpl ... |