Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 80 for Children (0.05 seconds)

  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;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/Graph.java

        }
    
        private static List<String> visitAll(
                Collection<Vertex> children, Map<Vertex, DfsState> stateMap, List<String> list) {
            for (Vertex v : children) {
                DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING);
                if (state == null) {
                    visitAll(v.children, stateMap, list);
                    stateMap.put(v, DfsState.VISITED);
                    list.add(v.label);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. 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();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          val children = node.children!!
          var child = children[childIndex]
          if (child == null) {
            child = Node()
            children[childIndex] = child
          }
          node = child
        }
    
        val shift = 8 - accumulatorBitCount
        val start = (code shl shift) and 0xff
        val end = 1 shl shift
        node.children!!.fill(terminal, start, start + end)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

        }
    
        private static List<String> visitAll(
                Collection<Vertex> children, Map<Vertex, DfsState> stateMap, List<String> list) {
            for (Vertex v : children) {
                DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING);
                if (state == null) {
                    visitAll(v.children, stateMap, list);
                    stateMap.put(v, DfsState.VISITED);
                    list.add(v.label);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

            this.reference = (reference != null) ? reference : "";
            this.children = (children != null) ? Collections.unmodifiableList(children) : Collections.emptyList();
        }
    
        public Throwable getException() {
            return exception;
        }
    
        public String getMessage() {
            return message;
        }
    
        public String getReference() {
            return reference;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

        final List<Tree> children;
    
        Tree(char value, Tree... children) {
          super(value);
          this.children = asList(children);
        }
      }
    
      private static final TreeTraverser<Tree> ADAPTER =
          new TreeTraverser<Tree>() {
            @Override
            public Iterable<Tree> children(Tree node) {
              return node.children;
            }
          };
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 18:39:06 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java

            if (node.value() != null) {
                return node.value();
            } else {
                List<Object> children = new ArrayList<>();
                for (XmlNode child : node.children()) {
                    children.add(getValue(child));
                }
                return children;
            }
        }
    
        @Override
        public Object getBaseValue() {
            return node;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. 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);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. 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))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
Back to Top