- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 406 for Share1 (0.09 sec)
-
src/test/java/jcifs/util/InputValidatorTest.java
} @ParameterizedTest @DisplayName("Test valid share names") @ValueSource(strings = { "share", "share$", "SHARE", "share123", "share-name", "share_name", "share.name" }) void testValidShareNames(String share) { assertDoesNotThrow(() -> InputValidator.validateShareName(share)); } @Test @DisplayName("Test port validation") void testPortValidation() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(path, entryByPath.getPath()); } @Test @DisplayName("Should release all leases") void testReleaseAll() { String path1 = "/share/file1.txt"; String path2 = "/share/file2.txt"; Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
*/ SmbTransport getTransport(); /** * Connect to the logon share * * @throws SmbException if the connection fails */ void treeConnectLogon() throws SmbException; /** * Gets or creates an SMB tree connection for the specified share and service. * * @param share the share name to connect to * @param service the service type for the connection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java
import jcifs.smb1.smb1.SecurityDescriptor; /** * MS-RPC share information retrieval operation. * * This class implements the Server Service (SRVSVC) ShareGetInfo operation * for retrieving detailed information about a network share, including * security descriptors. */ public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo { /** * Creates a new request to get share information. * * @param server the server name
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java
this.version = version; } /** * Gets the share name to monitor. * * @return the share name */ public String getShareName() { return shareName; } /** * Sets the share name to monitor. * * @param shareName the share name */ public void setShareName(String shareName) { this.shareName = shareName;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\share")); // Test forward slashes assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "//server/share")); // Test with spaces assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\my share\\file.txt")); // Test with special characters
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
@Test @DisplayName("Should handle share type") void testShareType() throws Exception { // Test DISK share type setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK); assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should handle DISK share type"); // Test PIPE share type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java
*/ public class SmbShareInfo implements FileEntry { /** * The network name of the share. */ protected String netName; /** * The type of the share (e.g., disk, printer, IPC). */ protected int type; /** * The optional comment or description for the share. */ protected String remark; /** * Default constructor for SmbShareInfo. */
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/main/java/jcifs/internal/TreeConnectResponse.java
* service type, and DFS information for the connected share. * * @author mbechler */ public interface TreeConnectResponse extends CommonServerMessageBlockResponse { /** * Returns the tree identifier (TID) assigned to this tree connection. * * @return tree id */ int getTid(); /** * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe).
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0)