ndotsOptionIsParsedIfPresent() — netty Function Reference
Architecture documentation for the ndotsOptionIsParsedIfPresent() function in UnixResolverDnsServerAddressStreamProviderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 24804cb3_0226_4d66_0421_0c597263ed62["ndotsOptionIsParsedIfPresent()"] 41d853d7_ce22_381d_87e1_1ee33fc781c4["UnixResolverDnsServerAddressStreamProviderTest"] 24804cb3_0226_4d66_0421_0c597263ed62 -->|defined in| 41d853d7_ce22_381d_87e1_1ee33fc781c4 style 24804cb3_0226_4d66_0421_0c597263ed62 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/test/java/io/netty/resolver/dns/UnixResolverDnsServerAddressStreamProviderTest.java lines 139–150
@Test
public void ndotsOptionIsParsedIfPresent(@TempDir Path tempDir) throws IOException {
File f = buildFile(tempDir, "search localdomain\n" +
"nameserver 127.0.0.11\n" +
"options ndots:0\n");
assertEquals(0, parseEtcResolverOptions(f).ndots());
f = buildFile(tempDir, "search localdomain\n" +
"nameserver 127.0.0.11\n" +
"options ndots:123 foo:goo\n");
assertEquals(123, parseEtcResolverOptions(f).ndots());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ndotsOptionIsParsedIfPresent() do?
ndotsOptionIsParsedIfPresent() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/UnixResolverDnsServerAddressStreamProviderTest.java.
Where is ndotsOptionIsParsedIfPresent() defined?
ndotsOptionIsParsedIfPresent() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/UnixResolverDnsServerAddressStreamProviderTest.java at line 139.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free