- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for standardCriteria (0.34 sec)
-
src/net/nss.go
} type nssSource struct { source string // e.g. "compat", "files", "mdns4_minimal" criteria []nssCriterion } // standardCriteria reports all specified criteria have the default // status actions. func (s nssSource) standardCriteria() bool { for i, crit := range s.criteria { if !crit.standardStatusAction(i == len(s.criteria)-1) { return false } } return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:15:51 UTC 2022 - 5.5K bytes - Viewed (0) -
src/net/conf.go
var hasDNSSourceChecked bool var filesSource, dnsSource bool var first string for i, src := range srcs { if src.source == "files" || src.source == "dns" { if canUseCgo && !src.standardCriteria() { // non-standard; let libc deal with it. return hostLookupCgo, dnsConf } if src.source == "files" { filesSource = true } else { hasDNSSource = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 15.5K bytes - Viewed (0)