- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 1,808 for try (0.01 sec)
-
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
// Use localhost for testing - should work with TCP fallback InetSocketAddress address = new InetSocketAddress("localhost", 12345); try (RdmaConnection connection = provider.createConnection(address, null)) { assertNotNull(connection, "Connection should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
public void testLog2Exact() { for (int x : POSITIVE_INTEGER_CANDIDATES) { // We only expect an exception if x was not a power of 2. boolean isPowerOf2 = IntMath.isPowerOfTwo(x); try { assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY)); assertTrue(isPowerOf2); } catch (ArithmeticException e) { assertFalse(isPowerOf2); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
return artifactFactory.createProjectArtifact(groupId, artifactId, metaVersionId); } @Override public Artifact createDependencyArtifact(Dependency d) { VersionRange versionRange; try { versionRange = VersionRange.createFromVersionSpec(d.getVersion()); } catch (InvalidVersionSpecificationException e) { // MNG-5368: Log a message instead of returning 'null' silently.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 31.2K bytes - Viewed (0) -
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/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java
} return indexName; } @Override protected LocalDateTime toLocalDateTime(final Object value) { if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K 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)