- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 2,371 for Try (0.14 seconds)
-
src/main/java/jcifs/smb/SmbFileInputStream.java
this.openFlags = openFlags; this.access = access; this.sharing = sharing; try (SmbTreeHandleInternal th = file.ensureTreeConnected()) { this.smb2 = th.isSMB2(); if (file.getType() != SmbConstants.TYPE_NAMED_PIPE) { try (SmbFileHandle h = ensureOpen()) {} this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
InvocationHandler handler = (obj, method, args) -> { Callable<@Nullable Object> callable = () -> { try { return method.invoke(target, args); } catch (InvocationTargetException e) { throw throwCause(e, /* combineStackTraces= */ false); } };Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
@Override public void expired() { try { if (!ComponentUtil.getFessConfig().isLogNotificationEnabled()) { return; } } catch (final Exception e) { return; } final LogNotificationHelper helper; try { helper = ComponentUtil.getLogNotificationHelper();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/CheckstylePrecommitPlugin.java
checkstyleDir.mkdirs(); try (InputStream stream = checkstyleConfUrl.openStream()) { Files.copy(stream, checkstyleConf.toPath(), StandardCopyOption.REPLACE_EXISTING); } catch (IOException e) { throw new UncheckedIOException(e); } try (InputStream stream = checkstyleSuppressionsUrl.openStream()) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 5.5K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
/** * Test that MockWebServer blocks for a call to enqueue() if a request is made before a mock * response is ready. */ @Test fun dispatchBlocksWaitingForEnqueue() { Thread { try { Thread.sleep(1000) } catch (ignored: InterruptedException) { } server.enqueue(MockResponse().setBody("enqueued in the background")) }.start()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
*/ public static String getCanonicalPath(final File file) { assertArgumentNotNull("file", file); try { return file.getCanonicalPath(); } catch (final IOException e) { throw new IORuntimeException(e); } } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
*/ protected void createMappingIfEmpty(final String index, final String type, final Client client) { final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH); try { boolean empty; try { empty = client.admin() .indices() .prepareGetMappings(actualIndex) .execute()Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/en/docs/advanced/websockets.md
In your WebSocket route you can `await` for messages and send messages. {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *} You can receive and send binary, text, and JSON data. ## Try it { #try-it } Put your code in a file `main.py` and then run your application: <div class="termy"> ```console $ fastapi devCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
} @Test public void test_parseTime_invalidFormat() { try { IntervalControlHelper.parseTime("12"); fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("Invalid time format: 12. Expected format: HH:MM", e.getMessage()); } try { IntervalControlHelper.parseTime("12:30:45");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java
* @return {@link ZipEntry} * @see ZipInputStream#getNextEntry() */ public static ZipEntry getNextEntry(final ZipInputStream zis) { assertArgumentNotNull("zis", zis); try { return zis.getNextEntry(); } catch (final IOException e) { throw new IORuntimeException(e); } } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0)