containsUpperCaseLong() — netty Function Reference
Architecture documentation for the containsUpperCaseLong() function in SWARUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e895828f_6804_eb63_ea65_bd8e78fafc98["containsUpperCaseLong()"] f8708bc1_cb99_2db5_e587_516d1dfe420a["SWARUtilTest"] e895828f_6804_eb63_ea65_bd8e78fafc98 -->|defined in| f8708bc1_cb99_2db5_e587_516d1dfe420a 9faf3741_2af6_d6a7_e666_a118e579fb59["getExtendedAsciiTable()"] e895828f_6804_eb63_ea65_bd8e78fafc98 -->|calls| 9faf3741_2af6_d6a7_e666_a118e579fb59 764a7bba_90e6_f89c_eb25_5b8e3334837c["shuffleArray()"] e895828f_6804_eb63_ea65_bd8e78fafc98 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c 4f5c93d8_0e34_e7e1_a91a_0838ebdb8af8["getLong()"] e895828f_6804_eb63_ea65_bd8e78fafc98 -->|calls| 4f5c93d8_0e34_e7e1_a91a_0838ebdb8af8 style e895828f_6804_eb63_ea65_bd8e78fafc98 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/SWARUtilTest.java lines 28–45
@Test
void containsUpperCaseLong() {
// given
final byte[] asciiTable = getExtendedAsciiTable();
shuffleArray(asciiTable, random);
// when
for (int idx = 0; idx < asciiTable.length; idx += Long.BYTES) {
final long value = getLong(asciiTable, idx);
final boolean actual = SWARUtil.containsUpperCase(value);
boolean expected = false;
for (int i = 0; i < Long.BYTES; i++) {
expected |= Character.isUpperCase(asciiTable[idx + i]);
}
// then
assertEquals(expected, actual);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does containsUpperCaseLong() do?
containsUpperCaseLong() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/SWARUtilTest.java.
Where is containsUpperCaseLong() defined?
containsUpperCaseLong() is defined in common/src/test/java/io/netty/util/internal/SWARUtilTest.java at line 28.
What does containsUpperCaseLong() call?
containsUpperCaseLong() calls 3 function(s): getExtendedAsciiTable, getLong, shuffleArray.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free