- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 98 for subtree (0.04 sec)
-
src/test/java/jcifs/smb/SmbTreeInternalTest.java
verify(tree).send(request, param); } @Test @DisplayName("unwrap and close are available via SmbTree") void unwrap_and_close_interactions() { // Arrange when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree); // Act SmbTree unwrapped = tree.unwrap(SmbTreeInternal.class); tree.close(); // Assert assertNotNull(unwrapped);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.SmbTransport; import jcifs.SmbTree; /** * Tests for SmbSessionInternal interface using Mockito to exercise * method contracts, checked exceptions, and interactions with collaborators. */ @ExtendWith(MockitoExtension.class)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import jcifs.CIFSException; import jcifs.SmbSession; import jcifs.SmbTransport; import jcifs.SmbTree; /** * Internal SMB session interface providing extended session management capabilities. * Defines methods for internal session operations and state management. * * @author mbechler *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
smbSession.transport = smbTransport; // Mock the tree layer smbTree = mock(SmbTree.class); smbTree.session = smbSession; smbTree.tree_num = 1; // Mock the SmbFile smbFile = mock(SmbFile.class); smbFile.tree = smbTree; smbFile.fid = 1; smbFile.tree_num = 1; when(smbFile.isFile()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
} @Test fun testInvalidParse() { assertInvalid("", "No subtype found for: \"\"") assertInvalid("/", "No subtype found for: \"/\"") assertInvalid("text", "No subtype found for: \"text\"") assertInvalid("text/", "No subtype found for: \"text/\"") assertInvalid("te<t/plain", "No subtype found for: \"te<t/plain\"") assertInvalid(" text/plain", "No subtype found for: \" text/plain\"")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
trees = new Vector(); connectionState = 0; } synchronized SmbTree getSmbTree(String share, final String service) { SmbTree t; if (share == null) { share = "IPC$"; } for (final Enumeration e = trees.elements(); e.hasMoreElements();) { t = (SmbTree) e.nextElement(); if (t.matches(share, service)) { return t;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
*/ @get:JvmName("type") val type: String, /** * Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml". */ @get:JvmName("subtype") val subtype: String, /** Alternating parameter names with their values, like `["charset", "utf-8"]`. */ private val parameterNamesAndValues: Array<String>, ) { /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:08 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeInternal.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.SmbTree; import jcifs.internal.CommonServerMessageBlockResponse; import jcifs.internal.Request; /** * Internal SMB tree connection interface providing extended tree management capabilities.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
when(shared.acquire(false)).thenReturn(shared); setTree(c1, shared); setTree(c2, shared); assertTrue(c1.isSame(c2)); SmbTreeImpl other = mock(SmbTreeImpl.class); when(other.acquire(false)).thenReturn(other); setTree(c2, other); assertFalse(c1.isSame(c2)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
return create(AUDIO_TYPE, subtype); } /** * Creates a media type with the "font" type and the given subtype. * * @throws IllegalArgumentException if subtype is invalid */ static MediaType createFontType(String subtype) { return create(FONT_TYPE, subtype); } /** * Creates a media type with the "image" type and the given subtype. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0)