- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 1,619 for Removed (0.11 seconds)
-
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
} /** * @throws Exception */ @Test public void testRemove() throws Exception { assertThat(map.remove("1"), is("test")); assertThat(map.size(), is(2)); assertThat(map.remove("dummy"), is(nullValue())); assertThat(map.remove(0), is(nullValue())); } /** * @throws Exception */ @Test public void testRemove2() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
int initialSize = getList().size(); assertTrue("remove(present) should return true", getList().remove(duplicate)); assertTrue( "After remove(duplicate), a list should still contain the duplicate element", getList().contains(duplicate)); assertFalse( "remove(duplicate) should remove the first instance of the " + "duplicate element in the list",
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
for (int i = 0; i < 3; i++) { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> expectedValues = copyToList(values); multimap().get(k0()).remove(i); expectedValues.remove(i); assertGet(k0(), expectedValues); } } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testRemoveAtIndexFromAsMapPropagates() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.7K bytes - Click Count (0) -
tests/callbacks_test.go
createCallback.Remove("c1") if ok, msg := assertCallbacks(createCallback, []string{"c3", "c4", "c2"}); !ok { t.Errorf("callbacks tests failed, got %v", msg) } createCallback.Remove("c4") if ok, msg := assertCallbacks(createCallback, []string{"c3", "c2"}); !ok { t.Errorf("callbacks tests failed, got %v", msg) } createCallback.Remove("c2")Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 7.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
Set<Feature<?>> derivedFeatures = copyToSet(multimapFeatures); if (!derivedFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) { derivedFeatures.remove(CollectionFeature.SERIALIZABLE); } if (derivedFeatures.remove(MapFeature.SUPPORTS_REMOVE)) { derivedFeatures.add(CollectionFeature.SUPPORTS_REMOVE); } return derivedFeatures; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 26.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
} /** * A sensible definition of {@link #remove(Object)} in terms of {@link #remove(Object, int)}. If * you override {@link #remove(Object, int)}, you may wish to override {@link #remove(Object)} to * forward to this implementation. * * @since 7.0 */ @Override protected boolean standardRemove(@Nullable Object element) { return remove(element, 1) > 0; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
callbacks.go
} func (p *processor) Register(name string, fn func(*DB)) error { return (&callback{processor: p}).Register(name, fn) } func (p *processor) Remove(name string) error { return (&callback{processor: p}).Remove(name) } func (p *processor) Replace(name string, fn func(*DB)) error { return (&callback{processor: p}).Replace(name, fn) } func (p *processor) compile() (err error) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:26:07 GMT 2026 - 8.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
return oldValue.getValue(); } } @CanIgnoreReturnValue @Override public @Nullable V remove(@Nullable Object key) { synchronized (lock) { Timestamped<V> stamped = cachingHashMap.remove(key); if (stamped != null) { V value = stamped.getValue(); // `key` was in the cache, so it's a K.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
public void testRemove_empty() { assertThrows(NoSuchElementException.class, () -> getQueue().remove()); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testRemove_size1() { assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
pointing at the same data as x, // with any trailing partial word removed. func words(x []byte) []uintptr { n := uintptr(len(x)) / wordSize if n == 0 { // Avoid creating a *uintptr that refers to data smaller than a uintptr; // see issue 59334. return nil } return unsafe.Slice((*uintptr)(unsafe.Pointer(&x[0])), n) } func xorLoop[T byte | uintptr](dst, x, y []T) { x = x[:len(dst)] // remove bounds check in loop y = y[:len(dst)] // remove bounds check in loop for i := range dst { dst[i] = x[i] ^ y[i]...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)