equalsConstantTime() — netty Function Reference
Architecture documentation for the equalsConstantTime() function in PlatformDependent.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fd15892e_9a9d_498d_b96c_d45d2c3a0e34["equalsConstantTime()"] 2e66d079_807f_6785_864f_73ab09fbc515["PlatformDependent"] fd15892e_9a9d_498d_b96c_d45d2c3a0e34 -->|defined in| 2e66d079_807f_6785_864f_73ab09fbc515 f9f97c70_723b_fe44_1e76_e4c49b6d6c61["hasUnsafe()"] fd15892e_9a9d_498d_b96c_d45d2c3a0e34 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61 style fd15892e_9a9d_498d_b96c_d45d2c3a0e34 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/PlatformDependent.java lines 1165–1169
public static int equalsConstantTime(byte[] bytes1, int startPos1, byte[] bytes2, int startPos2, int length) {
return !hasUnsafe() || !unalignedAccess() ?
ConstantTimeUtils.equalsConstantTime(bytes1, startPos1, bytes2, startPos2, length) :
PlatformDependent0.equalsConstantTime(bytes1, startPos1, bytes2, startPos2, length);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does equalsConstantTime() do?
equalsConstantTime() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/PlatformDependent.java.
Where is equalsConstantTime() defined?
equalsConstantTime() is defined in common/src/main/java/io/netty/util/internal/PlatformDependent.java at line 1165.
What does equalsConstantTime() call?
equalsConstantTime() calls 1 function(s): hasUnsafe.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free