Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for fun (0.12 sec)

  1. mockwebserver/api/mockwebserver3.api

    	public final fun getBodyDelayNanos ()J
    	public final fun getCode ()I
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getHeadersDelayNanos ()J
    	public final fun getInTunnel ()Z
    	public final fun getInformationalResponses ()Ljava/util/List;
    	public final fun getMessage ()Ljava/lang/String;
    	public final fun getPushPromises ()Ljava/util/List;
    	public final fun getSettings ()Lokhttp3/internal/http2/Settings;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 03 21:59:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

          isClient = true,
          source = data,
          frameCallback = callback.asFrameCallback(),
          perMessageDeflate = true,
          noContextTakeover = false,
        )
    
      @AfterEach fun tearDown() {
        callback.assertExhausted()
      }
    
      @Test fun controlFramesMustBeFinal() {
        data.write("0a00".decodeHex()) // Empty pong.
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

        )
      }
    
      /** Returns an adapter that decodes as the first of a list of available types. */
      fun choice(vararg choices: DerAdapter<*>): DerAdapter<Pair<DerAdapter<*>, Any?>> {
        return object : DerAdapter<Pair<DerAdapter<*>, Any?>> {
          override fun matches(header: DerHeader): Boolean = true
    
          override fun fromDer(reader: DerReader): Pair<DerAdapter<*>, Any?> {
            val peekedHeader =
              reader.peekHeader()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

            }
          }
        }
    
        override fun put(element: T) {
          taskRunner.lock.withLock {
            delegate.put(element)
            editCount++
          }
        }
    
        override fun iterator() = error("unsupported")
    
        override fun offer(e: T) = error("unsupported")
    
        override fun peek(): T = error("unsupported")
    
        override fun offer(
          element: T,
          timeout: Long,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            override fun visitElement(element: FirElement) {
                element.acceptChildren(this)
            }
    
            override fun visitAnonymousFunction(anonymousFunction: FirAnonymousFunction) = visitFunction(anonymousFunction)
            override fun visitPropertyAccessor(propertyAccessor: FirPropertyAccessor) = visitFunction(propertyAccessor)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            val isBinaryCompatible = checkFailure == null
    
            fun assertEmptyReport() {
                assertHasNoError()
                assertHasNoWarning()
                assertHasNoInformation()
            }
    
            fun assertHasNoError() {
                assertTrue("Has no error (${richReport.errors})", richReport.errors.isEmpty())
            }
    
            fun assertHasNoWarning() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Request.kt

         * cache-control headers.
         */
        open fun cacheControl(cacheControl: CacheControl): Builder = commonCacheControl(cacheControl)
    
        open fun get(): Builder = commonGet()
    
        open fun head(): Builder = commonHead()
    
        open fun post(body: RequestBody): Builder = commonPost(body)
    
        @JvmOverloads
        open fun delete(body: RequestBody? = commonEmptyRequestBody): Builder = commonDelete(body)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        clientListener.assertClosed(1000, "")
        serverListener.assertClosed(1000, "")
      }
    
      @Test
      fun wsScheme() {
        assumeNotWindows()
        websocketScheme("ws")
      }
    
      @Test
      fun wsUppercaseScheme() {
        websocketScheme("WS")
      }
    
      @Test
      fun wssScheme() {
        webServer.useHttps(handshakeCertificates.sslSocketFactory())
        client =
          client.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            override fun contentType() = original.contentType()
    
            override fun contentLength() = original.contentLength()
    
            override fun source() = uppercase(original.source()).buffer()
          }
        }
    
        private fun uppercase(original: Source): Source {
          return object : ForwardingSource(original) {
            override fun read(
              sink: Buffer,
              byteCount: Long,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    }
    
    internal fun Char.parseHexDigit(): Int =
      when (this) {
        in '0'..'9' -> this - '0'
        in 'a'..'f' -> this - 'a' + 10
        in 'A'..'F' -> this - 'A' + 10
        else -> -1
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top