Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for bcde (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. src/archive/tar/writer_test.go

    			testRemaining{6, 3},
    			testReadFrom{fileOps{int64(3), "cde"}, 6, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    			testReadFrom{fileOps{"ab", int64(3), "cde"}, 8, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            Graph graph2 = new Graph();
            addEdge(graph2, "a", "b");
            addEdge(graph2, "b", "c");
            CycleDetectedException cde = assertThrows(CycleDetectedException.class, () -> addEdge(graph2, "c", "a"));
            List<String> cycle = cde.getCycle();
            assertNotNull(cycle, "Cycle should be not null");
            assertTrue(cycle.contains("a"), "Cycle contains 'a'");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        java.net.Authenticator.setDefault(null)
      }
    
      @Test
      fun get() {
        server.enqueue(MockResponse(body = "ABCDE"))
        val call = client.newCall(Request(server.url("/foo")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABCDE")
        assertThat(response.code).isEqualTo(200)
        assertThat(response.message).isEqualTo("")
        assertThat(response.protocol).isEqualTo(protocol)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            // Test case 2: Single padding
            final byte[] data2 = "abcd".getBytes();
            assertEquals("YWJjZA==", Base64Util.encode(data2));
    
            // Test case 3: Double padding
            final byte[] data3 = "abcde".getBytes();
            assertEquals("YWJjZGU=", Base64Util.encode(data3));
    
            // Test case 4: No padding
            final byte[] data4 = "abcdef".getBytes();
            assertEquals("YWJjZGVm", Base64Util.encode(data4));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            // Corresponds to a string of length 5 (10 bytes for UTF-16)
            PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100);
            String testString = "abcde";
    
            // The check method should return the same string instance
            String result = pacString.check(testString);
            assertSame(testString, result, "The check method should return the original string on success.");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        transferKind.setBody(mockResponse, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 16)
        server.enqueue(truncateViolently(mockResponse, 16).build())
        server.enqueue(
          MockResponse
            .Builder()
            .body("Request #2")
            .build(),
        )
        val bodySource = get(server.url("/")).body.source()
        assertThat(bodySource.readUtf8Line()).isEqualTo("ABCDE")
        bodySource.use {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val response =
          MockResponse
            .Builder()
            .chunkedBody("ABCDE\nFGHIJ\nKLMNO\nPQR", 8)
            .build()
        server.enqueue(response)
        server.enqueue(response)
        val request = newRequest("/")
        val c1 = getResponse(request)
        assertContent("ABCDE", c1, 5)
        val c2 = getResponse(request)
        assertContent("ABCDE", c2, 5)
        c1.close()
        c2.close()
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
  10. 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)
Back to Top