- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 200 for cast1 (0.09 sec)
-
android/guava/src/com/google/common/collect/HashBiMap.java
} final class KeySet extends View<K, V, K> { KeySet() { super(HashBiMap.this); } @Override @ParametricNullness K forEntry(int entry) { // The cast is safe because we call forEntry only for indexes that contain entries. return uncheckedCastNullableTToT(keys[entry]); } @Override public boolean contains(@CheckForNull Object o) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
@CheckForNull private transient volatile CacheEntry<K, V> cacheEntry2; MapRetrievalCache(Map<K, V> backingMap) { super(backingMap); } @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map. @Override @CheckForNull V get(Object key) { checkNotNull(key); V value = getIfCached(key); if (value != null) { return value; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
} return total; } private long aggregateBelowRange(Aggregate aggr, @CheckForNull AvlNode<E> node) { if (node == null) { return 0; } // The cast is safe because we call this method only if hasLowerBound(). int cmp = comparator() .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement()); if (cmp < 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface, * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the * object being tested for equality to the custom interface. {@code ForwardingObject} implements no * such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 3K bytes - Viewed (0) -
guava/src/com/google/common/graph/MapRetrievalCache.java
@CheckForNull private transient volatile CacheEntry<K, V> cacheEntry2; MapRetrievalCache(Map<K, V> backingMap) { super(backingMap); } @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map. @Override @CheckForNull V get(Object key) { checkNotNull(key); V value = getIfCached(key); if (value != null) { return value; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 3.2K bytes - Viewed (0) -
fastapi/dependencies/utils.py
dependency_cache = dependency_cache or {} sub_dependant: Dependant for sub_dependant in dependant.dependencies: sub_dependant.call = cast(Callable[..., Any], sub_dependant.call) sub_dependant.cache_key = cast( Tuple[Callable[..., Any], Tuple[str]], sub_dependant.cache_key ) call = sub_dependant.call use_sub_dependant = sub_dependant if (
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 21:46:26 UTC 2024 - 34.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
* https://lauri.võsandi.com/2017/03/yubikey-for-ssh-auth.html * * Using PKCS11 support in the JDK. * https://tersesystems.com/blog/2018/09/08/keymanagers-and-keystores/ * * Install OpenSC separately. On a mac `brew cast install opensc`. */ @SuppressSignatureCheck class YubikeyClientAuth { fun run() { // The typical PKCS11 slot, may vary with different hardware. val slot = 0
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Platform.java
* class could be unloaded after the above call to `getEnumConstants` but before we call * `get()`, but that is vanishingly unlikely. */ return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get())); } static String formatCompact4Digits(double value) { return String.format(Locale.ROOT, "%.4g", value); } static boolean stringIsNullOrEmpty(@CheckForNull String string) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
public HashCode hash() { long value = checksum.getValue(); if (bits == 32) { /* * The long returned from a 32-bit Checksum will have all 0s for its second word, so the * cast won't lose any information and is necessary to return a HashCode of the correct * size. */ return HashCode.fromInt((int) value); } else { return HashCode.fromLong(value);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:05:16 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* Optional}</a>. * * @param <T> the type of instance that can be contained. {@code Optional} is naturally covariant on * this type, so it is safe to cast an {@code Optional<T>} to {@code Optional<S>} for any * supertype {@code S} of {@code T}. * @author Kurt Alfred Kluever * @author Kevin Bourrillion * @since 10.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0)