Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addChild (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

            this(new ArtifactMetadata(af), parent, resolved, scope);
        }
    
        // ------------------------------------------------------------------------
        public void addChild(int index, MetadataTreeNode kid) {
            if (kid == null) {
                return;
            }
    
            if (children == null) {
                children = new MetadataTreeNode[nChildren];
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

                if (tree == null) {
                    tree = node;
                }
    
                if (parent != null) {
                    parent.setNChildren(1);
                    parent.addChild(0, node);
                }
    
                parent = node;
            }
            return tree;
        }
    
        public void setClasspath(List<ArtifactMetadata> classpath) {
            this.classpath = classpath;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    	if cycles <= 1 {
    		return cycles == 1
    	}
    	return uint32(xxhash.Sum64String(string(h))>>32)%(cycles) == cycle%cycles
    }
    
    // addChild will add a child based on its hash.
    // If it already exists it will not be added again.
    func (e *dataUsageEntry) addChild(hash dataUsageHash) {
    	if _, ok := e.Children[hash.Key()]; ok {
    		return
    	}
    	if e.Children == nil {
    		e.Children = make(dataUsageHashMap, 1)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Xpp3Dom configurationChild = new Xpp3Dom("jdkHome");
            configurationChild.setValue("${env.testKey}");
            Xpp3Dom configuration = new Xpp3Dom("configuration");
            configuration.addChild(configurationChild);
            ToolchainModel toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            toolchain.setConfiguration(configuration);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    				dst = &dataUsageEntry{Compacted: false}
    			}
    			if err := f.scanFolder(ctx, folder, dst); err != nil {
    				return
    			}
    			if !into.Compacted {
    				h := dataUsageHash(folder.name)
    				into.addChild(h)
    				// We scanned a folder, optionally send update.
    				f.updateCache.deleteRecursive(h)
    				f.updateCache.copyWithChildren(&f.newCache, h, folder.parent)
    				f.sendUpdate()
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. test-site/activator-launch-1.3.2.jar

    Configurator(); public final void typeDef(String, Class); public final void setRoot(Object); public final void clear(); private void setCurrent(Object, String); public final Object startCreateChild(String); public final void addChild(String, Object); private Object addChild(Configurator$ObjectDescriptor, Class, String, Object); public final void setAttribute(String, String); public final Object endCreateChild(); public final Object getCurrent(); public final int getDepth(); public final Configurator$MacroDef...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top