Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 80 for Children (0.05 seconds)

  1. 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)
    	}
    }
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. 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;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                assertNotNull(subprojects);
    
                // Verify module elements were renamed to subproject
                var moduleElements = subprojects.children("module").toList();
                var subprojectElements = subprojects.children("subproject").toList();
                assertEquals(0, moduleElements.size());
                assertEquals(2, subprojectElements.size());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  4. docs/en/docs/js/custom.js

        if (announceFastAPI) {
            let children = [].slice.call(announceFastAPI.children);
            children = shuffle(children)
            let index = 0
            const announceRandom = () => {
                children.forEach((el, i) => { el.style.display = "none" });
                children[index].style.display = "block"
                index = (index + 1) % children.length
            }
            announceRandom()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 22 15:11:52 GMT 2025
    - 6.3K bytes
    - Click Count (2)
  5. 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;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. cmd/data-usage-cache_gen.go

    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ch":
    			err = z.Children.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Children")
    				return
    			}
    		case "sz":
    			z.Size, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "os":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 85.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                    .collect(Collectors.toList());
            return XmlNode.newInstance("configuration", children);
        }
    
        public static org.codehaus.plexus.util.xml.Xpp3Dom convert(MojoDescriptor mojoDescriptor) {
            PlexusConfiguration c = mojoDescriptor.getMojoConfiguration();
    
            List<XmlNode> children = new ArrayList<>();
            PlexusConfiguration[] ces = c.getChildren();
            if (ces != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. 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.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

        }
    
        /**
         * Fixes unsupported combine.children attribute values.
         * Maven 4 only supports 'append' and 'merge', not 'override'.
         */
        private boolean fixUnsupportedCombineChildrenAttributes(Document pomDocument, UpgradeContext context) {
            boolean fixed = false;
            Element root = pomDocument.root();
    
            // Find all elements with combine.children="override" and change to "merge"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                    context.detail("Removed: redundant subprojects list (matches direct children)");
                    hasChanges = true;
                }
            }
    
            // Check profiles for subprojects
            boolean profileSubprojectsChanges = root.child(PROFILES).stream()
                    .flatMap(profiles -> profiles.children(PROFILE))
                    .map(profile -> profile.child(SUBPROJECTS)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
Back to Top