Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,734 for OUT (0.03 sec)

  1. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirectorTest.groovy

        def startAndStopDoesNothingWhenNothingRedirected() {
            when:
            redirector.start()
            System.out.println('this is stdout')
            System.err.println('this is stderr')
            redirector.stop()
    
            then:
            System.out == outputs.stdOutPrintStream
            System.err == outputs.stdErrPrintStream
        }
    
        def startAndStopRedirectsStdOut() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/errors_test.go

    		}
    	}
    
    	if t.Failed() {
    		t.Logf("actual output:\n%s", out)
    	}
    }
    
    func sizeofLongDouble(t *testing.T) int {
    	testenv.MustHaveGoRun(t)
    	testenv.MustHaveCGO(t)
    	cmd := exec.Command("go", "run", path("long_double_size.go"))
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("%#q: %v:\n%s", strings.Join(cmd.Args, " "), err, out)
    	}
    
    	i, err := strconv.Atoi(strings.TrimSpace(string(out)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. pkg/probe/exec/exec_test.go

    func (f *FakeCmd) SetStdin(in io.Reader) {}
    
    func (f *FakeCmd) SetStdout(out io.Writer) {
    	f.writer = out
    }
    
    func (f *FakeCmd) SetStderr(out io.Writer) {
    	f.writer = out
    }
    
    func (f *FakeCmd) SetEnv(env []string) {}
    
    func (f *FakeCmd) Stop() {}
    
    func (f *FakeCmd) Start() error {
    	if f.writer != nil {
    		f.writer.Write(f.out)
    		return f.err
    	}
    	return f.err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/bug/bug.go

    	cmd = exec.Command("ldd", outfile)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		return
    	}
    	re := regexp.MustCompile(`libc\.so[^ ]* => ([^ ]+)`)
    	m := re.FindStringSubmatch(string(out))
    	if m == nil {
    		return
    	}
    	cmd = exec.Command(m[1])
    	out, err = cmd.Output()
    	if err != nil {
    		return
    	}
    	fmt.Fprintf(w, "%s: %s\n", m[1], firstLine(out))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/encoding/json/decode_test.go

    	{CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2")},
    	{CaseName: Name(""), in: `2`, ptr: new(any), out: float64(2.0)},
    	{CaseName: Name(""), in: `2`, ptr: new(any), out: Number("2"), useNumber: true},
    	{CaseName: Name(""), in: `"a\u1234"`, ptr: new(string), out: "a\u1234"},
    	{CaseName: Name(""), in: `"http:\/\/"`, ptr: new(string), out: "http://"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  6. src/testing/testing_test.go

    	cmd.Env = append(cmd.Env, "GO_WANT_RACE_BEFORE_TESTS=1")
    	out, _ := cmd.CombinedOutput()
    	t.Logf("%s", out)
    
    	c := bytes.Count(out, []byte("race detected outside of test execution"))
    
    	want := 0
    	if race.Enabled {
    		want = 1
    	}
    	if c != want {
    		t.Errorf("got %d race reports; want %d", c, want)
    	}
    }
    
    func TestBenchmarkRace(t *testing.T) {
    	out := runTest(t, "BenchmarkRacy")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/DependencyInsightReportTask.java

                    printVariant(out, dependency, variant, true);
                }
                if (task.getShowingAllVariants().get()) {
                    out.style(Header);
                    out.println();
                    out.println();
                    out.text("---------------------").println();
                    out.text("Unselected Variant(s)").println();
                    out.text("---------------------");
                    out.println();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho.go

    			out.Write32(s.prot2)
    			out.Write32(s.nsect)
    			out.Write32(s.flag)
    		} else {
    			out.Write32(LC_SEGMENT)
    			out.Write32(56 + 68*s.nsect)
    			out.WriteStringN(s.name, 16)
    			out.Write32(uint32(s.vaddr))
    			out.Write32(uint32(s.vsize))
    			out.Write32(uint32(s.fileoffset))
    			out.Write32(uint32(s.filesize))
    			out.Write32(s.prot1)
    			out.Write32(s.prot2)
    			out.Write32(s.nsect)
    			out.Write32(s.flag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy

            then:
            ((targetStream == "System.out") ? output : errorOutput).contains("Hello, Gradle")
    
            where:
            task       | taskProperty     | sourceStream | targetStream
            "exec"     | "standardOutput" | "System.out" | "System.out"
            "exec"     | "standardOutput" | "System.out" | "System.err"
            "exec"     | "errorOutput"    | "System.err" | "System.out"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/builder/builder_test.go

    	}
    	if forTCP {
    		out := &listener.Filter{}
    		if err := protomarshal.ApplyYAML(string(data), out); err != nil {
    			t.Fatalf("failed to parse YAML: %v", err)
    		}
    		return out
    	}
    	out := &hcm.HttpFilter{}
    	if err := protomarshal.ApplyYAML(string(data), out); err != nil {
    		t.Fatalf("failed to parse YAML: %v", err)
    	}
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top