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