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