- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 83 for Attempt (0.49 sec)
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
return info; } return null; } finally { lock.readLock().unlock(); } } /** * Complete a reconnection attempt * @param path the file path * @param success true if reconnection was successful */ public void completeReconnect(String path, boolean success) { lock.writeLock().lock(); try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
final Path safePath = baseDir.resolve("subdir/file.txt"); assertTrue("Safe path should be allowed", FileUtil.isPathSafe(safePath, baseDir)); } /** * Test isPathSafe with path traversal attempt * * @throws Exception */ @Test public void testIsPathSafe_PathTraversalAttempt() throws Exception { final Path baseDir = tempFolder.getRoot().toPath();
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
IOException error = new IOException("Connection failed"); failover.handleFailure(failedChannel, error); // Wait a bit for recovery attempt Thread.sleep(100); verify(mockChannelManager).createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
if (client.isInit.compareAndSet(false, true)) { client.init(); } assertTrue("Client should be initialized", client.isInit.get()); // Second initialization attempt should be no-op boolean secondInit = client.isInit.compareAndSet(false, true); assertFalse("Second initialization should not occur", secondInit);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:59:28 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* Initially, the SIDs within each ACE will not be resolved however when * <code>getType()</code>, <code>getDomainName()</code>, <code>getAccountName()</code>, * or <code>toString()</code> is called, the names will attempt to be * resolved. If the names cannot be resolved (e.g. due to temporary * network failure), the said methods will return default values (usually * <code>S-X-Y-Z</code> strings of fragments of). * <p>Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
verify(resource, times(2)).close(); } @Test @DisplayName("Iterator with filter throwing exception") void iteratorWithFilterException() throws Exception { // Setup: first attempt throws, second succeeds FileEntry entry1 = mock(FileEntry.class); FileEntry entry2 = mock(FileEntry.class); when(delegate.hasNext()).thenReturn(true, true, false);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
last = e; } } if (last != null) { log.debug("All attempts have failed, last exception", last); throw last; } throw new SmbException("All attempts failed, but no exception"); } private <T extends CommonServerMessageBlockResponse> T send0(final SmbResourceLocatorImpl loc,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertThrows(SmbException.class, () -> tree.send(request, response)); } @Test void testTreeConnectWithWaitInterrupted() throws Exception { // Create a tree and simulate concurrent connection attempt SmbTree tree = new SmbTree(session, "testShare", "testService"); // Mock transport.connect() to throw RuntimeException wrapping InterruptedException
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0)