- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for sheugh (0.17 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
ATOMIC_HELPER.putNext(this, next); } void unpark() { // This is racy with removeWaiter. The consequence of the race is that we may spuriously call // unpark even though the thread has already removed itself from the list. But even if we did // use a CAS, that race would still exist (it would just be ever so slightly smaller). Thread w = thread; if (w != null) {
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/util/concurrent/Futures.java
// final fields. // // For simplicity the rest of this description will discuss Futures.catching since it is the // simplest instance, though very similar descriptions apply to many other classes in this file. // // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
// If map has a null comparator, the keys should have a natural ordering, // even though K doesn't explicitly implement Comparable. comparator = (Comparator<? super K>) NATURAL_ORDER; } if (map instanceof ImmutableSortedMap) { // TODO(kevinb): Prove that this cast is safe, even though // Collections.unmodifiableSortedMap requires the same key type. @SuppressWarnings("unchecked")
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 52.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
int count = 0; while (contains(iterator, element)) { // Since it lives in the same class, we know contains gets to the element and then stops, // though that isn't currently publicly documented. count++; } return count; } /** * Returns an iterator that cycles indefinitely over the elements of {@code iterable}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Apr 20 03:33:06 GMT 2024 - 50.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
// If map has a null comparator, the keys should have a natural ordering, // even though K doesn't explicitly implement Comparable. comparator = (Comparator<? super K>) NATURAL_ORDER; } if (map instanceof ImmutableSortedMap) { // TODO(kevinb): Prove that this cast is safe, even though // Collections.unmodifiableSortedMap requires the same key type. @SuppressWarnings("unchecked")
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 50.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
* <p>would be flagged as having called {@code sqrt()} with an illegal argument. * * <h3>Performance</h3> * * <p>Avoid passing message arguments that are expensive to compute; your code will always compute * them, even though they usually won't be needed. If you have such arguments, use the conventional * if/throw idiom instead. * * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 14 15:46:55 GMT 2024 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* <p>would be flagged as having called {@code sqrt()} with an illegal argument. * * <h3>Performance</h3> * * <p>Avoid passing message arguments that are expensive to compute; your code will always compute * them, even though they usually won't be needed. If you have such arguments, use the conventional * if/throw idiom instead. * * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* | `https://host/` | `443` | */ @get:JvmName("port") val port: Int, /** * A list of path segments like `["a", "b", "c"]` for the URL `http://host/a/b/c`. This list is * never empty though it may contain a single empty string. * * | URL | `pathSegments()` | * | :----------------------- | :------------------ | * | `http://host/` | `[""]` |
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
b = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42); assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator())); // Different Iterable types (still equal elements, though). a = ImmutableList.of(4, 8, 15, 16, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator())); // An element differs.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
b = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42); assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator())); // Different Iterable types (still equal elements, though). a = ImmutableList.of(4, 8, 15, 16, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator())); // An element differs.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0)