Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Live (0.16 sec)

  1. src/bytes/buffer_test.go

    			t.Errorf("after too-large Grow, recover() = %v; want %v", err, ErrTooLarge)
    		}
    	}()
    
    	buf := NewBuffer(make([]byte, 1))
    	const maxInt = int(^uint(0) >> 1)
    	buf.Grow(maxInt)
    }
    
    // Was a bug: used to give EOF reading empty slice at EOF.
    func TestReadEmptyAtEOF(t *testing.T) {
    	b := new(Buffer)
    	slice := make([]byte, 0)
    	n, err := b.Read(slice)
    	if err != nil {
    		t.Errorf("read error: %v", err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    	    a complex constant, with a mantissa of at least 256 bits
    	    and a signed binary exponent of at least 16 bits.</li>
    
    	<li>Give an error if unable to represent an integer constant
    	    precisely.</li>
    
    	<li>Give an error if unable to represent a floating-point or
    	    complex constant due to overflow.</li>
    
    	<li>Round to the nearest representable constant if unable to
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    	    a complex constant, with a mantissa of at least 256 bits
    	    and a signed binary exponent of at least 16 bits.</li>
    
    	<li>Give an error if unable to represent an integer constant
    	    precisely.</li>
    
    	<li>Give an error if unable to represent a floating-point or
    	    complex constant due to overflow.</li>
    
    	<li>Round to the nearest representable constant if unable to
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top