Home / Function/ toLowerCase() — netty Function Reference

toLowerCase() — netty Function Reference

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

Function java CommonUtil Logging calls 3 called by 3

Entity Profile

Dependency Diagram

graph TD
  b3010567_92f1_0afe_995f_c513e385142f["toLowerCase()"]
  84873396_ba4c_3002_b5f9_9b7743d03751["AsciiStringUtil"]
  b3010567_92f1_0afe_995f_c513e385142f -->|defined in| 84873396_ba4c_3002_b5f9_9b7743d03751
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc["AsciiString()"]
  58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|calls| b3010567_92f1_0afe_995f_c513e385142f
  c2c8955b_a516_e67d_eb69_171073ae486c["linearToLowerCase()"]
  c2c8955b_a516_e67d_eb69_171073ae486c -->|calls| b3010567_92f1_0afe_995f_c513e385142f
  293a26d5_1277_f133_0dbc_9358b4b043b5["unrolledToLowerCase()"]
  293a26d5_1277_f133_0dbc_9358b4b043b5 -->|calls| b3010567_92f1_0afe_995f_c513e385142f
  c2c8955b_a516_e67d_eb69_171073ae486c["linearToLowerCase()"]
  b3010567_92f1_0afe_995f_c513e385142f -->|calls| c2c8955b_a516_e67d_eb69_171073ae486c
  293a26d5_1277_f133_0dbc_9358b4b043b5["unrolledToLowerCase()"]
  b3010567_92f1_0afe_995f_c513e385142f -->|calls| 293a26d5_1277_f133_0dbc_9358b4b043b5
  4d4c4711_f4a5_31e9_dca0_7c2e068d9f04["isUpperCase()"]
  b3010567_92f1_0afe_995f_c513e385142f -->|calls| 4d4c4711_f4a5_31e9_dca0_7c2e068d9f04
  style b3010567_92f1_0afe_995f_c513e385142f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/AsciiStringUtil.java lines 94–109

    private static void toLowerCase(final byte[] src, final int srcOffset, final byte[] dst) {
        if (!PlatformDependent.isUnaligned()) {
            linearToLowerCase(src, srcOffset, dst);
            return;
        }

        final int length = dst.length;
        final int longCount = length >>> 3;
        int offset = 0;
        for (int i = 0; i < longCount; ++i) {
            final long word = PlatformDependent.getLong(src, srcOffset + offset);
            PlatformDependent.putLong(dst, offset, SWARUtil.toLowerCase(word));
            offset += Long.BYTES;
        }
        unrolledToLowerCase(src, srcOffset + offset, dst, offset, length & 7);
    }

Domain

Subdomains

Frequently Asked Questions

What does toLowerCase() do?
toLowerCase() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/AsciiStringUtil.java.
Where is toLowerCase() defined?
toLowerCase() is defined in common/src/main/java/io/netty/util/AsciiStringUtil.java at line 94.
What does toLowerCase() call?
toLowerCase() calls 3 function(s): isUpperCase, linearToLowerCase, unrolledToLowerCase.
What calls toLowerCase()?
toLowerCase() is called by 3 function(s): AsciiString, linearToLowerCase, unrolledToLowerCase.

Analyze Your Own Codebase

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

Try Supermodel Free