- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for nonIPs (0.14 sec)
-
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) -
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) -
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) -
lib/fips140/v1.0.0.zip
counter is filled with // zeros on entry. func deriveCounterGeneric(H, counter *[gcmBlockSize]byte, nonce []byte) { // GCM has two modes of operation with respect to the initial counter // state: a "fast path" for 96-bit (12-byte) nonces, and a "slow path" // for nonces of other lengths. For a 96-bit nonce, the nonce, along // with a four-byte big-endian counter starting at one, is used // directly as the starting counter. For other nonce sizes, the counter // is computed by passing it through the...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)