containsUpperCase() — netty Function Reference
Architecture documentation for the containsUpperCase() function in AsciiStringUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b1bfa746_05ac_cde4_0422_8b8d974c5698["containsUpperCase()"] 84873396_ba4c_3002_b5f9_9b7743d03751["AsciiStringUtil"] b1bfa746_05ac_cde4_0422_8b8d974c5698 -->|defined in| 84873396_ba4c_3002_b5f9_9b7743d03751 58ce1a46_a851_3cdb_7866_9d7058c6d7dc["AsciiString()"] 58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|calls| b1bfa746_05ac_cde4_0422_8b8d974c5698 631f21b0_b5b9_3bc9_4f06_5bec37499ba1["unrolledContainsUpperCase()"] 631f21b0_b5b9_3bc9_4f06_5bec37499ba1 -->|calls| b1bfa746_05ac_cde4_0422_8b8d974c5698 cc783f21_4dad_8ac3_503e_a4fdeaf2d428["linearContainsUpperCase()"] b1bfa746_05ac_cde4_0422_8b8d974c5698 -->|calls| cc783f21_4dad_8ac3_503e_a4fdeaf2d428 631f21b0_b5b9_3bc9_4f06_5bec37499ba1["unrolledContainsUpperCase()"] b1bfa746_05ac_cde4_0422_8b8d974c5698 -->|calls| 631f21b0_b5b9_3bc9_4f06_5bec37499ba1 style b1bfa746_05ac_cde4_0422_8b8d974c5698 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/AsciiStringUtil.java lines 44–58
private static boolean containsUpperCase(final byte[] byteArray, int offset, final int length) {
if (!PlatformDependent.isUnaligned()) {
return linearContainsUpperCase(byteArray, offset, length);
}
final int longCount = length >>> 3;
for (int i = 0; i < longCount; ++i) {
final long word = PlatformDependent.getLong(byteArray, offset);
if (SWARUtil.containsUpperCase(word)) {
return true;
}
offset += Long.BYTES;
}
return unrolledContainsUpperCase(byteArray, offset, length & 7);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does containsUpperCase() do?
containsUpperCase() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/AsciiStringUtil.java.
Where is containsUpperCase() defined?
containsUpperCase() is defined in common/src/main/java/io/netty/util/AsciiStringUtil.java at line 44.
What does containsUpperCase() call?
containsUpperCase() calls 2 function(s): linearContainsUpperCase, unrolledContainsUpperCase.
What calls containsUpperCase()?
containsUpperCase() is called by 2 function(s): AsciiString, unrolledContainsUpperCase.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free