- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,357 for removeAt (0.36 sec)
-
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
assertEquals(INITIAL_COUNT, multiset.remove(KEY, 0)); } public void testRemove_zeroFromNone() { when(backingMap.get(KEY)).thenReturn(null); assertEquals(0, multiset.remove(KEY, 0)); } public void testRemove_nonePresent() { when(backingMap.get(KEY)).thenReturn(null); assertEquals(0, multiset.remove(KEY, 400)); } public void testRemove_someRemaining() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 16.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingQueue.java
} } /** * A sensible definition of {@link #poll} in terms of {@link #remove}. If you override {@link * #remove}, you may wish to override {@link #poll} to forward to this implementation. * * @since 7.0 */ protected @Nullable E standardPoll() { try { return remove(); } catch (NoSuchElementException caught) { return null; } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
contents.add(checkNotNull(element), occurrences); return this; } /** * Adds or removes the necessary occurrences of an element such that the element attains the * desired count. * * @param element the element to add or remove occurrences of * @param count the desired count of the element in this multiset * @return this {@code Builder} object
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Object key = warmed.get(i - WARMUP_MIN).getKey(); Object value = warmed.get(i - WARMUP_MIN).getValue(); assertThat(cache.asMap().remove(key, -1)).isFalse(); assertThat(cache.asMap().remove(key, value)).isTrue(); assertThat(cache.asMap().remove(key, -1)).isFalse(); assertThat(cache.asMap().containsKey(key)).isFalse(); } checkEmpty(cache); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// If createTransport returns null (no mock setup), remove immediately try { SmbTransport testTransport = manager.createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface()); if (testTransport == null) { // No recovery possible, remove synchronously removeChannel(failedChannel); return; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} alertListenerIfPresent(key, oldValue.getValue(), RemovalCause.REPLACED); return oldValue.getValue(); } @CanIgnoreReturnValue @Override public V remove(Object key) { Timestamped<V> stamped = cachingHashMap.remove(key); if (stamped != null) { V value = stamped.getValue(); // `key` was in the cache, so it's a K.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
throw e; } } @Override public void remove() { if (nextThrewException) { throw new IllegalStateException(); } iterator.remove(); } } public void testCanCatchJdkBug6529795InTargetIterator() { try { /* Choose 4 steps to get sequence [next, next, next, remove] */ new IteratorTester<Integer>(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java
InternalScopeManager.Mode.REMOVE, singleton(CommonBuilds.PROJECT_PATH_MAIN, CommonBuilds.BUILD_PATH_RUNTIME), Collections.emptySet(), nonTransitiveDependencyScopes)); result.add(internalScopeManager.createResolutionScope( RS_MAIN_RUNTIME_PLUS_SYSTEM, InternalScopeManager.Mode.REMOVE,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/c/BUILD
"//tensorflow/python:__pkg__", ], deps = [ ":c_api", ":c_api_internal", "//tensorflow/core:protos_all_cc", # TODO(b/74620627): remove when _USE_C_SHAPES is removed ], alwayslink = 1, ) cc_library( name = "conversion_macros", hdrs = [ "conversion_macros.h", ],Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sun Dec 07 13:04:09 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
return delegate.poll(); } @Override public E remove() { assertTrue(Thread.holdsLock(mutex)); return delegate.remove(); } @Override public boolean remove(Object object) { assertTrue(Thread.holdsLock(mutex)); return delegate.remove(object); } @Override public @Nullable E peek() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0)