containsLowerCaseLong() — netty Function Reference
Architecture documentation for the containsLowerCaseLong() function in SWARUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c124bd61_8fa9_05e6_6a63_d2858c61c423["containsLowerCaseLong()"] f8708bc1_cb99_2db5_e587_516d1dfe420a["SWARUtilTest"] c124bd61_8fa9_05e6_6a63_d2858c61c423 -->|defined in| f8708bc1_cb99_2db5_e587_516d1dfe420a 9faf3741_2af6_d6a7_e666_a118e579fb59["getExtendedAsciiTable()"] c124bd61_8fa9_05e6_6a63_d2858c61c423 -->|calls| 9faf3741_2af6_d6a7_e666_a118e579fb59 764a7bba_90e6_f89c_eb25_5b8e3334837c["shuffleArray()"] c124bd61_8fa9_05e6_6a63_d2858c61c423 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c 4f5c93d8_0e34_e7e1_a91a_0838ebdb8af8["getLong()"] c124bd61_8fa9_05e6_6a63_d2858c61c423 -->|calls| 4f5c93d8_0e34_e7e1_a91a_0838ebdb8af8 style c124bd61_8fa9_05e6_6a63_d2858c61c423 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/SWARUtilTest.java lines 66–83
@Test
void containsLowerCaseLong() {
// 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.containsLowerCase(value);
boolean expected = false;
for (int i = 0; i < Long.BYTES; i++) {
expected |= Character.isLowerCase(asciiTable[idx + i]);
}
// then
assertEquals(expected, actual);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does containsLowerCaseLong() do?
containsLowerCaseLong() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/SWARUtilTest.java.
Where is containsLowerCaseLong() defined?
containsLowerCaseLong() is defined in common/src/test/java/io/netty/util/internal/SWARUtilTest.java at line 66.
What does containsLowerCaseLong() call?
containsLowerCaseLong() 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