- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testStaticAddr (0.77 sec)
-
src/net/hosts_test.go
defer func(orig string) { hostsFilePath = orig }(hostsFilePath) for _, tt := range lookupStaticAddrTests { hostsFilePath = tt.name for _, ent := range tt.ents { testStaticAddr(t, tt.name, ent) } } } func testStaticAddr(t *testing.T, hostsPath string, ent staticHostEntry) { hosts := lookupStaticAddr(ent.in) for i := range ent.out { ent.out[i] = absDomainName(ent.out[i]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 07:21:38 UTC 2023 - 5.6K bytes - Viewed (0)