read() — netty Function Reference
Architecture documentation for the read() function in PooledByteBufAllocatorAlignBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f892168a_f04e_3997_6940_4dd504a57849["read()"] f2a6748b_3f45_bdff_ac0b_1ebe34c917f2["PooledByteBufAllocatorAlignBenchmark"] f892168a_f04e_3997_6940_4dd504a57849 -->|defined in| f2a6748b_3f45_bdff_ac0b_1ebe34c917f2 style f892168a_f04e_3997_6940_4dd504a57849 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/buffer/PooledByteBufAllocatorAlignBenchmark.java lines 150–160
@Benchmark
public void read() {
int off = 0;
int lSize = size;
int lSizeMask = sizeMask;
int lAlignOffset = alignOffset;
for (int i = 0; i < lSize; i++) {
off = (off + OFFSET_ADD) & lSizeMask;
pooledDirectBuffer.getBytes(off + lAlignOffset, bytes);
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does read() do?
read() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/PooledByteBufAllocatorAlignBenchmark.java.
Where is read() defined?
read() is defined in microbench/src/main/java/io/netty/microbench/buffer/PooledByteBufAllocatorAlignBenchmark.java at line 150.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free