Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 110 for Children (0.05 sec)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         *
         * @param name the name for the new node
         * @param children the list of child nodes
         * @return a new XmlNode instance
         * @throws NullPointerException if name is null
         */
        static XmlNode newInstance(String name, List<XmlNode> children) {
            return newBuilder().name(name).children(children).build();
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    func (e *dataUsageEntry) addChild(hash dataUsageHash) {
    	if _, ok := e.Children[hash.Key()]; ok {
    		return
    	}
    	if e.Children == nil {
    		e.Children = make(dataUsageHashMap, 1)
    	}
    	e.Children[hash.Key()] = struct{}{}
    }
    
    // Create a clone of the entry.
    func (e dataUsageEntry) clone() dataUsageEntry {
    	// We operate on a copy from the receiver.
    	if e.Children != nil {
    		ch := make(dataUsageHashMap, len(e.Children))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. tests/associations_test.go

    	parent.Children = []*Child{&child, &child1}
    	DB.Save(&parent)
    
    	var children []*Child
    	DB.Where("parent_id = ?", parent.ID).Find(&children)
    	if len(children) != len(parent.Children) ||
    		children[0].ID != parent.Children[0].ID ||
    		children[1].ID != parent.Children[1].ID {
    		t.Errorf("circular reference children save not equal children:%v parent.Children:%v",
    			children, parent.Children)
    	}
    }
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                    }
    
                    children.add(new ResolutionNode(a, remoteRepositories, this));
                }
                children = Collections.unmodifiableList(children);
            } else {
                children = Collections.emptyList();
            }
            trail = null;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    if (child != null) {
                        children.add(child);
                    }
                }
    
                message = "The build could not read " + children.size() + " project" + (children.size() == 1 ? "" : "s");
            } else {
                message = getMessage(message, exception);
            }
    
            return new ExceptionSummary(exception, message, reference, children);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. docs/smb3-features/04-directory-leasing-design.md

            invalidateChildren(path);
        }
        
        private void invalidateChildren(String parentPath) {
            Set<String> children = parentChildMap.get(parentPath);
            if (children != null) {
                for (String child : children) {
                    DirectoryCacheEntry entry = leaseManager.getCacheEntry(child);
                    if (entry != null) {
                        entry.invalidate();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        /** Value indicating children should be merged based on element names */
        public static final String CHILDREN_COMBINATION_MERGE = "merge";
        /** Value indicating children should be appended as siblings */
        public static final String CHILDREN_COMBINATION_APPEND = "append";
        /**
         * Default mode for combining children DOMs during merge.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
            this.children = this.node.children();
            if (startWith != null) {
                Xpp3Dom startWithNode = (Xpp3Dom) startWith.getNode();
                for (; filteredIndex < children.size(); filteredIndex++) {
                    if (startWithNode.equals(children.get(filteredIndex))) {
                        filteredIndex++;
                        break;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            lock.writeLock().lock();
            try {
                FileInfo existing = children.get(childName);
                FileInfo newInfo = new FileInfo(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime);
    
                if (existing == null || !existing.matches(size, lastModified, attributes)) {
                    children.put(childName, newInfo);
                    hasChanges = true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Add multiple children
            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L);
            entry.updateChild("dir1", 0L, 3000L, true, 0x10, 700L, 1000L);
    
            List<DirectoryCacheEntry.FileInfo> children = entry.getChildren();
            assertEquals(3, children.size());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top