Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,619 for output0 (0.09 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SymlinkContinuousIntegrationTest.groovy

            inputs.files "src/linkdir/existing"
            outputs.files "build/output"
            doLast {
                println "isEmpty: " + symlink.isEmpty()
            }
        }
    """
            Files.createSymbolicLink(Paths.get(symlink.toURI()), Paths.get(targetDir.toURI()))
            expect:
            succeeds("echo")
            executedAndNotSkipped(":echo")
            output.contains("isEmpty: false")
            when: "symlink is deleted"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tasks/incrementalTask/groovy/build.gradle

    }
    // end::removed-output[]
    
    // tag::reverse[]
    tasks.register('incrementalReverse', IncrementalReverseTask) {
        inputDir = file('inputs')
        outputDir = layout.buildDirectory.dir("outputs")
        inputProperty = project.properties['taskInputProperty'] ?: 'original'
    }
    // end::reverse[]
    
    incrementalReverse.mustRunAfter(originalInputs, updateInputs, removeInput, removeOutput)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/StoreExecutionStateStepTest.groovy

            getInputProperties() >> ImmutableSortedMap.of()
            getInputFileProperties() >> ImmutableSortedMap.of()
        }
    
        def outputFile = file("output.txt").text = "output"
        def outputFilesProducedByWork = snapshotsOf(output: outputFile)
    
        def step = new StoreExecutionStateStep<IncrementalCachingContext, AfterExecutionResult>(delegate)
        def delegateResult = Mock(AfterExecutionResult)
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-relocate/kotlin/build.gradle.kts

        override
        fun transform(outputs: TransformOutputs) {
            val primaryInputFile = primaryInput.get().asFile
            if (parameters.externalClasspath.contains(primaryInputFile)) {       // <6>
                outputs.file(primaryInput)
            } else {
                val baseName = primaryInputFile.name.substring(0, primaryInputFile.name.length - 4)
                relocateJar(outputs.file("$baseName-relocated.jar"))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        assert FLAGS.output.endswith('.mlir')
        generated_code = tfr_gen_from_module(sys.modules[__name__], '_composite_',)
    
      dirname = os.path.dirname(FLAGS.output)
      if not os.path.exists(dirname):
        os.makedirs(dirname)
      with open(FLAGS.output, 'w') as f:
        f.write(generated_code)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/tasks/SourceSetOutput.java

    import java.io.File;
    import java.util.Map;
    
    /**
     * A collection of all output directories (compiled classes, processed resources, etc.) - notice that {@link SourceSetOutput} extends {@link FileCollection}.
     * <p>
     * Provides output information of the source set. Allows configuring the default output dirs and specify additional output dirs.
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'java'
     * }
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/tasks/VerificationException.java

     *
     * A task can depend upon another task's outcome (PASS vs. FAIL), outputs (the files they produce) or both. A verification
     * failure represents the case where a task has a failed outcome, but has still produced valid output files for consumption.
     * Tasks that only depend on the other task's outputs are allowed to execute. Tasks that depend on both the outcome and
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 18:24:23 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradient_checker.cc

      int num_dims_out = TF_NumDims(model_out_tensor);
      TF_DeleteTensor(model_out_tensor);
    
      // If the output is a scalar, then return the scalar output
      if (num_dims_out == 0) {
        outputs[0] = model_out.release();
        return absl::OkStatus();
      }
    
      // Else, reduce sum the output to get a scalar
    
      // Will sum all dimensions, so get a Tensor containing [0,...,num_dims_out-1].
      AbstractTensorHandlePtr sum_dims;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyClasspathIntegrationTest.groovy

                    def outputFile = file(layout.buildDirectory.file("dummy-output/result.txt"))
    
                    outputs.cacheIf { true }
    
                    inputs.files(inputFile)
                        .withPropertyName("dummy-input")
                        .withPathSensitivity(PathSensitivity.RELATIVE)
    
                    outputs.dir(outputDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 18:43:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. 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)
Back to top