- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for byPref (0.06 sec)
-
src/net/dnsclient.go
addrs[i:].shuffleByWeight() } // An MX represents a single DNS MX record. type MX struct { Host string Pref uint16 } // byPref sorts MX records by preference type byPref []*MX // sort reorders MX records as specified in RFC 5321. func (s byPref) sort() { for i := range s { j := randIntn(i + 1) s[i], s[j] = s[j], s[i] } slices.SortFunc(s, func(a, b *MX) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 5.7K bytes - Viewed (0)