Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 906 for fun (0.16 sec)

  1. 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)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

              .toDouble(),
          )
            .isCloseTo(elapsedMs.toDouble(), 100.0)
        }
    
        return result
      }
    
      fun recordedEventTypes() = eventSequence.map { it.name }
    
      fun clearAllEvents() {
        while (eventSequence.isNotEmpty()) {
          takeEvent()
        }
      }
    
      private fun logEvent(e: ConnectionEvent) {
        if (e.connection != null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public fun close ()V
    	public final fun delete ()V
    	public final fun directory ()Ljava/io/File;
    	public final fun directoryPath ()Lokio/Path;
    	public final fun evictAll ()V
    	public fun flush ()V
    	public final fun hitCount ()I
    	public final fun initialize ()V
    	public final fun isClosed ()Z
    	public static final fun key (Lokhttp3/HttpUrl;)Ljava/lang/String;
    	public final fun maxSize ()J
    	public final fun networkCount ()I
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        platform.assumeNotOpenJSSE()
        platform.assumeHttp2Support()
      }
    
      @Test
      fun serverTruncatesRequestOnLongPostHttp1() {
        serverTruncatesRequestOnLongPost(https = false)
      }
    
      @Test
      fun serverTruncatesRequestOnLongPostHttp2() {
        enableProtocol(Protocol.HTTP_2)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. okhttp-android/api/okhttp-android.api

    	public fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;)V
    	public synthetic fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public fun query (Ljava/lang/String;Lokhttp3/AsyncDns$Callback;)V
    }
    
    public final class okhttp3/android/AndroidAsyncDns$Companion {
    	public final fun getIPv4 ()Lokhttp3/android/AndroidAsyncDns;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 1.3K bytes
    - Viewed (1)
  6. 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(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      internal val plansToCancel = CopyOnWriteArrayList<RoutePlanner.Plan>()
    
      override fun timeout(): Timeout = timeout
    
      @SuppressWarnings("CloneDoesntCallSuperClone") // We are a final type & this saves clearing state.
      override fun clone(): Call = RealCall(client, originalRequest, forWebSocket)
    
      override fun request(): Request = originalRequest
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  8. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun requireClientAuth ()V
    	public final fun setBodyLimit (J)V
    	public final fun setDispatcher (Lokhttp3/mockwebserver/Dispatcher;)V
    	public final fun setProtocolNegotiationEnabled (Z)V
    	public final fun setProtocols (Ljava/util/List;)V
    	public final fun setServerSocketFactory (Ljavax/net/ServerSocketFactory;)V
    	public final fun shutdown ()V
    	public final fun start ()V
    	public final fun start (I)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    
    private
    fun isSinceJavaClassVisitorFor(classSimpleName: String, version: String) =
        object : PredicateVisitor() {
    
            override fun visit(declaration: ClassOrInterfaceDeclaration, arg: Unit?): Boolean? =
                if (declaration.matchesNameAndIsSince(classSimpleName, version)) true
                else super.visit(declaration, arg)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. 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)
Back to top