Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hello___ (0.13 sec)

  1. src/reflect/all_test.go

    		if expecting := []byte("________"); n != 0 || !bytes.Equal(s, expecting) {
    			t.Errorf("got n = %d, s = %s, expecting n = 0, s = %s", n, s, expecting)
    		}
    
    		n = Copy(val, ValueOf("hello"))
    		if expecting := []byte("hello___"); n != 5 || !bytes.Equal(s, expecting) {
    			t.Errorf("got n = %d, s = %s, expecting n = 5, s = %s", n, s, expecting)
    		}
    
    		n = Copy(val, ValueOf("helloworld"))
    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