nextIndex() — netty Function Reference
Architecture documentation for the nextIndex() function in ByteBufAllocatorBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD dee07766_8a73_7f50_0bd7_3e8aa75c5c54["nextIndex()"] b790eb42_4bb8_2c60_030a_589908a419ad["ByteBufAllocatorBenchmark"] dee07766_8a73_7f50_0bd7_3e8aa75c5c54 -->|defined in| b790eb42_4bb8_2c60_030a_589908a419ad e5aa195c_cc70_a7aa_4698_bb9f0ca29fc7["unpooledHeapAllocAndFree()"] e5aa195c_cc70_a7aa_4698_bb9f0ca29fc7 -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 c04b51f3_c0f4_8915_e0fc_1a3f72c57f9d["unpooledDirectAllocAndFree()"] c04b51f3_c0f4_8915_e0fc_1a3f72c57f9d -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 8a1b156b_a8d3_1d65_2c0b_3830334df130["pooledHeapAllocAndFree()"] 8a1b156b_a8d3_1d65_2c0b_3830334df130 -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 09111248_611d_bdc0_1317_176db01f50ce["pooledDirectAllocAndFree()"] 09111248_611d_bdc0_1317_176db01f50ce -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 6dc4cf83_d4ff_36e8_ad92_e1a651ede9db["defaultPooledHeapAllocAndFree()"] 6dc4cf83_d4ff_36e8_ad92_e1a651ede9db -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 00a78ca8_4fad_daaf_ec78_ade735637ba7["defaultPooledDirectAllocAndFree()"] 00a78ca8_4fad_daaf_ec78_ade735637ba7 -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 c420938a_4e1f_9db1_8f1e_cdeefaec34b1["adaptiveHeapAllocAndFree()"] c420938a_4e1f_9db1_8f1e_cdeefaec34b1 -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 4dd2df73_f898_8055_225e_14e28f8b9d3a["adaptiveDirectAllocAndFree()"] 4dd2df73_f898_8055_225e_14e28f8b9d3a -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 style dee07766_8a73_7f50_0bd7_3e8aa75c5c54 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorBenchmark.java lines 76–79
private int nextIndex() {
this.nextIndex = (nextIndex + 1) & NEXT_INDEX_MASK;
return NEXT_INDEXES[nextIndex];
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does nextIndex() do?
nextIndex() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorBenchmark.java.
Where is nextIndex() defined?
nextIndex() is defined in microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorBenchmark.java at line 76.
What calls nextIndex()?
nextIndex() is called by 8 function(s): adaptiveDirectAllocAndFree, adaptiveHeapAllocAndFree, defaultPooledDirectAllocAndFree, defaultPooledHeapAllocAndFree, pooledDirectAllocAndFree, pooledHeapAllocAndFree, unpooledDirectAllocAndFree, unpooledHeapAllocAndFree.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free