- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 79 for removed (0.19 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
} /** * Schedules immediate execution of [Task.tryCancel] on all currently-enqueued tasks. These calls * will not be made until any currently-executing task has completed. Tasks that return true will * be removed from the execution schedule. */ fun cancelAll() { lock.assertNotHeld() taskRunner.lock.withLock { if (cancelAllAndDecide()) { taskRunner.kickCoordinator(this) } }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.5K bytes - Viewed (0) -
docs/contribute/concurrency.md
#### Per-Connection Locks Each connection has its own lock. The connections in the pool are all in a `ConcurrentLinkedQueue`. Due to data races, iterators of this queue may return removed connections. Callers must check the connection's `noNewExchanges` property before using connections from the pool. The connection lock is never held while doing I/O (even closing a socket) to prevent contention.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
taskFaker.runNextTask() assertThat(cache.remove("a")).isTrue() assertAbsent("a") cache.close() createNewCache() // The journal will have no record that 'a' was removed. It will have an entry for 'a', but when // it tries to read the cache files, it will find they were deleted. Once it encounters an entry // with missing cache files, it should remove it from the cache entirely.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
docs/security/tls_configuration_history.md
* TLS_RSA_WITH_AES_128_CBC_SHA[²][http2_naughty] * TLS_RSA_WITH_AES_256_CBC_SHA[²][http2_naughty] * TLS_RSA_WITH_3DES_EDE_CBC_SHA[²][http2_naughty] * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_128_CBC_SHA~~ * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_128_GCM_SHA256~~ * **REMOVED:** ~~TLS_DHE_RSA_WITH_AES_256_CBC_SHA~~ [OkHttp 3.0][OkHttp30] ---------------------- _2016-01-13_ ##### MODERN_TLS / COMPATIBLE_TLS cipher suites
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 9K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
`HttpUrl.Builder.addEncodedQueryParameter()`. * New: CBC-mode ECDSA cipher suites have been removed from OkHttp's default configuration: `TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA` and `TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA`. This tracks a [Chromium change][remove_cbc_ecdsa] to remove these cipher suites because they are fragile and rarely-used.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
return removeSnapshot!! } override fun remove() { val removeSnapshot = this.removeSnapshot checkNotNull(removeSnapshot) { "remove() before next()" } try { this@DiskLruCache.remove(removeSnapshot.key()) } catch (_: IOException) { // Nothing useful to do here. We failed to remove from the cache. Most likely that's
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
gradlew
if ! command -v xargs >/dev/null 2>&1 then die "xargs is not available" fi # Use "xargs" to parse quoted args. # # With -n1 it outputs one arg per line, with the quotes and backslashes removed. # # In Bash we could simply go: # # readarray ARGS < <( xargs -n1 <<<"$var" ) && # set -- "${ARGS[@]}" "$@" # # but POSIX shell has neither arrays nor command substitution, so instead we
Shell Script - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Dec 24 09:00:26 GMT 2023 - 8.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
private var lastTimestampNs: Long? = null /** Confirm that the thread does not hold a lock on `lock` during the callback. */ fun forbidLock(lock: Any) { forbiddenLocks.add(lock) } /** * Removes recorded events up to (and including) an event is found whose class equals [eventClass] * and returns it. */ fun <T : ConnectionEvent> removeUpToEvent(eventClass: Class<T>): T {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
evictAllConnections(pool) assertThat(pool.connectionCount()).isEqualTo(2) forceConnectionsToExpire(pool, expireTime) assertThat(pool.connectionCount()).isEqualTo(2) // Excess connections aren't removed until they idle out, even if no longer needed setPolicy(pool, address, ConnectionPool.AddressPolicy(1)) assertThat(pool.connectionCount()).isEqualTo(2) forceConnectionsToExpire(pool, expireTime)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 24 04:40:49 GMT 2024 - 12.7K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* New: Build with Kotlin 1.3.41, BouncyCastle 1.62, and Conscrypt 2.2.1. * Fix: Recover gracefully when a coalesced connection immediately goes unhealthy. * Fix: Defer the `SecurityException` when looking up the default proxy selector. * Fix: Don't use brackets formatting IPv6 host names in MockWebServer. * Fix: Don't permit cache iterators to remove entries that are being written. ## Version 4.0.1 _2019-07-10_
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0)