Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 567 for fun (0.01 sec)

  1. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        val responseString = same.body.string()
        assertThat(responseString).isEmpty()
      }
    
      private fun ByteString.zstdCompress(): ByteString {
        val result = Buffer()
        result.zstdCompress().buffer().use {
          it.write(this@zstdCompress)
        }
        return result.readByteString()
      }
    
      private fun ByteString.gzipCompress(): ByteString {
        val result = Buffer()
        (result as Sink).gzip().buffer().use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      override fun callEnd(call: Call) {
        logWithTime("callEnd")
    
        delegate.callEnd(call)
      }
    
      override fun callFailed(
        call: Call,
        ioe: IOException,
      ) {
        logWithTime("callFailed: $ioe")
    
        delegate.callFailed(call, ioe)
      }
    
      override fun canceled(call: Call) {
        logWithTime("canceled")
    
        delegate.canceled(call)
      }
    
      override fun satisfactionFailure(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

          object : PushObserver {
            override fun onRequest(
              streamId: Int,
              requestHeaders: List<Header>,
            ) = false
    
            override fun onHeaders(
              streamId: Int,
              responseHeaders: List<Header>,
              last: Boolean,
            ) = false
    
            override fun onData(
              streamId: Int,
              source: BufferedSource,
              byteCount: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

        return result
      }
    
      public override fun peek(): MockResponse = responseQueue.peek() ?: failFastResponse ?: super.peek()
    
      public open fun enqueue(response: MockResponse) {
        responseQueue.add(response)
      }
    
      public open fun clear() {
        responseQueue.clear()
      }
    
      public override fun close() {
        responseQueue.add(DEAD_LETTER)
      }
    
      public open fun setFailFast(failFast: Boolean) {
        setFailFast(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

      }
    
      @Throws(IOException::class)
      private fun writeMetadata(upstreamSize: Long) {
        val metadataBuffer = Buffer()
        metadataBuffer.write(metadata)
    
        val fileOperator = FileOperator(file!!.channel)
        fileOperator.write(FILE_HEADER_SIZE + upstreamSize, metadataBuffer, metadata.size.toLong())
      }
    
      @Throws(IOException::class)
      fun commit(upstreamSize: Long) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      /** Send a ping with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePing(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PING, payload)
      }
    
      /** Send a pong with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePong(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PONG, payload)
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealResponseBody.kt

      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    ) : ResponseBody() {
      override fun contentLength(): Long = contentLength
    
      override fun contentType(): MediaType? = contentTypeString?.toMediaTypeOrNull()
    
      override fun source(): BufferedSource = source
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt

      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private val client = clientTestRule.newClient()
    
      @BeforeEach fun setUp() {
        platform.assumeCorretto()
      }
    
      @Test
      @Disabled
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ChannelSocketFactory.kt

      override fun createSocket(): Socket = SocketChannel.open().socket()
    
      override fun createSocket(
        host: String,
        port: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
        host: String,
        port: Int,
        localHost: InetAddress,
        localPort: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
        host: InetAddress,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

                }
            }
        }
    }
    
    fun stageTriggerId(
        model: CIBuildModel,
        stage: Stage,
        os: Os? = null,
    ) = stageTriggerId(model, stage.stageName, os)
    
    fun stageTriggerUuid(
        model: CIBuildModel,
        stage: Stage,
        os: Os? = null,
    ) = stageTriggerUuid(model, stage.stageName, os)
    
    fun stageTriggerId(
        model: CIBuildModel,
        stageName: StageName,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 11 10:33:45 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top