applyPattern() — netty Function Reference
Architecture documentation for the applyPattern() function in SWARUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e2efd92d_0c44_a8cb_5657_31b6cff4687f["applyPattern()"] 42ee86cb_49f5_6d26_1f37_9aa45922bfe1["SWARUtil"] e2efd92d_0c44_a8cb_5657_31b6cff4687f -->|defined in| 42ee86cb_49f5_6d26_1f37_9aa45922bfe1 style e2efd92d_0c44_a8cb_5657_31b6cff4687f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/SWARUtil.java lines 38–42
public static long applyPattern(final long word, final long pattern) {
long input = word ^ pattern;
long tmp = (input & 0x7F7F7F7F7F7F7F7FL) + 0x7F7F7F7F7F7F7F7FL;
return ~(tmp | input | 0x7F7F7F7F7F7F7F7FL);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does applyPattern() do?
applyPattern() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/SWARUtil.java.
Where is applyPattern() defined?
applyPattern() is defined in common/src/main/java/io/netty/util/internal/SWARUtil.java at line 38.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free