- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,657 for Try (0.08 sec)
-
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
// this.endpoint = group.createEndpoint(); this.endpoint = new Object(); } @Override public void connect() throws IOException { try { // In real implementation, this would establish the RDMA connection: // endpoint.connect(remoteAddress, 1000); // 1 second timeout state = RdmaConnectionState.CONNECTED;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
/** Tolerant delete, try to clear as many files as possible even after a failure. */ internal fun FileSystem.deleteContents(directory: Path) { var exception: IOException? = null val files = try { list(directory) } catch (fnfe: FileNotFoundException) { return } for (file in files) { try { if (metadata(file).isDirectory) { deleteContents(file) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
val builder = OkHttpClient.Builder() try { builder.callTimeout(Duration.ofNanos(1)) } catch (ignored: IllegalArgumentException) { } try { builder.connectTimeout(Duration.ofNanos(1)) } catch (ignored: IllegalArgumentException) { } try { builder.writeTimeout(Duration.ofNanos(1)) } catch (ignored: IllegalArgumentException) { } try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Integer nid = null; int max = NbtAddress.NBNS.length; if (max == 0) { max = 1; /* No WINs, try only bcast addr */ } synchronized (response) { while (max-- > 0) { try { synchronized (LOCK) { request.nameTrnId = getNextNameTrnId(); nid = request.nameTrnId;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
// We skip it when container is not initialized try { HtmlTagBasedGenerator generator = new HtmlTagBasedGenerator(); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); File outputFile = File.createTempFile("generator_", ".png"); String imagePath = "thumbnail/600x400.png";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
* Test AutoCloseable implementation */ @Test @DisplayName("Test AutoCloseable implementation with try-with-resources") public void testAutoCloseableImpl() { String testPassword = "AutoCloseablePass123!"; NtlmPasswordAuthenticator authRef; // Use try-with-resources try (NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", testPassword)) { authRef = auth;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
* If a {@link SQLException} occurs. */ public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException { assertArgumentNotNull("ps", ps); try { return ps.executeQuery(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Executes the update. * * @param ps
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
try { return input.readLong(); } catch (IOException e) { throw new IllegalStateException(e); } } @Override public float readFloat() { try { return input.readFloat(); } catch (IOException e) { throw new IllegalStateException(e); } } @Override public double readDouble() { try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
// This should not throw exception, just do nothing try { WebApiUtil.setObject("testKey", "testValue"); } catch (Exception e) { fail("setObject should handle missing request gracefully: " + e.getMessage()); } } public void test_setObject_withNullName() { // Test setObject with null name try { WebApiUtil.setObject(null, "testValue");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0)