Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for zero16u2_ssa (0.1 sec)

  1. src/cmd/compile/internal/test/testdata/zero_test.go

    func zero16u2_ssa(t *Z16u2) {
    	t.val = [16]byte{}
    }
    func testZero16u(t *testing.T) {
    	a := Z16u1{false, [16]byte{255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255}}
    	zero16u1_ssa(&a)
    	want := Z16u1{false, [16]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}
    	if a != want {
    		t.Errorf("zero16u2 got=%v, want %v\n", a, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 49.6K bytes
    - Viewed (0)
Back to top