Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 102 for Deleted (1.06 sec)

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

    	b.Kind = BlockPlain
    	b.Likely = BranchUnknown
    	b.ResetControls()
    	// The values in b may be dead codes, and clearing them in time may
    	// obtain new optimization opportunities.
    	// First put dead values that can be deleted into a slice walkValues.
    	// Then put their arguments in walkValues before resetting the dead values
    	// in walkValues, because the arguments may also become dead values.
    	walkValues := []*Value{}
    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/cse.go

    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    	"fmt"
    	"sort"
    )
    
    // cse does common-subexpression elimination on the Function.
    // Values are just relinked, nothing is deleted. A subsequent deadcode
    // pass is required to actually remove duplicate expressions.
    func cse(f *Func) {
    	// Two values are equivalent if they satisfy the following definition:
    	// equivalent(v, w):
    	//   v.op == w.op
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    	tg.grepStdout("coverage: 100", "no coverage")
    }
    
    // Regression test for golang.org/issue/34499: version command should not crash
    // when executed in a deleted directory on Linux.
    func TestExecInDeletedDir(t *testing.T) {
    	switch runtime.GOOS {
    	case "windows", "plan9",
    		"aix",                // Fails with "device busy".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/11-language-change.yml

          description: "What other languages do you have experience with?"
          placeholder: "Go, Python, JS, Rust"
        validations:
          required: false
    
      - type: checkboxes
        id: related-idea
        attributes:
          label: "Related Idea"
          options:
            - label: "Has this idea, or one like it, been proposed before?"
            - label: "Does this affect error handling?"
            - label: "Is this about generics?"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 20:49:24 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/closure_test.go

    		a++
    	}
    	b()
    	b()
    	return a
    }
    
    func testCFunc(t *testing.T) {
    	if want, got := 2, testCFunc_ssa(); got != want {
    		t.Errorf("expected %d, got %d", want, got)
    	}
    }
    
    // TestClosure tests closure related behavior.
    func TestClosure(t *testing.T) {
    	testCFunc(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 572 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/builtins_test.go

    	{"copy", `var dst []byte; copy(dst, "hello")`, `func([]byte, string) int`},
    
    	{"delete", `var m map[string]bool; delete(m, "foo")`, `func(map[string]bool, string)`},
    	{"delete", `type (K string; V int); var m map[K]V; delete(m, "foo")`, `func(map[p.K]p.V, p.K)`},
    
    	{"imag", `_ = imag(1i)`, `invalid type`}, // constant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (CMP(W|WU) (MOVDconst [c]) x) => (InvertFlags (CMP(W|WU)const x [int32(c)]))
    
    // Match (x >> c) << d to 'rotate then insert selected bits [into zero]'.
    (SLDconst (SRDconst x [c]) [d]) => (RISBGZ x {s390x.NewRotateParams(uint8(max8(0, int8(c-d))), 63-d, uint8(int8(d-c)&63))})
    
    // Match (x << c) >> d to 'rotate then insert selected bits [into zero]'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/initorder.go

    				for s := range n.succ {
    					// ignore self-cycles
    					if s != n {
    						p.succ.add(s)
    						s.pred.add(p)
    					}
    				}
    				delete(p.succ, n) // remove edge to n
    			}
    		}
    		for s := range n.succ {
    			delete(s.pred, n) // remove edge to n
    		}
    	}
    
    	// fill in index and ndeps fields
    	for i, n := range G {
    		n.index = i
    		n.ndeps = len(n.succ)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. api/go1.9.txt

    pkg runtime/pprof, func SetGoroutineLabels(context.Context)
    pkg runtime/pprof, func WithLabels(context.Context, LabelSet) context.Context
    pkg runtime/pprof, type LabelSet struct
    pkg sync, method (*Map) Delete(interface{})
    pkg sync, method (*Map) Load(interface{}) (interface{}, bool)
    pkg sync, method (*Map) LoadOrStore(interface{}, interface{}) (interface{}, bool)
    pkg sync, method (*Map) Range(func(interface{}, interface{}) bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/typestring.go

    		panic(msg)
    	}
    	w.buf.WriteString("<" + msg + ">")
    }
    
    func (w *typeWriter) typ(typ Type) {
    	if w.seen[typ] {
    		w.error("cycle to " + goTypeName(typ))
    		return
    	}
    	w.seen[typ] = true
    	defer delete(w.seen, typ)
    
    	switch t := typ.(type) {
    	case nil:
    		w.error("nil")
    
    	case *Basic:
    		// exported basic types go into package unsafe
    		// (currently this is just unsafe.Pointer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top