- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 297 for compacting (0.24 sec)
-
cmd/data-usage-cache.go
} if parent != nil { p := d.Cache[parent.Key()] p.addChild(hash) d.Cache[parent.Key()] = p } } // reduceChildrenOf will reduce the recursive number of children to the limit // by compacting the children with the least number of objects. func (d *dataUsageCache) reduceChildrenOf(path dataUsageHash, limit int, compactSelf bool) { e, ok := d.Cache[path.Key()] if !ok { return } if e.Compacted {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 10 14:49:50 UTC 2024 - 42.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy
} def toStringList() { def list = [42, "string"] expect: toStringList([]) == [] toStringList(list) == ["42", "string"] } def "list compacting"() { expect: compact([1, null, 2]) == [1, 2] compact([null, 1, 2]) == [1, 2] compact([1, 2, null]) == [1, 2] def l = [1, 2, 3] compact(l).is l }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 11.7K bytes - Viewed (0) -
cmd/data-scanner.go
into.Compacted = true newFolders = append(newFolders, existingFolders...) existingFolders = nil if f.dataUsageScannerDebug { console.Debugf(scannerLogPrefix+" Preemptively compacting: %v, entries: %v\n", folder.name, len(existingFolders)+len(newFolders)) } } scanFolder := func(folder cachedFolder) { if contextCanceled(ctx) { return } dst := into
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:43:17 UTC 2024 - 47.6K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
lv.livenessMap.DeferReturn = objw.StackMapDontCare } else { idx, _ := lv.stackMapSet.add(livedefer) lv.livenessMap.DeferReturn = objw.StackMapIndex(idx) } // Done compacting. Throw out the stack map set. lv.stackMaps = lv.stackMapSet.extractUnique() lv.stackMapSet = bvecSet{} // Useful sanity check: on entry to the function, // the only things that can possibly be live are the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/model/ConfigurationReportModelFactory.java
.sorted(Comparator.comparing(ReportAttribute::getName)) .collect(Collectors.toList()); final List<ReportCapability> explicitCapabilities = configuration.getOutgoing().getCapabilities().stream() .map(this::convertCapability) .sorted(Comparator.comparing(ReportCapability::toGAV)) .collect(Collectors.toList());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 05 20:34:52 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
*/ private boolean complete(@Nullable V v, @Nullable Throwable t, int finalState) { boolean doCompletion = compareAndSetState(RUNNING, COMPLETING); if (doCompletion) { // If this thread successfully transitioned to COMPLETING, set the value // and exception and then release to the final state. this.value = v;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 13.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
*/ private boolean complete(@Nullable V v, @Nullable Throwable t, int finalState) { boolean doCompletion = compareAndSetState(RUNNING, COMPLETING); if (doCompletion) { // If this thread successfully transitioned to COMPLETING, set the value // and exception and then release to the final state. this.value = v;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 09 15:17:25 UTC 2018 - 13.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/ResolutionCandidateAssessor.java
return variantMetadatas.stream() .map(variantMetadata -> assessCandidate(variantMetadata.getName(), variantMetadata.getCapabilities(), variantMetadata.getAttributes())) .sorted(Comparator.comparing(AssessedCandidate::getDisplayName)) .collect(Collectors.toList()); } public List<AssessedCandidate> assessResolvedVariants(List<? extends ResolvedVariant> resolvedVariants) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/kube/krt/README.md
Example computing a list of all container names across all pods: ```go ContainerNames := krt.NewManyCollection[string](func(ctx krt.HandlerContext, pod *v1.Pod) (res []string) { for _, c := range pod.Spec.Containers { res = append(res, c.Name) } return res }) // Results in a Collection[string] ```
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 18 17:21:50 UTC 2023 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost.go
otherSize := actualSize(args[1]) // This is the base cost of comparing two byte lists. // We will compare only up to the length of the CIDR prefix in bytes, so use the cidrSize twice. cost := uint64(math.Ceil(float64(cidrSize+cidrSize) * common.StringTraversalCostFactor)) if overloadId == "cidr_contains_ip_string" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 20.6K bytes - Viewed (0)