Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fghijklmno (0.08 sec)

  1. src/archive/zip/zip_test.go

    	if got := string(ss.Suffix()); got != "abc" {
    		t.Errorf("got = %q; want abc", got)
    	}
    	ss.Write([]byte("defghijklmno"))
    	if got := string(ss.Suffix()); got != "fghijklmno" {
    		t.Errorf("got = %q; want fghijklmno", got)
    	}
    	if got, want := ss.Size(), int64(len("abc")+len("defghijklmno")); got != want {
    		t.Errorf("Size = %d; want %d", got, want)
    	}
    	buf := make([]byte, ss.Size())
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	}
    	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)
    	}
    	if s, err := buf.Peek(0); string(s) != "" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "", string(s), 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