- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 435 for share$ (0.06 sec)
-
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
*/ public ShareInfoCtr0() { } /** * The number of shares in the array. */ /** * The number of shares in the array. */ public int count; /** * Array of ShareInfo0 structures containing share information. */ public ShareInfo0[] array; @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 27K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
// Normal extensions should be allowed assertEquals("\\share\\file.txt", validator.validatePath("\\share\\file.txt")); assertEquals("\\share\\document.docx", validator.validatePath("\\share\\document.docx")); assertEquals("\\share\\archive.tar.gz", validator.validatePath("\\share\\archive.tar.gz")); } @Test public void testInternationalCharacters() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt"); assertEquals("file.txt", a.getName()); // share name with trailing slash when only share present SmbResourceLocatorImpl b = locator("smb://server/share/"); assertEquals("share/", b.getName()); // host when no path/share SmbResourceLocatorImpl c = locator("smb://server/");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbShareInfo.java
*/ protected String remark; /** * Default constructor for SMB share information. */ public SmbShareInfo() { } /** * Constructs SMB share information with specified properties. * * @param netName the network name of the share * @param type the type of the share * @param remark the descriptive comment about the share */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
*/ public ShareInfoCtr0() { } /** * The number of shares in the array. */ /** * The number of shares in the array. */ public int count; /** * Array of ShareInfo0 structures containing share information. */ public ShareInfo0[] array; @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
"share, " // empty service }) void getSmbTree_invalid(String share, String service) { doThrow(new IllegalArgumentException("invalid share/service")).when(session).getSmbTree(eq(share), eq(service)); IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> session.getSmbTree(share, service)); assertTrue(ex.getMessage().contains("invalid"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/file.txt").getParent()); // Test parent of a directory assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/dir/").getParent()); // Test parent of a share assertEquals("smb1://server/", new SmbFile("smb1://server/share/").getParent()); // Test parent of a server
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
*/ int connectionState; int tid; String share; String service = "?????"; String service0; SmbSession session; boolean inDfs, inDomainDfs; int tree_num; // used by SmbFile.isOpen SmbTree(final SmbSession session, final String share, final String service) { this.session = session; this.share = share.toUpperCase(); if (service != null && !service.startsWith("??")) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertNotNull(tree); assertEquals("SHARE", tree.getShare()); assertEquals("A:", tree.getService()); } // Test case for the matches method @Test void testMatches() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertTrue(tree.matches("share", "A:"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
void testGetSmbResourceWithVariousURLs() throws CIFSException { // Test different valid URL formats String[] validUrls = { "smb://server/share/", "smb://server/share/file.txt", "smb://user:pass@server/share/file.txt", "smb://domain;user:pass@server/share/file.txt" }; for (String url : validUrls) { // When SmbResource resource = context.get(url); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0)