Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for lookUp (0.06 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        static final VarHandle valueUpdater;
    
        static {
          MethodHandles.Lookup lookup = MethodHandles.lookup();
          try {
            waiterThreadUpdater = lookup.findVarHandle(Waiter.class, "thread", Thread.class);
            waiterNextUpdater = lookup.findVarHandle(Waiter.class, "next", Waiter.class);
            waitersUpdater =
                lookup.findVarHandle(AbstractFutureState.class, "waitersField", Waiter.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. 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)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

            headers = headersOf("Location", "http://www.fakeurl:" + server!!.port),
          ),
        )
        server!!.enqueue(MockResponse())
        val dns = FakeDns()
        dns["fakeurl"] = client.dns.lookup(server!!.hostName)
        dns["www.fakeurl"] = client.dns.lookup(server!!.hostName)
        client =
          client
            .newBuilder()
            .dns(dns)
            .build()
        val call =
          client.newCall(
            Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

      const val FLAG_COMPRESSED = 0x20 // Used for data.
    
      /** Lookup table for valid frame types. */
      private val FRAME_NAMES =
        arrayOf(
          "DATA",
          "HEADERS",
          "PRIORITY",
          "RST_STREAM",
          "SETTINGS",
          "PUSH_PROMISE",
          "PING",
          "GOAWAY",
          "WINDOW_UPDATE",
          "CONTINUATION",
        )
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt

     *
     *  * A DNS lookup failed
     *  * The configuration is incapable of carrying the request, such as when the client is configured
     *    to use `H2_PRIOR_KNOWLEDGE` but the URL's scheme is `https:`.
     *  * Preemptive proxy authentication failed.
     *
     * Planning failures are not necessarily fatal. For example, even if we can't DNS lookup the first
     * proxy in a list, looking up a subsequent one may succeed.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        hostAddresses.remove(hostname)
        return this
      }
    
      @Throws(UnknownHostException::class)
      fun lookup(
        hostname: String,
        index: Int,
      ): InetAddress = hostAddresses[hostname]!![index]
    
      @Throws(UnknownHostException::class)
      override fun lookup(hostname: String): List<InetAddress> {
        requestedHosts.add(hostname)
        return hostAddresses[hostname] ?: throw UnknownHostException()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

         * @param jndiName
         *            The name of the object to look up. Must not be {@literal null} or an empty string.
         * @return The object bound to <code>jndiName</code>.
         * @throws NamingRuntimeException
         *             Thrown if the initial context cannot be created.
         */
        public static Object lookup(final InitialContext ctx, final String jndiName) throws NamingRuntimeException {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

     * This factory maintains a registry of data store implementations and provides methods
     * to register, retrieve, and discover available data stores.
     *
     * <p>Data stores are registered by name and class name, allowing flexible lookup.
     * The factory also supports dynamic discovery of data store plugins by scanning
     * JAR files for data store configurations.</p>
     *
     * <p>Thread-safe operations are supported for registration and retrieval of data stores.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top