- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkDNSName (0.12 sec)
-
src/net/dnsname_test.go
go emitDNSNameTest(ch) for tc := range ch { if isDomainName(tc.name) != tc.result { t.Errorf("isDomainName(%q) = %v; want %v", tc.name, !tc.result, tc.result) } } } func BenchmarkDNSName(b *testing.B) { testHookUninstaller.Do(uninstallTestHooks) benchmarks := append(dnsNameTests, []dnsNameTest{ {strings.Repeat("a", 63), true}, {strings.Repeat("a", 64), false}, }...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 2K bytes - Viewed (0)