- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for abort (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
super.close() editor.commit() } } } override fun abort() { synchronized(this@Cache) { if (done) return done = true writeAbortCount++ } cacheOut.closeQuietly() try { editor.abort() } catch (_: IOException) { } } override fun body(): Sink = body }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheRequest.kt
* limitations under the License. */ package okhttp3.internal.cache import java.io.IOException import okio.Sink interface CacheRequest { @Throws(IOException::class) fun body(): Sink fun abort()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 769 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
"01234567890123456789012345678901234567890123456789" ) cache.edit(key)!!.abort() // Contains all valid characters. key = "abcdefghijklmnopqrstuvwxyz_0123456789" cache.edit(key)!!.abort() // Contains dash. key = "-20384573948576" cache.edit(key)!!.abort() } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
if (success && !entry.readable) { for (i in 0 until valueCount) { if (!editor.written!![i]) { editor.abort() throw IllegalStateException("Newly created entry didn't create value for index $i") } if (!fileSystem.exists(entry.dirtyFiles[i])) { editor.abort() return } } } for (i in 0 until valueCount) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
docs/features/events.md
Events allow you to capture metrics on your application’s HTTP calls. Use events to monitor: * The size and frequency of the HTTP calls your application makes. If you’re making too many calls, or your calls are too large, you should know about it! * The performance of these calls on the underlying network. If the network’s performance isn’t sufficient, you need to either improve the network or use less of it. ### EventListener
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
fileToClose = file file = null } } fileToClose?.closeQuietly() } } companion object { // TODO(jwilson): what to do about timeouts? They could be different and unfortunately when any // timeout is hit we like to tear down the whole stream. private const val SOURCE_UPSTREAM = 1 private const val SOURCE_FILE = 2
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
System.err.println("Ignoring unsupported scheme ${testData.scheme}") return } if (!testData.base!!.startsWith("https:") && !testData.base!!.startsWith("http:") && testData.base != "about:blank" ) { System.err.println("Ignoring unsupported base ${testData.base}") return } try { testHttpUrl(testData) if (KNOWN_FAILURES.contains(testData.toString())) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
isTlsFallback = isTlsFallback, ) } override fun connectTcp(): ConnectResult { check(rawSocket == null) { "TCP already connected" } var success = false // Tell the call about the connecting call so async cancels work. user.addPlanToCancel(this) try { user.connectStart(route) connectSocket() success = true return ConnectResult(plan = this)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 18.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
"maxIntermediateCas < 0: $maxIntermediateCas" } this.maxIntermediateCas = maxIntermediateCas } /** * Configure the certificate to generate a 256-bit ECDSA key, which provides about 128 bits of * security. ECDSA keys are noticeably faster than RSA keys. * * This is the default configuration and has been since this API was introduced in OkHttp
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1)