unsafeBytesEqual() — netty Function Reference
Architecture documentation for the unsafeBytesEqual() function in PlatformDependentBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 30d148df_bb02_3ea0_b523_2ec46d510f94["unsafeBytesEqual()"] 1b124df3_fd9b_b6e0_f648_61e0304c0038["PlatformDependentBenchmark"] 30d148df_bb02_3ea0_b523_2ec46d510f94 -->|defined in| 1b124df3_fd9b_b6e0_f648_61e0304c0038 style 30d148df_bb02_3ea0_b523_2ec46d510f94 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/internal/PlatformDependentBenchmark.java lines 53–58
@Benchmark
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.NANOSECONDS)
public boolean unsafeBytesEqual() {
return PlatformDependent.equals(bytes1, 0, bytes2, 0, bytes1.length);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does unsafeBytesEqual() do?
unsafeBytesEqual() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/internal/PlatformDependentBenchmark.java.
Where is unsafeBytesEqual() defined?
unsafeBytesEqual() is defined in microbench/src/main/java/io/netty/microbench/internal/PlatformDependentBenchmark.java at line 53.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free