Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for nerede (0.57 sec)

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

    // license that can be found in the LICENSE file.
    
    package ssa
    
    // combine copyelim and phielim into a single pass.
    // copyelim removes all uses of OpCopy values from f.
    // A subsequent deadcode pass is needed to actually remove the copies.
    func copyelim(f *Func) {
    	phielim(f)
    
    	// loop of copyelimValue(v) process has been done in phielim() pass.
    	// Update block control values.
    	for _, b := range f.Blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/closure.go

    		}
    		addr.Prealloc = x
    		n.Prealloc = nil
    	}
    
    	return walkExpr(cfn, init)
    }
    
    // methodValueWrapper returns the ONAME node representing the
    // wrapper function (*-fm) needed for the given method value. If the
    // wrapper function hasn't already been created yet, it's created and
    // added to typecheck.Target.Decls.
    func methodValueWrapper(dot *ir.SelectorExpr) *ir.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_predicates.go

    // The behavior of AssignableTo is unspecified if V or T is Typ[Invalid] or an
    // uninstantiated generic type.
    func AssignableTo(V, T Type) bool {
    	x := operand{mode: value, typ: V}
    	ok, _ := x.assignableTo(nil, T, nil) // check not needed for non-constant x
    	return ok
    }
    
    // ConvertibleTo reports whether a value of type V is convertible to a value of
    // type T.
    //
    // The behavior of ConvertibleTo is unspecified if V or T is Typ[Invalid] or an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/testdata/mangle/plugin.go

    // Test cases for symbol name mangling.
    
    package main
    
    import (
    	"fmt"
    	"strings"
    )
    
    // Issue 58800:
    // Instantiated function name may contain weird characters
    // that confuse the external linker, so it needs to be
    // mangled.
    type S struct {
    	X int `parser:"|@@)"`
    }
    
    //go:noinline
    func F[T any]() {}
    
    func P() {
    	F[S]()
    }
    
    // Issue 62098: the name mangling code doesn't handle some string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 18 15:53:47 UTC 2023
    - 722 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/dcl.go

    	autotmpnames   []string
    )
    
    // autotmpname returns the name for an autotmp variable numbered n.
    func autotmpname(n int) string {
    	autotmpnamesmu.Lock()
    	defer autotmpnamesmu.Unlock()
    
    	// Grow autotmpnames, if needed.
    	if n >= len(autotmpnames) {
    		autotmpnames = append(autotmpnames, make([]string, n+1-len(autotmpnames))...)
    		autotmpnames = autotmpnames[:cap(autotmpnames)]
    	}
    
    	s := autotmpnames[n]
    	if s == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/vcweb/script.go

    		"USER=gopher",
    		homeEnvName() + "=" + homeDir,
    		"GIT_CONFIG_NOSYSTEM=1",
    		"HGRCPATH=" + filepath.Join(homeDir, ".hgrc"),
    		"HGENCODING=utf-8",
    	}
    	// Preserve additional environment variables that may be needed by VCS tools.
    	for _, k := range []string{
    		pathEnvName(),
    		tempEnvName(),
    		"SYSTEMROOT",        // must be preserved on Windows to find DLLs; golang.org/issue/25210
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 19:37:03 UTC 2022
    - 9K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testshared/testdata/issue25065/a.go

    //  2. not called
    //  3. not converted to an interface
    //  4. is a value method but the reference is to the pointer method
    //
    // These cases avoid the call to makefuncsym from typecheckfunc, but we
    // still need to call makefuncsym somehow or the symbol will not be defined.
    package issue25065
    
    type T int
    
    func (t T) M() {}
    
    func F() func(*T) {
    	return (*T).M
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 619 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/sizes_test.go

    		_ = conf.Sizes.Sizeof(tv.Type)
    		_ = conf.Sizes.Alignof(tv.Type)
    	}
    }
    
    // go.dev/issue/53884.
    func TestAtomicAlign(t *testing.T) {
    	testenv.MustHaveGoBuild(t) // The Go command is needed for the importer to determine the locations of stdlib .a files.
    
    	const src = `
    package main
    
    import "sync/atomic"
    
    var s struct {
    	x int32
    	y atomic.Int64
    	z int64
    }
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 21:00:48 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/vet/vetflag.go

    	work.AddBuildFlags(CmdVet, work.DefaultBuildFlags)
    	CmdVet.Flag.StringVar(&vetTool, "vettool", "", "")
    }
    
    func parseVettoolFlag(args []string) {
    	// Extract -vettool by ad hoc flag processing:
    	// its value is needed even before we can declare
    	// the flags available during main flag processing.
    	for i, arg := range args {
    		if arg == "-vettool" || arg == "--vettool" {
    			if i+1 >= len(args) {
    				log.Fatalf("%s requires a filename", arg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/zcse.go

    				if vals[key] == nil {
    					vals[key] = v
    					if b != f.Entry {
    						// Move v to the entry block so it will dominate every block
    						// where we might use it. This prevents the need for any dominator
    						// calculations in this pass.
    						v.Block = f.Entry
    						f.Entry.Values = append(f.Entry.Values, v)
    						last := len(b.Values) - 1
    						b.Values[i] = b.Values[last]
    						b.Values[last] = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
Back to top