Home / Function/ containsLowerCase() — netty Function Reference

containsLowerCase() — netty Function Reference

Architecture documentation for the containsLowerCase() function in AsciiStringUtil.java from the netty codebase.

Function java CommonUtil Logging calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  21106794_3e29_aab2_bb7f_344a799d8acc["containsLowerCase()"]
  84873396_ba4c_3002_b5f9_9b7743d03751["AsciiStringUtil"]
  21106794_3e29_aab2_bb7f_344a799d8acc -->|defined in| 84873396_ba4c_3002_b5f9_9b7743d03751
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc["AsciiString()"]
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|calls| 21106794_3e29_aab2_bb7f_344a799d8acc
  bd46daab_535a_f639_4851_df731a593516["unrolledContainsLowerCase()"]
  bd46daab_535a_f639_4851_df731a593516 -->|calls| 21106794_3e29_aab2_bb7f_344a799d8acc
  c2ee3a38_b203_eb6b_de8d_1ff84daa073c["linearContainsLowerCase()"]
  21106794_3e29_aab2_bb7f_344a799d8acc -->|calls| c2ee3a38_b203_eb6b_de8d_1ff84daa073c
  bd46daab_535a_f639_4851_df731a593516["unrolledContainsLowerCase()"]
  21106794_3e29_aab2_bb7f_344a799d8acc -->|calls| bd46daab_535a_f639_4851_df731a593516
  style 21106794_3e29_aab2_bb7f_344a799d8acc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/AsciiStringUtil.java lines 159–173

    private static boolean containsLowerCase(final byte[] byteArray, int offset, final int length) {
        if (!PlatformDependent.isUnaligned()) {
            return linearContainsLowerCase(byteArray, offset, length);
        }

        final int longCount = length >>> 3;
        for (int i = 0; i < longCount; ++i) {
            final long word = PlatformDependent.getLong(byteArray, offset);
            if (SWARUtil.containsLowerCase(word)) {
                return true;
            }
            offset += Long.BYTES;
        }
        return unrolledContainsLowerCase(byteArray, offset, length & 7);
    }

Domain

Subdomains

Frequently Asked Questions

What does containsLowerCase() do?
containsLowerCase() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/AsciiStringUtil.java.
Where is containsLowerCase() defined?
containsLowerCase() is defined in common/src/main/java/io/netty/util/AsciiStringUtil.java at line 159.
What does containsLowerCase() call?
containsLowerCase() calls 2 function(s): linearContainsLowerCase, unrolledContainsLowerCase.
What calls containsLowerCase()?
containsLowerCase() is called by 2 function(s): AsciiString, unrolledContainsLowerCase.

Analyze Your Own Codebase

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

Try Supermodel Free