Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,064 for output2 (0.11 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TransformProgressEventCrossVersionSpec.groovy

                    abstract Provider<FileSystemLocation> getInputArtifact()
    
                    void transform(TransformOutputs outputs) {
                        def input = inputArtifact.get().asFile
                        def output = outputs.file(input.name + ".txt")
                        output.text = String.valueOf(input.length())
                    }
                }
            """
        }
    
        def getFileNamer() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

            return true;
        }
    
        /**
         * Whether overlapping outputs should be allowed or ignored.
         */
        default OverlappingOutputHandling getOverlappingOutputHandling() {
            return OverlappingOutputHandling.IGNORE_OVERLAPS;
        }
    
        enum OverlappingOutputHandling {
            /**
             * Overlapping outputs are detected and handled.
             */
            DETECT_OVERLAPS,
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/UnpackingVisitorTest.groovy

        }
    
        def "resolves tasks outputs to its output files"() {
            def content = Mock(FileCollectionInternal)
            def outputs = Mock(TaskOutputs)
    
            when:
            visitor.add outputs
    
            then:
            1 * outputs.files >> content
            1 * context.accept(content)
            0 * context._
        }
    
        def "resolves task to its output files"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/target.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-control-output-arrays=AssignAdd -o - | FileCheck --check-prefix=PRUNE %s
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 4.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

                    void transform(TransformOutputs outputs) {
                        File inputFile = input.get().asFile
                        println "processing \${inputFile.name}"
                        def output = outputs.file(inputFile.name + "." + parameters.extension)
                        output.text = "ok"
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

                                        bool enable_select_tf_ops) {
      std::string error_msg;
      auto output = mlir::openOutputFile(output_filename, &error_msg);
      if (output == nullptr) {
        llvm::errs() << error_msg << '\n';
        return absl::InvalidArgumentError("cannot open output file.");
      }
    
      std::string result;
      if (output_mlir) {
        llvm::raw_string_ostream os(result);
        module.print(os);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/listProperty/groovy/build.gradle

        @OutputFile
        abstract RegularFileProperty getOutputFile()
    
        @TaskAction
        void produce() {
            String message = 'Hello, World!'
            def output = outputFile.get().asFile
            output.text = message
            logger.quiet("Wrote '${message}' to ${output}")
        }
    }
    
    abstract class Consumer extends DefaultTask {
        @InputFiles
        abstract ListProperty<RegularFile> getInputFiles()
    
        @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaSourceIncrementalCompilationIntegrationTest.groovy

            textFile.text = "text file as root"
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
            file("extra/B.${language.name}").text = "class B { String change; }"
            executer.withArgument "--info"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses("A", "B", "C")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy

            when:
            run("-q", ":printScriptOutput")
    
            then:
            outputContains("Script output")
        }
    
        def "task with providers.exec provider input is up to date for second run"() {
            given:
            def testScript = ShellScript.builder()
                .printText("Script output")
                .writeTo(testDirectory, "script")
    
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/file/ProjectLayoutIntegrationTest.groovy

                println "src dir 1: " + srcDir.get()
                println "output dir 1: " + outputDir.get()
                buildDir = "output/some-dir"
                childDirName = "other-child"
                println "src dir 2: " + srcDir.get()
                println "output dir 2: " + outputDir.get()
    """
    
            when:
            run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 18:31:24 UTC 2023
    - 12.8K bytes
    - Viewed (0)
Back to top