Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 712 for removeable (0.22 sec)

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

    	walkValues := []*Value{}
    	for _, v := range b.Values {
    		if v.Uses == 0 && v.removeable() {
    			walkValues = append(walkValues, v)
    		}
    	}
    	for len(walkValues) != 0 {
    		v := walkValues[len(walkValues)-1]
    		walkValues = walkValues[:len(walkValues)-1]
    		if v.Uses == 0 && v.removeable() {
    			walkValues = append(walkValues, v.Args...)
    			v.reset(OpInvalid)
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/value.go

    	return v.Op == OpVarDef || v.Op == OpVarLive || v.Op == OpPhi ||
    		(v.Op == OpFwdRef || v.Op == OpCopy) && v.Type == types.TypeMem
    }
    
    // removeable reports whether the value v can be removed from the SSA graph entirely
    // if its use count drops to 0.
    func (v *Value) removeable() bool {
    	if v.Type.IsVoid() {
    		// Void ops (inline marks), must stay.
    		return false
    	}
    	if opcodeTable[v.Op].nilCheck {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. pkg/util/removeall/removeall.go

    limitations under the License.
    */
    
    package removeall
    
    import (
    	"fmt"
    	"io"
    	"os"
    	"syscall"
    
    	"k8s.io/mount-utils"
    )
    
    // RemoveAllOneFilesystemCommon removes the path and any children it contains,
    // using the provided remove function. It removes everything it can but returns
    // the first error it encounters. If the path does not exist, RemoveAll
    // returns nil (no error).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 16:41:02 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. .idea/uiDesigner.xml

            <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
          </item>
          <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Oct 24 15:06:04 UTC 2013
    - 9.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/AbstractDependencyMetadataRulesIntegrationTest.groovy

                    }
                }
    
                class RemoveRule implements ComponentMetadataRule {
                    void execute(ComponentMetadataContext context) {
                        context.details.withVariant("$variantToTest") {
                            with${toCamelCase(thing)} { d ->
                                assert d.size() == 1
                                d.removeAll { true }
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 36.5K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/os/removeall_test.go

    				t.Fatalf("Lstat %q succeeded after partial RemoveAll", s)
    			}
    		}
    	}
    	if err = RemoveAll(path); err != nil {
    		t.Fatalf("RemoveAll %q after partial RemoveAll: %s", path, err)
    	}
    	if _, err = Lstat(path); err == nil {
    		t.Fatalf("Lstat %q succeeded after RemoveAll (final)", path)
    	}
    }
    
    // Test RemoveAll on a large directory.
    func TestRemoveAllLarge(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top