Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,344 for print_ (0.11 sec)

  1. src/cmd/go/internal/tool/tool.go

    	}
    	if err != nil {
    		// Only print about the exit status if the command
    		// didn't even run (not an ExitError) or it didn't exit cleanly
    		// or we're printing command lines too (-x mode).
    		// Assume if command exited cleanly (even with non-zero status)
    		// it printed any messages it wanted to print.
    		if e, ok := err.(*exec.ExitError); !ok || !e.Exited() || cfg.BuildX {
    			fmt.Fprintf(os.Stderr, "go tool %s: %s\n", toolName, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    	flag.Var(&value, name, usage)
    	return &value
    }
    
    // triState implements flag.Value, flag.Getter, and flag.boolFlag.
    // They work like boolean flags: we can say vet -printf as well as vet -printf=true
    func (ts *triState) Get() interface{} {
    	return *ts == setTrue
    }
    
    func (ts triState) isTrue() bool {
    	return ts == setTrue
    }
    
    func (ts *triState) Set(value string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/fmt/doc.go

    	Too few arguments: %!verb(MISSING)
    		Printf("hi%d"):            hi%!d(MISSING)
    	Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC)
    		Printf("%*s", 4.5, "hi"):  %!(BADWIDTH)hi
    		Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi
    	Invalid or invalid use of argument index: %!(BADINDEX)
    		Printf("%*[2]d", 7):       %!d(BADINDEX)
    		Printf("%.[2]d", 7):       %!d(BADINDEX)
    
    All errors begin with the string "%!" followed sometimes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. hack/print-workspace-status.sh

    # build stamping with git information.
    #
    # It is still useful for obtaining kube::version::get_version_vars without
    # sourcing Kubernetes build internals.
    #
    # Usage: `hack/print-workspace-status.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    
    source "${KUBE_ROOT}/hack/lib/version.sh"
    kube::version::get_version_vars
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 06 11:19:29 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    		if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
    			buf[0] += a - A;
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    	printf("}\n\n");
    	
    	printf("\n\n// Signal table\n");
    	printf("var signals = [...]string {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], intcmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i];
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (1)
  6. staging/src/k8s.io/cli-runtime/pkg/printers/warningprinter.go

    	h := &WarningPrinter{out: out, opts: opts}
    	return h
    }
    
    // Print prints warnings to the configured writer.
    func (w *WarningPrinter) Print(message string) {
    	if w.opts.Color {
    		fmt.Fprintf(w.out, "%sWarning:%s %s\n", yellowColor, resetColor, message)
    	} else {
    		fmt.Fprintf(w.out, "Warning: %s\n", message)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 23 11:10:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/bug/bug.go

    `
    
    func printGoVersion(w io.Writer) {
    	fmt.Fprintf(w, "### What version of Go are you using (`go version`)?\n\n")
    	fmt.Fprintf(w, "<pre>\n")
    	fmt.Fprintf(w, "$ go version\n")
    	fmt.Fprintf(w, "go version %s %s/%s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH)
    	fmt.Fprintf(w, "</pre>\n")
    	fmt.Fprintf(w, "\n")
    }
    
    func printEnvDetails(w io.Writer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/cmd/trace/main.go

    	log.Print("Preparing trace for viewer...")
    	parsed, err := parseTraceInteractive(tracef, traceSize)
    	if err != nil {
    		logAndDie(err)
    	}
    	// N.B. tracef not needed after this point.
    	// We might double-close, but that's fine; we ignore the error.
    	tracef.Close()
    
    	// Print a nice message for a partial trace.
    	if parsed.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/example_test.go

    		Uses:  make(map[*syntax.Name]types2.Object),
    	}
    	pkg := mustTypecheck(input, nil, &info)
    
    	// Print package-level variables in initialization order.
    	fmt.Printf("InitOrder: %v\n\n", info.InitOrder)
    
    	// For each named object, print the line and
    	// column of its definition and each of its uses.
    	fmt.Println("Defs and Uses of each named object:")
    	usesByObj := make(map[types2.Object][]string)
    	for id, obj := range info.Uses {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/dryrun/dryrun.go

    		}
    	} else {
    		fmt.Printf("[dryrun] Wrote certificates and kubeconfig files to the %q directory\n", manifestDir)
    	}
    
    	fmt.Println("[dryrun] The certificates or kubeconfig files would not be printed due to their sensitive nature")
    	fmt.Printf("[dryrun] Please examine the %q directory for details about what would be written\n", manifestDir)
    
    	// Print kubelet config manifests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top