- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 174 for xremoveall (0.13 sec)
-
cmd/os-reliable.go
// here. return errFileAccessDenied } } return err } // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns // syscall.ENOTEMPTY (children has files). func reliableRemoveAll(dirPath string) (err error) { i := 0 for { // Removes all the directories and files. if err = RemoveAll(dirPath); err != nil { // Retry only for the first retryable error. if isSysErrNotEmpty(err) && i == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java
@MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllAbsentKey() { assertEmpty(multimap().removeAll(k3())); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllPresentKey() { assertContentsAnyOrder(multimap().removeAll(k0()), v0()); expectMissing(e0()); } @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/server-startup-msg_test.go
func TestPrintServerCommonMessage(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) } defer os.RemoveAll(fsDir) if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil { t.Fatal(err) } apiEndpoints := []string{"http://127.0.0.1:9000"} printServerCommonMsg(apiEndpoints) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
assertFalse( "removeAll(emptyCollection) should return false", collection.removeAll(MinimalCollection.of())); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveAll_nonePresent() { assertFalse( "removeAll(disjointCollection) should return false", collection.removeAll(MinimalCollection.of(e3()))); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse( "after removeAll(e), a collection should not contain e even " + "if it initially contained e more than once.", getList().contains(duplicate)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse( "after removeAll(e), a collection should not contain e even " + "if it initially contained e more than once.", getList().contains(duplicate)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java
@MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllAbsentKey() { assertEmpty(multimap().removeAll(k3())); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllPresentKey() { assertContentsAnyOrder(multimap().removeAll(k0()), v0()); expectMissing(e0()); } @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} } @Override public boolean containsKey(@CheckForNull Object key) { return asMap().get(key) != null; } @Override public Collection<V> removeAll(@CheckForNull Object key) { return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection()); } Collection<V> unmodifiableEmptyCollection() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
@Override public int size() { assertTrue(Thread.holdsLock(mutex)); return delegate.size(); } @Override public boolean removeAll(Collection<?> collection) { assertTrue(Thread.holdsLock(mutex)); return delegate.removeAll(collection); } @Override public boolean isEmpty() { assertTrue(Thread.holdsLock(mutex)); return delegate.isEmpty(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 7.4K bytes - Viewed (0)