- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 1,808 for Try (0.02 sec)
-
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
protected <T> BulkResponse doInsertAll(final List<T> list, final OpType opType) { try { return getClient().get(c -> { final BulkRequestBuilder bulkRequest = c.prepareBulk(); for (final T target : list) { final String id = getId(getSessionId(target), getUrl(target)); try (final XContentBuilder source = getXContentBuilder(target)) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 34.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
lock = new Object(); } @Override public int read() throws IOException { int result = -1; synchronized (lock) { try { while (used == 0) { lock.wait(); } } catch (final InterruptedException ie) { throw new IOException(ie.getMessage()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
return a.getNtlmPasswordAuthentication(); } } /** * An application extending this class must provide an implementation for this method that returns new user * credentials try try when accessing SMB resources described by the <code>getRequestingURL</code> and * <code>getRequestingException</code> methods.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
} public void test_throwAndCatch() { // Test throwing and catching PluginException String expectedMessage = "Plugin loading failed"; try { throw new PluginException(expectedMessage); } catch (PluginException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
) { val constructedBit: Int val content = Buffer() stack.add(content) constructed = false // The enclosed object written in block() is not constructed. path += name try { block(content) constructedBit = if (constructed) 0b0010_0000 else 0 constructed = true // The enclosing object is constructed. } finally { stack.removeAt(stack.size - 1)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.7K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
) : Http2Connection.Listener() { private fun run() { val serverSocket = ServerSocket(8888) serverSocket.reuseAddress = true while (true) { var socket: Socket? = null try { socket = serverSocket.accept() val sslSocket = doSsl(socket) val protocolString = Platform.get().getSelectedProtocol(sslSocket)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
public void testGetBlocksUntilValueAvailable() throws Throwable { assertFalse(future.isDone()); assertFalse(future.isCancelled()); ExecutorService executor = newSingleThreadExecutor(); try { Future<Boolean> getResult = executor.submit(() -> future.get()); // Release the future value. latch.countDown(); assertTrue(getResult.get(10, SECONDS)); } finally {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
} final String id = scheduledJob.getId(); if (!Constants.T.equals(scheduledJob.getAvailable())) { logger.info("Inactive Job {}:{}", id, scheduledJob.getName()); try { unregister(scheduledJob); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to delete Job {}", scheduledJob, e);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
static <V extends @Nullable Object, X extends Exception> V getChecked( GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X { validator.validateClass(exceptionClass); try { return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
private void reallyTestEmpty(CharMatcher matcher) throws Exception { assertEquals(-1, matcher.indexIn("")); assertEquals(-1, matcher.indexIn("", 0)); try { matcher.indexIn("", 1); fail(); } catch (IndexOutOfBoundsException expected) { } try { matcher.indexIn("", -1); fail(); } catch (IndexOutOfBoundsException expected) { } assertEquals(-1, matcher.lastIndexIn(""));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.4K bytes - Viewed (0)