init() — netty Function Reference
Architecture documentation for the init() function in DecodeHexBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7041c9e4_9b26_8966_9efc_ee216f8a3ea4["init()"] 5c3828dc_c4a2_3a97_8b53_37a9c4e8cecf["DecodeHexBenchmark"] 7041c9e4_9b26_8966_9efc_ee216f8a3ea4 -->|defined in| 5c3828dc_c4a2_3a97_8b53_37a9c4e8cecf 28c82bad_6821_e9c2_04cf_3a2b062c9264["shuffle()"] 7041c9e4_9b26_8966_9efc_ee216f8a3ea4 -->|calls| 28c82bad_6821_e9c2_04cf_3a2b062c9264 style 7041c9e4_9b26_8966_9efc_ee216f8a3ea4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java lines 58–71
@Setup
public void init() {
final char[] hexCh = hex.toCharArray();
next = 0;
inputs = MathUtil.findNextPositivePowerOfTwo(inputs);
hexDigits = new char[inputs][];
hexDigits[0] = hexCh;
if (inputs > 1) {
final Random rnd = new Random(SEED);
for (int i = 1; i < inputs; i++) {
hexDigits[i] = shuffle(Arrays.copyOf(hexCh, hexCh.length), rnd);
}
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does init() do?
init() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java.
Where is init() defined?
init() is defined in microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java at line 58.
What does init() call?
init() calls 1 function(s): shuffle.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free