- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for IsConnected (0.07 sec)
-
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertSame(config, handle.getConfig()); verify(treeConnection).getConfig(); // isConnected delegates when(treeConnection.isConnected()).thenReturn(true, false); assertTrue(handle.isConnected()); assertFalse(handle.isConnected()); verify(treeConnection, times(2)).isConnected(); } @Test @DisplayName("getSession returns underlying session from tree connection")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
override fun getRemoteSocketAddress(): SocketAddress = delegate!!.remoteSocketAddress override fun isBound(): Boolean = delegate!!.isBound override fun isConnected(): Boolean = delegate!!.isConnected override fun isClosed(): Boolean = delegate!!.isClosed @Throws(IOException::class) override fun bind(localAddr: SocketAddress) { delegate!!.bind(localAddr) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeSet.java
import java.util.NoSuchElementException; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A set comprising zero or more {@linkplain Range#isEmpty nonempty}, {@linkplain * Range#isConnected(Range) disconnected} ranges of type {@code C}. * * <p>Implementations that choose to support the {@link #add(Range)} operation are required to * ignore empty ranges and coalesce connected ranges. For example: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
return this.treeConnection.hasCapability(cap); } /** * {@inheritDoc} * * @see jcifs.SmbTreeHandle#isConnected() */ @Override public boolean isConnected() { return this.treeConnection.isConnected(); } /** * {@inheritDoc} * * @see jcifs.SmbTreeHandle#getConfig() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
if (ceilingEntry != null && ceilingEntry.getValue().isConnected(range) && !ceilingEntry.getValue().intersection(range).isEmpty()) { return true; } Entry<Cut<C>, Range<C>> priorEntry = rangesByLowerBound.lowerEntry(range.lowerBound); return priorEntry != null && priorEntry.getValue().isConnected(range) && !priorEntry.getValue().intersection(range).isEmpty(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} } /** * * @return whether the tree is connected */ public boolean isConnected() { return this.tid != -1 && this.session.isConnected() && this.connectionState.get() == 2; } /** * @return the type of this tree */ public int getTreeType() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
NetworkInterfaceInfo localNic = new NetworkInterfaceInfo(localAddr, 1); NetworkInterfaceInfo remoteNic = new NetworkInterfaceInfo(remoteAddr, 445); // Mock transport doesn't have isConnected, but we can work around it ChannelInfo channel = new ChannelInfo("test-channel", mockTransport, localNic, remoteNic); channel.setState(ChannelState.ESTABLISHED); // Verify channel properties
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
* * @throws IOException if connection fails */ public void connectRdma() throws IOException { synchronized (connectionLock) { if (rdmaConnection != null && rdmaConnection.isConnected()) { return; } try { rdmaConnection =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
// test that connected ranges are coalesced for (int i = 0; i + 1 < asRanges.size(); i++) { Range<C> range1 = asRanges.get(i); Range<C> range2 = asRanges.get(i + 1); assertFalse(range1.isConnected(range2)); } // test that there are no empty ranges for (Range<C> range : asRanges) { assertFalse(range.isEmpty()); } // test that the RangeSet's span is the span of all the ranges
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
when(transport.isFailed()).thenReturn(false); assertTrue(session.isConnected()); assertFalse(session.isFailed()); when(transport.isDisconnected()).thenReturn(true); when(transport.isFailed()).thenReturn(true); assertFalse(session.isConnected()); assertTrue(session.isFailed()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)