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