- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fprintFunc (0.17 sec)
-
src/cmd/compile/internal/ssa/print.go
"cmd/internal/notsha256" "cmd/internal/src" ) func printFunc(f *Func) { f.Logf("%s", f) } func hashFunc(f *Func) []byte { h := notsha256.New() p := stringFuncPrinter{w: h, printDead: true} fprintFunc(p, f) return h.Sum(nil) } func (f *Func) String() string { var buf strings.Builder p := stringFuncPrinter{w: &buf, printDead: true} fprintFunc(p, f) return buf.String() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 3.9K bytes - Viewed (0) -
internal/color/color.go
return color.New(color.FgGreen).SprintFunc() } return fmt.Sprint }() Greenf = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgGreen).SprintfFunc() } return fmt.Sprintf }() GreenBold = func() func(a ...interface{}) string { if IsTerminal() { return color.New(color.FgGreen, color.Bold).SprintFunc() } return fmt.Sprint }()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/printers/tablegenerator.go
// match the number of columns defined for that printer function. func ValidateRowPrintHandlerFunc(printFunc reflect.Value) error { if printFunc.Kind() != reflect.Func { return fmt.Errorf("invalid print handler. %#v is not a function", printFunc) } funcType := printFunc.Type() if funcType.NumIn() != 2 || funcType.NumOut() != 2 { return fmt.Errorf("invalid print handler." +
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/schedule_test.go
Goto("exit")), Bloc("exit", Exit("mem3"))), } for _, c := range cases { schedule(c.f) if !isSingleLiveMem(c.f) { t.Error("single-live-mem restriction not enforced by schedule for func:") printFunc(c.f) } } } func isSingleLiveMem(f *Func) bool { for _, b := range f.Blocks { var liveMem *Value for _, v := range b.Values { for _, w := range v.Args { if w.Type.IsMemory() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 01:46:00 UTC 2022 - 5.6K bytes - Viewed (0)