- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 415 for share$ (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (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/");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (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"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
* tree, including share type and capabilities. * * @author mbechler */ public class Smb2TreeConnectResponse extends ServerMessageBlock2Response implements TreeConnectResponse { /** * Share type constant for disk shares (file shares). */ public static final byte SMB2_SHARE_TYPE_DISK = 0x1; /** * Share type constant for named pipe shares (IPC). */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
shareInfo1.netname = "Share1"; shareInfo1.type = 0; shareInfo1.remark = "Remark for Share1"; srvsvc.ShareInfo1 shareInfo2 = new srvsvc.ShareInfo1(); shareInfo2.netname = "Share2"; shareInfo2.type = 1; shareInfo2.remark = "Remark for Share2"; // Create ShareInfoCtr1 with the sharesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
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; @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 27K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (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:"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (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("??")) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0)