Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ReaderRunnable (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        private set
    
      internal val socket: Socket = builder.socket
      val writer = Http2Writer(builder.sink, client)
    
      // Visible for testing
      val readerRunnable = ReaderRunnable(Http2Reader(builder.source, client))
    
      // Guarded by this.
      private val currentPushRequests = mutableSetOf<Int>()
    
      init {
        if (builder.pingIntervalMillis != 0) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;-><init>(Lokhttp3/internal/http2/Http2Connection;Lokhttp3/internal/http2/Http2Reader;)V
    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->ackSettings()V
    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->data(ZILokio/BufferedSource;I)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      }
    
      private fun updateMaxConcurrentStreams(
        connection: Http2Connection,
        amount: Int,
      ) {
        val settings = Settings()
        settings[Settings.MAX_CONCURRENT_STREAMS] = amount
        connection.readerRunnable.applyAndAckSettings(true, settings)
        assertThat(connection.peerSettings[Settings.MAX_CONCURRENT_STREAMS]).isEqualTo(amount)
        taskFaker.runTasks()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val connection = connect(peer)
    
        // fake a settings frame with clear flag set.
        val settings2 = Settings()
        settings2[Settings.MAX_CONCURRENT_STREAMS] = 60000
        connection.readerRunnable.applyAndAckSettings(true, settings2)
        connection.withLock {
          assertThat(connection.peerSettings.headerTableSize).isEqualTo(-1)
          assertThat(connection.peerSettings.initialWindowSize)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top