findNextAvail0() — netty Function Reference
Architecture documentation for the findNextAvail0() function in PoolSubpage.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 391a2edf_8e57_4225_0fef_8f7afedb4997["findNextAvail0()"] a6a571ea_fcf9_6eda_c073_f8d61fa999a3["PoolSubpage"] 391a2edf_8e57_4225_0fef_8f7afedb4997 -->|defined in| a6a571ea_fcf9_6eda_c073_f8d61fa999a3 7ba71002_dc60_923d_b085_8336a9b1e977["findNextAvail()"] 7ba71002_dc60_923d_b085_8336a9b1e977 -->|calls| 391a2edf_8e57_4225_0fef_8f7afedb4997 style 391a2edf_8e57_4225_0fef_8f7afedb4997 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/PoolSubpage.java lines 192–206
private int findNextAvail0(int i, long bits) {
final int baseVal = i << 6;
for (int j = 0; j < 64; j ++) {
if ((bits & 1) == 0) {
int val = baseVal | j;
if (val < maxNumElems) {
return val;
} else {
break;
}
}
bits >>>= 1;
}
return -1;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does findNextAvail0() do?
findNextAvail0() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolSubpage.java.
Where is findNextAvail0() defined?
findNextAvail0() is defined in buffer/src/main/java/io/netty/buffer/PoolSubpage.java at line 192.
What calls findNextAvail0()?
findNextAvail0() is called by 1 function(s): findNextAvail.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free