- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 710 for printb (0.14 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/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/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/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) -
src/go/printer/printer.go
// or assignment-compatible to [ast.Expr], [ast.Decl], [ast.Spec], or [ast.Stmt]. func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node any) error { return cfg.fprint(output, fset, node, make(map[ast.Node]int)) } // Fprint "pretty-prints" an AST node to output. // It calls [Config.Fprint] with default settings. // Note that gofmt uses tabs for indentation but spaces for alignment;
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/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/fmt/print.go
return } // Print formats using the default formats for its operands and writes to standard output. // Spaces are added between operands when neither is a string. // It returns the number of bytes written and any write error encountered. func Print(a ...any) (n int, err error) { return Fprint(os.Stdout, a...) } // Sprint formats using the default formats for its operands and returns the resulting string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K 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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
flag.Var(&value, name, usage) return &value } // triState implements flag.Value, flag.Getter, and flag.boolFlag. // They work like boolean flags: we can say vet -printf as well as vet -printf=true func (ts *triState) Get() interface{} { return *ts == setTrue } func (ts triState) isTrue() bool { return ts == setTrue } func (ts *triState) Set(value string) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0)