Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for e1 (0.25 sec)

  1. src/bufio/bufio_test.go

    			// and that the data is correct.
    
    			w.Reset()
    			buf := NewWriterSize(w, bs)
    			context := fmt.Sprintf("nwrite=%d bufsize=%d", nwrite, bs)
    			n, e1 := buf.Write(data[0:nwrite])
    			if e1 != nil || n != nwrite {
    				t.Errorf("%s: buf.Write %d = %d, %v", context, nwrite, n, e1)
    				continue
    			}
    			if e := buf.Flush(); e != nil {
    				t.Errorf("%s: buf.Flush = %v", context, e)
    			}
    
    			written := w.Bytes()
    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)
Back to top