- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 281 for checker (0.11 sec)
-
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
* * @param <K> the base key type * @param <V> the base value type * @author Charles Fry * @author Jon Donovan */ @NullUnmarked @SuppressWarnings("nullness") // TODO: b/384945891 - Remove after fixing checker. public class LocalCache<K, V> implements ConcurrentMap<K, V> { private static final int UNSET_INT = CacheBuilder.UNSET_INT; private final LinkedHashMap<K, Timestamped<V>> cachingHashMap;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
checkNotNull(fromKey); return newView(sortedDelegate.tailMap(fromKey)); } public ImmutableSortedMap<K, V> tailMap(K fromKeyParam, boolean inclusive) { // Declare a "true" local variable so that the Checker Framework will infer nullness. K fromKey = fromKeyParam; checkNotNull(fromKey); if (!inclusive) { fromKey = higher(fromKey); if (fromKey == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
} @J2ktIncompatible static final class SerializedForm implements Serializable { final Object[] elements; final int[] counts; // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013 SerializedForm(Multiset<? extends Object> multiset) { int distinct = multiset.entrySet().size(); elements = new Object[distinct]; counts = new int[distinct]; int i = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: * * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* perform runtime null checks on the input and output. (That would also make NullPointerTester * happy!) However, since we didn't do that for many years, we're not about to start now. * (Runtime checks could be particularly bad for users of LegacyConverter.) * * Luckily, our nullness checker is smart enough to realize that `convert` has @PolyNull-like
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* use `get(key) ?: defaultValue` instead of this method, anyway. */ V result = get(key); // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker. if (result != null) { return result; } else { return defaultValue; } } @LazyInit @RetainedWith private transient @Nullable ImmutableSet<Entry<K, V>> entrySet; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* use `get(key) ?: defaultValue` instead of this method, anyway. */ V result = get(key); // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker. if (result != null) { return result; } else { return defaultValue; } } @LazyInit @RetainedWith private transient @Nullable ImmutableSet<Entry<K, V>> entrySet;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
if (scheduleFailure != null) { service.notifyFailed(scheduleFailure); } return toReturn; } @GuardedBy("lock") /* * The GuardedBy checker warns us that we're not holding cancellationDelegate.lock. But in * fact we are holding it because it is the same as this.lock, which we know we are holding,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
if (scheduleFailure != null) { service.notifyFailed(scheduleFailure); } return toReturn; } @GuardedBy("lock") /* * The GuardedBy checker warns us that we're not holding cancellationDelegate.lock. But in * fact we are holding it because it is the same as this.lock, which we know we are holding,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
if (firstEntry == null || lastEntry == null) { /* * Either both are null or neither is: Either the set is empty, or it's not. But we check both * to make the nullness checker happy. */ throw new NoSuchElementException(); } return Range.create(firstEntry.getValue().lowerBound, lastEntry.getValue().upperBound); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0)