- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,860 for printsp (0.12 sec)
-
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/vet/testdata/print/print.go
fmt.Printf("%v", &stringerv) fmt.Printf("%T", &stringerv) fmt.Printf("%s", &embeddedStringerv) fmt.Printf("%v", &embeddedStringerv) fmt.Printf("%T", &embeddedStringerv) fmt.Printf("%v", notstringerv) fmt.Printf("%T", notstringerv) fmt.Printf("%q", stringerarrayv) fmt.Printf("%v", stringerarrayv) fmt.Printf("%s", stringerarrayv) fmt.Printf("%v", notstringerarrayv) fmt.Printf("%T", notstringerarrayv)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 27.5K 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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
"fmt.Fprint": true, "fmt.Fprintf": true, "fmt.Fprintln": true, "fmt.Print": true, "fmt.Printf": true, "fmt.Println": true, "fmt.Sprint": true, "fmt.Sprintf": true, "fmt.Sprintln": true, "runtime/trace.Logf": true, "log.Print": true, "log.Printf": true, "log.Println": true, "log.Fatal": true, "log.Fatalf": 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/fmt/print.go
// The String method is used to print values passed as an operand // to any format that accepts a string or to an unformatted printer // such as [Print]. type Stringer interface { String() string } // GoStringer is implemented by any value that has a GoString method, // which defines the Go syntax for that value. // The GoString method is used to print values passed as an operand // to a %#v format.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
test/live.go
printnl() } printnl() } printnl() } // issue 8097: mishandling of x = x during return. func f39() (x []int) { x = []int{1} printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+$" return x } func f39a() (x []int) { x = []int{1} printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+$" return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18K bytes - Viewed (0) -
src/fmt/example_test.go
integer := 23 // Each of these prints "23" (without the quotes). fmt.Println(integer) fmt.Printf("%v\n", integer) fmt.Printf("%d\n", integer) // The special verb %T shows the type of an item rather than its value. fmt.Printf("%T %T\n", integer, &integer) // Result: int *int // Println(x) is the same as Printf("%v\n", x) so we will use only Printf
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 21:03:10 UTC 2019 - 11.8K 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) -
src/cmd/doc/pkg.go
} } return true } // valueDoc prints the docs for a constant or variable. The printed map records // which values have been printed already to avoid duplication. Otherwise, a // declaration like: // // const ( c = 1; C = 2 ) // // … could be printed twice if the -u flag is set, as it matches twice. func (pkg *Package) valueDoc(value *doc.Value, printed map[*ast.GenDecl]bool) { if printed[value.Decl] { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0)