Home / Function/ nextHasAttributeAttributeMap() — netty Function Reference

nextHasAttributeAttributeMap() — netty Function Reference

Architecture documentation for the nextHasAttributeAttributeMap() function in DefaultAttributeMapBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cd61fd44_2b27_d59d_2eaf_7dd0a4726f99["nextHasAttributeAttributeMap()"]
  4d58d226_11dd_ffeb_a5a9_d53d9ae0abd8["DefaultAttributeMapBenchmark"]
  cd61fd44_2b27_d59d_2eaf_7dd0a4726f99 -->|defined in| 4d58d226_11dd_ffeb_a5a9_d53d9ae0abd8
  db627e49_bb30_c552_0eea_7aeb551fefe2["next()"]
  cd61fd44_2b27_d59d_2eaf_7dd0a4726f99 -->|calls| db627e49_bb30_c552_0eea_7aeb551fefe2
  style cd61fd44_2b27_d59d_2eaf_7dd0a4726f99 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java lines 114–121

    @Benchmark
    @Threads(3)
    public boolean nextHasAttributeAttributeMap(KeySequence sequence) {
        long next = sequence.next();
        AttributeKey<Integer>[] keys = this.keys;
        AttributeKey<Integer> key = keys[(int) (next & keys.length - 1)];
        return attributes.hasAttr(key);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does nextHasAttributeAttributeMap() do?
nextHasAttributeAttributeMap() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java.
Where is nextHasAttributeAttributeMap() defined?
nextHasAttributeAttributeMap() is defined in microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java at line 114.
What does nextHasAttributeAttributeMap() call?
nextHasAttributeAttributeMap() 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