- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for sheugh (0.16 sec)
-
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} else { statsCounter.recordEviction(); statsCounter.recordMisses(1); // `key` was in the cache, so it's a K. // (Or it's a weird case like a LinkedList in a Cache<ArrayList, ...>, but *shrug*.) @SuppressWarnings("unchecked") K castKey = (K) key; alertListenerIfPresent(castKey, value.getValue(), RemovalCause.EXPIRED); cachingHashMap.remove(key); return null; } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 21.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* save that if that location is already full, we try the next index, and the next, until we * find an empty table position. Since the table has a power-of-two size, we use * & (table.length - 1) instead of % table.length, though. */ @CheckForNull private final transient Object hashTable; @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues; private final transient int size; /*
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 22.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
"Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents()); } // NOTE: This test will always pass if register() is thread-safe but may also // pass if it isn't, though this is unlikely. public void testRegisterThreadSafety() throws Exception { List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList(); List<Future<?>> futures = Lists.newArrayList();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
"Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents()); } // NOTE: This test will always pass if register() is thread-safe but may also // pass if it isn't, though this is unlikely. public void testRegisterThreadSafety() throws Exception { List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList(); List<Future<?>> futures = Lists.newArrayList();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
private static final class AvlNode<E extends @Nullable Object> { /* * For "normal" nodes, the type of this field is `E`, not `@Nullable E` (though note that E is a * type that can include null, as in a TreeMultiset<@Nullable String>). * * For the header node, though, this field contains `null`, regardless of the type of the * multiset. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 34.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* neither fast nor secure. As of January 2017, we suggest: * <ul> * <li>For security: * {@link Hashing#sha256} or a higher-level API. * <li>For speed: {@link Hashing#goodFastHash}, though see its docs for caveats. * </ul> */ @Deprecated public static HashFunction md5() { return Md5Holder.MD5; } private static class Md5Holder {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* requireNonNull checks below). Plus, we're *already* lying here, since newHeader passes a null * key and value, which we pass to the superconstructor, even though the key and value type for * a given entry might not include null. The right fix for the header problems is probably to * define a separate MultimapLink interface with a separate "header" implementation, which
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* multimap and its {@link Multimap#asMap()} view are {@link ImmutableSortedSet} instances. * However, serialization does not preserve that property, though it does maintain the key and * value ordering. * * @since 8.0 */ // TODO: Make serialization behavior consistent. @CanIgnoreReturnValue @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 23.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* value" (present in the map, with value {@code Optional.absent()}) * <li>To wrap nullable references for storage in a collection that does not support {@code null} * (though there are <a * href="https://github.com/google/guava/wiki/LivingWithNullHostileCollections">several other * approaches to this</a> that should be considered first) * </ul> *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.6K bytes - Viewed (0)