Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for abcdefghijklmnopqrstuvwxyz (0.22 sec)

  1. src/bytes/buffer_test.go

    		t.Fatal("ReadByte at EOF: got no error")
    	}
    	if err := b.UnreadByte(); err == nil {
    		t.Fatal("UnreadByte after ReadByte at EOF: got no error")
    	}
    
    	// check not at EOF
    	b.WriteString("abcdefghijklmnopqrstuvwxyz")
    
    	// after unsuccessful read
    	if n, err := b.Read(nil); n != 0 || err != nil {
    		t.Fatalf("Read(nil) = %d,%v; want 0,nil", n, err)
    	}
    	if err := b.UnreadByte(); err == nil {
    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)
Back to top