Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 79 for deleteMin (0.13 sec)

  1. 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)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            make("A")
            succeeds("cacheable")
            make("B")
            // populate the cache
            withBuildCache().run("cacheable")
    
            when:
            gradleUserHome.deleteDir() // nuke the file snapshot cache
            resources.deleteDir().mkdirs()
            succeeds("clean")
            and:
            // Building with the resources seen in the opposite order
            // shouldn't make a difference
            make("B")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. 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)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/DirectoryBuildCacheFixture.groovy

        private TestBuildCache buildCache
    
        @Before
        void setupCacheDirectory() {
            // Make sure cache dir is empty for every test execution
            buildCache = new TestBuildCache(temporaryFolder.file("cache-dir").deleteDir().createDir())
            settingsFile << buildCache.localCacheConfiguration()
        }
    
        // Spock 2 executes @Before after the setup() methods
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DownloadableGradleDistribution.groovy

            def versionDir = this.versionDir
            fileAccessManager.access(distributionZip) {
                if (!markerFile.exists()) {
                    distributionZip.delete()
                    gradleHomeDir.deleteDir()
    
                    URL url = getDownloadURL();
                    System.out.println("downloading $url")
                    distributionZip.copyFrom(url)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/pod.go

    			if _, f := pmap[port.Name]; !f {
    				pmap[port.Name] = uint32(port.ContainerPort)
    			}
    		}
    	}
    	return pmap
    }
    
    // deleteIP returns true if the pod and ip are really deleted.
    func (pc *PodCache) deleteIP(ip string, podKey types.NamespacedName) bool {
    	pc.Lock()
    	defer pc.Unlock()
    	if pc.podsByIP[ip].Contains(podKey) {
    		sets.DeleteCleanupLast(pc.podsByIP, ip, podKey)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/JabbaInstallationSupplierTest.groovy

            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies no installations for non-existing directory"() {
            given:
            assert candidates.deleteDir()
    
            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies single installations for single candidate"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskOutputIntegrationTest.groovy

            tgzCacheEntry.delete()
    
            def metadata = new Properties()
            extractDir.file("METADATA").withInputStream { input ->
                metadata.load(input)
            }
            extractDir.deleteDir()
            return metadata
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            return osName.contains("windows");
        }
    
        private boolean deleteDir(File dir) {
            if (dir.isDirectory()) {
                String[] children = dir.list();
                if (children != null) {
                    for (int i = 0; i < children.length; i++) {
                        boolean success = deleteDir(new File(dir, children[i]));
                        if (!success) {
                            return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_unspecified.go

    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top