Home / Function/ applyLowerCasePattern() — netty Function Reference

applyLowerCasePattern() — netty Function Reference

Architecture documentation for the applyLowerCasePattern() function in SWARUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  80ebba66_2d31_1fc8_2306_dd0d02c32430["applyLowerCasePattern()"]
  42ee86cb_49f5_6d26_1f37_9aa45922bfe1["SWARUtil"]
  80ebba66_2d31_1fc8_2306_dd0d02c32430 -->|defined in| 42ee86cb_49f5_6d26_1f37_9aa45922bfe1
  ce78a69e_da7e_bf8a_ec73_565223ffb5ca["containsLowerCase()"]
  ce78a69e_da7e_bf8a_ec73_565223ffb5ca -->|calls| 80ebba66_2d31_1fc8_2306_dd0d02c32430
  be340ceb_e073_bee6_b99c_3503ae799dd2["toUpperCase()"]
  be340ceb_e073_bee6_b99c_3503ae799dd2 -->|calls| 80ebba66_2d31_1fc8_2306_dd0d02c32430
  style 80ebba66_2d31_1fc8_2306_dd0d02c32430 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/SWARUtil.java lines 89–97

    private static long applyLowerCasePattern(final long word) {
        long rotated = word & 0x7F7F7F7F7F7F7F7FL;
        rotated += 0x0505050505050505L;
        rotated &= 0x7F7F7F7F7F7F7F7FL;
        rotated += 0x1A1A1A1A1A1A1A1AL;
        rotated &= ~word;
        rotated &= 0x8080808080808080L;
        return rotated;
    }

Domain

Subdomains

Frequently Asked Questions

What does applyLowerCasePattern() do?
applyLowerCasePattern() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/SWARUtil.java.
Where is applyLowerCasePattern() defined?
applyLowerCasePattern() is defined in common/src/main/java/io/netty/util/internal/SWARUtil.java at line 89.
What calls applyLowerCasePattern()?
applyLowerCasePattern() is called by 2 function(s): containsLowerCase, toUpperCase.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free