- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,114 for qprint (0.12 sec)
-
src/cmd/internal/obj/util.go
fmt.Fprintf(w, "$%d", a.Offset) } else { fmt.Fprintf(w, "$%d-%d", a.Offset, a.Val.(int32)) } case TYPE_FCONST: str := fmt.Sprintf("%.17g", a.Val.(float64)) // Make sure 1 prints as 1.0 if !strings.ContainsAny(str, ".e") { str += ".0" } fmt.Fprintf(w, "$(%s)", str) case TYPE_SCONST: fmt.Fprintf(w, "$%q", a.Val.(string)) case TYPE_ADDR: io.WriteString(w, "$")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 17.5K bytes - Viewed (0) -
src/go/printer/performance_test.go
declSize int64 ) func testprint(out io.Writer, node ast.Node) { if err := (&Config{TabIndent | UseSpaces | normalizeNumbers, 8, 0}).Fprint(out, fset, node); err != nil { log.Fatalf("print error: %s", err) } } // cannot initialize in init because (printer) Fprint launches goroutines. func initialize() { const filename = "testdata/parser.go" src, err := os.ReadFile(filename) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 15:10:10 UTC 2022 - 1.8K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
for _, aName := range analyzerNames { b.WriteString(fmt.Sprintf("* %s:\n", aName)) a := nameToAnalyzer[aName] if a.Metadata().Description != "" { b.WriteString(fmt.Sprintf(" %s\n", a.Metadata().Description)) } } return b.String() } func analyzeTargetAsString() string { if allNamespaces { return "all namespaces" } return fmt.Sprintf("namespace: %s", selectedNamespace) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 17K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
p.print(_Func) p.printSignature(n) case *InterfaceType: p.print(_Interface) if p.linebreaks && len(n.MethodList) > 1 { p.print(blank) p.print(_Lbrace) p.print(newline, indent) p.printMethodList(n.MethodList) p.print(outdent, newline) } else { p.print(_Lbrace) p.printMethodList(n.MethodList) } p.print(_Rbrace) case *MapType:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/report.go
// Short instruction, print loc on the same line. fmt.Fprintf(w, "%10s %10s %10x: %-40s;%s\n", valueOrDot(n.flatValue(), rpt), valueOrDot(n.cumValue(), rpt), n.address, n.instruction, locStr, ) default: // Long instruction, print loc on a separate line. fmt.Fprintf(w, "%74s;%s\n", "", locStr) fmt.Fprintf(w, "%10s %10s %10x: %s\n",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 37.5K 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) -
src/log/log.go
}) } } // Print calls l.Output to print to the logger. // Arguments are handled in the manner of [fmt.Print]. func (l *Logger) Print(v ...any) { l.output(0, 2, func(b []byte) []byte { return fmt.Append(b, v...) }) } // Printf calls l.Output to print to the logger. // Arguments are handled in the manner of [fmt.Printf]. func (l *Logger) Printf(format string, v ...any) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 12.9K 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) -
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)