- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,175 for printi (0.17 sec)
-
src/cmd/vendor/rsc.io/markdown/parse.go
for i := 0; i < v.Len(); i++ { fmt.Fprintf(buf, " ") printb(buf, v.Index(i).Interface().(Block), prefix+"\t") } } func printi(buf *bytes.Buffer, in Inline) { fmt.Fprintf(buf, "%T(", in) v := reflect.ValueOf(in).Elem() text := v.FieldByName("Text") if text.IsValid() { fmt.Fprintf(buf, "%q", text) } inner := v.FieldByName("Inner") if inner.IsValid() { printis(buf, inner.Interface().([]Inline)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/print.go
} 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/go/ast/print.go
} }() // print x if x == nil { p.printf("nil\n") return } p.print(reflect.ValueOf(x)) p.printf("\n") return } // Print prints x to standard output, skipping nil fields. // Print(fset, x) is the same as Fprint(os.Stdout, fset, x, NotNilFilter). func Print(fset *token.FileSet, x any) error { return Fprint(os.Stdout, fset, x, NotNilFilter) }
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/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
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/example_test.go
// 21 bytes written. } // Print, Println, and Printf lay out their arguments differently. In this example // we can compare their behaviors. Println always adds blanks between the items it // prints, while Print adds blanks only between non-string arguments and Printf // does exactly what it is told. // Sprint, Sprintln, Sprintf, Fprint, Fprintln, and Fprintf behave the same as
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 21:03:10 UTC 2019 - 11.8K bytes - Viewed (0) -
src/go/printer/printer.go
printerPool.Put(p) } // fprint implements Fprint and takes a nodesSizes map for setting up the printer state. func (cfg *Config) fprint(output io.Writer, fset *token.FileSet, node any, nodeSizes map[ast.Node]int) (err error) { // print node p := newPrinter(cfg, fset, nodeSizes) defer p.free() if err = p.printNode(node); err != nil { return } // print outstanding comments
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/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/compile/internal/ir/fmt.go
break } fmt.Fprint(s, "for") if n.DistinctVars { fmt.Fprint(s, " /* distinct */") } if simpleinit { fmt.Fprintf(s, " %v;", n.Init()[0]) } else if n.Post != nil { fmt.Fprint(s, " ;") } if n.Cond != nil { fmt.Fprintf(s, " %v", n.Cond) } if n.Post != nil { fmt.Fprintf(s, "; %v", n.Post) } else if simpleinit {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
p.print(_Func) p.printSignature(n) case *InterfaceType: p.print(_Interface) if p.linebreaks && len(n.MethodList) > 1 { p.print(blank) p.print(_Lbrace) p.print(newline, indent) p.printMethodList(n.MethodList) p.print(outdent, newline) } else { p.print(_Lbrace) p.printMethodList(n.MethodList) } p.print(_Rbrace) case *MapType:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0)