Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for LookUp (0.48 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

    public interface Lookup extends Service {
        /**
         * Performs a lookup for given typed component.
         *
         * @param type The component type.
         * @return The component.
         * @param <T> The component type.
         * @throws LookupException if no such component or there is some provisioning related issue.
         */
        @Nonnull
        <T> T lookup(Class<T> type);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. docs/federation/lookup/bucket-lookup.png

    bucket-lookup.png...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 08 17:22:01 UTC 2018
    - 36.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        dns[PROXY_A_HOST] = dns.allocate(2)
        val selection = routeSelector.next()
        assertRoute(selection.next(), address, proxyA, dns.lookup(PROXY_A_HOST, 0), PROXY_A_PORT)
        assertRoute(selection.next(), address, proxyA, dns.lookup(PROXY_A_HOST, 1), PROXY_A_PORT)
        assertThat(selection.hasNext()).isFalse()
        assertThat(routeSelector.hasNext()).isFalse()
        dns.assertRequests(PROXY_A_HOST)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

    @Singleton
    @Deprecated(since = "4.0.0")
    public class ToolchainManagerFactory {
    
        private final Lookup lookup;
        private final Logger logger;
    
        @Inject
        ToolchainManagerFactory(Lookup lookup) {
            this(lookup, null);
        }
    
        protected ToolchainManagerFactory(Lookup lookup, Logger logger) {
            this.lookup = lookup;
            this.logger = logger;
        }
    
        @Provides
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                }
            }
    
            private static final Lookup EMPTY_LOOKUP = new Lookup() {
                @Override
                public <T> T lookup(Class<T> type) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. compat/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: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        assertThat(cacheEvents()).containsExactly("CacheMiss")
    
        result = cachedDns.lookup("google.com")
        assertThat(server.takeRequest(1, TimeUnit.MILLISECONDS)).isNull()
        assertThat(result).isEqualTo(listOf(address("157.240.1.18")))
    
        assertThat(cacheEvents()).containsExactly("CacheHit")
    
        result = cachedDns.lookup("www.google.com")
        assertThat(result).containsExactly(address("157.240.1.18"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
     *   <li>When a cache lookup first encounters a missing cache entry, a new entry is loaded.
     *       <ul>
     *         <li>After successfully loading an entry {@code missCount} and {@code loadSuccessCount}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/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: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                    .build();
        }
    
        static class WrapperLifecycleRegistry implements LifecycleRegistry {
            @Override
            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
                return getDelegate().lookup(id);
            }
    
            @Override
            public Iterator<Lifecycle> iterator() {
                return getDelegate().iterator();
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top