hashFunction() — netty Function Reference
Architecture documentation for the hashFunction() function in FastLz.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD caa54910_d565_ad45_1f26_c35707051a0c["hashFunction()"] 98671d94_5a6d_343c_6d73_292cd19cfd19["FastLz"] caa54910_d565_ad45_1f26_c35707051a0c -->|defined in| 98671d94_5a6d_343c_6d73_292cd19cfd19 2e9a6712_fc03_7631_0209_22e699baf3b2["compress()"] 2e9a6712_fc03_7631_0209_22e699baf3b2 -->|calls| caa54910_d565_ad45_1f26_c35707051a0c dd7e1ac4_b45d_9cfb_2ce3_1576201c58e8["readU16()"] caa54910_d565_ad45_1f26_c35707051a0c -->|calls| dd7e1ac4_b45d_9cfb_2ce3_1576201c58e8 style caa54910_d565_ad45_1f26_c35707051a0c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/FastLz.java lines 545–550
private static int hashFunction(ByteBuf p, int offset) {
int v = readU16(p, offset);
v ^= readU16(p, offset + 1) ^ v >> 16 - HASH_LOG;
v &= HASH_MASK;
return v;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does hashFunction() do?
hashFunction() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/FastLz.java.
Where is hashFunction() defined?
hashFunction() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/FastLz.java at line 545.
What does hashFunction() call?
hashFunction() calls 1 function(s): readU16.
What calls hashFunction()?
hashFunction() is called by 1 function(s): compress.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free