Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 345 for btree (0.02 seconds)

  1. guava-tests/test/com/google/common/graph/TraverserTest.java

      /**
       * A tree-shaped graph that looks as follows (all edges are directed facing downwards):
       *
       * {@snippet :
       *        h
       *       /|\
       *      / | \
       *     /  |  \
       *    d   e   g
       *   /|\      |
       *  / | \     |
       * a  b  c    f
       * }
       */
      private static final SuccessorsFunction<Character> TREE =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 47.4K bytes
    - Click Count (2)
  2. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            assertTrue(session.isInUse(), "Session should be in use initially");
    
            // Create and release trees
            SmbTreeImpl tree = session.getSmbTree("share1", null);
            assertNotNull(tree, "Tree should be created");
            tree.release();
    
            // Release the session (back to initial state)
            session.release();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. 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();
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. 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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. 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();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. 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")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  8. 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 {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  9. docs/sts/client_grants/sts_element.py

    # -*- coding: utf-8 -*-
    from xml.etree import cElementTree
    from xml.etree.cElementTree import ParseError
    
    if hasattr(cElementTree, 'ParseError'):
        _ETREE_EXCEPTIONS = (ParseError, AttributeError, ValueError, TypeError)
    else:
        _ETREE_EXCEPTIONS = (SyntaxError, AttributeError, ValueError, TypeError)
    
    _STS_NS = {'sts': 'https://sts.amazonaws.com/doc/2011-06-15/'}
    
    
    class STSElement(object):
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

    /**
     * SMB1 COM_TREE_DISCONNECT command implementation.
     *
     * This command disconnects from a tree connection (share) on the server.
     * It releases the tree ID and terminates access to the share.
     */
    public class SmbComTreeDisconnect extends ServerMessageBlock {
    
        /**
         * Constructs a tree disconnect request to close a connection to a shared resource.
         *
         * @param config the configuration to use
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top