- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,962 for another (0.24 sec)
-
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false); when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing); // another map.get() when(backingMap.get(KEY)).thenReturn(existing); // we shouldn't see any more map operations; CHM will now just update the AtomicInteger assertEquals(12, multiset.add(KEY, 3));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* this.entry = entry; * } * public E getEntry() { return entry; } * public int compareTo(FIFOEntry<E> other) { * int res = entry.compareTo(other.entry); * if (res == 0 && other.entry != this.entry) * res = (seqNum < other.seqNum ? -1 : 1); * return res; * } * }</pre> * * @author Doug Lea * @author Justin T. Sampson
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 07 21:36:32 UTC 2024 - 19K bytes - Viewed (0) -
.github/workflows/CheckBadMerge.groovy
return } // The correct state we are looking for is: // 1. It's a merge commit. // 2. One of its parent commits is from master only. // 3. Another parent commit is from master and release branch. // Otherwise, skip this commit. List<String> p1Branches = branchesOf(parentCommits[0]) List<String> p2Branches = branchesOf(parentCommits[1])
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 19 10:35:44 UTC 2023 - 6.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
return false; } } return true; } /** * Determines whether a type represented by a class object is * convertible to another type represented by a class object using a * method invocation conversion, treating object types of primitive * types as if they were primitive types (that is, a Boolean actual
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
doc/go_mem.html
</p> <pre> *p = 2 if !cond { *p = 1 } </pre> <p> If <code>cond</code> is false and another goroutine is reading <code>*p</code>, then in the original program, the other goroutine can only observe any prior value of <code>*p</code> and <code>1</code>. In the rewritten program, the other goroutine can observe <code>2</code>, which was previously impossible. </p> <p>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
common-protos/k8s.io/api/authentication/v1beta1/generated.proto
// The name that uniquely identifies this user among all active users. // +optional optional string username = 1; // A unique value that identifies this user across time. If this user is // deleted and another user by the same name is added, they will have // different UIDs. // +optional optional string uid = 2; // The names of groups this user is a part of. // +optional repeated string groups = 3;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
import java.util.Map; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A map entry which forwards all its method calls to another map entry. Subclasses should override * one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 19 19:28:11 UTC 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
* hashers are the same order as the functions given to the constructor. */ // this could be cleaner if it passed HashCode[], but that would create yet another array... /* protected */ abstract HashCode makeHash(Hasher[] hashers); @Override public Hasher newHasher() { Hasher[] hashers = new Hasher[functions.length]; for (int i = 0; i < hashers.length; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0)