- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 748 for sale (0.02 sec)
-
android/guava/src/com/google/common/collect/Cut.java
return 1; } if (that == aboveAll()) { return -1; } int result = Range.compareOrThrow(endpoint, that.endpoint); if (result != 0) { return result; } // same value. below comes before above return Boolean.compare(this instanceof AboveValue, that instanceof AboveValue); } C endpoint() { return endpoint; } @SuppressWarnings("unchecked") // catching CCE
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
// Multiple shutdowns should be safe assertDoesNotThrow(() -> channelManager.shutdown()); } @Test void testLoadBalancerAccess() { ChannelLoadBalancer balancer = channelManager.getLoadBalancer(); assertNotNull(balancer); // Should return same instance assertSame(balancer, channelManager.getLoadBalancer()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt
applyStrictMode() // Not currently safe // See https://github.com/square/okhttp/pull/8248 OkHttpClient() assertThat(violations).hasSize(1) assertThat(violations[0].message).isEqualTo("newSSLContext") } @Test fun testNewCall() { Platform.resetForTests() val client = OkHttpClient() applyStrictMode() // Safe on main
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 22 14:39:30 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
@Override int indexOf(@Nullable Object target) { if (!contains(target)) { return -1; } // The cast is safe because of the contains checkāat least for any reasonable Comparable class. @SuppressWarnings("unchecked") // requireNonNull is safe because of the contains check. C c = (C) requireNonNull(target); return (int) domain.distance(first(), c); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* * <p>This method is used when testing iterators without a known ordering. We poll the target * iterator's next element and pass it to the reference iterator through this method so it can * return the same element. This enables the assertion to pass and the reference iterator to * properly update its state. */ void promoteToNext(E e) { if (nextElements.remove(e)) { nextElements.push(e);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
* and returns that value on subsequent calls to {@code get()}. See: <a * href="http://en.wikipedia.org/wiki/Memoization">memoization</a> * * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
submittingTaskQueue.nextTask = task; // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). submittingTaskQueue.nextExecutor = requireNonNull(delegate); delegate = null; } else { // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). Executor localDelegate = requireNonNull(delegate);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
ImmutableList() {} public static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() { return CollectCollectors.toImmutableList(); } // Casting to any type is safe because the list will never hold any elements. @SuppressWarnings("unchecked") public static <E> ImmutableList<E> of() { return (ImmutableList<E>) RegularImmutableList.EMPTY; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
private transient volatile @Nullable CacheEntry<K, V> cacheEntry2; MapRetrievalCache(Map<K, V> backingMap) { super(backingMap); } @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map. @Override @Nullable V get(Object key) { checkNotNull(key); V value = getIfCached(key); if (value != null) { return value; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
return next; } } return null; } /** * Determines whether two iterables contain equal elements in the same order. More specifically, * this method returns {@code true} if {@code iterable1} and {@code iterable2} contain the same * number of elements and every element of {@code iterable1} is equal to the corresponding element * of {@code iterable2}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0)