- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,652 for printIt (0.19 sec)
-
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/go/printer/printer.go
commentNewline bool // true if the comment group contains newlines } type printer struct { // Configuration (does not change after initialization) Config fset *token.FileSet // Current state output []byte // raw printer result indent int // current indentation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
p.print(newline) for i, c := range list { p.printCommClause(c, i+1 == len(list)) p.print(newline) } } p.print(_Rbrace) } func (p *printer) printCaseClause(c *CaseClause, braces bool) { if c.Cases != nil { p.print(_Case, blank, c.Cases) } else { p.print(_Default) } p.print(_Colon) if len(c.Body) > 0 { p.print(newline, indent) p.printStmtList(c.Body, braces)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K 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) -
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/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/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/go/doc/comment/print.go
package comment import ( "bytes" "fmt" "strings" ) // A Printer is a doc comment printer. // The fields in the struct can be filled in before calling // any of the printing methods // in order to customize the details of the printing process. type Printer struct { // HeadingLevel is the nesting level used for // HTML and Markdown headings.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.6K bytes - Viewed (0) -
test/live_regabi.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 - 18.4K 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)