Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 453 for compacting (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/mgc.go

    //
    // The GC runs concurrently with mutator threads, is type accurate (aka precise), allows multiple
    // GC thread to run in parallel. It is a concurrent mark and sweep that uses a write barrier. It is
    // non-generational and non-compacting. Allocation is done using size segregated per P allocation
    // areas to minimize fragmentation while eliminating locks in the common case.
    //
    // The algorithm decomposes into several steps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprint.kt

             * was made in that behavior.
             */
            val ignoreInputsInConfigurationCacheTaskGraphWriting: Boolean,
            /**
             * Whether the instrumentation agent was used when computing the cache.
             * With the agent, the class paths may be stored differently, making the caches incompatible with one another.
             */
            val instrumentationAgentUsed: Boolean,
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/FlakinessDetectionPerformanceExecutionDataProvider.java

        private static final Comparator<PerformanceReportScenario> SCENARIO_COMPARATOR =
            comparing(PerformanceReportScenario::isBuildFailed).reversed()
                .thenComparing(PerformanceReportScenario::isSuccessful)
                .thenComparing(comparing(PerformanceReportScenario::isBuildFailed).reversed())
                .thenComparing(comparing(org.gradle.performance.results.report.FlakinessDetectionPerformanceExecutionDataProvider::isFlaky).reversed())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/DefaultPerformanceExecutionDataProvider.java

        static final Comparator<PerformanceReportScenario> SCENARIO_COMPARATOR = comparing(PerformanceReportScenario::isBuildFailed).reversed()
            .thenComparing(comparing(PerformanceReportScenario::isFlaky).reversed())
            .thenComparing(PerformanceReportScenario::isSuccessful)
            .thenComparing(comparing(PerformanceReportScenario::isBuildFailed).reversed())
            .thenComparing(comparing(PerformanceReportScenario::isAboutToRegress).reversed())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. 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)
  10. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top