Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 701 for LookUp (0.18 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    	// workload entry is included in the result until pod1 with the same address below is added
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "name0")
    	// lookup by address should return the workload entry's address info
    	assert.Equal(t, s.lookup(s.addrXdsName("140.140.0.10")), []model.AddressInfo{{
    		Address: &workloadapi.Address{
    			Type: &workloadapi.Address_Workload{
    				Workload: &workloadapi.Workload{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/SimpleLookup.java

    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    
    public class SimpleLookup implements Lookup {
        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            }
    
            @Override
            public Optional<Lifecycle> lookup(String id) {
                return Optional.empty();
            }
        };
    
        private static final PackagingRegistry emptyPackagingRegistry = new PackagingRegistry() {
            @Override
            public Optional<Packaging> lookup(String id) {
                return Optional.of(new Packaging() {
                    @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            }
    
            @Override
            public Optional<Lifecycle> lookup(String id) {
                return Optional.empty();
            }
        };
    
        private static final PackagingRegistry emptyPackagingRegistry = new PackagingRegistry() {
            @Override
            public Optional<Packaging> lookup(String id) {
                return Optional.of(new Packaging() {
                    @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final Lookup lookup;
    
        private final DefaultLifecycles defaultLifeCycles;
    
        @Inject
        public DefaultLifecyclePluginAnalyzer(Lookup lookup, DefaultLifecycles defaultLifeCycles) {
            this.lookup = requireNonNull(lookup);
            this.defaultLifeCycles = requireNonNull(defaultLifeCycles);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    
    public class SimpleLookup implements Lookup {
        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/device_compilation_cache_test.cc

      cache->Store(key2, DeviceCompileState::kCompiling, absl::OkStatus(),
                   std::move(compilation_result2), std::move(executable2));
      auto cache_value_1 = cache->Lookup(key1);
      auto cache_value_2 = cache->Lookup(key2);
    
      EXPECT_EQ(cache_value_1->compile_state, DeviceCompileState::kCompiled);
      EXPECT_EQ(cache_value_1->compilation_status.code(), error::INVALID_ARGUMENT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/named_test.go

    	F P
    }
    
    func (G[P]) M(P) {}
    func (G[P]) N() (p P) { return }
    
    type Inst = G[int]
    	`
    	pkg := mustTypecheck(src, nil, nil)
    
    	var (
    		T        = pkg.Scope().Lookup("T").Type()
    		G        = pkg.Scope().Lookup("G").Type()
    		SrcInst  = pkg.Scope().Lookup("Inst").Type()
    		UserInst = mustInstantiate(b, G, Typ[Int])
    	)
    
    	tests := []struct {
    		name string
    		typ  Type
    	}{
    		{"nongeneric", T},
    		{"generic", G},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Dns.kt

       */
      @Throws(UnknownHostException::class)
      fun lookup(hostname: String): List<InetAddress>
    
      companion object {
        /**
         * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to
         * lookup IP addresses. Most custom [Dns] implementations should delegate to this instance.
         */
        @JvmField
        val SYSTEM: Dns = DnsSystem()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	// We should now see the waypoint service IP
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.3"))[0].Address.GetWorkload().Waypoint.GetAddress().Address,
    		netip.MustParseAddr("10.0.0.2").AsSlice())
    
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.4"))[0].Address.GetWorkload().Waypoint.GetAddress().Address,
    		netip.MustParseAddr("10.0.0.3").AsSlice())
    
    	// Lookup for service VIP should return Workload and Service AddressInfo objects
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top