Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getNChildren (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

        MetadataTreeNode parent; // papa
    
        /** default # of children. Used for tree creation optimization only */
        int nChildren = 8;
    
        MetadataTreeNode[] children; // of cause
    
        public int getNChildren() {
            return nChildren;
        }
    
        public void setNChildren(int children) {
            nChildren = children;
        }
    
        // ------------------------------------------------------------------------
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
    
            // Step 6: Verify cache is complete and populated
            assertTrue(cacheEntry.isComplete());
            assertEquals(2, cacheEntry.getChildren().size());
            assertTrue(cacheEntry.hasChild("document.txt"));
            assertTrue(cacheEntry.hasChild("subfolder"));
    
            // Step 7: Verify cached directory listing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry.getScope());
            assertFalse(entry.isComplete());
            assertFalse(entry.hasChanges());
            assertTrue(entry.getChildren().isEmpty());
        }
    
        @Test
        public void testUpdateChild() {
            String childName = "file1.txt";
            long size = 1024L;
            long lastModified = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/SuccessorsFunction.java

     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getChildren()} that retrieves its successors in a graph:
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, MyNode::getChildren);
     * }
     *
     * <p>If you have some other mechanism for returning the successors of a node, or one that doesn't
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

        @Nullable
        Dependency getDependency();
    
        /**
         * Gets the child nodes of this node.
         *
         * @return the child nodes of this node, never {@code null}
         */
        @Nonnull
        List<Node> getChildren();
    
        /**
         * @return repositories of this node
         */
        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        /**
         * The repository where this artifact has been downloaded from.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            assertNotNull(cacheEntry);
            assertTrue(cacheEntry.isComplete());
            assertEquals(2, cacheEntry.getChildren().size());
    
            // Verify the cached files have correct names
            List<DirectoryCacheEntry.FileInfo> children = cacheEntry.getChildren();
            assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName())));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

        entry.updateChild("file1.txt", attrs);
        
        assertTrue(entry.hasChild("file1.txt"));
        assertEquals(1, entry.getChildren().size());
        
        // Test removal
        entry.removeChild("file1.txt");
        assertFalse(entry.hasChild("file1.txt"));
        assertEquals(0, entry.getChildren().size());
    }
    
    @Test
    public void testDirectoryLeaseManager() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getChildren()} that retrieves its successors in a graph:
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, MyNode::getChildren);
     * }
     *
     * <p>If you have some other mechanism for returning the successors of a node, or one that doesn't
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

                addEdge(parentVertex, vertex, e);
            } else {
                entry = vertex;
            }
    
            MetadataTreeNode[] kids = node.getChildren();
            if (kids == null || kids.length < 1) {
                return;
            }
    
            for (int i = 0; i < kids.length; i++) {
                MetadataTreeNode n = kids[i];
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        /**
         * Gets the children of this result.
         *
         * @return the children of this result, can be empty but never {@code null}
         */
        @Nonnull
        List<? extends ModelBuilderResult> getChildren();
    
        /**
         * Creates a human-readable representation of these errors.
         */
        @Override
        String toString();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top