- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,381 for sfprintf (0.16 sec)
-
src/cmd/compile/internal/syntax/parser_test.go
if !bytes.Equal(bytes1, bytes2) { fmt.Printf("--- %s ---\n", filename) fmt.Printf("%s\n", bytes1) fmt.Println() fmt.Printf("--- %s ---\n", filename) fmt.Printf("%s\n", bytes2) fmt.Println() t.Error("printed syntax trees do not match") } } func TestIssue17697(t *testing.T) { _, err := Parse(nil, bytes.NewReader(nil), nil, nil, 0) // return with parser error, don't panic if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 16:30:19 UTC 2024 - 12.2K 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) -
src/cmd/vendor/github.com/google/pprof/internal/report/report.go
if err != nil { return err } ns := annotateAssembly(insts, sns, s.file) fmt.Fprintf(w, "ROUTINE ======================== %s\n", s.sym.Name[0]) for _, name := range s.sym.Name[1:] { fmt.Fprintf(w, " AKA ======================== %s\n", name) } fmt.Fprintf(w, "%10s %10s (flat, cum) %s of Total\n", rpt.formatValue(flatSum), rpt.formatValue(cumSum),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 37.5K bytes - Viewed (0) -
pkg/log/scope.go
for k, v := range scopes { s[k] = v } return s } // Fatal uses fmt.Sprint to construct and log a message at fatal level. func (s *Scope) Fatal(msg any) { if s.GetOutputLevel() >= FatalLevel { s.emit(zapcore.FatalLevel, fmt.Sprint(msg)) } } // Fatalf uses fmt.Sprintf to construct and log a message at fatal level. func (s *Scope) Fatalf(format string, args ...any) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 16:47:01 UTC 2024 - 10.7K bytes - Viewed (0) -
src/cmd/trace/main.go
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/log/log.go
} // Fatal is equivalent to l.Print() followed by a call to [os.Exit](1). func (l *Logger) Fatal(v ...any) { l.Output(2, fmt.Sprint(v...)) os.Exit(1) } // Fatalf is equivalent to l.Printf() followed by a call to [os.Exit](1). func (l *Logger) Fatalf(format string, v ...any) { l.Output(2, fmt.Sprintf(format, v...)) os.Exit(1) } // Fatalln is equivalent to l.Println() followed by a call to [os.Exit](1).
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/doc/pkg.go
tparam := pkg.formatTypeParams(n.TypeParams, depth) param := joinStrings(params) if len(results) == 0 { return fmt.Sprintf("func%s(%s)", tparam, param) } result := joinStrings(results) if !needParens { return fmt.Sprintf("func%s(%s) %s", tparam, param, result) } return fmt.Sprintf("func%s(%s) (%s)", tparam, param, result) case *ast.StructType: if n.Fields == nil || len(n.Fields.List) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go
case Endian: case Imm: return fmt.Sprintf("$%d", uint32(a)) case Mem: case PCRel: addr := uint32(pc) + 8 + uint32(a) if s, base := symname(uint64(addr)); s != "" && uint64(addr) == base { return fmt.Sprintf("%s(SB)", s) } return fmt.Sprintf("%#x", addr) case Reg: if a < 16 { return fmt.Sprintf("R%d", int(a)) } case RegList:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/cover/cover.go
// Declare the coverage struct as a package-level variable. fmt.Fprintf(w, "\nvar %s = struct {\n", *varVar) fmt.Fprintf(w, "\tCount [%d]uint32\n", len(f.blocks)) fmt.Fprintf(w, "\tPos [3 * %d]uint32\n", len(f.blocks)) fmt.Fprintf(w, "\tNumStmt [%d]uint16\n", len(f.blocks)) fmt.Fprintf(w, "} {\n") // Initialize the position array field. fmt.Fprintf(w, "\tPos: [3 * %d]uint32{\n", len(f.blocks))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.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)