testDuplicateReadGatheringByteChannelMultipleThreads() — netty Function Reference
Architecture documentation for the testDuplicateReadGatheringByteChannelMultipleThreads() function in ReadOnlyDirectByteBufferBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 895732c9_a5cc_7f22_db39_679e86e7bc56["testDuplicateReadGatheringByteChannelMultipleThreads()"] 2436e747_1306_235e_86df_d12765b22d51["ReadOnlyDirectByteBufferBufTest"] 895732c9_a5cc_7f22_db39_679e86e7bc56 -->|defined in| 2436e747_1306_235e_86df_d12765b22d51 style 895732c9_a5cc_7f22_db39_679e86e7bc56 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java lines 493–506
@Test
public void testDuplicateReadGatheringByteChannelMultipleThreads() 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 {
testReadGatheringByteChannelMultipleThreads(buffer, bytes, false);
} finally {
buffer.release();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDuplicateReadGatheringByteChannelMultipleThreads() do?
testDuplicateReadGatheringByteChannelMultipleThreads() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java.
Where is testDuplicateReadGatheringByteChannelMultipleThreads() defined?
testDuplicateReadGatheringByteChannelMultipleThreads() is defined in buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java at line 493.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free