Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for removeable (0.2 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    			for j, v := range b.Values {
    				var v0 *Value
    				if debug > 1 {
    					v0 = new(Value)
    					*v0 = *v
    					v0.Args = append([]*Value{}, v.Args...) // make a new copy, not aliasing
    				}
    				if v.Uses == 0 && v.removeable() {
    					if v.Op != OpInvalid && deadcode == removeDeadValues {
    						// Reset any values that are now unused, so that we decrement
    						// the use count of all of its arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/clean/clean.go

    			sh.ShowCmd("", "rm -f %s", p.Target)
    		}
    		if !cfg.BuildN {
    			removeFile(p.Target)
    		}
    	}
    
    	if cleanR {
    		for _, p1 := range p.Internal.Imports {
    			clean(p1)
    		}
    	}
    }
    
    // removeFile tries to remove file f, if error other than file doesn't exist
    // occurs, it will report the error.
    func removeFile(f string) {
    	err := os.Remove(f)
    	if err == nil || os.IsNotExist(err) {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

        private val moduleToRemove: Set<String>
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    removeAll { moduleToRemove.contains(it.name) }
                }
            }
        }
    }
    
    
    abstract class DependencyRemovalByGroupRule @Inject constructor(
        private val groupsToRemove: Set<String>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/os/removeall_at.go

    	"internal/syscall/unix"
    	"io"
    	"syscall"
    )
    
    func removeAll(path string) error {
    	if path == "" {
    		// fail silently to retain compatibility with previous behavior
    		// of RemoveAll. See issue 28830.
    		return nil
    	}
    
    	// The rmdir system call does not permit removing ".",
    	// so we don't permit it either.
    	if endsWithDot(path) {
    		return &PathError{Op: "RemoveAll", Path: path, Err: syscall.EINVAL}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	}
    }
    
    func TestKubeconfigReadWriter(t *testing.T) {
    	// creates tmp folders
    	dirKubernetes := testutil.SetupTempDir(t)
    	defer os.RemoveAll(dirKubernetes)
    	dirPKI := testutil.SetupTempDir(t)
    	defer os.RemoveAll(dirPKI)
    
    	// write the CA cert and key to the temporary PKI dir
    	caName := kubeadmconstants.CACertAndKeyBaseName
    	if err := pkiutil.WriteCertAndKey(
    		dirPKI,
    		caName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. android/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.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelOutputLocationCrossVersionSpec.groovy

               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.removeAll { it.kind == 'output' }
                           }
                       }
                   }
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top