Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nonIPs (0.08 sec)

  1. cmd/net.go

    func sortIPs(ipList []string) []string {
    	if len(ipList) == 1 {
    		return ipList
    	}
    
    	var ipV4s []net.IP
    	var nonIPs []string
    	for _, ip := range ipList {
    		nip := net.ParseIP(ip)
    		if nip != nil {
    			ipV4s = append(ipV4s, nip)
    		} else {
    			nonIPs = append(nonIPs, ip)
    		}
    	}
    
    	sort.Slice(ipV4s, func(i, j int) bool {
    		// This case is needed when all ips in the list
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "home.netscape.com",
              "web.MIT.edu",
              "foo.eDu.au",
              "utenti.blah.IT",
              "dominio.com.co");
    
      private static final ImmutableSet<String> NON_RS =
          ImmutableSet.<String>builder().addAll(NON_PS).addAll(PS_NOT_RS).build();
    
      private static final ImmutableSet<String> TOP_UNDER_REGISTRY_SUFFIX =
          ImmutableSet.of("google.com", "foo.Co.uk", "foo.ca.us.");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top