- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 78 for agaric (0.18 sec)
-
android/guava/src/com/google/common/util/concurrent/Striped.java
L created = supplier.get(); ArrayReference<L> newRef = new ArrayReference<>(created, index, queue); while (!locks.compareAndSet(index, existingRef, newRef)) { // we raced, we need to re-read and try again existingRef = locks.get(index); existing = existingRef == null ? null : existingRef.get(); if (existing != null) { return existing; } } drainQueue();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 10 20:55:18 GMT 2023 - 20.3K bytes - Viewed (1) -
android/guava/src/com/google/common/base/Splitter.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* entries are sorted by value. If a key was added more than once, it appears in iteration order * based on the first time it was added, again unless {@link #orderEntriesByValue} was called. * * <p>In the current implementation, all values associated with a given key are stored in the
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 44.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
// always point to "a". for (String string : cycle) { assertEquals("a", string); break; } assertEquals("[a, b] (cycled)", cycle.toString()); } // Again, the exhaustive tests are in IteratorsTest public void testConcatIterable() { List<Integer> list1 = newArrayList(1); List<Integer> list2 = newArrayList(4);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
assertEqualCharNodes(Iterables.limit(result, 2), "ab"); assertThat(graph.requestedNodes).containsExactly('a', 'a', 'b'); // Iterate again to see if calculation is done again assertEqualCharNodes(Iterables.limit(result, 2), "ab"); assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b'); } @Test
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
case 1: return 1; case 2: return endOfData(); default: throw new AssertionError("Should not have been invoked again"); } } }; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* prevent us from selecting our {@code SafeAtomicHelper} strategy. * * <p>Stashing this in a static field avoids loading it over and over again and speeds up test * execution significantly. */ private static final ClassLoader NO_ATOMIC_FIELD_UPDATER = getClassLoader( ImmutableSet.of( AtomicIntegerFieldUpdater.class.getName(),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
checkThreadPoolName(thread2, 2); assertEquals( thread.getName().substring(0, thread.getName().lastIndexOf('-')), thread2.getName().substring(0, thread.getName().lastIndexOf('-'))); // Building again should give us a different pool ID. ThreadFactory threadFactory2 = builder.build(); Thread thread3 = threadFactory2.newThread(monitoredRunnable); checkThreadPoolName(thread3, 1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* .put(Handler.class, new QuuxHandler()) * .build(); * }</pre> * * <p>After invoking {@link #build()} it is still possible to add more entries and build again. * Thus each map generated by this builder will be a superset of any map generated before it. * * @since 2.0 */ public static final class Builder<B> {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed May 10 21:56:03 GMT 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Aug 23 12:54:09 GMT 2023 - 9.4K bytes - Viewed (0)