- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 111 for modification (0.12 sec)
-
android/guava/src/com/google/common/collect/ArrayTable.java
* an {@code ArrayTable} concurrently and one of the threads modifies its value, there is no * guarantee that the new value will be fully visible to the other threads. To guarantee that * modifications are visible, synchronize access to the table. Unlike other {@code Table} * implementations, synchronization is unnecessary between a thread that writes to one cell and a * thread that reads from another. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
* evictEntry is called (once the lock is released). */ void processPendingNotifications() { RemovalNotification<K, V> notification; while ((notification = removalNotificationQueue.poll()) != null) { try { removalListener.onRemoval(notification); } catch (Throwable e) { logger.log(Level.WARNING, "Exception thrown by removal listener", e); } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* Pat Fisher, Mike Judd. */ /* * Source: * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90 * (We have made some trivial local modifications (commented out * uncompilable code).) */ package com.google.common.util.concurrent; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 37.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* populated. */ result = result.add(requireNonNull(other.dedupedElements[i])); } return result; } /** * Creates a new copy of this SetBuilderImpl. Modifications to that SetBuilderImpl will not * affect this SetBuilderImpl or sets constructed from this SetBuilderImpl via build(). */ abstract SetBuilderImpl<E> copy(); /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
* removed in one segment while checking another, in which case the table was never actually * empty at any point. (The sum ensures accuracy up through at least 1<<31 per-segment * modifications before recheck.) Method containsValue() uses similar constructions for * stability checks. */ long sum = 0L; Segment<K, V, E, S>[] segments = this.segments;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* {@code iterable} contains fewer than {@code numberToSkip} elements, the returned iterable skips * all of its elements. * * <p>Modifications to the underlying {@link Iterable} before a call to {@code iterator()} are * reflected in the returned iterator. That is, the iterator skips the first {@code numberToSkip}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
} } else { throw new IllegalArgumentException("Value already present in map: " + newValue); } } // we do *not* update insertion order, and it isn't a structural modification! deleteFromTableVToK(entry, Hashing.smearedHash(values[entry])); values[entry] = newValue; insertIntoTableVToK(entry, newValueHash); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
*/ @CheckForNull ObjectCountHashMap<E> contents; /** * If build() has been called on the current contents multiset, we need to copy it on any future * modifications, or we'll modify the already-built ImmutableMultiset. */ boolean buildInvoked = false; /** * In the event of a setCount(elem, 0) call, we may need to remove elements, which destroys the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 22.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
notifyStarted(); } @Override protected void doStop() { notifyStopped(); } } /* * A NoOp service that will delay the startup and shutdown notification for a configurable amount * of time. */ private static class NoOpDelayedService extends NoOpService { private long delay; public NoOpDelayedService(long delay) { this.delay = delay; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 02 17:20:27 UTC 2023 - 23.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
@Override public int size() { return totalSize; } @Override public boolean containsKey(@CheckForNull Object key) { return map.containsKey(key); } // Modification Operations @Override public boolean put(@ParametricNullness K key, @ParametricNullness V value) { Collection<V> collection = map.get(key); if (collection == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 48K bytes - Viewed (0)