Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 933 for elim (0.41 sec)

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

    			}
    			return
    		case OpVarDef:
    			// v should be eliminated if we eliminate the auto.
    			n, ok := v.Aux.(*ir.Name)
    			if !ok || n.Class != ir.PAUTO {
    				return
    			}
    			if elim[v] == nil {
    				elim[v] = n
    				changed = true
    			}
    			return
    		case OpVarLive:
    			// Don't delete the auto if it needs to be kept alive.
    
    			// We depend on this check to keep the autotmp stack slots
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. test/fixedbugs/issue18725.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "os"
    
    func panicWhenNot(cond bool) {
    	if cond {
    		os.Exit(0)
    	} else {
    		panic("nilcheck elim failed")
    	}
    }
    
    func main() {
    	e := (*string)(nil)
    	panicWhenNot(e == e)
    	// Should never reach this line.
    	panicWhenNot(*e == *e)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 20:21:55 UTC 2017
    - 415 bytes
    - Viewed (0)
  3. test/fixedbugs/issue27278.go

    // run
    
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 27278: dead auto elim deletes an auto and its
    // initialization, but it is live because of a nil check.
    
    package main
    
    type T struct {
    	_ [3]string
    	T2
    }
    
    func (t *T) M() []string {
    	return t.T2.M()
    }
    
    type T2 struct {
    	T3
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 30 02:19:37 UTC 2018
    - 865 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/compile.go

    	{name: "softfloat", fn: softfloat, required: true},
    	{name: "late opt", fn: opt, required: true}, // TODO: split required rules and optimizing rules
    	{name: "dead auto elim", fn: elimDeadAutosGeneric},
    	{name: "sccp", fn: sccp},
    	{name: "generic deadcode", fn: deadcode, required: true}, // remove dead stores, which otherwise mess up store chain
    	{name: "check bce", fn: checkbce},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

    Candidate multilib: x32;@mx32
    Selected multilib: .;@m64
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. src/syscall/rlimit.go

    // which Go of course has no choice but to respect.
    func init() {
    	var lim Rlimit
    	if err := Getrlimit(RLIMIT_NOFILE, &lim); err == nil && lim.Cur != lim.Max {
    		origRlimitNofile.Store(&lim)
    		nlim := lim
    		nlim.Cur = nlim.Max
    		adjustFileLimit(&nlim)
    		setrlimit(RLIMIT_NOFILE, &nlim)
    	}
    }
    
    func Setrlimit(resource int, rlim *Rlimit) error {
    	if resource == RLIMIT_NOFILE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/generic.rules

    // indexing operations
    // Note: bounds check has already been done
    (PtrIndex <t> ptr idx) && config.PtrSize == 4 && is32Bit(t.Elem().Size()) => (AddPtr ptr (Mul32 <typ.Int> idx (Const32 <typ.Int> [int32(t.Elem().Size())])))
    (PtrIndex <t> ptr idx) && config.PtrSize == 8 => (AddPtr ptr (Mul64 <typ.Int> idx (Const64 <typ.Int> [t.Elem().Size()])))
    
    // struct operations
    (StructSelect (StructMake1 x)) => x
    (StructSelect [0] (StructMake2 x _)) => x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  8. architecture/standards/0001-use-architectural-decision-records.md

    The format for ADR should follow this template:
    
    ```markdown
    # ADR-000X - Title
    
    ## Date
    
    20YY-MM-DD
    
    ## Context
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 02 21:54:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. ci/official/utilities/extract_resultstore_links.py

      return result_store_links
    
    
    def indent_xml(elem, level=0) -> None:
      """Indents and newlines the XML for better output."""
      indent_str = '\n' + level * '  '
      if len(elem):  # pylint: disable=g-explicit-length-test  # `if elem` not valid
        if not elem.text or not elem.text.strip():
          elem.text = indent_str + '  '
        if not elem.tail or not elem.tail.strip():
          elem.tail = indent_str
        for elem in elem:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. pkg/ctrlz/assets/static/js/jquery-3.2.1.slim.min.js

    spatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},hand...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 68K bytes
    - Viewed (0)
Back to top