Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for getNChildren (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            assertTrue(labels.contains("d"), "Expected " + labels + " to contain " + "d");
    
            addEdge(graph, "a", "d");
            assertEquals(2, a.getChildren().size());
            assertTrue(a.getChildren().contains(b));
            assertTrue(a.getChildren().contains(d));
            assertEquals(2, d.getParents().size());
            assertTrue(d.getParents().contains(a));
            assertTrue(d.getParents().contains(c));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. 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.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. 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())));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                throws PlexusConfigurationException {
            List<MojoDescriptor> mojos = new ArrayList<>();
    
            PlexusConfiguration[] mojoConfigurations = c.getChild("mojos").getChildren("mojo");
    
            for (PlexusConfiguration component : mojoConfigurations) {
                mojos.add(buildComponentDescriptor(component, pluginDescriptor));
            }
            return mojos;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. 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() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (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];
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (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();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top