- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 445 for share (0.04 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/smb1/dcerpc/msrpc/srvsvc.java
} /** * Share information level 0 structure containing basic share information. */ public static class ShareInfo0 extends NdrObject { /** * Default constructor for ShareInfo0. */ public ShareInfo0() { } /** * The network name of the share. */ public String netname;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/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/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/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) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
for (int i = 0; i < opsPerThread; i++) { String share = "share" + (threadId % 3); // Use 3 different shares // Get or create tree SmbTreeImpl tree = session.getSmbTree(share, null); assertNotNull(tree, "Tree should not be null"); // Verify we can acquire the treeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
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/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 typeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K 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/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)