Home / Function/ useGetByNameIpv4() — netty Function Reference

useGetByNameIpv4() — netty Function Reference

Architecture documentation for the useGetByNameIpv4() function in NetUtilBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4b76d17d_0cf7_d2e6_176d_1f6334460c3a["useGetByNameIpv4()"]
  bc5894ee_1dab_8275_b13f_daf1cf478fc8["NetUtilBenchmark"]
  4b76d17d_0cf7_d2e6_176d_1f6334460c3a -->|defined in| bc5894ee_1dab_8275_b13f_daf1cf478fc8
  style 4b76d17d_0cf7_d2e6_176d_1f6334460c3a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbenchmark/common/NetUtilBenchmark.java lines 30–39

    @Benchmark
    public int useGetByNameIpv4() {
        int invalidCount = 0;
        for (String testEntry : invalidIpV4Hosts) {
            if (NetUtil.getByName(testEntry) == null) {
                ++invalidCount;
            }
        }
        return invalidCount;
    }

Domain

Subdomains

Frequently Asked Questions

What does useGetByNameIpv4() do?
useGetByNameIpv4() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbenchmark/common/NetUtilBenchmark.java.
Where is useGetByNameIpv4() defined?
useGetByNameIpv4() is defined in microbench/src/main/java/io/netty/microbenchmark/common/NetUtilBenchmark.java at line 30.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free