- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 505 for share$ (0.15 seconds)
-
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
SmbTreeConnection c1 = newConn(); SmbTreeConnection c2 = newConn(); SmbTreeImpl shared = mock(SmbTreeImpl.class); when(shared.acquire(false)).thenReturn(shared); setTree(c1, shared); setTree(c2, shared); assertTrue(c1.isSame(c2)); SmbTreeImpl other = mock(SmbTreeImpl.class); when(other.acquire(false)).thenReturn(other);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
} @Test void testGetReferral_Success() throws IOException, SmbAuthException { String domain = "domain.com"; String root = "share"; String path = "\\folder"; String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder" lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java
assertEquals("smb://server/share", wizardAction.convertCrawlingPath("smb://server/share")); assertEquals("smb://192.168.1.1/path", wizardAction.convertCrawlingPath("smb://192.168.1.1/path")); } @Test public void test_convertCrawlingPath_smb1_protocol() { assertEquals("smb1://server/share", wizardAction.convertCrawlingPath("smb1://server/share"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
private final List<StackTraceElement[]> releases; private DfsReferralData treeReferral; SmbTreeImpl(final SmbSessionImpl session, final String share, final String service) { this.session = session.acquire(); this.share = share.toUpperCase(); if (service != null && !service.startsWith("??")) { this.service = service; } this.service0 = this.service;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java
assertTrue(goAction.isFileSystemPath("smb://server/share/path/file.txt")); assertTrue(goAction.isFileSystemPath("smb://192.168.1.1/share/file.txt")); assertTrue(goAction.isFileSystemPath("smb://server/")); } @Test public void test_isFileSystemPath_smb1_protocol() { assertTrue(goAction.isFileSystemPath("smb1://server/share/path/file.txt"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsImplTest.java
when(mockReferral.getPathConsumed()).thenReturn(15); // e.g., "\\\\server\\share".length() when(mockReferral.next()).thenReturn(mockReferral); // Simple loop for the do-while assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
class HappyPath { @Test void testBasicProperties() throws Exception { String url = "smb://server/share/path/file.txt"; DummySmbResourceLocator loc = new DummySmbResourceLocator(url); assertEquals("file.txt", loc.getName()); assertEquals("smb://server/share/path/", loc.getParent()); assertEquals(url, loc.getPath()); // canonicalisation simply removes '.' and '..'Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
for (int i = 0; i < opsPerThread; i++) { String share = "share" + (threadId % 3); // Use 3 different shares // Get or create tree SmbTreeImpl tree = session.getSmbTree(share, null); assertNotNull(tree, "Tree should not be null"); // Verify we can acquire the treeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java
* * This command is used to connect to a shared resource * on the server, such as a file share or printer. * * @author mbechler */ public class Smb2TreeConnectRequest extends ServerMessageBlock2Request<Smb2TreeConnectResponse> { private int treeFlags; private final String path; /** * Creates a new SMB2 tree connect request to establish a connection to a network share. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java
/** * Creates a new request to enumerate shares on a server. * * @param server the server name to enumerate shares from */ public MsrpcShareEnum(final String server) { super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0); ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } /** * Returns the share entries retrieved from the enumeration. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0)