Home / Function/ NameValueEntry() — netty Function Reference

NameValueEntry() — netty Function Reference

Architecture documentation for the NameValueEntry() function in HpackEncoder.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  a2f62519_d572_572b_8439_980987a37c7e["NameValueEntry()"]
  616b4418_6852_a9a9_188d_063a8768b35a["HpackEncoder"]
  a2f62519_d572_572b_8439_980987a37c7e -->|defined in| 616b4418_6852_a9a9_188d_063a8768b35a
  8583372d_d8bc_c03e_a167_6370300612a1["NameValueEntry()"]
  8583372d_d8bc_c03e_a167_6370300612a1 -->|calls| a2f62519_d572_572b_8439_980987a37c7e
  1c32f793_a146_ce36_8f9b_05f2e14003aa["hash()"]
  a2f62519_d572_572b_8439_980987a37c7e -->|calls| 1c32f793_a146_ce36_8f9b_05f2e14003aa
  af14f309_4d63_c743_d49f_624cf3fa87a5["bucket()"]
  a2f62519_d572_572b_8439_980987a37c7e -->|calls| af14f309_4d63_c743_d49f_624cf3fa87a5
  style a2f62519_d572_572b_8439_980987a37c7e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java lines 388–396

    private NameValueEntry getEntryInsensitive(CharSequence name, int nameHash, CharSequence value, int valueHash) {
        int h = hash(nameHash, valueHash);
        for (NameValueEntry e = nameValueEntries[bucket(h)]; e != null; e = e.next) {
            if (e.hash == h && equalsVariableTime(value, e.value) && equalsVariableTime(name, e.name)) {
                return e;
            }
        }
        return null;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does NameValueEntry() do?
NameValueEntry() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java.
Where is NameValueEntry() defined?
NameValueEntry() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java at line 388.
What does NameValueEntry() call?
NameValueEntry() calls 2 function(s): bucket, hash.
What calls NameValueEntry()?
NameValueEntry() is called by 1 function(s): NameValueEntry.

Analyze Your Own Codebase

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

Try Supermodel Free