Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fghij (0.01 sec)

  1. src/bufio/bufio_test.go

    	}
    	if _, err := buf.Read(p[0:3]); string(p[0:3]) != "def" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "def", string(p[0:3]), err)
    	}
    	if s, err := buf.Peek(4); string(s) != "ghij" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "ghij", string(s), err)
    	}
    	if _, err := buf.Read(p[0:]); string(p[0:]) != "ghijklmnop" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "ghijklmnop", string(p[0:minReadBufferSize]), err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top