- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,698 for printsp (0.08 sec)
-
test/print.go
println("one", "two") // printsp // test goprintf defer println((interface{})(nil)) defer println((interface { f() })(nil)) defer println((map[int]int)(nil)) defer println(([]int)(nil)) defer println(int64(-11)) defer println(uint64(12)) defer println(uint32(12)) defer println(uint16(12)) defer println(uint8(12)) defer println(uint(12)) defer println(uintptr(12)) defer println(13.0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 31 17:36:45 UTC 2018 - 1.6K bytes - Viewed (0) -
src/runtime/print.go
sp := (*slice)(unsafe.Pointer(&s)) print("[", len(s), "/", cap(s), "]") printpointer(sp.array) } func printeface(e eface) { print("(", e._type, ",", e.data, ")") } func printiface(i iface) { print("(", i.tab, ",", i.data, ")") } // hexdumpWords prints a word-oriented hex dump of [p, end). // // If mark != nil, it will be called with each printed word's address
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 03:27:26 UTC 2023 - 5.9K bytes - Viewed (0) -
src/cmd/internal/goobj/builtinlist.go
{"runtime.printstring", 1}, {"runtime.printpointer", 1}, {"runtime.printuintptr", 1}, {"runtime.printiface", 1}, {"runtime.printeface", 1}, {"runtime.printslice", 1}, {"runtime.printnl", 1}, {"runtime.printsp", 1}, {"runtime.printlock", 1}, {"runtime.printunlock", 1}, {"runtime.concatstring2", 1}, {"runtime.concatstring3", 1}, {"runtime.concatstring4", 1}, {"runtime.concatstring5", 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 7.4K bytes - Viewed (0) -
src/go/ast/print.go
p.print(x.MapIndex(key)) p.printf("\n") } p.indent-- } p.printf("}") case reflect.Pointer: p.printf("*") // type-checked ASTs may contain cycles - use ptrmap // to keep track of objects that have been printed // already and print the respective line number instead ptr := x.Interface() if line, exists := p.ptrmap[ptr]; exists { p.printf("(obj @ %d)", line) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 5.9K bytes - Viewed (0) -
src/go/doc/comment/print.go
// measured in Unicode code points, // excluding TextPrefix and the newline character. // If TextWidth is zero, it defaults to 80 minus the number of code points in TextPrefix. // If TextWidth is negative, there is no limit. TextWidth int } func (p *Printer) headingLevel() int { if p.HeadingLevel <= 0 { return 3 } return p.HeadingLevel } func (p *Printer) headingID(h *Heading) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/print.go
b = b[:len(b)-1] } return b } // A printer collects the state during printing of a file or expression. type printer struct { bytes.Buffer // output buffer comment []Comment // pending end-of-line comments margin int // left margin (indent), a number of tabs } // printf prints to the buffer. func (p *printer) printf(format string, args ...interface{}) { fmt.Fprintf(p, format, args...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 00:48:59 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/print.go
if w != nil && w.Block == b && !printed[w.ID] { continue outer } } p.value(v, live[v.ID]) printed[v.ID] = true n++ } if m == n { p.startDepCycle() for _, v := range b.Values { if printed[v.ID] { continue } p.value(v, live[v.ID]) printed[v.ID] = true n++ } p.endDepCycle() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 3.9K bytes - Viewed (0) -
test/typeparam/issue50690c.go
package main import ( "fmt" ) type Printer[T ~string] struct { PrintFn func(T) } func Print[T ~string](s T) { fmt.Println(s) } func PrintWithPrinter[T ~string, S interface { ~struct { ID T PrintFn_ func(T) } PrintFn() func(T) }](message T, obj S) { obj.PrintFn()(message) } func main() { PrintWithPrinter( "Hello, world.",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 09 21:26:42 UTC 2022 - 917 bytes - Viewed (0) -
test/typeparam/issue50690b.go
package main import ( "fmt" ) type Printer[T ~string] struct { PrintFn func(T) } func Print[T ~string](s T) { fmt.Println(s) } func PrintWithPrinter[T ~string, S interface { ~struct { ID T PrintFn_ func(T) } PrintFn() func(T) }](message T, obj S) { obj.PrintFn()(message) } type PrintShop[T ~string] struct { ID T PrintFn_ func(T) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 09 21:26:42 UTC 2022 - 916 bytes - Viewed (0) -
cmd/kubeadm/app/util/output/output.go
return fmt.Fprintln(writer, args...) } // Printf is a wrapper around fmt.Printf func (tp *TextPrinter) Printf(format string, args ...interface{}) (n int, err error) { return fmt.Printf(format, args...) } // Println is a wrapper around fmt.Printf func (tp *TextPrinter) Println(args ...interface{}) (n int, err error) { return fmt.Println(args...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 08:22:45 UTC 2024 - 8K bytes - Viewed (0)