Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,989 for onOutput (0.18 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                    @OutputFile
                    File output
    
                    @TaskAction
                    void doStuff() {
                        output.text = input.list().join('\\n')
                    }
                }
    
                task myTask(type: MyTask) {
                    input = providers.gradleProperty('inputDir').map { file(it) }.get()
                    output = project.file("build/output.txt")
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            given:
            def streamBuf = new StreamByteBuffer(32000)
            def output = streamBuf.getOutputStream()
    
            when:
            output.write(1)
            output.write(2)
            output.write(3)
            output.write(255)
            output.close()
    
            then:
            def input = streamBuf.getInputStream()
            input.read() == 1
            input.read() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/config_test.go

    		},
    	}
    
    	outputFlags := output.NewOutputFlags(&imageTextPrintFlags{}).WithTypeSetter(outputapischeme.Scheme).WithDefaultOutput(output.TextOutput)
    	printer, err := outputFlags.ToPrinter()
    	if err != nil {
    		t.Fatalf("can't create printer for the output format %s: %+v", output.TextOutput, err)
    	}
    
    	for _, tc := range testcases {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_cluster_util_test.cc

      Scope root = Scope::NewRootScope().ExitOnError();
    
      Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0));
      Output enter_0 =
          ops::internal::Enter(root.WithOpName("enter_0"), a, "frame_0");
      Output exit_0 = ops::internal::Exit(root.WithOpName("exit_0"), enter_0);
      Output enter_1 =
          ops::internal::Enter(root.WithOpName("enter_1"), a, "frame_1");
      Output exit_1 = ops::internal::Exit(root.WithOpName("exit_1"), enter_1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/emitdata_test.go

    		t.Fatalf("'go tool covdata failed (%v): %s", err, b)
    	}
    	output := string(b)
    	rval := ""
    	for _, f := range want {
    		wf := "Func: " + f + "\n"
    		if strings.Contains(output, wf) {
    			continue
    		}
    		rval += fmt.Sprintf("error: output should contain %q but does not\n", wf)
    	}
    	for _, f := range avoid {
    		wf := "Func: " + f + "\n"
    		if strings.Contains(output, wf) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            "empty directory"         | { TestFile output -> output.createDir() }
            "directory with contents" | { TestFile output ->
                output.create {
                    file("first-file").text = "leftover file"
                    file("second-file").text = "leftover file"
                }
            }
            'file'                    | { TestFile output -> output.text = 'leftover file' }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/task/ShowToolchainsTask.java

            output.withStyle(Identifier).println(" + Options");
            output.withStyle(Normal).format("     | %s", Strings.padEnd("Auto-detection:", 20, ' '));
            output.withStyle(Description).println(detectionEnabled ? "Enabled" : "Disabled");
            output.withStyle(Normal).format("     | %s", Strings.padEnd("Auto-download:", 20, ' '));
            output.withStyle(Description).println(downloadEnabled ? "Enabled" : "Disabled");
            output.println();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            then:
            output.count("NOT CI") == 1
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun "run"
    
            then:
            output.count("NOT CI") == 1
            configurationCache.assertStateLoaded()
    
            when:
            configurationCacheRun "run", "-Dci=true"
    
            then:
            output.count("ON CI") == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

                    config = resources.text.fromUri("${server.uri}/myConfig-${uuid}.txt")
                    output = project.file("output.txt")
                }
    """
            when:
            run("uriText")
    
            then:
            result.assertTasksExecuted(":uriText")
            file("output.txt").text == "my config\n"
    
            when:
            run("uriText")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/runtime/coro_test.go

    		})
    	}
    }
    
    func checkCoroTestProgOutput(t *testing.T, output string) {
    	t.Helper()
    
    	c := strings.SplitN(output, "\n", 2)
    	if len(c) == 1 {
    		t.Fatalf("expected at least one complete line in the output, got:\n%s", output)
    	}
    	expect, ok := strings.CutPrefix(c[0], "expect: ")
    	if !ok {
    		t.Fatalf("expected first line of output to start with \"expect: \", got: %q", c[0])
    	}
    	rest := c[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:36:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top