- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 586 for print_ (0.11 sec)
-
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
return fmt.Fprintf(writer, format, args...) } // Fprintln is a wrapper around fmt.Fprintln func (tp *TextPrinter) Fprintln(writer io.Writer, args ...interface{}) (n int, err error) { return fmt.Fprintln(writer, args...) } // Printf is a wrapper around fmt.Printf func (tp *TextPrinter) Printf(format string, args ...interface{}) (n int, err error) { return fmt.Printf(format, args...) }
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/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) -
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) -
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) -
src/go/types/example_test.go
log.Fatal(err) } // Print the method sets of Celsius and *Celsius. celsius := pkg.Scope().Lookup("Celsius").Type() for _, t := range []types.Type{celsius, types.NewPointer(celsius)} { fmt.Printf("Method set of %s:\n", t) mset := types.NewMethodSet(t) for i := 0; i < mset.Len(); i++ { fmt.Println(mset.At(i)) } fmt.Println() } // Print the method set of S.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/mksizeclasses.go
fmt.Fprintf(w, "minHeapAlign = %d\n", minHeapAlign) fmt.Fprintf(w, "_MaxSmallSize = %d\n", maxSmallSize) fmt.Fprintf(w, "smallSizeDiv = %d\n", smallSizeDiv) fmt.Fprintf(w, "smallSizeMax = %d\n", smallSizeMax) fmt.Fprintf(w, "largeSizeDiv = %d\n", largeSizeDiv) fmt.Fprintf(w, "_NumSizeClasses = %d\n", len(classes)) fmt.Fprintf(w, "_PageShift = %d\n", pageShift) fmt.Fprintf(w, "maxObjsPerSpan = %d\n", maxObjsPerSpan(classes))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/config.go
kinds := []string{} cmd := &cobra.Command{ Use: fmt.Sprintf("%s-defaults", action), Short: fmt.Sprintf("Print default %s configuration, that can be used for 'kubeadm %s'", action, action), Long: fmt.Sprintf(dedent.Dedent(` This command prints objects such as the default %s configuration that is used for 'kubeadm %s'.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 18.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
} return cmp.Compare(a.Name, b.Name) }) fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE") for _, pol := range pols { fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", pol.Namespace, pol.Name, pol.Action, pol.Scope) } return w.Flush() } // PrintPolicyDump prints the relevant services in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintPolicyDump(filter PolicyFilter, outputFormat string) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 2.4K bytes - Viewed (0)