- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for printTrace (0.13 sec)
-
src/go/types/gotype.go
) func initParserMode() { if *allErrors { parserMode |= parser.AllErrors } if *printAST { sequential = true } if *printTrace { parserMode |= parser.Trace sequential = true } if *parseComments && (*printAST || *printTrace) { parserMode |= parser.ParseComments } } const usageString = `usage: gotype [flags] [path ...]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 8.3K bytes - Viewed (0) -
src/go/printer/testdata/parser.go
// (it is token.ILLEGAL), so don't print it. if p.trace && p.pos.IsValid() { s := p.tok.String() switch { case p.tok.IsLiteral(): p.printTrace(s, p.lit) case p.tok.IsOperator(), p.tok.IsKeyword(): p.printTrace("\"" + s + "\"") default: p.printTrace(s) } } p.pos, p.tok, p.lit = p.scanner.Scan() } // Consume a comment and return it and the line on which it ends.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0) -
src/go/parser/parser.go
// (it is token.ILLEGAL), so don't print it. if p.trace && p.pos.IsValid() { s := p.tok.String() switch { case p.tok.IsLiteral(): p.printTrace(s, p.lit) case p.tok.IsOperator(), p.tok.IsKeyword(): p.printTrace("\"" + s + "\"") default: p.printTrace(s) } } for { p.pos, p.tok, p.lit = p.scanner.Scan() if p.tok == token.COMMENT {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
test/print.go
// by the print builtin. This test is not exhaustive, // we're just checking that the formatting is correct. package main func main() { println((interface{})(nil)) // printeface println((interface { // printiface f() })(nil)) println((map[int]int)(nil)) // printpointer println(([]int)(nil)) // printslice println(int64(-7)) // printint println(uint64(7)) // printuint
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/cmd/internal/goobj/builtinlist.go
{"runtime.printhex", 1}, {"runtime.printuint", 1}, {"runtime.printcomplex", 1}, {"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},
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/runtime/print.go
gwrite(bytes(s)) } func printslice(s []byte) { 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). //
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/typecheck/_builtin/runtime.go
func printfloat(float64) func printint(int64) func printhex(uint64) func printuint(uint64) func printcomplex(complex128) func printstring(string) func printpointer(any) func printuintptr(uintptr) func printiface(any) func printeface(any) func printslice(any) func printnl() func printsp() func printlock() func printunlock() func concatstring2(*[32]byte, string, string) string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
{"printhex", funcTag, 25}, {"printuint", funcTag, 25}, {"printcomplex", funcTag, 27}, {"printstring", funcTag, 29}, {"printpointer", funcTag, 30}, {"printuintptr", funcTag, 31}, {"printiface", funcTag, 30}, {"printeface", funcTag, 30}, {"printslice", funcTag, 30}, {"printnl", funcTag, 9}, {"printsp", funcTag, 9}, {"printlock", funcTag, 9}, {"printunlock", funcTag, 9}, {"concatstring2", funcTag, 34},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/report.go
measurement.Percentage(flatSum, rpt.total), item.CumFormat, measurement.Percentage(item.Cum, rpt.total), item.Name, inl) } return nil } // printTraces prints all traces from a profile. func printTraces(w io.Writer, rpt *Report) error { fmt.Fprintln(w, strings.Join(ProfileLabels(rpt), "\n")) prof := rpt.prof o := rpt.options
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 37.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
continue } var on *ir.Name switch n.Type().Kind() { case types.TINTER: if n.Type().IsEmptyInterface() { on = typecheck.LookupRuntime("printeface", n.Type()) } else { on = typecheck.LookupRuntime("printiface", n.Type()) } case types.TPTR: if n.Type().Elem().NotInHeap() { on = typecheck.LookupRuntime("printuintptr") n = ir.NewConvExpr(base.Pos, ir.OCONV, nil, n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0)