Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 279 for HostName (0.34 sec)

  1. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

      internal val resolver = DnsResolver.getInstance()
      private val executor = Executors.newSingleThreadExecutor()
    
      override fun query(
        hostname: String,
        callback: AsyncDns.Callback,
      ) {
        try {
          resolver.query(
            network,
            hostname,
            dnsClass.type,
            DnsResolver.FLAG_EMPTY,
            executor,
            null,
            object : DnsResolver.Callback<List<InetAddress>> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 10:07:48 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Dns.kt

        val SYSTEM: Dns = DnsSystem()
    
        private class DnsSystem : Dns {
          override fun lookup(hostname: String): List<InetAddress> {
            try {
              return InetAddress.getAllByName(hostname).toList()
            } catch (e: NullPointerException) {
              throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply {
                initCause(e)
              }
            }
          }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

      }
    
      private fun dnsQuery(hostname: String): Pair<List<InetAddress>, Exception?> {
        val allAddresses = mutableListOf<InetAddress>()
        var exception: Exception? = null
        val latch = CountDownLatch(1)
    
        // assumes an IPv4 address
        AndroidAsyncDns.IPv4.query(
          hostname,
          object : AsyncDns.Callback {
            override fun onResponse(
              hostname: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Android10Platform.kt

          ?.trustManager(sslSocketFactory)
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        socketAdapters.find { it.matchesSocket(sslSocket) }
          ?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         * a mechanism to trust some hosts and not others.
         *
         * @param hostname the exact hostname from the URL for insecure connections.
         */
        fun addInsecureHost(hostname: String) =
          apply {
            insecureHosts += hostname
          }
    
        fun build(): HandshakeCertificates {
          val immutableInsecureHosts = insecureHosts.toImmutableList()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  6. docs/metrics/prometheus/list.md

    These metrics can be obtained from any MinIO server once per collection by using the following URL:
    
    ```shell
    https://HOSTNAME:PORT/minio/v2/metrics/cluster
    ```
    
    Replace ``HOSTNAME:PORT`` with the hostname of your MinIO deployment.
    For deployments behind a load balancer, use the load balancer hostname instead of a single node hostname.
    
    ## Audit Metrics
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  7. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

         */
                    if( !addrFound && queryAddress.hostName.hexCode == hexCode &&
                            ( queryAddress.hostName == NbtAddress.UNKNOWN_NAME ||
                            queryAddress.hostName.name.equals( n ))) {
        
                        if( queryAddress.hostName == NbtAddress.UNKNOWN_NAME ) {
                            queryAddress.hostName = new Name( n, hexCode, scope );
                        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NodeStatusResponse.java

                 */
                if ( !addrFound && this.queryAddress.hostName.hexCode == hexCode
                        && ( this.queryAddress.hostName.isUnknown() || this.queryAddress.hostName.name.equals(n) ) ) {
    
                    if ( this.queryAddress.hostName.isUnknown() ) {
                        this.queryAddress.hostName = new Name(this.config, n, hexCode, scope);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.9K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/services.go

    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		if r := cmp.Compare(a.Name, b.Name); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT")
    
    	for _, svc := range svcs {
    		var ip string
    		if len(svc.Addresses) > 0 {
    			_, ip, _ = strings.Cut(svc.Addresses[0], "/")
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/InsecureForHostTest.kt

        server.enqueue(MockResponse())
    
        val clientCertificates =
          HandshakeCertificates.Builder()
            .addPlatformTrustedCertificates()
            .addInsecureHost(server.hostName)
            .build()
    
        val client =
          clientTestRule.newClientBuilder()
            .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)
            .build()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top