- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,061 for sfprintf (0.16 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
// example, fmt.Printf forwards to fmt.Fprintf. We avoid relying on the // driver applying analyzers to standard packages because "go vet" does // not do so with gccgo, and nor do some other build systems. var isPrint = stringSet{ "fmt.Appendf": true, "fmt.Append": true, "fmt.Appendln": true, "fmt.Errorf": true, "fmt.Fprint": true, "fmt.Fprintf": true, "fmt.Fprintln": true,
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/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) -
cmd/kubeadm/app/util/apiclient/wait.go
portScheduler = "10259" } urlFormat := "https://127.0.0.1:%s/healthz" return []controlPlaneComponent{ {name: "kube-apiserver", url: fmt.Sprintf(urlFormat, portAPIServer)}, {name: "kube-controller-manager", url: fmt.Sprintf(urlFormat, portKCM)}, {name: "kube-scheduler", url: fmt.Sprintf(urlFormat, portScheduler)}, } } // WaitForControlPlaneComponents waits for all control plane components to report "ok" on /healthz
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/compile/internal/ir/fmt.go
if n.Value != nil { fmt.Fprintf(s, ", %v", n.Value) } fmt.Fprint(s, " =") } fmt.Fprintf(s, " range %v { %v }", n.X, n.Body) if n.DistinctVars { fmt.Fprint(s, " /* distinct vars */") } case OSELECT: n := n.(*SelectStmt) if !exportFormat { fmt.Fprintf(s, "%v statement", n.Op()) break } fmt.Fprintf(s, "select { %v }", n.Cases)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
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)