hashCodeAsciiCompute() — netty Function Reference
Architecture documentation for the hashCodeAsciiCompute() function in PlatformDependent0.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 06136d57_179c_6e24_6400_51ef4a8739cb["hashCodeAsciiCompute()"] be4c38f2_d236_e498_c295_1033d2617879["PlatformDependent0"] 06136d57_179c_6e24_6400_51ef4a8739cb -->|defined in| be4c38f2_d236_e498_c295_1033d2617879 f62d3c1e_24b0_ccd4_679f_80b64ac0bdf3["hashCodeAscii()"] f62d3c1e_24b0_ccd4_679f_80b64ac0bdf3 -->|calls| 06136d57_179c_6e24_6400_51ef4a8739cb c21f3586_1af3_2f0e_a8ed_19f8b64b8ff8["hashCodeAsciiSanitize()"] 06136d57_179c_6e24_6400_51ef4a8739cb -->|calls| c21f3586_1af3_2f0e_a8ed_19f8b64b8ff8 style 06136d57_179c_6e24_6400_51ef4a8739cb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/PlatformDependent0.java lines 1050–1058
static int hashCodeAsciiCompute(long value, int hash) {
// masking with 0x1f reduces the number of overall bits that impact the hash code but makes the hash
// code the same regardless of character case (upper case or lower case hash is the same).
return hash * HASH_CODE_C1 +
// Low order int
hashCodeAsciiSanitize((int) value) * HASH_CODE_C2 +
// High order int
(int) ((value & 0x1f1f1f1f00000000L) >>> 32);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does hashCodeAsciiCompute() do?
hashCodeAsciiCompute() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/PlatformDependent0.java.
Where is hashCodeAsciiCompute() defined?
hashCodeAsciiCompute() is defined in common/src/main/java/io/netty/util/internal/PlatformDependent0.java at line 1050.
What does hashCodeAsciiCompute() call?
hashCodeAsciiCompute() calls 1 function(s): hashCodeAsciiSanitize.
What calls hashCodeAsciiCompute()?
hashCodeAsciiCompute() is called by 1 function(s): hashCodeAscii.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free