- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for advanced (0.17 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
}, logger = logger, ) /** Runs all tasks that are ready. Used by the test thread only. */ fun runTasks() { advanceUntil(nanoTime) } /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */ fun advanceUntil(newTime: Long) { taskRunner.assertThreadDoesntHoldLock() taskRunner.lock.withLock {
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) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
detachTimeout(timeout) state = STATE_CLOSED } } /** An HTTP body with a fixed length specified in advance. */ private inner class FixedLengthSource(private var bytesRemaining: Long) : AbstractSource() { init { if (bytesRemaining == 0L) { responseBodyComplete() } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
override fun contentType(): MediaType? { return ******@****.***tType() } override fun contentLength(): Long { return -1 // We don't know the compressed length in advance! } @Throws(IOException::class) override fun writeTo(sink: BufferedSink) { GzipSink(sink).buffer().use(this@gzip::writeTo) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 25 14:41:37 GMT 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
// barclays : 2014-11-20 Barclays Bank PLC barclays // barefoot : 2015-06-11 Gallo Vineyards, Inc. barefoot // bargains : 2013-11-14 Binky Moon, LLC bargains // baseball : 2015-10-29 MLB Advanced Media DH, LLC baseball // basketball : 2015-08-20 Fédération Internationale de Basketball (FIBA) basketball // bauhaus : 2014-04-17 Werkhaus GmbH bauhaus
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 240.3K bytes - Viewed (3) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt
taskFaker.runNextTask() assertThat(log).containsExactly( "red:starting@0", "blue:starting@0", ) assertThat(taskFaker.executeCallCount).isEqualTo(2) // Advance time until the tasks complete. taskFaker.advanceUntil(100.µs) assertThat(log).containsExactly( "red:starting@0", "blue:starting@0", "red:finishing@100000", "blue:finishing@100000",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 23K bytes - Viewed (0)