- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 2,371 for Try (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
chain.eventListener.cacheConditionalHit(call, cacheResponse) } else if (cache != null) { chain.eventListener.cacheMiss(call) } var networkResponse: Response? = null try { networkResponse = chain.proceed(networkRequest) } finally { // If we're crashing on I/O or otherwise, don't leak the cache body. if (networkResponse == null && cacheCandidate != null) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 10.3K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image04.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
assertEquals(blob.length, SMBUtil.readInt2(buf, off)); } // --- reflection helpers -------------------------------------------- private static Object getField(Object target, String name) { try { var f = target.getClass().getDeclaredField(name); f.setAccessible(true); return f.get(target); } catch (Exception e) { fail("access field " + name, e);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
docs_src/dependencies/tutorial008d_an_py310.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 734 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
validate(form, messages -> {}, this::asEditHtml); verifyToken(this::asEditHtml); getKeyMatch(form).ifPresent(entity -> { try { keyMatchService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); ComponentUtil.getKeyMatchHelper().update();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 16.2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
.build(); System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java
@Override protected final void doStart() { renamingDecorator(executor(), threadNameSupplier) .execute( () -> { try { startUp(); notifyStarted(); } catch (Throwable t) { restoreInterruptIfIsInterruptedException(t); notifyFailed(t); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
PermittedMetaException referenceException = null; Object targetReturnValue = null; Exception targetException = null; try { targetReturnValue = method.execute(target); } catch (Exception e) { // sneaky checked exception targetException = e; } try { if (method == NEXT_METHOD && targetException == null && knownOrder == KnownOrder.UNKNOWN_ORDER) { /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 20.8K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
try (SmbFile file = new SmbFile("smb://server/share/test.txt", context)) { // Open file with lease file.createNewFile(); // Verify lease was granted assertTrue(file.canCacheRead()); // Write should be cached try (OutputStream os = file.getOutputStream()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
) { writerQueue.execute("$connectionName[$streamId] windowUpdate") { try { writer.windowUpdate(streamId, unacknowledgedBytesRead) } catch (e: IOException) { failConnection(e) } } } fun writePing( reply: Boolean, payload1: Int, payload2: Int, ) { try { writer.ping(reply, payload1, payload2) } catch (e: IOException) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0)