Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 315 for trees (0.02 sec)

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

        @Mock
        SmbTreeHandleImpl tree;
    
        @Mock
        SmbNamedPipe pipe;
    
        @Mock
        SmbFileHandleImpl fileHandle;
    
        private SmbPipeOutputStream newStream() throws CIFSException {
            // Arrange common constructor collaborators to avoid touching network/state
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getSendBufferSize()).thenReturn(4096);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/TreeConnectResponse.java

    package jcifs.internal;
    
    /**
     * Interface for SMB Tree Connect response messages.
     * Handles the server's response to a tree connect request, providing tree ID,
     * service type, and DFS information for the connected share.
     *
     * @author mbechler
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * Returns the tree identifier (TID) assigned to this tree connection.
         *
         * @return tree id
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        }
    
        @Test
        @DisplayName("acquire calls tree.acquire on first usage, release calls tree.release at zero")
        void acquire_release_lifecycle() {
            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    
            setTree(c, tree);
    
            // Act: first acquire triggers tree.acquire()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

        void setup() throws MalformedURLException, CIFSException {
            // Common happy-path defaults
            // Use lenient() to avoid strict stubbing issues with Mockito
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getConfig()).thenReturn(config);
            lenient().when(config.getListCount()).thenReturn(10);
            lenient().when(config.getListSize()).thenReturn(4096);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            SmbPipeHandleImpl handle = newHandleWithBasicStubs(type, "\\\\pipe\\\\t");
    
            // Setup the tree handle properly
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    
            // Setup for ensureOpen
            when(tree.isSMB2()).thenReturn(false);
            when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

     */
    package jcifs.internal.smb2.tree;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Disconnect request message.
     *
     * This command is used to disconnect from a previously
     * connected tree (shared resource).
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. docs/fr/README.md

    [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/gitbucket/gitbucket/blob/master/LICENSE)
    
    ## Vue d'ensemble
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        tree.put("tree", 3);
        assertThat(tree.keySet()).containsExactly("tree", "google").inOrder();
        assertThat(tree.get("google")).containsExactly(6, 2).inOrder();
    
        TreeMultimap<String, Integer> copy = TreeMultimap.create(tree);
        assertEquals(tree, copy);
        assertThat(copy.keySet()).containsExactly("google", "tree").inOrder();
        assertThat(copy.get("google")).containsExactly(2, 6).inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbTreeImpl tree) {
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
        public SmbTreeImpl acquire() {
            return acquire(true);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                try {
                    if (this.treeConnection != null) {
                        // Release the tree connection if possible
                        log.debug("Releasing tree connection during emergency cleanup");
                    }
                } catch (Exception e) {
                    log.debug("Error releasing tree connection during emergency cleanup", e);
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top