toUpperCase() — netty Function Reference
Architecture documentation for the toUpperCase() function in AsciiStringUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1["toUpperCase()"] 84873396_ba4c_3002_b5f9_9b7743d03751["AsciiStringUtil"] 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1 -->|defined in| 84873396_ba4c_3002_b5f9_9b7743d03751 58ce1a46_a851_3cdb_7866_9d7058c6d7dc["AsciiString()"] 58ce1a46_a851_3cdb_7866_9d7058c6d7dc -->|calls| 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1 3cc61e9d_c193_86a8_9877_a788263a1913["linearToUpperCase()"] 3cc61e9d_c193_86a8_9877_a788263a1913 -->|calls| 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1 6a5e7782_4c2b_e42a_a9cd_12fc1f861554["unrolledToUpperCase()"] 6a5e7782_4c2b_e42a_a9cd_12fc1f861554 -->|calls| 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1 3cc61e9d_c193_86a8_9877_a788263a1913["linearToUpperCase()"] 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1 -->|calls| 3cc61e9d_c193_86a8_9877_a788263a1913 6a5e7782_4c2b_e42a_a9cd_12fc1f861554["unrolledToUpperCase()"] 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1 -->|calls| 6a5e7782_4c2b_e42a_a9cd_12fc1f861554 daceb129_5a52_fe79_132f_92f11063b370["isLowerCase()"] 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1 -->|calls| daceb129_5a52_fe79_132f_92f11063b370 style 4145ce36_ee3b_ee17_ea11_7e3ee9de39d1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/AsciiStringUtil.java lines 209–224
private static void toUpperCase(final byte[] src, final int srcOffset, final byte[] dst) {
if (!PlatformDependent.isUnaligned()) {
linearToUpperCase(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.toUpperCase(word));
offset += Long.BYTES;
}
unrolledToUpperCase(src, srcOffset + offset, dst, offset, length & 7);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does toUpperCase() do?
toUpperCase() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/AsciiStringUtil.java.
Where is toUpperCase() defined?
toUpperCase() is defined in common/src/main/java/io/netty/util/AsciiStringUtil.java at line 209.
What does toUpperCase() call?
toUpperCase() calls 3 function(s): isLowerCase, linearToUpperCase, unrolledToUpperCase.
What calls toUpperCase()?
toUpperCase() is called by 3 function(s): AsciiString, linearToUpperCase, unrolledToUpperCase.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free