- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 435 for share$ (0.03 sec)
-
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// The getEntries method returns FileEntry objects. We can check their names. assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct."); assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct."); } /** * Test the getEntries() method when the DfsEnumArray200 is empty.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
t1.url = "smb://server1/share/file.txt"; t2.numThreads = 5; t2.url = "smb://server2/share/file.txt"; // Verify independence assertEquals(2, t1.numThreads, "t1 should have its own numThreads value"); assertEquals(5, t2.numThreads, "t2 should have its own numThreads value"); assertEquals("smb://server1/share/file.txt", t1.url, "t1 should have its own URL");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
throw new SmbException("Invalid server name in UNC path"); } // Validate share name String share = parts[1]; if (share.isEmpty() || share.endsWith("$") && share.length() == 1) { throw new SmbException("Invalid share name in UNC path"); } } /** * Validate individual path components */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
() -> new SmbFileHandleImpl(cfg, new byte[] { 1, 2 }, null, "//server/share", 0, 0, 0, 0, 0L)); } @Test @DisplayName("Constructor with null cfg throws NPE") void constructor_nullCfg_throwsNPE() { stubValidTree(7L, true, true); assertThrows(NullPointerException.class, () -> new SmbFileHandleImpl(null, 42, tree, "//server/share", 0, 0, 0, 0, 0L)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
@ParameterizedTest @DisplayName("Should calculate correct size for various path lengths") @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42", "'\\\\server\\share\\very\\long\\path\\with\\many\\segments', 100" }) void testSizeCalculation(String path, int expectedSize) { buffer = new DfsReferralRequestBuffer(path, 3);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
private int pathConsumed; private long ttl; private String server; // Server private String share; // Share private String link; private String path; // Path relative to tree from which this referral was thrown private long expiration; private int rflags; private boolean resolveHashes; private DfsReferralDataImpl next;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// Write valid structure (16 bytes) SMBUtil.writeInt2(16, buffer, offset); // Structure size buffer[offset + 2] = (byte) 0x01; // Share type (DISK) buffer[offset + 3] = 0; // Reserved SMBUtil.writeInt4(0x8001, buffer, offset + 4); // Share flags (DFS | ENCRYPT_DATA) SMBUtil.writeInt4(0x28, buffer, offset + 8); // Capabilities (DFS | SCALEOUT)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (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. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
assertEquals("SERVER", concreteServer); } @Test @DisplayName("Should get share") void testGetShare() { String share = "share"; // Test with mock when(mockReferralData.getShare()).thenReturn(share); assertEquals(share, mockReferralData.getShare()); verify(mockReferralData, times(1)).getShare();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0)