- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Sprintf (1.3 sec)
-
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
var args string if len(t.Args) == 0 { args = fmt.Sprintf("%*sArgs: nil", indent+2, "") } else { args = fmt.Sprintf("%*sArgs:", indent+2, "") for i, a := range t.Args { args += "\n" args += a.goString(indent+4, fmt.Sprintf("%d: ", i)) } } return fmt.Sprintf("%*s%sTemplate (%p):\n%s\n%s", indent, "", field, t, t.Name.goString(indent+2, "Name: "), args) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
foundMain = true break } } if !foundMain { fmt.Fprintf(os.Stderr, "go: warning: %q matched only non-main packages\n", m.Pattern()) } } return mains } type mainPackageError struct { importPath string } func (e *mainPackageError) Error() string { return fmt.Sprintf("package %s is not a main package", e.importPath) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
// so the object file may refer to the absolute directory // containing the package. fmt.Fprintf(h, "dir %s\n", p.Dir) } if p.Module != nil { fmt.Fprintf(h, "go %s\n", p.Module.GoVersion) } fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch) fmt.Fprintf(h, "import %q\n", p.ImportPath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
if debugGCProg { fmt.Fprintf(os.Stderr, "ld: start GCProg %s\n", name) p.w.Debug(os.Stderr) } } func (p *GCProg) writeByte() func(x byte) { return func(x byte) { p.sym.AddUint8(x) } } func (p *GCProg) End(size int64) { p.w.ZeroUntil(size / int64(p.ctxt.Arch.PtrSize)) p.w.End() if debugGCProg { fmt.Fprintf(os.Stderr, "ld: end GCProg\n") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// symbols, methods, and fields. // // # Print Go environment information // // Usage: // // go env [-json] [-changed] [-u] [-w] [var ...] // // Env prints Go environment information. // // By default env prints information as a shell script // (on Windows, a batch file). If one or more variable // names is given as arguments, env prints the value of // each named variable on its own line. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm9.go
// Build the opcode table func buildop(ctxt *obj.Link) { // Limit PC-relative prefix instruction usage to supported and tested targets. pfxEnabled = buildcfg.GOPPC64 >= 10 && buildcfg.GOOS == "linux" cfg := fmt.Sprintf("power%d/%s/%s", buildcfg.GOPPC64, buildcfg.GOARCH, buildcfg.GOOS) if cfg == buildOpCfg { // Already initialized to correct OS/cpu; stop now. // This happens in the cmd/asm tests,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
a5 = int(p.GetTo2().Class) if a5 == 0 { a5 = c.aclass(p.GetTo2()) p.GetTo2().Class = int8(a5) } } if false { fmt.Printf("oplook %v %d %d %d %d %d\n", p.As, a1, a2, a3, a4, a5) fmt.Printf("\t\t%d %d\n", p.From.Type, p.To.Type) } ops := oprange[p.As&obj.AMask] c1 := &xcmp[a1] c2 := &xcmp[a2] c3 := &xcmp[a3] c4 := &xcmp[a4] c5 := &xcmp[a5]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/asmz.go
cmp[4][op.a5] && cmp[5][op.a6] { p.Optab = uint16(cap(optab) - cap(ops) + i + 1) return op } } // Cannot find a case; abort. s := "" for _, a := range args { s += fmt.Sprintf(" %v", DRconv(int(a))) } c.ctxt.Diag("illegal combination %v%v\n", p.As, s) c.ctxt.Diag("prog: %v\n", p) return nil } func cmp(a int, b int) bool { if a == b { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 17:46:09 UTC 2024 - 176.7K bytes - Viewed (0) -
src/cmd/internal/obj/x86/asm6.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 146.9K bytes - Viewed (0) -
doc/go1.17_spec.html
</p> <pre class="grammar"> Function Behavior print prints all arguments; formatting of arguments is implementation-specific println like print but prints spaces between arguments and a newline at the end </pre> <p> Implementation restriction: <code>print</code> and <code>println</code> need not accept arbitrary argument types, but printing of boolean, numeric, and string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0)