- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,808 for Try (0.01 sec)
-
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt
private val TLS_12 = ConnectionSpec .Builder(ConnectionSpec.RESTRICTED_TLS) .tlsVersions(TlsVersion.TLS_1_2) .build() private fun testClient( urls: List<String>, client: OkHttpClient, ) { try { for (url in urls) { sendRequest(client, url) } } finally { client.dispatcher.executorService.shutdownNow() client.connectionPool.evictAll() } }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 22 14:39:30 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
@CanIgnoreReturnValue private boolean setCount(E element, int count) { return getMultiset().setCount(element, getMultiset().count(element), count); } private void assertSetCountNegativeOldCount() { try { getMultiset().setCount(e3(), -1, 1); fail("calling setCount() with a negative oldCount should throw IllegalArgumentException"); } catch (IllegalArgumentException expected) { } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
*/ @Override public List<FileNotifyInformation> watch() throws CIFSException { if (!this.handle.isValid()) { throw new SmbException("Watch was broken by tree disconnect"); } try (SmbTreeHandleImpl th = this.handle.getTree()) { CommonServerMessageBlockRequest req; NotifyResponse resp = null; if (th.isSMB2()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
@SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = threadPool.submit(new Interrupter(currentThread())); try { Queues.drain(q, ImmutableList.of(), 100, MAX_VALUE, NANOSECONDS); fail(); } catch (InterruptedException expected) { } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
verifyCrudMode(form.crudMode, CrudMode.CREATE); validate(form, messages -> {}, this::asEditHtml); verifyToken(this::asEditHtml); getDuplicateHost(form).ifPresent(entity -> { try { duplicateHostService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
private static boolean handlerRegistered = false; // Register SMB URL handler once for all tests @BeforeAll static void registerSmbHandler() { if (!handlerRegistered) { try { // Try to register the handler factory URL.setURLStreamHandlerFactory(new URLStreamHandlerFactory() { @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
ThrowingTearDown tearDownTwo = new ThrowingTearDown("two"); stack.addTearDown(tearDownTwo); assertEquals(false, tearDownOne.ran); assertEquals(false, tearDownTwo.ran); try { stack.runTearDown(); fail("runTearDown should have thrown an exception"); } catch (ClusterException expected) { assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
v3(), getMap().getOrDefault(null, v3())); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGetOrDefault_nullAbsentAndUnsupported() { try { assertEquals( "getOrDefault(null, def) should return default or throw", v3(), getMap().getOrDefault(null, v3())); } catch (NullPointerException tolerated) { } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
@Override public SuggestWriterResult delete(final Client client, final SuggestSettings settings, final String index, final String id) { final SuggestWriterResult result = new SuggestWriterResult(); try { client.prepareDelete().setIndex(index).setId(id).execute().actionGet(settings.getIndexTimeout()); } catch (final Exception e) { result.addFailure(e); } return result; }Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 4.5K bytes - Viewed (0)