Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for STDOUT (0.1 sec)

  1. src/cmd/dist/test.go

    		// safe. If we were just passing stdout/stderr through to exec, it would
    		// do this for us, but since we're wrapping stdout, we have to do it
    		// ourselves.
    		if stdout == stderr {
    			stdout = &lockedWriter{w: stdout}
    			stderr = stdout
    		}
    		f := &testJSONFilter{w: stdout, variant: opts.variant}
    		cmd.Stdout = f
    		flush = f.Flush
    	} else {
    		cmd.Stdout = stdout
    		flush = func() {}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    		// is OK.
    		if testShowPass() && (len(pkgs) == 1 || cfg.BuildP == 1) || testJSON {
    			// Write both to stdout and buf, for possible saving
    			// to cache, and for looking for the "no tests to run" message.
    			stdout = io.MultiWriter(stdout, &buf)
    		} else {
    			stdout = &buf
    		}
    	}
    
    	if r.c.buf == nil {
    		// We did not find a cached result using the link step action ID,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    	}
    
    	tg.t.Logf("running testgo %v", args)
    	cmd := testenv.Command(tg.t, prog, args...)
    	tg.stdout.Reset()
    	tg.stderr.Reset()
    	cmd.Dir = tg.execDir
    	cmd.Stdout = &tg.stdout
    	cmd.Stderr = &tg.stderr
    	cmd.Env = tg.env
    	status := cmd.Run()
    	if tg.stdout.Len() > 0 {
    		tg.t.Log("standard output:")
    		tg.t.Log(tg.stdout.String())
    	}
    	if tg.stderr.Len() > 0 {
    		tg.t.Log("standard error:")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		Stdin:       stdin,
    		Stdout:      stdout,
    		Stderr:      stderr,
    	}
    	resp, err := m.runtimeService.Exec(ctx, req)
    	if err != nil {
    		return nil, err
    	}
    
    	return url.Parse(resp.Url)
    }
    
    // GetAttach gets the endpoint the runtime will serve the attach request from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_logging_test.go

    		expected   *accesslog.AccessLog
    	}{
    		{
    			name: "stdout",
    			meshConfig: &meshconfig.MeshConfig{
    				AccessLogEncoding: meshconfig.MeshConfig_TEXT,
    			},
    			fp: stdoutFormat,
    			expected: &accesslog.AccessLog{
    				Name:       wellknown.FileAccessLog,
    				ConfigType: &accesslog.AccessLog_TypedConfig{TypedConfig: protoconv.MessageToAny(stdout)},
    			},
    		},
    		{
    			name: "stderr",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client_test.go

    	var childProcess *exec.Cmd
    	var stdin opensslInput
    	var stdout *opensslOutputSink
    
    	if write {
    		var err error
    		recordingConn, childProcess, stdin, stdout, err = test.connFromCommand()
    		if err != nil {
    			t.Fatalf("Failed to start subcommand: %s", err)
    		}
    		clientConn = recordingConn
    		defer func() {
    			if t.Failed() {
    				t.Logf("OpenSSL output:\n\n%s", stdout.all)
    			}
    		}()
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  7. cluster/gce/windows/k8s-node-setup.psm1

    # The reformer also changes the tags to 'stderr' or 'stdout' based on the
    # value of 'stream'.
    # local_resource_id is later used by google_cloud plugin to determine the
    # monitored resource to ingest logs against.
    # Json Log Example:
    # {"log":"[info:2016-02-16T16:04:05.930-08:00] Some log text here\n","stream":"stdout","time":"2016-02-17T00:04:05.931087621Z"}
    # CRI Log Example:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  8. src/testing/testing.go

    		flag.Parse()
    	}
    
    	if chatty.json {
    		// With -v=json, stdout and stderr are pointing to the same pipe,
    		// which is leading into test2json. In general, operating systems
    		// do a good job of ensuring that writes to the same pipe through
    		// different file descriptors are delivered whole, so that writing
    		// AAA to stdout and BBB to stderr simultaneously produces
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            if (getJavaVersionFromJavaHome() == JavaVersion.VERSION_18) {
                properties.put("sun.stdout.encoding", getDefaultCharacterEncoding());
                properties.put("sun.stderr.encoding", getDefaultCharacterEncoding());
            } else if (getJavaVersionFromJavaHome().isCompatibleWith(JavaVersion.VERSION_19)) {
                properties.put("stdout.encoding", getDefaultCharacterEncoding());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    		os.Stderr.Write(stdin)
    		fmt.Fprint(os.Stderr, "EOF\n")
    	}
    	stdout, stderr, ok := run(stdin, args)
    	if *debugGcc {
    		os.Stderr.Write(stdout)
    		os.Stderr.Write(stderr)
    	}
    	if !ok {
    		os.Stderr.Write(stderr)
    		os.Exit(2)
    	}
    	return string(stdout), string(stderr)
    }
    
    // A typeConv is a translator from dwarf types to Go types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top