Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for subtree (0.06 sec)

  1. src/main/java/jcifs/FileNotifyInformation.java

        // filter flags
    
        /**
         * Any file name change in the watched directory or subtree causes a change notification wait operation to return.
         * Changes include renaming, creating, or deleting a file.
         */
        int FILE_NOTIFY_CHANGE_FILE_NAME = 0x00000001;
    
        /**
         * Any directory-name change in the watched directory or subtree causes a change notification wait operation to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java

     */
    public enum DirectoryCacheScope {
        /**
         * Cache only direct children of the directory
         */
        IMMEDIATE_CHILDREN,
    
        /**
         * Cache entire subtree recursively (if supported by server)
         */
        RECURSIVE_TREE,
    
        /**
         * Cache only file attributes but not content
         */
        METADATA_ONLY,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTree.java

     *
     * @author mbechler
     *
     */
    public interface SmbTree extends AutoCloseable {
    
        /**
         * Unwraps the tree instance to the specified type
         * @param <T> the target tree type
         * @param type the class of the tree type to unwrap to
         * @return tree instance with the given type
         */
        <T extends SmbTree> T unwrap(Class<T> type);
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTree.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.LogStream;
    
    class SmbTree {
    
        private static int tree_conn_counter;
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        int connectionState;
        int tid;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

            verify(smbTree).unwrap(CustomSmbTree.class);
        }
    
        /**
         * Test for unwrap() method with the same type.
         * Verifies that unwrap can return itself when the type matches.
         */
        @Test
        void testUnwrap_withSameType() {
            when(smbTree.unwrap(SmbTree.class)).thenReturn(smbTree);
    
            SmbTree result = smbTree.unwrap(SmbTree.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top