Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for addPass (0.09 sec)

  1. okhttp/src/main/kotlin/okhttp3/Address.kt

     * explicitly requested), this also includes that proxy information. For secure connections the
     * address also includes the SSL socket factory, hostname verifier, and certificate pinner.
     *
     * HTTP requests that share the same [Address] may also share the same [Connection].
     */
    class Address(
      uriHost: String,
      uriPort: Int,
      /** Returns the service that will be used to resolve IP addresses for hostnames. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

    import okhttp3.internal.connection.RoutePlanner.ConnectResult
    import okhttp3.internal.connection.RoutePlanner.Plan
    import okhttp3.internal.okHttpName
    
    /**
     * Speculatively connects to each IP address of a target address, returning as soon as one of them
     * connects successfully. This kicks off new attempts every 250 ms until a connect succeeds.
     */
    internal class FastFallbackExchangeFinder(
      override val routePlanner: RoutePlanner,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        public void testRemove() throws Exception {
            list.addLast(null);
            list.addLast("1");
            list.addLast("2");
            assertThat(list.remove("3"), is(not(true)));
            assertThat(list.remove("1"), is(true));
            assertThat(list.remove(null), is(true));
            list.clear();
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            list.remove(1);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param hostAddr an RFC 3986 section 3.2.2 encoded IPv4 or IPv6 address
       * @return an InetAddress representing the address in {@code hostAddr}
       * @throws IllegalArgumentException if {@code hostAddr} is not a valid IPv4 address, or IPv6
       *     address surrounded by square brackets, or if the address has a scope id that fails
       *     validation against interfaces on the machine
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      private fun assertRoute(
        route: Route,
        address: Address,
        proxy: Proxy,
        socketAddress: InetAddress,
        socketPort: Int,
      ) {
        assertThat(route.address).isEqualTo(address)
        assertThat(route.proxy).isEqualTo(proxy)
        assertThat(route.socketAddress.address).isEqualTo(socketAddress)
        assertThat(route.socketAddress.port).isEqualTo(socketPort)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param hostAddr an RFC 3986 section 3.2.2 encoded IPv4 or IPv6 address
       * @return an InetAddress representing the address in {@code hostAddr}
       * @throws IllegalArgumentException if {@code hostAddr} is not a valid IPv4 address, or IPv6
       *     address surrounded by square brackets, or if the address has a scope id that fails
       *     validation against interfaces on the machine
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        route: Route,
        routes: List<Route>? = null,
      ): ConnectPlan {
        if (route.address.sslSocketFactory == null) {
          if (ConnectionSpec.CLEARTEXT !in route.address.connectionSpecs) {
            throw UnknownServiceException("CLEARTEXT communication not enabled for client")
          }
    
          val host = route.address.url.host
          if (!Platform.get().isCleartextTrafficPermitted(host)) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      //
      if (b != address.size) {
        if (compress == -1) return null // Address didn't have compression or enough groups.
        address.copyInto(address, address.size - (b - compress), compress, b)
        address.fill(0.toByte(), compress, compress + (address.size - b))
      }
    
      return address
    }
    
    /** Decodes an IPv4 address suffix of an IPv6 address, like 1111::5555:6666:192.168.0.1. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        }
      }
    
      /** Open connections to [address], if required by the address policy. */
      fun scheduleOpener(address: Address) {
        addressStates[address]?.scheduleOpener()
      }
    
      fun scheduleCloser() {
        cleanupQueue.schedule(cleanupTask)
      }
    
      /**
       * Ensure enough connections open to [address] to satisfy its [ConnectionPool.AddressPolicy].
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress address = InetAddress.getByName("255.255.255.254");
        assertFalse(InetAddresses.isMaximum(address));
    
        address = InetAddress.getByName("255.255.255.255");
        assertTrue(InetAddresses.isMaximum(address));
    
        address = InetAddress.getByName("ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe");
        assertFalse(InetAddresses.isMaximum(address));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top