Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for children (0.23 sec)

  1. 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;
        }
    
    Java
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.9K 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))
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

        final List<Tree> children;
    
        public Tree(char value, Tree... children) {
          super(value);
          this.children = Arrays.asList(children);
        }
      }
    
      private static final TreeTraverser<Tree> ADAPTER =
          new TreeTraverser<Tree>() {
            @Override
            public Iterable<Tree> children(Tree node) {
              return node.children;
            }
          };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. 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);
    Java
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. 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()
    JavaScript
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
            this.children = this.node.getChildren();
            if (startWith != null) {
                Xpp3Dom startWithNode = (Xpp3Dom) startWith.getNode();
                for (; filteredIndex < children.size(); filteredIndex++) {
                    if (startWithNode.equals(children.get(filteredIndex))) {
                        filteredIndex++;
                        break;
    Java
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. okhttp/src/main/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)
      }
    
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. 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;
        }
    
        /**
    Java
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/EnumTest.java

                        cf.close();
                    }
    
                    int n = 0;
                    try ( CloseableIterator<SmbResource> children = f.children("*.txt") ) {
                        while ( children.hasNext() ) {
                            try ( SmbResource r = children.next() ) {
                                assertTrue(r.exists());
                                n++;
                            }
                        }
    Java
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/WrapperNode.java

    import org.eclipse.aether.graph.DependencyNode;
    
    class WrapperNode extends AbstractNode {
        protected final Node delegate;
        protected final List<Node> children;
    
        WrapperNode(Node delegate, List<Node> children) {
            this.delegate = delegate;
            this.children = children;
        }
    
        @Override
        DependencyNode getDependencyNode() {
            return Utils.cast(AbstractNode.class, delegate, "delegate").getDependencyNode();
    Java
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top