testRegionMatchesHandlesOutOfBounds() — netty Function Reference
Architecture documentation for the testRegionMatchesHandlesOutOfBounds() function in AsciiStringCharacterTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7c68e3af_89e5_6808_6ecf_1fe5b0173088["testRegionMatchesHandlesOutOfBounds()"] fd37c1f8_6129_8e57_ad6d_da01ffebceb6["AsciiStringCharacterTest"] 7c68e3af_89e5_6808_6ecf_1fe5b0173088 -->|defined in| fd37c1f8_6129_8e57_ad6d_da01ffebceb6 style 7c68e3af_89e5_6808_6ecf_1fe5b0173088 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/AsciiStringCharacterTest.java lines 537–544
@Test
public void testRegionMatchesHandlesOutOfBounds() {
AsciiString str = new AsciiString("Hello, World!");
AsciiString hello = new AsciiString("Hello");
assertFalse(AsciiString.regionMatches(str, false, -1, hello, 0, 5));
assertFalse(AsciiString.regionMatches(str, false, 0, hello, -1, 5));
assertFalse(AsciiString.regionMatches(str, false, 0, hello, 0, 20));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testRegionMatchesHandlesOutOfBounds() do?
testRegionMatchesHandlesOutOfBounds() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/AsciiStringCharacterTest.java.
Where is testRegionMatchesHandlesOutOfBounds() defined?
testRegionMatchesHandlesOutOfBounds() is defined in common/src/test/java/io/netty/util/AsciiStringCharacterTest.java at line 537.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free