Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for domingo (1.76 sec)

  1. src/cmd/compile/internal/types2/named.go

    	if n.state() >= resolved { // avoid locking below
    		return n
    	}
    
    	// TODO(rfindley): if n.check is non-nil we can avoid locking here, since
    	// type-checking is not concurrent. Evaluate if this is worth doing.
    	n.mu.Lock()
    	defer n.mu.Unlock()
    
    	if n.state() >= resolved {
    		return n
    	}
    
    	if n.inst != nil {
    		assert(n.underlying == nil) // n is an unresolved instance
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/pgen.go

    }
    
    const maxStackSize = 1 << 30
    
    // Compile builds an SSA backend function,
    // uses it to generate a plist,
    // and flushes that plist to machine code.
    // worker indicates which of the backend workers is doing the processing.
    func Compile(fn *ir.Func, worker int, profile *pgoir.Profile) {
    	f := buildssa(fn, worker, inline.IsPgoHotFunc(fn, profile) || inline.HasPgoHotInline(fn))
    	// Note: check arg size to fix issue 25507.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    handling, at some cost in run time, is available by setting
    GOEXPERIMENT=cgocheck2 at build time.
    
    It is possible to defeat this enforcement by using the unsafe package,
    and of course there is nothing stopping the C code from doing anything
    it likes. However, programs that break these rules are likely to fail
    in unexpected and unpredictable ways.
    
    The runtime/cgo.Handle type can be used to safely pass Go values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/compile.go

    var passes = [...]pass{
    	{name: "number lines", fn: numberLines, required: true},
    	{name: "early phielim and copyelim", fn: copyelim},
    	{name: "early deadcode", fn: deadcode}, // remove generated dead code to avoid doing pointless work during opt
    	{name: "short circuit", fn: shortcircuit},
    	{name: "decompose user", fn: decomposeUser, required: true},
    	{name: "pre-opt deadcode", fn: deadcode},
    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. src/cmd/compile/internal/types2/lookup.go

    	if name == "_" {
    		return // blank fields/methods are never found
    	}
    
    	// Importantly, we must not call under before the call to deref below (nor
    	// does deref call under), as doing so could incorrectly result in finding
    	// methods of the pointer base type when T is a (*Named) pointer type.
    	typ, isPtr := deref(T)
    
    	// *typ where typ is an interface (incl. a type parameter) has no methods.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/resolver.go

    	}
    	return fmt.Sprintf("file[%d]", fileNo)
    }
    
    func (check *Checker) importPackage(pos syntax.Pos, path, dir string) *Package {
    	// If we already have a package for the given (path, dir)
    	// pair, use it instead of doing a full import.
    	// Checker.impMap only caches packages that are marked Complete
    	// or fake (dummy packages for failed imports). Incomplete but
    	// non-fake packages do require an import to complete them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	//            _cgo0 := p
    	//            _cgoCheckPointer(_cgo0, nil)
    	//            C.f(_cgo0)
    	//    }()
    	// Using a function literal like this lets us evaluate the
    	// function arguments only once while doing pointer checks.
    	// This is particularly useful when passing additional arguments
    	// to _cgoCheckPointer, as done in checkIndex and checkAddr.
    	//
    	// When the function argument is a conversion to unsafe.Pointer,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/copyelim.go

    			break
    		}
    		if advance {
    			slow = slow.Args[0]
    		}
    		advance = !advance
    	}
    
    	// The answer is w.  Update all the copies we saw
    	// to point directly to w.  Doing this update makes
    	// sure that we don't end up doing O(n^2) work
    	// for a chain of n copies.
    	for v != w {
    		x := v.Args[0]
    		v.SetArg(0, w)
    		v = x
    	}
    	return w
    }
    
    // copyelimValue ensures that no args of v are copies.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/covdata/covdata.go

    				fatal("%v", err)
    			}
    			if err = f.Close(); err != nil {
    				fatal("error closing memory profile: %v", err)
    			}
    		})
    	} else {
    		// Not doing memory profiling; disable it entirely.
    		runtime.MemProfileRate = 0
    	}
    
    	// Mode-dependent setup.
    	op.Setup()
    
    	// ... off and running now.
    	dbgtrace(1, "starting perform")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/abi.go

    	// there are params but no returns for ABI0->ABIInternal wrappers,
    	// provided that all params fit into registers (e.g. we don't have
    	// to allocate any stack space). Doing this will require some
    	// extra work in typecheck/walk/ssa, might want to add a new node
    	// OTAILCALL or something to this effect.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top