Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fghijklmno (0.12 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. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        assertThat(source!!.read(sourceBuffer, 5)).isEqualTo(5)
        assertThat(sourceBuffer.readUtf8()).isEqualTo("abcde")
        assertThat(source.read(sourceBuffer, 1024)).isEqualTo(8)
        assertThat(sourceBuffer.readUtf8()).isEqualTo("fghijklm")
        assertThat(source.read(sourceBuffer, 1024)).isEqualTo(-1)
        assertThat(sourceBuffer.size).isEqualTo(0)
        source.close()
        assertThat(relay.isClosed).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. 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