expand() — netty Function Reference
Architecture documentation for the expand() function in LongLongHashMap.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 09c316c3_bddf_b4f7_c3e8_69e3d1f83500["expand()"] c69e9be2_01e3_83a0_b7d7_e4e8841e7bf8["LongLongHashMap"] 09c316c3_bddf_b4f7_c3e8_69e3d1f83500 -->|defined in| c69e9be2_01e3_83a0_b7d7_e4e8841e7bf8 de2b9bd8_a556_f190_a2d4_14bd57210f3c["put()"] de2b9bd8_a556_f190_a2d4_14bd57210f3c -->|calls| 09c316c3_bddf_b4f7_c3e8_69e3d1f83500 30c4debd_f78c_0d76_d44b_29b4a12da039["computeMaskAndProbe()"] 09c316c3_bddf_b4f7_c3e8_69e3d1f83500 -->|calls| 30c4debd_f78c_0d76_d44b_29b4a12da039 de2b9bd8_a556_f190_a2d4_14bd57210f3c["put()"] 09c316c3_bddf_b4f7_c3e8_69e3d1f83500 -->|calls| de2b9bd8_a556_f190_a2d4_14bd57210f3c style 09c316c3_bddf_b4f7_c3e8_69e3d1f83500 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/LongLongHashMap.java lines 117–128
private void expand() {
long[] prev = array;
array = new long[prev.length * 2];
computeMaskAndProbe();
for (int i = 0; i < prev.length; i += 2) {
long key = prev[i];
if (key != 0) {
long val = prev[i + 1];
put(key, val);
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does expand() do?
expand() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/LongLongHashMap.java.
Where is expand() defined?
expand() is defined in common/src/main/java/io/netty/util/internal/LongLongHashMap.java at line 117.
What does expand() call?
expand() calls 2 function(s): computeMaskAndProbe, put.
What calls expand()?
expand() is called by 1 function(s): put.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free