hashCodeAsciiCompute() — netty Function Reference
Architecture documentation for the hashCodeAsciiCompute() function in PlatformDependent.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8a8c01b2_2927_ec9a_df31_d52673d17a1e["hashCodeAsciiCompute()"] 2e66d079_807f_6785_864f_73ab09fbc515["PlatformDependent"] 8a8c01b2_2927_ec9a_df31_d52673d17a1e -->|defined in| 2e66d079_807f_6785_864f_73ab09fbc515 3af1bd26_c77c_d99a_9035_8e53792f0908["hashCodeAscii()"] 3af1bd26_c77c_d99a_9035_8e53792f0908 -->|calls| 8a8c01b2_2927_ec9a_df31_d52673d17a1e 91a08e9d_6796_2685_69c3_75e596cc8ed2["hashCodeAsciiSafe()"] 91a08e9d_6796_2685_69c3_75e596cc8ed2 -->|calls| 8a8c01b2_2927_ec9a_df31_d52673d17a1e 9d9d4099_3d66_e9a1_9fd8_9e3cf98c9a12["hashCodeAsciiSanitizeInt()"] 8a8c01b2_2927_ec9a_df31_d52673d17a1e -->|calls| 9d9d4099_3d66_e9a1_9fd8_9e3cf98c9a12 style 8a8c01b2_2927_ec9a_df31_d52673d17a1e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/PlatformDependent.java lines 843–856
private static int hashCodeAsciiCompute(CharSequence value, int offset, int hash) {
if (BIG_ENDIAN_NATIVE_ORDER) {
return hash * HASH_CODE_C1 +
// Low order int
hashCodeAsciiSanitizeInt(value, offset + 4) * HASH_CODE_C2 +
// High order int
hashCodeAsciiSanitizeInt(value, offset);
}
return hash * HASH_CODE_C1 +
// Low order int
hashCodeAsciiSanitizeInt(value, offset) * HASH_CODE_C2 +
// High order int
hashCodeAsciiSanitizeInt(value, offset + 4);
}
Domain
Subdomains
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/PlatformDependent.java.
Where is hashCodeAsciiCompute() defined?
hashCodeAsciiCompute() is defined in common/src/main/java/io/netty/util/internal/PlatformDependent.java at line 843.
What does hashCodeAsciiCompute() call?
hashCodeAsciiCompute() calls 1 function(s): hashCodeAsciiSanitizeInt.
What calls hashCodeAsciiCompute()?
hashCodeAsciiCompute() is called by 2 function(s): hashCodeAscii, hashCodeAsciiSafe.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free