Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 618 for compacting (0.32 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. tensorflow/c/eager/gradient_checker_test.cc

    // These tests should not be confused with `[*]_grad_test` which compare the
    // result of `gradient_checker` and `[*]_grad`. The tests here test the
    // functionality of `gradient_checker` by comparing the result with expected
    // manual user-provided gradients.
    class GradientCheckerTest
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact.go

    // It will compact keys with versions older than given interval.
    // In other words, after compaction, it will only contain keys set during last interval.
    // Any API call for the older versions of keys will return error.
    // Interval is the time interval between each compaction. The first compaction happens after "interval".
    func compactor(ctx context.Context, client *clientv3.Client, interval time.Duration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 17 02:54:36 UTC 2022
    - 5.6K bytes
    - Viewed (0)
Back to top