- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for desta (0.14 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
} } val peerInitialWindowSize = newPeerSettings.initialWindowSize.toLong() delta = peerInitialWindowSize - previousPeerSettings.initialWindowSize.toLong() streamsToNotify = when { delta == 0L || streams.isEmpty() -> null // No adjustment is necessary. else -> streams.values.toTypedArray() }
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) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
} } companion object { internal const val EMIT_BUFFER_SIZE = 16384L } /** [delta] will be negative if a settings frame initial window is smaller than the last. */ fun addBytesToWriteWindow(delta: Long) { writeBytesMaximum += delta if (delta > 0L) { condition.signalAll() } } @Throws(IOException::class) internal fun checkOutNotClosed() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 23.2K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
val startNanos = System.nanoTime() assertFailsWith<InterruptedIOException> { stream.takeHeaders() } val elapsedNanos = System.nanoTime() - startNanos awaitWatchdogIdle() // 200ms delta assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedNanos).toDouble()) .isCloseTo(500.0, 200.0) assertThat(connection.openStreamCount()).isEqualTo(0) // Verify the peer received what was expected.
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)