- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for bcde (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/bytes/example_test.go
var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde")) rdbuf := make([]byte, 1) n, err := b.Read(rdbuf) if err != nil { panic(err) } fmt.Println(n) fmt.Println(b.String()) fmt.Println(string(rdbuf)) // Output: // 1 // bcde // a } func ExampleBuffer_ReadByte() { var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde")) c, err := b.ReadByte() if err != nil {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
// These have a combination of invalid length, unrecognized characters and wrong padding. assertFailsToDecode(base32(), "AB=C", "Unrecognized character: ="); assertFailsToDecode(base32(), "A=BCDE", "Invalid input length 6"); assertFailsToDecode(base32(), "?", "Invalid input length 1"); } public void testBase32UpperCaseIsNoOp() { assertThat(base32().upperCase()).isSameInstanceAs(base32()); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testConcat() throws IOException { CharSource c1 = CharSource.wrap("abc"); CharSource c2 = CharSource.wrap(""); CharSource c3 = CharSource.wrap("de"); String expected = "abcde"; assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read()); assertEquals(expected, CharSource.concat(c1, c2, c3).read());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
assertEquals(2, CharStreams.readLines(r, conditional).intValue()); assertEquals("ab", sb.toString()); } public void testSkipFully_eof() throws IOException { Reader reader = new StringReader("abcde"); assertThrows(EOFException.class, () -> CharStreams.skipFully(reader, 6)); } public void testSkipFully() throws IOException { String testString = "abcdef";
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
assertEquals(2, CharStreams.readLines(r, conditional).intValue()); assertEquals("ab", sb.toString()); } public void testSkipFully_eof() throws IOException { Reader reader = new StringReader("abcde"); assertThrows(EOFException.class, () -> CharStreams.skipFully(reader, 6)); } public void testSkipFully() throws IOException { String testString = "abcdef";
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.3K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
rb.Read(buf) if rb.Length() != 3 { t.Fatalf("expect len 3 bytes but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r) } rb.Write([]byte(strings.Repeat("abcd", 15))) if !bytes.Equal(rb.Bytes(nil), []byte("bcd"+strings.Repeat("abcd", 15))) { t.Fatalf("expect 63 ... but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r) } rb.Reset() n, err = rb.Write([]byte(strings.Repeat("abcd", 16))) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0)