Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dispatch (0.2 sec)

  1. src/bufio/bufio_test.go

    		want = append(strconv.AppendInt(want, n, 10), ' ')
    		b = append(strconv.AppendInt(b, n, 10), ' ')
    		w.Write(b)
    	}
    	w.Flush()
    
    	if !bytes.Equal(got.Bytes(), want) {
    		t.Errorf("output mismatch:\ngot  %s\nwant %s", got.Bytes(), want)
    	}
    }
    
    // Check that write errors are returned properly.
    
    type errorWriterTest struct {
    	n, m   int
    	err    error
    	expect error
    }
    
    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