Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for rootfile (0.22 sec)

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

        }
    
        def "task is cacheable after previous failure"() {
            buildFile << """
                task foo {
                    def outFile = project.file("out.txt")
                    outputs.file(outFile)
                    outputs.cacheIf { true }
                    doLast {
                        outFile << "xxx"
                        if (System.getProperty("fail")) {
                            throw new RuntimeException("Boo!")
                        }
    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. src/cmd/cover/html.go

    	"strings"
    
    	"golang.org/x/tools/cover"
    )
    
    // htmlOutput reads the profile data from profile and generates an HTML
    // coverage report, writing it to outfile. If outfile is empty,
    // it writes the report to a temporary file and opens it in a web browser.
    func htmlOutput(profile, outfile string) error {
    	profiles, err := cover.ParseProfiles(profile)
    	if err != nil {
    		return err
    	}
    
    	var d templateData
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/TextReportRendererSpec.groovy

        def "writes report to a file"() {
            when:
            File outFile = new File(temporaryFolder.getTestDirectory(), "report.txt");
            renderer.setOutputFile(outFile);
    
            then:
            renderer.textOutput instanceof StreamingStyledTextOutput
    
            when:
            renderer.complete();
    
            then:
            outFile.file
            renderer.textOutput == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 12 02:45:12 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

        def "task @InputFiles file collection closure is called once only when task executes"() {
            taskTypeWithInputFileCollection()
            buildFile """
                task merge(type: InputFilesTask) {
                    outFile = file("out.txt")
                    inFiles.from {
                        println("calculating value")
                        return 'in.txt'
                    }
                }
    """
            file("in.txt").text = "in"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ManagedFilePropertyGroovyInterOpIntegrationTest.groovy

                    @OutputFile
                    abstract RegularFileProperty getOutFile()
    
                    @TaskAction
                    def run() {
                        outFile.get().asFile.text = "content"
                    }
                }
            """
        }
    
        @Override
        void taskWithNestedBeanDefinition() {
            pluginDir.file("src/main/groovy/ProducerTask.groovy") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyHandlerProviderIntegrationTest.groovy

            }
    
            task resolve {
                inputs.files(configurations.conf)
                def outFile = file("out.txt")
                outputs.file(outFile)
                doLast {
                   outFile << 'Hello'
                }
            }
    
            checkDeps.dependsOn resolve
    
            """
    
            when:
            args '-Pproject.version=1.1'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                    File outFile = fvd.relativePath.replaceLastName(newFileName).getFile(destDir)
                    outFile.parentFile.mkdirs()
    
                    execOps.javaexec {
                        mainClass.set(XslTransformer.name)
                        args stylesheetFile.absolutePath
                        args fvd.file.absolutePath
                        args outFile.absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh

    openssl x509 -req -in client.csr -CA caCert.pem -CAkey caKey.pem -CAcreateserial -out clientCert.pem -days 100000 -extensions v3_req -extfile client.conf
    
    outfile=certs_test.go
    
    cat > $outfile << EOF
    /*
    Copyright 2017 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 15:57:40 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            file('in.txt').touch()
            file("in-dir").createDir()
            def outFile = file("out.txt")
            def copy = file("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            outFile.copyTo(copy)
            outFile.delete()
            outFile.createLink(copy)
            run("work")
    
    
            /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          return;
        }
        if (*offset == 0) {
          if (!outfile->truncate()) {
            TF_SetStatus(status, TF_INTERNAL,
                         "Could not truncate internal temporary file.");
            return;
          }
          *offset = static_cast<int64_t>(metadata->size());
        }
        outfile->clear();
        outfile->seekp(0, std::ios::end);
        TF_SetStatus(status, TF_OK, "");
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
Back to top