- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 273 for Unshare (0.08 sec)
-
src/test/java/jcifs/util/StringsTest.java
@CsvSource({ "'smb://user:password@server/share', 'smb://user:******@server/share'", "'smb://domain\\user:secret@host/path', 'smb://domain\\user:******@host/path'", "'smb2://admin:admin123@192.168.1.1/folder', 'smb2://admin:******@192.168.1.1/folder'", "'smbs://test:p@******@****.***/share', 'smbs://test:******@example.com/share'" })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
return this.sessionKey; } @Override public SmbTreeImpl getSmbTree(String share, String service) { if (share == null) { share = "IPC$"; } synchronized (this.trees) { for (SmbTreeImpl t : this.trees) { if (t.matches(share, service)) { return t.acquire(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Missing trailing slash -> should complain about directory ending Arguments.of("smb://server/share", "/share", true), // Not a server root -> invalid list operation Arguments.of("smb://server/share/", "/share/", false)); } @ParameterizedTest(name = "invalid path: {0}") @MethodSource("invalidShareEnumCases")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
lenient().when(parent.getLocator()).thenReturn(locator); lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\ // Create URL with registered handler URL smbUrl = new URL("smb://server/share/dir/"); lenient().when(locator.getURL()).thenReturn(smbUrl); } // Helper: reflectively set private/protected field on an object
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt
import okhttp3.internal.connection.RealRoutePlanner import okhttp3.internal.connection.RouteDatabase /** * Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that * share the same [Address] may share a [Connection]. This class implements the policy * of which connections to keep open for future use. * * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
public String getNetName() { return netName; } /** * Sets the share name to monitor. * * @param shareName the share name */ public void setShareName(String shareName) { this.shareName = shareName; } /** * Gets the share name. * * @return the share name */ public String getShareName() { return shareName; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
synchronized void insert(final String path, final DfsReferral dr) { int s1, s2; String server, share, key; if (DISABLED) { return; } s1 = path.indexOf('\\', 1); s2 = path.indexOf('\\', s1 + 1); server = path.substring(1, s1); share = path.substring(s1 + 1, s2); key = path.substring(0, dr.pathConsumed).toLowerCase();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
class HappyPath { @Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt"); assertTrue(ALWAYSACTIVE.accept(mockFile)); } } @Nested @DisplayName("Invalid input – null file handling") class InvalidPath { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
void happyPath_enumerates_and_closes(String wildcard) throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator); when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\"); when(tree.getConfig()).thenReturn(config); when(config.getMaximumBufferSize()).thenReturn(65535); when(config.getListSize()).thenReturn(65535);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0)