Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 368 for srcset (0.07 sec)

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

     * limitations under the License.
     */
    package okhttp3
    
    import okio.ByteString
    
    abstract class WebSocketListener {
      /**
       * Invoked when a web socket has been accepted by the remote peer and may begin transmitting
       * messages.
       */
      open fun onOpen(
        webSocket: WebSocket,
        response: Response,
      ) {
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

              // This is an HTTP/1 upgrade. (This case includes web socket upgrades.)
              isUpgradeRequest && isUpgradeResponse -> {
                response
                  .newBuilder()
                  .body(
                    UnreadableResponseBody(
                      response.body.contentType(),
                      response.body.contentLength(),
                    ),
                  ).socket(exchange.upgradeToSocket())
                  .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
       * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet
       * started execution. It is unclear from the {@code ExecutorService} specification if these should
       * be included, and it's much easier to implement the interpretation that they not be. Finally, a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5");
      private static final SecretKey SHA1_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1");
      private static final SecretKey SHA256_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA256");
      private static final SecretKey SHA512_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA512");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        } else {
          Protocol.HTTP_2
        }
    
      @Volatile
      private var canceled = false
    
      override val isResponseComplete: Boolean
        get() = stream?.isSourceComplete == true
    
      override val socket: Socket
        get() = stream!!
    
      override fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink = stream!!.sink
    
      override fun writeRequestHeaders(request: Request) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

          matchesSocket(sslSocket) -> Conscrypt.getApplicationProtocol(sslSocket)
          else -> null // No TLS extensions if the socket class is custom.
        }
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          // Enable session tickets.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
          set.add(tooLow);
          return checkedCreate(set).subSet(tooLow + 1, tooHigh);
        }
      }
    
      @GwtIncompatible // NavigableSet
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun connection() {
        val connection =
          object : Connection {
            override fun route(): Route = TODO()
    
            override fun socket(): Socket = TODO()
    
            override fun handshake(): Handshake? = TODO()
    
            override fun protocol(): Protocol = TODO()
          }
      }
    
      @Test
      fun connectionPool() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

          // https://github.com/bcgit/bc-java/issues/1773
          listOf()
        }
      }
    
      @Throws(IOException::class)
      open fun connectSocket(
        socket: Socket,
        address: InetSocketAddress,
        connectTimeout: Int,
      ) {
        socket.connect(address, connectTimeout)
      }
    
      open fun log(
        message: String,
        level: Int = INFO,
        t: Throwable? = null,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

     * 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. */
      @get:JvmName("dns") val dns: Dns,
      /** Returns the socket factory for new connections. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top