- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for dumpFiles (0.17 sec)
-
src/debug/dwarf/line_test.go
t.Log("File tables do not match. Got:") dumpFiles(t, lr.Files()) t.Log("Want:") dumpFiles(t, files[0]) t.Fail() } files = files[1:] } } // Compare line tables. if !compareLines(t, got, want) { t.Log("Line tables do not match. Got:") dumpLines(t, got) t.Log("Want:") dumpLines(t, want) t.FailNow() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:36 UTC 2023 - 14.5K bytes - Viewed (0) -
src/cmd/covdata/tool_test.go
want0 := "mode: set" if lines[0] != want0 { dumplines(lines[0:10]) t.Errorf("textfmt: want %s got %s", want0, lines[0]) } want1 := mainPkgPath + "/prog1.go:13.14,15.2 1 1" if lines[1] != want1 { dumplines(lines[0:10]) t.Errorf("textfmt: want %s got %s", want1, lines[1]) } } func dumplines(lines []string) { for i := range lines { fmt.Fprintf(os.Stderr, "%s\n", lines[i])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug_lines_test.go
} if s := stderr.String(); s != "" { t.Fatalf("Wanted empty stderr, instead got:\n%s\n", s) } dumpFile := filepath.Join(tmpdir, function+"_01__genssa.dump") dumpBytes, err := os.ReadFile(dumpFile) if err != nil { t.Fatalf("Could not read dump file %s, err=%v", dumpFile, err) } return dumpBytes } func sortInlineStacks(x [][]int) { sort.Slice(x, func(i, j int) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:24:52 UTC 2023 - 8.4K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/funcprops_test.go
"acrosscall", "calls", "returns2"} for _, tc := range testcases { dumpfile, err := gatherPropsDumpForFile(t, tc, td) if err != nil { t.Fatalf("dumping func props for %q: error %v", tc, err) } // Read in the newly generated dump. dentries, dcsites, derr := readDump(t, dumpfile) if derr != nil { t.Fatalf("reading func prop dump: %v", derr) } if *remasterflag {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 15K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
if err != nil { f.Warnl(src.NoXPos, "Unable to create after-phase dump file %s", fname) return nil } return fi } // dumpFile creates a file from the phase name and function name // Dumping is done to files to avoid buffering huge strings before // output. func (f *Func) dumpFile(phaseName string) { fi := f.DumpFileForPhase(phaseName) if fi != nil { p := stringFuncPrinter{w: fi} fprintFunc(p, f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0)