- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for t3copy_ssa (0.11 sec)
-
src/cmd/compile/internal/test/testdata/copy_test.go
} } //go:noinline func tu2copy_ssa(docopy bool, data [2]byte, x *[2]byte) { if docopy { *x = data } } func testUnalignedCopy2(t *testing.T) { var a [2]byte t2 := [2]byte{2, 3} tu2copy_ssa(true, t2, &a) want2 := [2]byte{2, 3} if a != want2 { t.Errorf("tu2copy got=%v, want %v\n", a, want2) } } //go:noinline func tu3copy_ssa(docopy bool, data [3]byte, x *[3]byte) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 150.2K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/copyGen.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 t%dcopy_ssa(y, x *[%d]byte) {\n", s, s) fmt.Fprintf(w, " *y = *x\n") fmt.Fprintf(w, "}\n") // testing harness fmt.Fprintf(w, "func testCopy%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 - 3.6K bytes - Viewed (0)