Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 236 for sockets (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TlsVersion.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    /**
     * Versions of TLS that can be offered when negotiating a secure socket. See
     * [javax.net.ssl.SSLSocket.setEnabledProtocols].
     */
    enum class TlsVersion(
      @get:JvmName("javaName") val javaName: String,
    ) {
      TLS_1_3("TLSv1.3"), // 2016.
      TLS_1_2("TLSv1.2"), // 2008.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
          request: Request,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       */
      open fun dnsEnd(
        call: Call,
        domainName: String,
        inetAddressList: List<@JvmSuppressWildcards InetAddress>,
      ) {
      }
    
      /**
       * Invoked just prior to initiating a socket connection.
       *
       * This method will be invoked if no existing connection in the [ConnectionPool] can be reused.
       *
       * This can be invoked more than 1 time for a single [Call]. For example, if the response to the
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        int buckets = Hashing.closedTableSize(expectedSize, loadFactor);
        this.table = newTable(buckets);
        this.loadFactor = loadFactor;
    
        this.keys = new @Nullable Object[expectedSize];
        this.values = new int[expectedSize];
    
        this.entries = newEntries(expectedSize);
        this.threshold = Math.max(1, (int) (buckets * loadFactor));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

          else -> protocol
        }
      }
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          val bcSocket = sslSocket as BCSSLSocket
    
          val sslParameters = bcSocket.parameters
    
          // Enable ALPN.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. .github/workflows/ci.yml

              server-id: central
              server-username: CI_DEPLOY_USERNAME
              server-password: CI_DEPLOY_PASSWORD
          - name: 'Publish'
            env:
              CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
              CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
            run: ./util/deploy_snapshot.sh
    
      generate_docs:
        permissions:
          contents: write
        name: 'Generate latest docs'
        needs: test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 01 19:32:55 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/api/mockwebserver.api

    	public fun <init> (Ljava/lang/String;Lokhttp3/Headers;Ljava/util/List;JLokio/Buffer;ILjava/net/Socket;)V
    	public fun <init> (Ljava/lang/String;Lokhttp3/Headers;Ljava/util/List;JLokio/Buffer;ILjava/net/Socket;Ljava/io/IOException;)V
    	public synthetic fun <init> (Ljava/lang/String;Lokhttp3/Headers;Ljava/util/List;JLokio/Buffer;ILjava/net/Socket;Ljava/io/IOException;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public final fun getBody ()Lokio/Buffer;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
                throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
            }
    
            off -= 4;
    
            b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte) 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. .ci/jobs.t/defaults.yml

    ---
    
    ##### GLOBAL METADATA
    
    - meta:
        cluster: elasticsearch-ci
    
    ##### JOB DEFAULTS
    
    - job:
        vault:
          url: https://secrets.elastic.co:8200
          role_id: 1ba1ac3e-aee4-d040-d9a3-6ae23bd2b3db
        node: "general-purpose"
        concurrent: true
        logrotate:
          daysToKeep: 30
          numToKeep: 500
          artifactDaysToKeep: 7
        parameters:
          - string:
              name: branch_specifier
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Wed Sep 29 15:38:05 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

        println("Proxy Server 1 is ${server1.socketAddress}")
        println("Proxy Server 2 is ${server2.socketAddress}")
    
        // Since myproxy:8008 won't resolve, redirect with DNS to proxyServer1
        // Then redirect socket connection to server1
        dns["myproxy"] = listOf(proxyServer1)
        socketFactory[proxyServer1] = server1.socketAddress
    
        client = client.newBuilder().proxySelector(proxySelector).build()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top