- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 322 for Hafner (0.19 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
.cacheResponse(cacheResponse.stripBody()) .networkResponse(networkResponse.stripBody()) .build() networkResponse.body.close() // Update the cache after combining headers but before stripping the // Content-Encoding header (as performed by initContentStream()). cache!!.trackConditionalCacheHit() cache.update(cacheResponse, response)
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/test/java/okhttp3/WholeOperationTimeoutTest.kt
} catch (e: InterruptedException) { throw InterruptedIOException() } } } } companion object { /** A large response body. Smaller bodies might successfully read after the socket is closed! */ private val BIG_ENOUGH_BODY = repeat('a', 64 * 1024) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
if (containingFile == null || containingFile.declarations.firstOrNull() !is FirScript) { // Should be replaced with proper check after KT-61451 and KT-61887 return false } } val firSymbol = symbol.firSymbol if (firSymbol is FirPropertySymbol && firSymbol.isForeignValue) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 13.5K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jul 28 16:19:47 GMT 2023 - 12.5K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
That way, using `secrets.compare_digest()` in your application code, it will be safe against this whole range of security attacks. ### Return the error After detecting that the credentials are incorrect, return an `HTTPException` with a status code 401 (the same returned when no credentials are provided) and add the header `WWW-Authenticate` to make the browser show the login prompt again:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 14:33:05 GMT 2024 - 5.9K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
```Python hl_lines="24" {!../../../docs_src/sql_databases_peewee/sql_app/database.py!} ``` !!! tip Make sure you overwrite `db._state` *after* creating `db`. !!! tip You would do the same for any other Peewee database, including `PostgresqlDatabase`, `MySQLDatabase`, etc. ## Create the database models Let's now see the file `sql_app/models.py`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
val openAtNanos = System.nanoTime() newWebSocket() clientListener.assertOpen() clientListener.assertFailure( SocketTimeoutException::class.java, "sent ping but didn't receive pong within 500ms (after 0 successful ping/pongs)", ) latch.countDown() val elapsedUntilFailure = System.nanoTime() - openAtNanos assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilFailure).toDouble())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
* When resolving the calleeExpression of a `KtCallExpression`, we resolve the entire `KtCallExpression` instead. This way, the * corresponding FIR element is the `FirFunctionCall`, etc. Implicit invoke is then specially handled after obtaining the * `FirImplicitInvokeCall`. * * Note that, if the calleeExpression is already a KtCallExpression, then we don't do this because such a callExpression can be properly
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 70.8K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
internal fun FileSystem.deleteIfExists(path: Path) { try { delete(path) } catch (fnfe: FileNotFoundException) { return } } /** Tolerant delete, try to clear as many files as possible even after a failure. */ internal fun FileSystem.deleteContents(directory: Path) { var exception: IOException? = null val files = try { list(directory) } catch (fnfe: FileNotFoundException) { return
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
clientTestRule.newClientBuilder() .protocols(listOf(Protocol.H2_PRIOR_KNOWLEDGE)) .build() scheme = "http" } } @AfterEach fun tearDown() { // TODO reenable after https://github.com/square/okhttp/issues/8206 // fileSystem.checkNoOpenFiles() cache.close() java.net.Authenticator.setDefault(null) } @ParameterizedTest
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0)