- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for addChild (0.06 seconds)
-
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) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
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; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.2K bytes - Click Count (0) -
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);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
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() } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K bytes - Click Count (0)