hasAttributeIdentityHashMap() — netty Function Reference
Architecture documentation for the hasAttributeIdentityHashMap() function in DefaultAttributeMapBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8a23bfac_6bab_07d9_2a84_439e94d247b0["hasAttributeIdentityHashMap()"] 4d58d226_11dd_ffeb_a5a9_d53d9ae0abd8["DefaultAttributeMapBenchmark"] 8a23bfac_6bab_07d9_2a84_439e94d247b0 -->|defined in| 4d58d226_11dd_ffeb_a5a9_d53d9ae0abd8 db627e49_bb30_c552_0eea_7aeb551fefe2["next()"] 8a23bfac_6bab_07d9_2a84_439e94d247b0 -->|calls| db627e49_bb30_c552_0eea_7aeb551fefe2 style 8a23bfac_6bab_07d9_2a84_439e94d247b0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java lines 83–90
@Benchmark
@Threads(3)
public boolean hasAttributeIdentityHashMap(KeySequence sequence) {
long next = sequence.next();
AttributeKey<Integer>[] keys = this.keys;
AttributeKey<Integer> key = keys[(int) (next & keys.length - 1)];
return identityHashMap.containsKey(key);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does hasAttributeIdentityHashMap() do?
hasAttributeIdentityHashMap() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java.
Where is hasAttributeIdentityHashMap() defined?
hasAttributeIdentityHashMap() is defined in microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java at line 83.
What does hasAttributeIdentityHashMap() call?
hasAttributeIdentityHashMap() 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