isValidIp4Word() — netty Function Reference
Architecture documentation for the isValidIp4Word() function in IsValidIpV6Benchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4284543e_d63d_4f50_7633_966dfec71ba6["isValidIp4Word()"] 9b92b46f_30d7_cc3a_cdb1_382da71e0b4b["IsValidIpV6Benchmark"] 4284543e_d63d_4f50_7633_966dfec71ba6 -->|defined in| 9b92b46f_30d7_cc3a_cdb1_382da71e0b4b 57b756cc_5352_fd98_feb3_98288ab9dd2c["isValidIpV6AddressOld()"] 57b756cc_5352_fd98_feb3_98288ab9dd2c -->|calls| 4284543e_d63d_4f50_7633_966dfec71ba6 style 4284543e_d63d_4f50_7633_966dfec71ba6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbenchmark/common/IsValidIpV6Benchmark.java lines 41–53
private static boolean isValidIp4Word(String word) {
char c;
if (word.length() < 1 || word.length() > 3) {
return false;
}
for (int i = 0; i < word.length(); i++) {
c = word.charAt(i);
if (!(c >= '0' && c <= '9')) {
return false;
}
}
return Integer.parseInt(word) <= 255;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isValidIp4Word() do?
isValidIp4Word() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbenchmark/common/IsValidIpV6Benchmark.java.
Where is isValidIp4Word() defined?
isValidIp4Word() is defined in microbench/src/main/java/io/netty/microbenchmark/common/IsValidIpV6Benchmark.java at line 41.
What calls isValidIp4Word()?
isValidIp4Word() is called by 1 function(s): isValidIpV6AddressOld.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free