Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSizeInvalid (0.26 sec)

  1. src/encoding/binary/binary_test.go

    			t.Fatalf("Can't get the size of %T", tc.val)
    		}
    
    		if n := added(); n != tc.want {
    			t.Errorf("Sizing %T added %d entries to the cache, want %d", tc.val, n, tc.want)
    		}
    	}
    }
    
    func TestSizeInvalid(t *testing.T) {
    	testcases := []any{
    		int(0),
    		new(int),
    		(*int)(nil),
    		[1]uint{},
    		new([1]uint),
    		(*[1]uint)(nil),
    		[]int{},
    		[]int(nil),
    		new([]int),
    		(*[]int)(nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top