nextSize() — netty Function Reference
Architecture documentation for the nextSize() function in RandomSizeByteBufAllocationBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 62a3538f_bbd9_5546_d30b_7d39e1fb54a0["nextSize()"] 8839dc57_30e1_9514_ff04_baa254ce09fc["RandomSizeByteBufAllocationBenchmark"] 62a3538f_bbd9_5546_d30b_7d39e1fb54a0 -->|defined in| 8839dc57_30e1_9514_ff04_baa254ce09fc 6b274d37_3ef9_943a_4ef3_0d4cfd6cd5f8["allocateAndRelease()"] 6b274d37_3ef9_943a_4ef3_0d4cfd6cd5f8 -->|calls| 62a3538f_bbd9_5546_d30b_7d39e1fb54a0 style 62a3538f_bbd9_5546_d30b_7d39e1fb54a0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/buffer/RandomSizeByteBufAllocationBenchmark.java lines 123–127
private int nextSize() {
int index = nextSampleIndex;
nextSampleIndex = (nextSampleIndex + 1) & sampleMask;
return sizeSamples[index];
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does nextSize() do?
nextSize() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/RandomSizeByteBufAllocationBenchmark.java.
Where is nextSize() defined?
nextSize() is defined in microbench/src/main/java/io/netty/microbench/buffer/RandomSizeByteBufAllocationBenchmark.java at line 123.
What calls nextSize()?
nextSize() is called by 1 function(s): allocateAndRelease.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free