Home / Function/ testDuplicateReadOutputStreamMultipleThreads() — netty Function Reference

testDuplicateReadOutputStreamMultipleThreads() — netty Function Reference

Architecture documentation for the testDuplicateReadOutputStreamMultipleThreads() function in ReadOnlyDirectByteBufferBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7606636a_d223_f099_37f7_a663dd72a589["testDuplicateReadOutputStreamMultipleThreads()"]
  2436e747_1306_235e_86df_d12765b22d51["ReadOnlyDirectByteBufferBufTest"]
  7606636a_d223_f099_37f7_a663dd72a589 -->|defined in| 2436e747_1306_235e_86df_d12765b22d51
  style 7606636a_d223_f099_37f7_a663dd72a589 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java lines 523–536

    @Test
    public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
        final byte[] bytes = new byte[8];
        ThreadLocalRandom.current().nextBytes(bytes);
        ByteBuffer nioBuffer = allocate(bytes.length);
        nioBuffer.put(bytes);
        nioBuffer.flip();
        final ByteBuf buffer = buffer(nioBuffer.asReadOnlyBuffer());
        try {
            testReadOutputStreamMultipleThreads(buffer, bytes, false);
        } finally {
            buffer.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testDuplicateReadOutputStreamMultipleThreads() do?
testDuplicateReadOutputStreamMultipleThreads() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java.
Where is testDuplicateReadOutputStreamMultipleThreads() defined?
testDuplicateReadOutputStreamMultipleThreads() is defined in buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java at line 523.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free