Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for deleteMin (0.19 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/AbstractTaskOutputCachingPerformanceTest.groovy

                            if (isFirstRunWithCache(context)) {
                                cacheDir.deleteDir().mkdirs()
                                buildCacheServer.cacheDir.deleteDir().mkdirs()
                                settings << remoteCacheSettingsScript
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. cni/pkg/ipset/ipset.go

    	}
    	return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace)
    }
    
    func (m *IPSet) DeleteIP(ip netip.Addr, ipProto uint8) error {
    	ipToDel := ip.Unmap()
    
    	// We have already Unmap'd, so we can do a simple IsV6 y/n check now
    	if ipToDel.Is6() {
    		return m.Deps.deleteIP(m.V6Name, ipToDel, ipProto)
    	}
    	return m.Deps.deleteIP(m.V4Name, ipToDel, ipProto)
    }
    
    func (m *IPSet) Flush() error {
    	var err error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy

            """
            when:
            withBuildCache().run "customTask"
            then:
            result.assertTaskNotSkipped(":customTask")
    
            when:
            file("buildSrc/build").deleteDir()
            file("buildSrc/.gradle").deleteDir()
            cleanBuildDir()
    
            withBuildCache().run "customTask"
            then:
            result.groupedOutput.task(":customTask").outcome == "FROM-CACHE"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy

            then:
            cached()
            localCache.hasCacheEntry(cacheKey)
    
            when:
            settingsFile << """
                buildCache.remote.enabled = false
            """
            assert remoteCache.cacheDir.deleteDir()
            execute()
    
            then:
            cached()
        }
    
        def "remote loads are not cached locally if local cache is #state"() {
            given:
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy

            when:
            def movedLocation = temporaryFolder.file("moved-location")
            originalLocation.renameTo(movedLocation)
            movedLocation.file("build").deleteDir()
            movedLocation.file(".gradle").deleteDir()
    
            executer.usingProjectDirectory(movedLocation)
            withBuildCache().run "jar", "customTask"
    
            then:
            // Built-in tasks are loaded from cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy

            runCacheableBuild(pushToCacheEvents)
            then:
            writingOperations(pushToCacheEvents).size() == maybeIncludeLocalBuildOperations(1)
    
            when:
            file("build").deleteDir()
            and:
            def pullFromCacheResults = ProgressEvents.create()
            runCacheableBuild(pullFromCacheResults)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy

            localCache.listCacheFailedFiles().size() == 1
    
            and:
            !localCache.hasCacheEntry(cacheKey)
    
            when:
            file("build").deleteDir()
    
            then:
            succeeds("customTask")
        }
    
        def "corrupted cache artifact metadata provides useful error message"() {
            when:
            buildFile << """
                @CacheableTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy

            result.assertTaskSkipped ':runWork'
            outputContains ':runWork UP-TO-DATE'
    
            and:
            outputDoesNotContain expectedOutput
    
            when: 'the outputs are deleted'
            file('build').deleteDir()
    
            and: 'task runs for the 3rd time'
            runWork()
    
            then: 'it is skipped because FROM-CACHE'
            result.assertTaskSkipped ':runWork'
            outputContains ':runWork FROM-CACHE'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractTaskRelocationIntegrationTest.groovy

        abstract protected void setupProjectInOriginalLocation()
    
        abstract protected void moveFilesAround()
    
        @SuppressWarnings("GrMethodMayBeStatic")
        protected void removeResults() {
            file("build").deleteDir()
        }
    
        abstract protected def extractResults()
    
        protected void assertResultsEqual(def originalResult, def movedResult) {
            assert movedResult == originalResult
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

                this.invocationSettings = invocationSettings
                this.testId = testId.replaceAll(/[- ]/, '_')
            }
    
            @Override
            void beforeBuild(BuildContext context) {
                spoolDir().deleteDir()
            }
    
            @Override
            void afterBuild(BuildContext context, Throwable t) {
                def spoolDir = this.spoolDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top