Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Writes (0.19 sec)

  1. src/bufio/bufio_test.go

    	if w0 != 0 {
    		t.Fatalf("write 1200 'x's: got %d writes, want 0", w0)
    	}
    	io.Copy(b0, onlyReader{strings.NewReader(strings.Repeat("x", 30))})
    	if w0 != 0 {
    		t.Fatalf("write 1230 'x's: got %d writes, want 0", w0)
    	}
    	io.Copy(b0, onlyReader{strings.NewReader(strings.Repeat("x", 9))})
    	if w0 != 1 {
    		t.Fatalf("write 1239 'x's: got %d writes, want 1", w0)
    	}
    
    	var w1 writeCountingDiscard
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    // type conversions. If so, then in the general case it writes
    //
    //	_cgoIndexNN := a
    //	_cgoNN := &cgoIndexNN[i] // with type conversions, if any
    //
    // to sb, and writes
    //
    //	_cgoCheckPointer(_cgoNN, _cgoIndexNN)
    //
    // to sbCheck, and returns true. If a is a simple variable or field reference,
    // it writes
    //
    //	_cgoIndexNN := &a
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top