- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 144 for Updated (0.15 sec)
-
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo(""); } public void testComputeIfPresent() { cache.put(key, "1"); // simultaneous update for same key, expect count successful updates doParallelCacheOp( count, n -> { cache.asMap().computeIfPresent(key, (k, v) -> v + delimiter + n); }); assertEquals(1, cache.size());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// Memoized get also retains the value. assertEquals(6, getDoneFromTimeoutOverload(transformedFuture).intValue()); // Unsurprisingly, recomposing the future will return an updated value. assertEquals(8, getDone(transform(immediateFuture, adder, directExecutor())).intValue()); // Repeating, with the timeout version assertEquals( 8,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
.github/dependabot.yml
version: 2 updates: # TODO(b/170636568): Enable Maven updates? Perhaps wait until we can more # easily import the generated PRs into our internal repo. # - package-ecosystem: "maven" # directory: "/" # schedule: # interval: "daily" # - package-ecosystem: "maven" # directory: "/android" # schedule: # interval: "daily" - package-ecosystem: "github-actions" directory: "/" schedule:
Others - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 29 17:59:22 GMT 2021 - 440 bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
AbstractFuture<?> future, @CheckForNull Waiter expect, @CheckForNull Waiter update) { return waitersUpdater.compareAndSet(future, expect, update); } @Override boolean casListeners(AbstractFuture<?> future, @CheckForNull Listener expect, Listener update) { return listenersUpdater.compareAndSet(future, expect, update); } /** Performs a GAS operation on the {@link #listeners} field. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingInputStream.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
private class TestHasher extends AbstractByteHasher { private final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override protected void update(byte b) { out.write(b); } @Override protected void update(byte[] b, int off, int len) { out.write(b, off, len); } byte[] bytes() { return out.toByteArray(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.8K bytes - Viewed (0) -
futures/README.md
The modules under this directory will be released exactly once each. Once that
Plain Text - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 12 21:42:09 GMT 2018 - 141 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashMultimap.java
* views are modifiable. * * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent * read operations will work correctly if the last write <i>happens-before</i> any reads. To allow * concurrent update operations, wrap your multimap with a call to {@link * Multimaps#synchronizedSetMultimap}. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
/** * Returns a collection view of all values associated with a key. If no mappings in the multimap * have the provided key, an empty collection is returned. * * <p>Changes to the returned collection will update the underlying multimap, and vice versa. * * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayListMultimap.java
* implement {@link java.util.RandomAccess}. * * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent * read operations will work correctly. To allow concurrent update operations, wrap your multimap * with a call to {@link Multimaps#synchronizedListMultimap}. * * <p>See the Guava User Guide article on <a href=
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0)