- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,468 for removeAt (0.08 sec)
-
cmd/erasure-healing_test.go
t.Fatal(err) } // Remove the object - to simulate the case where the disk was down when the object // was created. err = removeAll(pathJoin(disk.String(), bucket, object)) if err != nil { t.Fatal(err) } // Checking abandoned parts should do nothing err = er.checkAbandonedParts(ctx, bucket, object, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: true}) if err != nil { t.Fatal(err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (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(@CheckForNull Object element) { return remove(element, 1) > 0; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 10.4K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.2K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
list.addLast("1"); list.addLast("2"); assertThat(list.remove("3"), is(not(true))); assertThat(list.remove("1"), is(true)); assertThat(list.remove(null), is(true)); list.clear(); list.addLast("1"); list.addLast("2"); list.addLast("3"); list.remove(1); assertThat(list.get(0), is("1")); assertThat(list.get(1), is("3"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.3K bytes - Viewed (0) -
internal/lock/lock_test.go
"os" "testing" "time" ) // Test lock fails. func TestLockFail(t *testing.T) { f, err := os.CreateTemp("", "lock") if err != nil { t.Fatal(err) } f.Close() defer func() { err = os.Remove(f.Name()) if err != nil { t.Fatal(err) } }() _, err = LockedOpenFile(f.Name(), os.O_APPEND, 0o600) if err == nil { t.Fatal("Should fail here") } } // Tests lock directory fail.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.6K bytes - Viewed (0) -
tests/test_tutorial/test_dataclasses/test_tutorial002.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Jul 31 14:09:15 UTC 2024 - 3.5K bytes - Viewed (0) -
src/packaging/common/scripts/postrm
${packaging.scripts.header} # # This script is executed in the post-removal phase # # On Debian, # $1=remove : indicates a removal # $1=purge : indicates an upgrade # # On RedHat, # $1=0 : indicates a removal # $1=1 : indicates an upgrade SOURCE_ENV_FILE=true REMOVE_DIRS=false REMOVE_SERVICE=false REMOVE_USER_AND_GROUP=false case "$1" in
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Dec 10 01:24:02 UTC 2015 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
throw new UnsupportedOperationException(); } @CanIgnoreReturnValue @Override public final boolean remove(@CheckForNull Object element) { return remove(element, 1) > 0; } @CanIgnoreReturnValue @Override public int remove(@CheckForNull Object element, int occurrences) { throw new UnsupportedOperationException(); } @CanIgnoreReturnValue @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 6K bytes - Viewed (0)