- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 872 for printb (0.15 sec)
-
src/go/ast/print.go
} }() // print x if x == nil { p.printf("nil\n") return } p.print(reflect.ValueOf(x)) p.printf("\n") return } // Print prints x to standard output, skipping nil fields. // Print(fset, x) is the same as Fprint(os.Stdout, fset, x, NotNilFilter). func Print(fset *token.FileSet, x any) error { return Fprint(os.Stdout, fset, x, NotNilFilter) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
src/fmt/print.go
return } // Print formats using the default formats for its operands and writes to standard output. // Spaces are added between operands when neither is a string. // It returns the number of bytes written and any write error encountered. func Print(a ...any) (n int, err error) { return Fprint(os.Stdout, a...) } // Sprint formats using the default formats for its operands and returns the resulting string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/output/output.go
// TextPrinter implements Printer interface for generic text output type TextPrinter struct { } // PrintObj is an implementation of ResourcePrinter.PrintObj that prints object func (tp *TextPrinter) PrintObj(obj runtime.Object, writer io.Writer) error { _, err := fmt.Fprintf(writer, "%+v\n", obj) return err } // Fprintf is a wrapper around fmt.Fprintf
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 08:22:45 UTC 2024 - 8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
src/testing/benchmark.go
sub.hasSub.Store(true) } if b.chatty != nil { labelsOnce.Do(func() { fmt.Printf("goos: %s\n", runtime.GOOS) fmt.Printf("goarch: %s\n", runtime.GOARCH) if b.importPath != "" { fmt.Printf("pkg: %s\n", b.importPath) } if cpu := sysinfo.CPUName(); cpu != "" { fmt.Printf("cpu: %s\n", cpu) } }) if !hideStdoutForTesting { if b.chatty.json {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0)