- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 1,808 for try (0.01 sec)
-
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
synchronized (this) { if (!isThreadScheduled) { isThreadScheduled = true; scheduleEventRunner = true; } } if (scheduleEventRunner) { try { executor.execute(this); } catch (Exception e) { // sneaky checked exception // reset state in case of an error so that later dispatch calls will actually do something
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
* @param lastWriteTime * @throws SmbException */ void closeInternal(final long lastWriteTime, final boolean explicit) throws CIFSException { final SmbTreeHandleImpl t = this.tree; try { if (t != null && isValid()) { if (log.isDebugEnabled()) { log.debug("Closing file handle " + this); } if (t.isSMB2()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/test/java/jcifs/SmbTreeTest.java
* Verifies that SmbTree can be used in try-with-resources. */ @Test void testAutoCloseable() { SmbTree autoCloseTree = mock(SmbTree.class); doNothing().when(autoCloseTree).close(); try (SmbTree tree = autoCloseTree) { assertNotNull(tree, "Tree should not be null in try block"); } verify(autoCloseTree).close(); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
*/ public static List<String> getKeywords(final String q, final String[] fields) { final List<String> keywords = new ArrayList<>(); final List<TermQuery> termQueryList; try { final StandardQueryParser parser = new StandardQueryParser(); parser.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
}; final ResponseData responseData = new ResponseData(); responseData.setUrl("http://example.com/"); responseData.addMetaData("X-Robots-Tag", "noindex,nofollow"); try { transformer.processXRobotsTag(responseData, new ResultData()); fail(); } catch (ChildUrlsException e) { assertTrue(e.getChildUrlList().isEmpty());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 41.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
/** * A policy for how the pool should treat a specific address. */ class AddressPolicy( /** * How many concurrent calls should be possible to make at any time. * The pool will routinely try to pre-emptively open connections to satisfy this minimum. * Connections will still be closed if they idle beyond the keep-alive but will be replaced. */ @JvmField val minimumConcurrentCalls: Int = 0,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
return webApiManager; } }; ComponentUtil.register(factory, "webApiManagerFactory"); // Execute and expect IOException try { webApiFilter.doFilter(request, response, chain); fail("Expected IOException"); } catch (IOException e) { assertEquals("Test IOException", e.getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
/// tip You can use `async` or regular functions. **FastAPI** will do the right thing with each, the same as with normal dependencies. /// ## A dependency with `yield` and `try` { #a-dependency-with-yield-and-try } If you use a `try` block in a dependency with `yield`, you'll receive any exception that was thrown when using the dependency.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* * For synchronous calls, the easiest way to make sure a response body is closed is with a `try` * block. With this structure the compiler inserts an implicit `finally` clause that calls * [close()][Response.close] for you. * * ```java * Call call = client.newCall(request); * try (Response response = call.execute()) { * ... // Use the response. * } * ``` *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
} private <T> void assertFailure( Class<T> interfaceType, Function<T, ? extends T> wrapperFunction, String... expectedMessages) { try { tester.testForwarding(interfaceType, wrapperFunction); } catch (AssertionFailedError expected) { for (String message : expectedMessages) { assertThat(expected).hasMessageThat().contains(message);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0)