- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 50 for IsConnected (0.05 seconds)
-
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")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (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 propertiesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RangeMap.java
* with the range (if any) that contains a specified key. * * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value. * * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
/** * @return whether we have a valid tree connection */ @SuppressWarnings("resource") public synchronized boolean isConnected() { final SmbTreeImpl t = getTreeInternal(); return t != null && t.isConnected(); } /** * * @param loc * @param host * @return tree handle * @throws IOException */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
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 rangesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Range.java
* * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected * connected}. * * <p>The intersection operation is commutative, associative and idempotent, and its identity * element is {@link Range#all}). * * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false} */ public Range<C> intersection(Range<C> connectedRange) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28K bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeMap.java
* with the range (if any) that contains a specified key. * * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value. * * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.6K bytes - Click Count (0) -
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 rangesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Range.java
* * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected * connected}. * * <p>The intersection operation is commutative, associative and idempotent, and its identity * element is {@link Range#all}). * * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false} */ public Range<C> intersection(Range<C> connectedRange) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28.3K bytes - Click Count (0)