Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCopy7 (0.27 sec)

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

    	if a != want7 {
    		t.Errorf("tu7copy got=%v, want %v\n", a, want7)
    	}
    }
    func TestCopy(t *testing.T) {
    	testCopy1(t)
    	testCopy2(t)
    	testCopy3(t)
    	testCopy4(t)
    	testCopy5(t)
    	testCopy6(t)
    	testCopy7(t)
    	testCopy8(t)
    	testCopy9(t)
    	testCopy10(t)
    	testCopy15(t)
    	testCopy16(t)
    	testCopy17(t)
    	testCopy23(t)
    	testCopy24(t)
    	testCopy25(t)
    	testCopy31(t)
    	testCopy32(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 150.2K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    		ax := ValueOf(struct{ x []int }{test.orig}).Field(0)
    		shouldPanic("using unexported field", func() { Append(ax, e0...) })
    		shouldPanic("using unexported field", func() { AppendSlice(ax, e1) })
    	}
    }
    
    func TestCopy(t *testing.T) {
    	a := []int{1, 2, 3, 4, 10, 9, 8, 7}
    	b := []int{11, 22, 33, 44, 1010, 99, 88, 77, 66, 55, 44}
    	c := []int{11, 22, 33, 44, 1010, 99, 88, 77, 66, 55, 44}
    	for i := 0; i < len(b); i++ {
    		if b[i] != c[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top