- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 430 for shard (0.02 sec)
-
docs/smb3-features/04-directory-leasing-design.md
CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.directoryNotificationsEnabled", "true"); SmbFile dir = new SmbFile("smb://server/share/testdir/", context); SmbFile testFile = new SmbFile("smb://server/share/testdir/newfile.txt", context); // Get initial listing (establishes cache) SmbFile[] initialFiles = dir.listFiles(); // Create new file
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K 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) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} } } @Override protected void doDisconnect(final boolean hard) throws IOException { final ListIterator iter = sessions.listIterator(); try { while (iter.hasNext()) { final SmbSession ssn = (SmbSession) iter.next(); ssn.logoff(hard); } socket.shutdownOutput(); out.close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
sourceCount++ } return RelaySource() } internal inner class RelaySource : Source { private val timeout = Timeout() /** The operator to read and write the shared file. Null if this source is closed. */ private var fileOperator: FileOperator? = FileOperator(file!!.channel) /** The next byte to read. This is always less than or equal to [upstreamPos]. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertEquals(2, response.results.length, "Should have 2 share entries."); SmbShareInfo share1 = (SmbShareInfo) response.results[0]; assertEquals("SHARE1", share1.getName().trim(), "Share 1 name should be correct."); assertEquals(0, share1.type, "Share 1 raw type should be 0."); assertEquals("Remark 1", share1.remark.trim(), "Share 1 remark should be correct.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
import okhttp3.internal.isHealthy import okhttp3.internal.tls.OkHostnameVerifier import okio.Buffer /** * A connection to a remote web server capable of carrying 1 or more concurrent streams. * * Connections are shared in a connection pool. Accesses to the connection's state must be guarded * by holding a lock on the connection. */ class RealConnection internal constructor( val taskRunner: TaskRunner,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/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 - 27K 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)