- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for outDir (0.05 sec)
-
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
} /** * Adds {@code delta} to the value currently associated with {@code key}, and returns the new * value. */ @CanIgnoreReturnValue public long addAndGet(K key, long delta) { outer: while (true) { AtomicLong atomic = map.get(key); if (atomic == null) { atomic = map.putIfAbsent(key, new AtomicLong(delta)); if (atomic == null) { return delta;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
public class SynchronizedDequeTest extends TestCase { protected Deque<String> create() { TestDeque<String> inner = new TestDeque<>(); Deque<String> outer = Synchronized.deque(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestDeque<E> implements Deque<E> { private final Deque<E> delegate = Lists.newLinkedList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
public class SynchronizedQueueTest extends TestCase { protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestQueue<E> implements Queue<E> { private final Queue<E> delegate = Lists.newLinkedList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
} public void testConverter_nullConversions() { for (CaseFormat outer : CaseFormat.values()) { for (CaseFormat inner : CaseFormat.values()) { assertNull(outer.converterTo(inner).convert(null)); assertNull(outer.converterTo(inner).reverse().convert(null)); } } } public void testConverter_toString() { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 8.7K bytes - Viewed (0) -
docs/pt/docs/help-fastapi.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
continue entries; } } if (outI < i) { // if outI == i don't bother writing the values back where they came from alternatingKeysAndValues[outKeyIndex] = key; alternatingKeysAndValues[outKeyIndex ^ 1] = value; } outI++; } return outI == n ? hashTable : new Object[] {hashTable, outI, duplicateKey}; } else if (tableSize <= SHORT_MAX_SIZE) { /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
public class SynchronizedQueueTest extends TestCase { protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestQueue<E> implements Queue<E> { private final Queue<E> delegate = Lists.newLinkedList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public final Object mutex = new Object[0]; // something Serializable protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private Map<K, V> delegate;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "file:/usr/test/dep.jar") .toURI()); assertEquals( new File("/home/build/a.jar").toURI(), ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "a.jar").toURI()); assertEquals( new File("/home/build/x/y/z").toURI(), ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z").toURI()); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
NavigableMap<K, V> innermost = new SafeTreeMap<>((Comparator<? super K>) Ordering.natural().nullsFirst()); TestMap<K, V> inner = new TestMap<>(innermost, mutex); NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex); return outer; } static class TestEntry<K, V> extends ForwardingMapEntry<K, V> implements Serializable { private final Entry<K, V> delegate; private final Object mutex;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 12.2K bytes - Viewed (0)