Home / Function/ get() — netty Function Reference

get() — netty Function Reference

Architecture documentation for the get() function in LongLongHashMap.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  79bc14e4_5167_3c0d_a118_cf3f3fb50053["get()"]
  c69e9be2_01e3_83a0_b7d7_e4e8841e7bf8["LongLongHashMap"]
  79bc14e4_5167_3c0d_a118_cf3f3fb50053 -->|defined in| c69e9be2_01e3_83a0_b7d7_e4e8841e7bf8
  d26bef1b_480a_bce1_986c_ff9e97408cb9["index()"]
  79bc14e4_5167_3c0d_a118_cf3f3fb50053 -->|calls| d26bef1b_480a_bce1_986c_ff9e97408cb9
  style 79bc14e4_5167_3c0d_a118_cf3f3fb50053 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/LongLongHashMap.java lines 92–105

    public long get(long key) {
        if (key == 0) {
            return zeroVal;
        }
        int index = index(key);
        for (int i = 0; i < maxProbe; i++) {
            long existing = array[index];
            if (existing == key) {
                return array[index + 1];
            }
            index = index + 2 & mask;
        }
        return emptyVal;
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does get() do?
get() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/LongLongHashMap.java.
Where is get() defined?
get() is defined in common/src/main/java/io/netty/util/internal/LongLongHashMap.java at line 92.
What does get() call?
get() calls 1 function(s): index.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free