- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 517 for Unsafe (1.43 sec)
-
android/guava/src/com/google/common/hash/BloomFilter.java
* * <p>As of Guava 23.0, this class is thread-safe and lock-free. It internally uses atomics and * compare-and-swap to ensure correctness when multiple threads are used to access it. * * @param <T> the type of instances that the {@code BloomFilter} accepts * @author Dimitris Andreou * @author Kevin Bourrillion * @since 11.0 (thread-safe since 23.0) */ @BetaRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 19:23:59 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
EntryComparator(@Nullable Comparator<? super K> keyComparator) { this.keyComparator = keyComparator; } @Override @SuppressWarnings("unchecked") // no less safe than putting it in the map! public int compare(Entry<K, V> a, Entry<K, V> b) { return (keyComparator == null) ? ((Comparable) a.getKey()).compareTo(b.getKey())Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
* and {@link Key} objects, with configurable algorithms and character encodings. * </p> * <p> * <strong>Key Features:</strong> * </p> * <ul> * <li>Thread-safe cipher pooling using {@link ConcurrentLinkedQueue}</li> * <li>Configurable encryption algorithms (default: Blowfish)</li> * <li>Proper charset handling for key generation (UTF-8 by default)</li>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
byte[] uniBytes = Strings.getUNIBytes(original); String uniRoundTrip = Strings.fromUNIBytes(uniBytes, 0, uniBytes.length); // When - round trip through ASCII encoding (for ASCII-safe strings) if (original.chars().allMatch(c -> c < 128)) { byte[] asciiBytes = Strings.getASCIIBytes(original);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* they appear. Input data is never modified. {@link HashFunction} instances should always be * stateless, and therefore thread-safe. * <li><b>collision-averse:</b> while it can't be helped that a hash function will sometimes * produce the same hash code for distinct inputs (a "collision"), every hash function strivesRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashFunction.java
* they appear. Input data is never modified. {@link HashFunction} instances should always be * stateless, and therefore thread-safe. * <li><b>collision-averse:</b> while it can't be helped that a hash function will sometimes * produce the same hash code for distinct inputs (a "collision"), every hash function strivesRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
internal/config/identity/plugin/config.go
// constant across restarts. h := sha1.New() h.Write([]byte(pluginURL)) bs := h.Sum(nil) resourceID += base64.RawURLEncoding.EncodeToString(bs) } else { // Check that the roleID is restricted to URL safe characters // (base64 URL encoding chars). if !validRoleIDRegex.MatchString(roleID) { return args, config.Errorf("Role ID must match the regexp `^[a-zA-Z0-9_-]+$`") } // Use the user provided ID here.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
when(cfg.getResponseTimeout()).thenReturn(5_000); when(address.getHostAddress()).thenReturn("127.0.0.1"); when(address.getHostName()).thenReturn("localhost"); // Create the transport with safe defaults (no real sockets) transport = new SmbTransportImpl(ctx, address, 445, null, 0, false); // Reset MID to a known starting point for deterministic behavior
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
cmd/local-locker.go
for _, lri := range lris { uids = append(uids, lri.UID) } // Delete collected uids: for _, uid := range uids { lris, ok := l.lockMap[resource] if !ok { // Just to be safe, delete uuids. for idx := range maxDeleteList { mapID := formatUUID(uid, idx) if _, ok := l.lockUID[mapID]; !ok { break } delete(l.lockUID, mapID) } continueRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
sort( insertionOrder, new Comparator<V>() { @Override public int compare(V left, V right) { // The indexes are small enough for the subtraction trick to be safe. return indexOfEntryWithValue(left) - indexOfEntryWithValue(right); } int indexOfEntryWithValue(V value) { for (int i = 0; i < orderedEntries.size(); i++) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0)