Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for abcdefghij (0.04 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                // Read next chunk
                bytesRead = in.read(buffer);
                assertEquals(10, bytesRead, "Should read next chunk");
                assertEquals("ABCDEFGHIJ", new String(buffer, 0, bytesRead, "UTF-8"));
            }
        }
    
        @Test
        void testZeroByteFile() throws Exception {
            // Test handling of zero-byte files
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        sink.writeUtf8("abcdefghi")
        sink.close()
    
        // Verify the peer received what was expected.
        val headers1 = peer.takeFrame()
        assertThat(headers1.type).isEqualTo(Http2.TYPE_HEADERS)
        val data1 = peer.takeFrame()
        assertThat(data1.type).isEqualTo(Http2.TYPE_DATA)
        assertThat(data1.streamId).isEqualTo(3)
        assertArrayEquals("abcdefghi".toByteArray(), data1.data)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MultiReaderTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author ricebin
     */
    @NullUnmarked
    public class MultiReaderTest extends TestCase {
    
      public void testOnlyOneOpen() throws Exception {
        String testString = "abcdefgh";
        CharSource source = newCharSource(testString);
        int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
              public Reader openStream() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/TraverserTest.java

      }
    
      @Test
      public void forGraph_depthFirstPostOrder_tree() throws Exception {
        Traverser<Character> traverser = Traverser.forGraph(TREE);
    
        assertEqualCharNodes(traverser.depthFirstPostOrder('h'), "abcdefgh");
        assertEqualCharNodes(traverser.depthFirstPostOrder('d'), "abcd");
        assertEqualCharNodes(traverser.depthFirstPostOrder('a'), "a");
      }
    
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 47.4K bytes
    - Viewed (2)
  5. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

        assertThat(iterationOrder(ADAPTER.preOrderTraversal(h))).isEqualTo("hdabcegf");
      }
    
      public void testPostOrder() {
        assertThat(iterationOrder(ADAPTER.postOrderTraversal(h))).isEqualTo("abcdefgh");
      }
    
      public void testBreadthOrder() {
        assertThat(iterationOrder(ADAPTER.breadthFirstTraversal(h))).isEqualTo("hdegabcf");
      }
    
      public void testUsing() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 18:39:06 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

        }
    
        public void test_markAndReset_delegatesToUnderlying() throws IOException {
            // Test that mark() and reset() delegate to underlying stream
            byte[] data = "ABCDEFGH".getBytes();
            InputStream underlyingStream = new ByteArrayInputStream(data);
            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    
            assertEquals('A', stream.read());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

            // Create a temporary file with test data
            File tempFile = File.createTempFile("test-", ".tmp");
            try (FileOutputStream fos = new FileOutputStream(tempFile)) {
                fos.write("ABCDEFGH".getBytes());
            }
    
            try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) {
                // FileInputStream does not support mark/reset
                assertFalse(stream.markSupported());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

        //     the smaller of these blocks with the far end of the other one. That leaves us with a
        //     smaller version of the same problem.
        //     Say we are rotating abcdefgh by 5. We start with abcde|fgh. The smaller block is [fgh]:
        //     [abc]de|[fgh] -> [fgh]de|[abc]. Now [fgh] is in the right place, but we need to swap [de]
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

            }
          },
        )
      }
    
      @Test fun goAwayWithDebugDataRoundTrip() {
        val expectedError = ErrorCode.PROTOCOL_ERROR
        val expectedData: ByteString = "abcdefgh".encodeUtf8()
    
        // Compose the expected GOAWAY frame without debug data.
        writeMedium(frame, 8 + expectedData.size)
        frame.writeByte(TYPE_GOAWAY)
        frame.writeByte(FLAG_NONE)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      }
    
      private fun testEarlyDisconnectDoesntHarmPooling(transferKind: TransferKind) {
        val mockResponse1 = MockResponse.Builder()
        transferKind.setBody(mockResponse1, "ABCDEFGHIJK", 1024)
        server.enqueue(mockResponse1.build())
        val mockResponse2 = MockResponse.Builder()
        transferKind.setBody(mockResponse2, "LMNOPQRSTUV", 1024)
        server.enqueue(mockResponse2.build())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top