CharSequence() — netty Function Reference
Architecture documentation for the CharSequence() function in HttpPostDecoderBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 991aa134_ff36_15ab_0159_6cf71cfbc9c6["CharSequence()"] 90cad539_5ee5_ce23_b02d_1cbef3a4190d["HttpPostDecoderBenchmark"] 991aa134_ff36_15ab_0159_6cf71cfbc9c6 -->|defined in| 90cad539_5ee5_ce23_b02d_1cbef3a4190d style 991aa134_ff36_15ab_0159_6cf71cfbc9c6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/handler/codec/http/HttpPostDecoderBenchmark.java lines 67–76
private static CharSequence randomString() {
Random rng = ThreadLocalRandom.current();
int len = 4 + rng.nextInt(110);
StringBuilder sb = new StringBuilder(len);
for (int i = 0; i < len; i++) {
String chars = "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJLKMNOPQRSTUVWXYZ";
sb.append(chars.charAt(rng.nextInt(chars.length())));
}
return sb;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does CharSequence() do?
CharSequence() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http/HttpPostDecoderBenchmark.java.
Where is CharSequence() defined?
CharSequence() is defined in microbench/src/main/java/io/netty/handler/codec/http/HttpPostDecoderBenchmark.java at line 67.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free