Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for nonIPs (0.03 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "www.google.com",
              "www.state.pa.us",
              "www4.yahoo.co.uk"
              // keep-sorted end
              );
    
      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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                String nonceStr = Arrays.toString(nonce);
                assertFalse(nonces.contains(nonceStr), "Nonce should be unique");
                nonces.add(nonceStr);
            }
    
            // Then all nonces should be unique
            assertEquals(numNonces, nonces.size(), "All nonces should be unique");
        }
    
        @Test
        @DisplayName("Should generate secure nonces with proper randomness")
        void testSecureNonceGenerationRandomness() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top