Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 712 for removeable (0.27 sec)

  1. src/cmd/go/internal/robustio/robustio_flaky.go

    		// increase in robustness is probably not worth the extra latency.
    		return err, isEphemeralError(err) && !errors.Is(err, errFileNotFound)
    	})
    	return b, err
    }
    
    func removeAll(path string) error {
    	return retry(func() (err error, mayRetry bool) {
    		err = os.RemoveAll(path)
    		return err, isEphemeralError(err)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/copycerts/copycerts_test.go

    	tmpdir := testutil.SetupTempDir(t)
    	defer os.RemoveAll(tmpdir)
    	initConfiguration := testutil.GetDefaultInternalConfig(t)
    	initConfiguration.ClusterConfiguration.CertificatesDir = tmpdir
    
    	// Temporary directory where certificates will be downloaded to
    	targetTmpdir := testutil.SetupTempDir(t)
    	defer os.RemoveAll(targetTmpdir)
    	initForDownloadConfiguration := testutil.GetDefaultInternalConfig(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/internal/provider/views/SetPropertySetView.java

            boolean removed = set.remove(o);
            delegate.set(set);
            return removed;
        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
            Set<? extends E> set = new LinkedHashSet<>(delegate.get());
            boolean removed = set.removeAll(c);
            delegate.set(set);
            return removed;
        }
    
        @Override
        public boolean retainAll(Collection<?> c) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          // invalidated and have undefined behavior after entrySet.removeAll(entriesToRemove),
          // for example entryToRemove.getValue() might be null.
          Entry<K, V> entryToRemoveCopy =
              Helpers.mapEntry(entryToRemove.getKey(), entryToRemove.getValue());
    
          int initialSize = map.size();
          boolean didRemove = entrySet.removeAll(entriesToRemove);
          assertTrue(didRemove);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyClassPathNotationConverter.java

            List<File> kotlinImpl = kotlinImplFrom(apiClasspath);
            List<File> installationBeacon = classPathRegistry.getClassPath("GRADLE_INSTALLATION_BEACON").getAsFiles();
            apiClasspath.removeAll(groovyImpl);
            apiClasspath.removeAll(installationBeacon);
            // Remove Kotlin DSL and Kotlin jars
            removeKotlin(apiClasspath);
    
            ImmutableSet.Builder<File> builder = ImmutableSet.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 18:30:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          // invalidated and have undefined behavior after entrySet.removeAll(entriesToRemove),
          // for example entryToRemove.getValue() might be null.
          Entry<K, V> entryToRemoveCopy =
              Helpers.mapEntry(entryToRemove.getKey(), entryToRemove.getValue());
    
          int initialSize = map.size();
          boolean didRemove = entrySet.removeAll(entriesToRemove);
          assertTrue(didRemove);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #removeAll()
        try {
          multimap.removeAll(sampleKey);
          fail("removeAll succeeded on unmodifiable multimap");
        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    	return spm.backupEtcdDir
    }
    
    func (spm *fakeStaticPodPathManager) CleanupDirs() error {
    	if err := os.RemoveAll(spm.TempManifestDir()); err != nil {
    		return err
    	}
    	if err := os.RemoveAll(spm.BackupManifestDir()); err != nil {
    		return err
    	}
    	return os.RemoveAll(spm.BackupEtcdDir())
    }
    
    type fakeTLSEtcdClient struct{ TLS bool }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. src/cmd/go/internal/cache/cache_test.go

    	"time"
    )
    
    func init() {
    	verify = false // even if GODEBUG is set
    }
    
    func TestBasic(t *testing.T) {
    	dir, err := os.MkdirTemp("", "cachetest-")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    	_, err = Open(filepath.Join(dir, "notexist"))
    	if err == nil {
    		t.Fatal(`Open("tmp/notexist") succeeded, want failure`)
    	}
    
    	cdir := filepath.Join(dir, "c1")
    	if err := os.Mkdir(cdir, 0777); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_minimize.txt

    ! stdout '^ok'
    ! stdout 'minimizing'
    stdout -count=1 'there was an Error'
    stdout FAIL
    
    # Test that minimization is working for recoverable errors.
    ! go test -fuzz=FuzzMinimizerRecoverable -run=FuzzMinimizerRecoverable -fuzztime=10000x .
    ! stdout '^ok'
    stdout 'got the minimum size!'
    # The error message that was printed should be for the one written to testdata.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 16:15:36 UTC 2021
    - 5.8K bytes
    - Viewed (0)
Back to top