- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,388 for vfprintf (0.53 sec)
-
src/cmd/covdata/covdata.go
if *verbflag >= vlevel { fmt.Printf(s, a...) fmt.Printf("\n") } } func warn(s string, a ...interface{}) { fmt.Fprintf(os.Stderr, "warning: ") fmt.Fprintf(os.Stderr, s, a...) fmt.Fprintf(os.Stderr, "\n") if *hwflag { panic("unexpected warning") } } func fatal(s string, a ...interface{}) { fmt.Fprintf(os.Stderr, "error: ") fmt.Fprintf(os.Stderr, s, a...) fmt.Fprintf(os.Stderr, "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go
// Package printf defines an Analyzer that checks consistency // of Printf format strings and arguments. // // # Analyzer printf // // printf: check consistency of Printf format strings and arguments // // The check applies to calls of the formatting functions such as // [fmt.Printf] and [fmt.Sprintf], as well as any detected wrappers of // those functions such as [log.Printf]. It reports a variety of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.2K bytes - Viewed (0) -
src/go/doc/testdata/benchmark.go
benchName = fmt.Sprintf("%s-%d", Benchmark.Name, procs) } fmt.Printf("%s\t", benchName) r := b.run() if b.failed { // The output could be very long here, but probably isn't. // We print it all, regardless, because we don't want to trim the reason // the benchmark failed. fmt.Printf("--- FAIL: %s\n%s", benchName, b.output) continue } fmt.Printf("%v\n", r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 7.4K bytes - Viewed (0) -
src/cmd/link/linkbig_test.go
fmt.Fprintf(&w, "\t\"fmt\"\n") fmt.Fprintf(&w, ")\n\n") for i := 0; i < FN; i++ { fmt.Fprintf(&w, "func bigfn%d()\n", i) } fmt.Fprintf(&w, "\nfunc main() {\n") // There are lots of dummy code generated in the .s files just to generate a lot // of text. Link them in but guard their call so their code is not executed but // the main part of the program can be run.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:22:14 UTC 2022 - 3.5K bytes - Viewed (0) -
internal/logger/console.go
if msg == "" { fmt.Fprintln(Output, args...) } else { fmt.Fprintf(Output, msg, args...) } } type errorMsg struct{} var errorMessage errorMsg func (i errorMsg) json(msg string, args ...interface{}) { var message string if msg != "" { message = fmt.Sprintf(msg, args...) } else { message = fmt.Sprint(args...) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
operator/cmd/mesh/shared.go
} type Printer interface { Printf(format string, a ...any) Println(string) } func NewPrinterForWriter(w io.Writer) Printer { return &writerPrinter{writer: w} } type writerPrinter struct { writer io.Writer } func (w *writerPrinter) Printf(format string, a ...any) { _, _ = fmt.Fprintf(w.writer, format, a...) } func (w *writerPrinter) Println(str string) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 5.1K bytes - Viewed (0) -
test/convinline.go
switch t2 { case "int": return fmt.Sprintf("%s(%#x)", t2, int(v)) case "int8": return fmt.Sprintf("%s(%#x)", t2, int8(v)) case "int16": return fmt.Sprintf("%s(%#x)", t2, int16(v)) case "int32": return fmt.Sprintf("%s(%#x)", t2, int32(v)) case "int64": return fmt.Sprintf("%s(%#x)", t2, int64(v)) case "uint": return fmt.Sprintf("%s(%#x)", t2, uint(v)) case "uint8":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 13:46:05 UTC 2022 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/constFoldGen.go
fmt.Fprintf(w, "\ty = %d\n", d) fmt.Fprintf(w, "\tr = x %s y\n", o.symbol) want := ansS(c, d, s.name, o.symbol) fmt.Fprintf(w, "\tif r != %s {\n", want) fmt.Fprintf(w, "\t\tt.Errorf(\"%d %%s %d = %%d, want %s\", %q, r)\n", c, d, want, o.symbol) fmt.Fprintf(w, "\t}\n") } } fmt.Fprintf(w, "}\n") } } // Special signed/unsigned cases for shifts for _, ls := range szs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.4K bytes - Viewed (0) -
src/cmd/go/testdata/addmod.go
if err != nil { log.Printf("%s: %v", arg, err) exitCode = 1 continue } a := new(txtar.Archive) title := arg if !strings.Contains(arg, "@") { title += "@" + vers } a.Comment = []byte(fmt.Sprintf("module %s\n\n", title)) a.Files = []txtar.File{ {Name: ".mod", Data: mod}, {Name: ".info", Data: info}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 30 19:41:54 UTC 2023 - 3.5K bytes - Viewed (0) -
src/syscall/mkasm.go
if !trampolines[fn] { trampolines[fn] = true fmt.Fprintf(&out, "TEXT ยท%s_trampoline(SB),NOSPLIT,$0-0\n", fn) if goos == "openbsd" && arch == "ppc64" { fmt.Fprintf(&out, "\tCALL\t%s(SB)\n", fn) fmt.Fprintf(&out, "\tRET\n") } else { fmt.Fprintf(&out, "\tJMP\t%s(SB)\n", fn) } } } err = os.WriteFile(fmt.Sprintf("zsyscall_%s_%s.s", goos, arch), out.Bytes(), 0644) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 03:24:15 UTC 2023 - 1.9K bytes - Viewed (0)