Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for trees (2.91 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            SmbTree tree4 = new SmbTree(session, "testShare", "otherService");
    
            // Test equal trees (same share and service)
            assertEquals(tree1, tree2);
    
            // Test non-equal trees (different share)
            assertNotEquals(tree1, tree3);
    
            // Test non-equal trees (different service)
            assertNotEquals(tree1, tree4);
    
            // Test with different object type
            assertNotEquals(tree1, new Object());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                            // Get or create tree
                            SmbTreeImpl tree = session.getSmbTree(share, null);
                            assertNotNull(tree, "Tree should not be null");
    
                            // Verify we can acquire the tree
                            tree.acquire();
                            successCount.incrementAndGet();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                    // Emergency cleanup of trees
                    if (this.trees != null) {
                        try {
                            // Clear all tree references
                            for (SmbTreeImpl tree : this.trees) {
                                try {
                                    // Force release trees during emergency cleanup
                                    tree.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            }
            return root;
          }
        },
        RANDOM {
          /**
           * Generates a tree with topology selected uniformly at random from the topologies of binary
           * trees of the specified size.
           */
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            int[] keys = new int[size];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

            this.localPort = localPort;
            this.auth = auth;
            trees = new Vector();
            connectionState = 0;
        }
    
        synchronized SmbTree getSmbTree(String share, final String service) {
            SmbTree t;
    
            if (share == null) {
                share = "IPC$";
            }
            for (final Enumeration e = trees.elements(); e.hasMoreElements();) {
                t = (SmbTree) e.nextElement();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            }
            return root;
          }
        },
        RANDOM {
          /**
           * Generates a tree with topology selected uniformly at random from the topologies of binary
           * trees of the specified size.
           */
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            int[] keys = new int[size];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/NodeVisitor.java

    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Defines a hierarchical visitor for collecting dependency node trees.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface NodeVisitor {
        /**
         * Starts the visit to the specified dependency node.
         *
         * @param node the dependency node to visit
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Session starts with usage count > 0
            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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    Just functions that look the same as the *path operation functions*.
    
    But still, it is very powerful, and allows you to declare arbitrarily deeply nested dependency "graphs" (trees).
    
    /// tip
    
    All this might not seem as useful with these simple examples.
    
    But you will see how useful it is in the chapters about **security**.
    
    And you will also see the amounts of code it will save you.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeTraverser.java

    import java.util.Iterator;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Views elements of a type {@code T} as nodes in a tree, and provides methods to traverse the trees
     * induced by this traverser.
     *
     * <p>For example, the tree
     *
     * {@snippet :
     *        h
     *      / | \
     *     /  e  \
     *    d       g
     *   /|\      |
     *  / | \     f
     * a  b  c
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top