- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 131 for disconnected (0.04 sec)
-
src/main/java/jcifs/smb/SmbTreeConnection.java
try (SmbSessionImpl session = getSession()) { if (isConnected()) { try (SmbTransportImpl transport = session.getTransport()) { if (transport.isDisconnected() || transport.getRemoteHostName() == null) { /* * Tree/session thinks it is connected but transport disconnected * under it, reset tree to reflect the truth.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
* This test specifically verifies the fix for the <a href="https://github.com/apache/maven/pull/2530">issue</a> where * getPlugin() was returning disconnected Plugin objects. */ class PluginConnectionSimpleTest { @Test void testPluginModificationPersistsInModel() { // Create a test project with a plugin Model model = new Model();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 12:50:13 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
public abstract class RdmaConnection implements AutoCloseable { /** * RDMA connection state enumeration */ public enum RdmaConnectionState { /** Connection is not established */ DISCONNECTED, /** Connection is being established */ CONNECTING, /** Connection is established but not ready for RDMA operations */ CONNECTED,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
internal/http/check_port_others.go
import ( "context" "net" "time" ) // CheckPortAvailability - check if given host and port is already in use. // Note: The check method tries to listen on given port and closes it. // It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{} ctx, cancel := context.WithTimeout(context.Background(), time.Second)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
nonPooledConnections.offer(nonPooledSpy); // Mock disconnect behavior when(pooledSpy.disconnect(false, false)).thenReturn(true); // In use when(nonPooledSpy.disconnect(false, false)).thenReturn(false); // Not in use // When: Close the pool boolean inUse = pool.close(); // Then: Should report in-use and call disconnect on all assertTrue(inUse, "Should report connections in use");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java
*/ package jcifs.internal.smb2.multichannel; /** * SMB3 Multi-Channel connection states */ public enum ChannelState { /** * Channel is not connected */ DISCONNECTED(0), /** * Connection establishment in progress */ CONNECTING(1), /** * Authentication in progress */ AUTHENTICATING(2), /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertThrows(SmbException.class, () -> tree.treeConnect(null, null)); // After failure, state should be reset to disconnected assertEquals(0, tree.connectionState); } @Test void testSend() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "A:");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
internal/http/check_port_linux.go
"net" "syscall" "time" ) // CheckPortAvailability - check if given host and port is already in use. // Note: The check method tries to listen on given port and closes it. // It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{ Control: func(network, address string, c syscall.RawConn) error {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
* named pipe without actually removing the data from the pipe. */ public class TransPeekNamedPipeResponse extends SmbComTransactionResponse { /** * Named pipe status indicating the pipe is disconnected. */ public static final int STATUS_DISCONNECTED = 1; /** * Named pipe status indicating the pipe is listening for connections. */ public static final int STATUS_LISTENING = 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
*/ @Test public void testConnectedFlag() { assertFalse("Initially not connected", fesenClient.connected()); // After destroy, should be disconnected fesenClient.destroy(); assertFalse("Should be disconnected after destroy", fesenClient.connected()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0)