- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for f_ssa (0.06 sec)
-
src/cmd/compile/internal/test/testdata/gen/zeroGen.go
fmt.Fprintf(w, " mid [%d]byte\n", s) fmt.Fprintf(w, " post [8]byte\n") fmt.Fprintf(w, "}\n") // function being tested fmt.Fprintf(w, "//go:noinline\n") fmt.Fprintf(w, "func zero%d_ssa(x *[%d]byte) {\n", s, s) fmt.Fprintf(w, " *x = [%d]byte{}\n", s) fmt.Fprintf(w, "}\n") // testing harness fmt.Fprintf(w, "func testZero%d(t *testing.T) {\n", s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/addressed_test.go
} func assertEqual(t *testing.T, x, y int) { if x != y { mypanic(t, fmt.Sprintf("assertEqual failed got %d, want %d", x, y)) } } func TestAddressed(t *testing.T) { x := f1_ssa(2, 3) output += fmt.Sprintln("*x is", *x) output += fmt.Sprintln("Gratuitously use some stack") output += fmt.Sprintln("*x is", *x) assertEqual(t, *x, 9) w := f3a_ssa(6) output += fmt.Sprintln("*w is", *w)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go
fmt.Fprintf(w, " add,sub,mul,div,mod int%d\n", sz) fmt.Fprintf(w, "}\n") } // the function being tested testFunc, err := template.New("testFunc").Parse( `//go:noinline func {{.Name}}_{{.Stype}}_ssa(a, b {{.Stype}}) {{.Stype}} { return a {{.SymFirst}} b } `) if err != nil { panic(err) } // generate our functions to be tested for _, s := range szs { for _, o := range ops {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 5.5K bytes - Viewed (0)