- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 226 for Unshare (0.14 sec)
-
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} @Test @DisplayName("Second constructor sets unshared based on flags") void secondCtorUnsharedFlagPath() throws Exception { // Arrange: include UNSHARED flag to exercise that branch int flags = SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_UNSHARED; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* * @param tf the CIFS context to use * @param name the server name or address * @param port the port number * @param exclusive whether to acquire an unshared connection * @param forceSigning whether to enforce SMB signing * @return a connected transport * @throws UnknownHostException if the host cannot be resolved * @throws IOException if an I/O error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K 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/dcerpc/DcerpcPipeHandle.java
* @param tc the CIFS context for connection configuration * @param unshared whether to use an exclusive connection * @throws DcerpcException if DCERPC initialization fails * @throws MalformedURLException if the URL is malformed */ public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException { super(tc, DcerpcHandle.parseBinding(url));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K 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/internal/dfs/DfsReferralDataImplTest.java
@ParameterizedTest @CsvSource({ "'\\server', 'server', '', ''", "'\\server\\share', 'server', 'share', ''", "'\\server\\share\\path', 'server', 'share', 'path'", "'\\server\\share\\path\\file.txt', 'server', 'share', 'path\\file.txt'", "'\\server.domain.com\\share\\deep\\path\\structure', 'server.domain.com', 'share', 'deep\\path\\structure'" }) @DisplayName("Should split DFS paths correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
assertEquals(testString, result); } @ParameterizedTest @DisplayName("Test readDataWireFormat with various share types") @CsvSource({ "0, SHARE, Normal share", "1, PRINTER, Printer share", "3, IPC$, IPC share", "32768, HIDDEN, Hidden share", // 0x8000 - hidden flag in lower 16 bits "32769, HIDDENP, Hidden printer" // 0x8001 - hidden flag + printer type })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K 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)