mixedAttributeAttributeMap() — netty Function Reference
Architecture documentation for the mixedAttributeAttributeMap() function in DefaultAttributeMapBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5405260e_6f97_1f5d_1c07_c29a2a7edf9a["mixedAttributeAttributeMap()"] 4d58d226_11dd_ffeb_a5a9_d53d9ae0abd8["DefaultAttributeMapBenchmark"] 5405260e_6f97_1f5d_1c07_c29a2a7edf9a -->|defined in| 4d58d226_11dd_ffeb_a5a9_d53d9ae0abd8 db627e49_bb30_c552_0eea_7aeb551fefe2["next()"] 5405260e_6f97_1f5d_1c07_c29a2a7edf9a -->|calls| db627e49_bb30_c552_0eea_7aeb551fefe2 style 5405260e_6f97_1f5d_1c07_c29a2a7edf9a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java lines 123–134
@Benchmark
@Threads(3)
public void mixedAttributeAttributeMap(KeySequence sequence, Blackhole hole) {
long next = sequence.next();
AttributeKey<Integer>[] keys = this.keys;
AttributeKey<Integer> key = keys[(int) (next & keys.length - 1)];
if (next % 2 == 0) {
hole.consume(attributes.attr(key));
} else {
hole.consume(attributes.hasAttr(key));
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does mixedAttributeAttributeMap() do?
mixedAttributeAttributeMap() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java.
Where is mixedAttributeAttributeMap() defined?
mixedAttributeAttributeMap() is defined in microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java at line 123.
What does mixedAttributeAttributeMap() call?
mixedAttributeAttributeMap() calls 1 function(s): next.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free