Home / Function/ computeMaskAndProbe() — netty Function Reference

computeMaskAndProbe() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  30c4debd_f78c_0d76_d44b_29b4a12da039["computeMaskAndProbe()"]
  c69e9be2_01e3_83a0_b7d7_e4e8841e7bf8["LongLongHashMap"]
  30c4debd_f78c_0d76_d44b_29b4a12da039 -->|defined in| c69e9be2_01e3_83a0_b7d7_e4e8841e7bf8
  cbd6d6ae_fb1b_107c_79f7_43ac31eb7671["LongLongHashMap()"]
  cbd6d6ae_fb1b_107c_79f7_43ac31eb7671 -->|calls| 30c4debd_f78c_0d76_d44b_29b4a12da039
  09c316c3_bddf_b4f7_c3e8_69e3d1f83500["expand()"]
  09c316c3_bddf_b4f7_c3e8_69e3d1f83500 -->|calls| 30c4debd_f78c_0d76_d44b_29b4a12da039
  style 30c4debd_f78c_0d76_d44b_29b4a12da039 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/LongLongHashMap.java lines 130–134

    private void computeMaskAndProbe() {
        int length = array.length;
        mask = length - 1 & MASK_TEMPLATE;
        maxProbe = (int) Math.log(length);
    }

Domain

Subdomains

Frequently Asked Questions

What does computeMaskAndProbe() do?
computeMaskAndProbe() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/LongLongHashMap.java.
Where is computeMaskAndProbe() defined?
computeMaskAndProbe() is defined in common/src/main/java/io/netty/util/internal/LongLongHashMap.java at line 130.
What calls computeMaskAndProbe()?
computeMaskAndProbe() is called by 2 function(s): LongLongHashMap, expand.

Analyze Your Own Codebase

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

Try Supermodel Free