Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,113 for tree (0.97 sec)

  1. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Connect response message.
     *
     * This response contains information about the connected
     * tree, including share type and capabilities.
     *
     * @author mbechler
     */
    public class Smb2TreeConnectResponse extends ServerMessageBlock2Response implements TreeConnectResponse {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTree.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbTree tree) {
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
        void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
    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/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.com;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 COM_TREE_DISCONNECT command implementation.
     *
     * This command disconnects from a tree connection (share) on the server.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @param scope the {link PathScope} to collect dependencies, must not be {@code null}
         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         * @see #collect(DependencyResolverRequest)
         */
        @Nonnull
        default DependencyResolverResult collect(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTreeHandleTest.java

         */
        @Test
        void testIsSameTree() {
            SmbTreeHandle anotherHandle = mock(SmbTreeHandle.class);
            when(smbTreeHandle.isSameTree(smbTreeHandle)).thenReturn(true);
            when(smbTreeHandle.isSameTree(anotherHandle)).thenReturn(false);
    
            assertTrue(smbTreeHandle.isSameTree(smbTreeHandle), "isSameTree should return true for the same handle");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

                return null;
            }
    
            MetadataTreeNode tree = null;
            MetadataTreeNode parent = null;
    
            for (ArtifactMetadata md : classpath) {
                MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope());
                if (tree == null) {
                    tree = node;
                }
    
                if (parent != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbFileHandle.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    /**
     * Handle to an open file
     *
     * @author mbechler
     *
     */
    public interface SmbFileHandle extends AutoCloseable {
    
        /**
         * Returns the tree handle associated with this file handle
         *
         * @return the tree
         */
        SmbTreeHandle getTree();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top