Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 130 for deleteMin (0.2 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

            when:
            withBuildCache().run "cacheable", "--info"
            then:
            outputContains "Stored cache entry for task ':cacheable' with cache key"
    
            file("build").deleteDir()
    
            when:
            withBuildCache().run "cacheable", "--info"
            then:
            outputContains "Loaded cache entry for task ':cacheable' with cache key"
        }
    
        def defineCacheableTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ParallelDownloadsPerformanceTest.groovy

                    }
    
                    private void cleanupCache(File userHomeDir) {
                        ['modules-2', 'external-resources'].each {
                            new File("$userHomeDir/caches/$it").deleteDir()
                        }
                    }
                }
            }
        }
    
        def "resolves dependencies from external repository"() {
            startServer()
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SupportedBuildJvmIntegrationTest.groovy

            // start one JVM with jdk to remove
            executer.withJavaHome(jdkToRemove)
            succeeds("help")
    
            when:
            // remove the JDK
            jdkToRemove.deleteDir()
            // don't ask for the removed JDK now
            executer.withJavaHome(installedJdk)
            then:
            // try to start another build
            succeeds("help")
        }
    
        @Requires(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy

            return new BuildMutator() {
                @Override
                void beforeBuild(BuildContext context) {
                    if (action == storing) {
                        stateDirectory.deleteDir()
                    }
                }
    
                @Override
                void afterBuild(BuildContext context, Throwable error) {
                    if (context.iteration > 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy

        }
    
        boolean stackTraceContains(Class<?> type) {
            output.contains("\tat ${type.name}.")
        }
    
        private TestFile cleanBuildDir() {
            file("build").assertIsDir().deleteDir()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    void DeleteFile(const TF_Filesystem* filesystem, const char* path,
                    TF_Status* status);
    void Stat(const TF_Filesystem* filesystem, const char* path,
              TF_FileStatistics* stats, TF_Status* status);
    void DeleteDir(const TF_Filesystem* filesystem, const char* path,
                   TF_Status* status);
    void CopyFile(const TF_Filesystem* filesystem, const char* src, const char* dst,
                  TF_Status* status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:37:41 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm/src/crossVersionTest/groovy/org/gradle/jvm/toolchain/internal/install/ProvisionedJdkReuseCrossVersionIntegrationTest.groovy

            Jvm differentVersion = AvailableJavaHomes.differentVersion
    
            jdkRepository = new JdkRepository(differentVersion, "not_current_jdk.zip")
            uri = jdkRepository.start()
    
            userHome.deleteDir()
            settingsFile << applyToolchainResolverPlugin("CustomToolchainResolver", singleUrlResolverCode(uri))
            buildFile << """
                plugins {
                    id 'application'
                    id 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultGradlePropertiesLoaderTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 11:52:10 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            if (GradleContextualExecuter.isConfigCache()) {
                def build = testDirectory.file("build")
                assert build.listFiles().size() == 1 && build.file("reports").exists()
                build.deleteDir()
            }
    
            when: "clean is executed again without any changes"
            succeeds "clean"
            then: "clean is still marked UP-TO-DATE"
            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_linux.go

    		Protocol: &ipProto,
    		Replace:  replace,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to add IP %s to ipset %s: %w", ip, name, err)
    	}
    	return nil
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	err := netlink.IpsetDel(name, &netlink.IPSetEntry{
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    	})
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top