- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 400 for spare (0.02 sec)
-
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/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/smb1/smb1/SmbTreeTest.java
assertTrue(tree.matches("testshare", "TESTSERVICE")); // Test matching share with null service assertTrue(tree.matches("testShare", null)); // Test matching share with service starting with "??" assertTrue(tree.matches("testShare", "??otherService")); // Test non-matching share assertFalse(tree.matches("otherShare", "testService")); // Test non-matching service
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
testImplementation.setFullUNCPath(expectedDomain, "server", "\\\\server\\share\\path"); assertEquals(expectedDomain, testImplementation.getDomain()); } @Test @DisplayName("Test getFullUNCPath returns complete UNC path") void testGetFullUNCPath() { // Test with mock String expectedUNCPath = "\\\\server\\share\\folder\\file.txt";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java
import jcifs.internal.dtyp.SecurityDescriptor; /** * MSRPC implementation for retrieving share information. * This class provides functionality to get detailed information about * a specific share using the Server Service RPC interface. */ 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/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/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/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
@DisplayName("Test getType with different share types") @CsvSource({ "1, " + SmbConstants.TYPE_PRINTER, // Printer share "3, " + SmbConstants.TYPE_NAMED_PIPE, // Named pipe "0, " + SmbConstants.TYPE_SHARE, // Standard share "2, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share "4, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
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/smb/SmbFileTest.java
void testGetShare() { // Act & Assert assertEquals("share", smbFile.getShare()); } @Test void testGetUncPath() { // Arrange doReturn("\\localhost\share\file.txt").when(smbFile).getUncPath(); // Act & Assert assertEquals("\\localhost\share\file.txt", smbFile.getUncPath()); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K 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)