differentTypes() — netty Function Reference
Architecture documentation for the differentTypes() function in HttpRequestEncoderBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 92606a59_73fb_4bab_78bb_ebea94d7f655["differentTypes()"] 8879ea80_f499_de37_89e2_c6faf236521a["HttpRequestEncoderBenchmark"] 92606a59_73fb_4bab_78bb_ebea94d7f655 -->|defined in| 8879ea80_f499_de37_89e2_c6faf236521a 6fe9d6dc_40e8_db94_6ffa_4037c27133b5["setup()"] 6fe9d6dc_40e8_db94_6ffa_4037c27133b5 -->|calls| 92606a59_73fb_4bab_78bb_ebea94d7f655 style 92606a59_73fb_4bab_78bb_ebea94d7f655 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/http/HttpRequestEncoderBenchmark.java lines 136–147
@Benchmark
public void differentTypes() throws Exception {
encoder.write(context, contentLengthRequest, newPromise());
lastContent.content().setIndex(0, contentBytes);
encoder.write(context, lastContent, newPromise());
content.setIndex(0, contentBytes);
fullRequest.content().setIndex(0, contentBytes);
encoder.write(context, fullRequest, newPromise());
encoder.write(context, chunkedRequest, newPromise());
lastContent.content().setIndex(0, contentBytes);
encoder.write(context, lastContent, newPromise());
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does differentTypes() do?
differentTypes() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/http/HttpRequestEncoderBenchmark.java.
Where is differentTypes() defined?
differentTypes() is defined in microbench/src/main/java/io/netty/microbench/http/HttpRequestEncoderBenchmark.java at line 136.
What calls differentTypes()?
differentTypes() is called by 1 function(s): setup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free