- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 478 for share (0.02 seconds)
-
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.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
void testToString() { // Given exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Cannot access share"); exception.withContext("share", "\\\\server\\share"); exception.withContext("user", "john"); // When String str = exception.toString(); // Then assertNotNull(str);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
serverAddress = InetAddress.getByName("192.168.1.100"); registration = new WitnessRegistration("\\\\server\\share", serverAddress, WitnessServiceType.FILE_SERVER_WITNESS); } @Test void testRegistrationCreation() { assertNotNull(registration.getRegistrationId()); assertEquals("\\\\server\\share", registration.getShareName()); assertEquals(serverAddress, registration.getServerAddress());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.1K bytes - Click Count (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(); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
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'" })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt
import okhttp3.internal.connection.ConnectionListener import okhttp3.internal.connection.RealConnectionPool /** * 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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
* * <tr> * <td ><code> * smb://host/share/a/b/ * </code></td> * <td ><code> * c/d/ * </code></td> * <td><code> * smb://host/share/a/b/c/d/ * </code></td> * </tr> * * <tr> * <td ><code> * smb://host/share/foo/bar/ * </code></td> * <td ><code> * /share2/zig/zag * </code></td> * <td><code> * smb://host/share2/zig/zag * </code></td> * </tr> *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (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 { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0)