- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 424 for checker (0.04 seconds)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
} @Override public final @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) { 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; } } private transient @Nullable ImmutableSet<Entry<K, V>> cachedEntrySet = null; @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/StandardTable.java
return requireNonNull(get(entry.getKey())).equals(entry.getValue()); } } return false; } @Override public boolean remove(@Nullable Object obj) { /* * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our * nullness checker. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 29.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
Entry<Cut<K>, RangeMapEntry<K, V>> lastEntry = entriesByLowerBound.lastEntry(); // Either both are null or neither is, but we check both to satisfy the nullness checker. if (firstEntry == null || lastEntry == null) { throw new NoSuchElementException(); } return Range.create(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
ci/official/utilities/code_check_full.bats
# only on affected targets, usually. There are targets in //tensorflow/lite that # don't pass --nobuild, so they're on their own. # # Although buildifier checks for formatting as well, "bazel build nobuild" # checks for cross-file issues like bad includes or missing BUILD definitions. # # We can't test on the windows toolchains because they're using a legacy
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 28 22:41:17 GMT 2026 - 13.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
@Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations public <T extends @Nullable Object> T[] toArray(T[] other) { return ObjectArrays.toArrayImpl(this, other); } @Override public boolean contains(@Nullable Object object) { try { // This set never contains null. We need to explicitly check hereCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* out by the time the listener runs for the final future -- at which point we need to check * all inputs for exceptions *if* we're collecting values. If we're not, then the listener * doesn't need access to the futures again, so we can just pass `null`. * * TODO(b/112550045): Allocating a single, cheaper listener is (I think) only an optimization.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (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;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
return (delegate != null) ? delegate.toArray() : Arrays.copyOf(requireElements(), size); } @CanIgnoreReturnValue @Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations public <T extends @Nullable Object> T[] toArray(T[] a) { if (needsAllocArrays()) { if (a.length > 0) { a[0] = null; } return a; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 23.9K bytes - Click Count (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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 16.6K bytes - Click Count (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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0)