Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 120 for trees (1.44 sec)

  1. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            verify(session).treeConnectLogon();
        }
    
        // Happy path: getSmbTree returns a tree and receives correct args
        @Test
        @DisplayName("getSmbTree returns tree and captures arguments")
        void getSmbTree_happy() {
            when(session.getSmbTree(anyString(), anyString())).thenReturn(tree);
    
            String share = "share";
            String svc = "A:"; // service string example (e.g., DISK, IPC, or other)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            handle = new SmbTreeHandleImpl(resourceLoc, treeConnection);
        }
    
        @Test
        @DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate")
        void constructorAndSimpleDelegations() {
            // Ensures constructor acquires tree connection and simple delegate methods forward correctly
            // Verify constructor invoked acquire once
            verify(treeConnection, times(1)).acquire();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeInternal.java

    import jcifs.internal.Request;
    
    /**
     * Internal SMB tree connection interface providing extended tree management capabilities.
     * Defines methods for internal tree operations and resource management.
     *
     * @author mbechler
     *
     * <p>This interface is intended for internal use.</p>
     */
    public interface SmbTreeInternal extends SmbTree {
    
        /**
         * Connects and performs logon to the tree using the specified context
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @DisplayName("Should return tree ID from getTreeId")
            void testGetTid() {
                // Given
                response.setTreeId(54321);
    
                // When
                int tid = response.getTid();
    
                // Then
                assertEquals(54321, tid, "getTid should return tree ID");
            }
    
            @Test
            @DisplayName("Should validate tree ID correctly")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

    import jcifs.SmbSession;
    import jcifs.SmbTreeHandle;
    
    /**
     * Internal interface for SMB tree handle operations.
     *
     * This interface provides internal methods for managing
     * SMB tree connections and their lifecycle.
     *
     * @author mbechler
     */
    public interface SmbTreeHandleInternal extends SmbTreeHandle {
    
        /**
         * Releases this tree handle back to the pool for reuse
         */
        void release();
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

        }
    
        @Test
        @DisplayName("Constructor should handle null tree handle")
        void testConstructor_NullTreeHandle_ThrowsNPE() throws Exception {
            // Given: Valid parent but null tree handle
            when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
            when(locator.getURL()).thenReturn(createSmbURL("smb://"));
    
            // When & Then: Null tree handle should cause NullPointerException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

     */
    package jcifs.internal.smb2.tree;
    
    import java.nio.charset.StandardCharsets;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Connect request message.
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. docs/fr/README.md

    ![GitHub Release](https://img.shields.io/github/v/release/codelibs/fess)
    
    ## Vue d'ensemble
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Nov 11 22:42:32 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

            UniAddress addr = getAddress();
    
            if (tree != null) {
                trans = tree.session.transport;
            } else {
                trans = SmbTransport.getSmbTransport(addr, url.getPort());
                tree = trans.getSmbSession(auth).getSmbTree(share, null);
            }
    
            final String hostName = getServerWithDfs();
            tree.inDomainDfs = dfs.resolve(hostName, tree.share, null, auth) != null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         */
        @Override
        SmbPipeOutputStream getOutput() throws CIFSException;
    
        /**
         * Ensures that the tree connection is established and returns it.
         *
         * @return tree connection
         * @throws CIFSException if an error occurs connecting to the tree
         */
        SmbTreeHandleInternal ensureTreeConnected() throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top