Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for N2 (0.02 sec)

  1. src/bufio/bufio_test.go

    	if n != 10 || err != nil {
    		t.Fatalf("Write returned (%v, %v), want (10, nil)", n, err)
    	}
    
    	// Use ReadFrom to read in some data.
    	n2, err := w.ReadFrom(strings.NewReader("abcdef"))
    	if n2 != 6 || err != nil {
    		t.Fatalf("ReadFrom returned (%v, %v), want (6, nil)", n2, err)
    	}
    }
    
    type emptyThenNonEmptyReader struct {
    	r io.Reader
    	n int
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            TypeToken.of(new TypeCapture<N1>() {}.capture()));
        assertNotAssignable(
            TypeToken.of(new TypeCapture<N2>() {}.capture()),
            TypeToken.of(new TypeCapture<N1>() {}.capture()));
      }
    
      public <N1 extends Number, N2 extends Number, N11 extends N1>
          void testisSupertypeOf_equalWildcardTypes() {
        assertAssignable(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            TypeToken.of(new TypeCapture<N1>() {}.capture()));
        assertNotAssignable(
            TypeToken.of(new TypeCapture<N2>() {}.capture()),
            TypeToken.of(new TypeCapture<N1>() {}.capture()));
      }
    
      public <N1 extends Number, N2 extends Number, N11 extends N1>
          void testisSupertypeOf_equalWildcardTypes() {
        assertAssignable(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	{" ", nil},
    	{"\u3000 ", nil},
    	{" \u3000", nil},
    	{" \t\r\n \t\t\r\r\n\n ", nil},
    	{" \t\r\n x\t\t\r\r\n\n ", []byte("x")},
    	{" \u2000\t\r\n x\t\t\r\r\ny\n \u3000", []byte("x\t\t\r\r\ny")},
    	{"1 \t\r\n2", []byte("1 \t\r\n2")},
    	{" x\x80", []byte("x\x80")},
    	{" x\xc0", []byte("x\xc0")},
    	{"x \xc0\xc0 ", []byte("x \xc0\xc0")},
    	{"x \xc0", []byte("x \xc0")},
    	{"x \xc0 ", []byte("x \xc0")},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top