Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for inputDir (0.31 sec)

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

        def "properly captures all attributes"() {
            given:
            withBuildCache()
            buildFile << """
                task customTask {
                    inputs.dir('foo')
                        .withPropertyName('inputDir')
                        .withPathSensitivity(PathSensitivity.$pathSensitivity)
                        .ignoreEmptyDirectories($ignoreEmptyDirectories)
                        .normalizeLineEndings($ignoreLineEndings)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

                        new File(outputDir, "source").text = "fixed"
                    }
                }
    
                task secondTask {
                    def inputDir = file("${outputDir}")
                    def outputDir = file("${sourceDir}")
                    inputs.dir(inputDir)
                    outputs.dir(outputDir)
                    doLast {
                        new File(outputDir, "source").text = "fixed"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    ====
    [.multi-language-sample]
    =====
    [source,kotlin]
    .build.gradle.kts
    ----
    public class IncrementalReverseTask : DefaultTask() {
    
        @get:Incremental
        @get:InputDirectory
        val inputDir: DirectoryProperty = project.objects.directoryProperty()
    
        @get:OutputDirectory
        val outputDir: DirectoryProperty = project.objects.directoryProperty()
    
        @get:Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 15:21:05 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            enableProblemsApiCheck()
            expectReindentedValidationMessage()
            file("input-file.txt").touch()
    
            def inputDir = file("input-dir")
            inputDir.createDir()
            buildFile """
                task test {
                    inputs.${method}({ "$path" }) withPropertyName "input"
                    doLast {}
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

            readingList.add(toKatakana(text));
            return readingList;
        }
    
        protected String toKatakana(final String inputStr) throws IOException {
            final StringBuilder kanaBuf = new StringBuilder();
    
            final Reader rd = new StringReader(inputStr);
            try (TokenStream stream = createTokenStream(rd)) {
                if (stream == null) {
                    throw new IOException("Invalid tokenizer.");
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils_test.go

    	}
    }
    
    // TestSignV4TrimAll - tests the logic of TrimAll() function
    func TestSignV4TrimAll(t *testing.T) {
    	testCases := []struct {
    		// Input.
    		inputStr string
    		// Expected result.
    		result string
    	}{
    		{"本語", "本語"},
    		{" abc ", "abc"},
    		{" a b ", "a b"},
    		{"a b ", "a b"},
    		{"a  b", "a b"},
    		{"a   b", "a b"},
    		{"   a   b  c   ", "a b c"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

                            throw UncheckedException.throwAsUncheckedException(e)
                        }
                    }
    
                    static void unzipTo(File inputZip, File unzipDir) throws IOException {
                        inputZip.withInputStream { stream ->
                            ZipInputStream inputStream = new ZipInputStream(stream)
                            ZipEntry entry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        arg_nodes->resize(inputs.size());
        ret_nodes->resize(outputs.size());
    
        for (Node* n : GetOrderedNodes()) {
          // Handle inputs/arguments.
          auto input_it = inputs.find(n->name());
          if (input_it != inputs.end()) {
            (*arg_nodes)[input_it->second] = {n, 0};
          }
    
          // Handle outputs/returns.
          if (output_node_names.contains(n->name())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top