Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for oregon (2.81 sec)

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

    // instantiated types, this is same as the type name of the origin type.
    func (t *Named) Obj() *TypeName {
    	if t.inst == nil {
    		return t.obj
    	}
    	return t.inst.orig.obj
    }
    
    // Origin returns the generic type from which the named type t is
    // instantiated. If t is not an instantiated type, the result is t.
    func (t *Named) Origin() *Named {
    	if t.inst == nil {
    		return t
    	}
    	return t.inst.orig
    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/types2/predicates.go

    func identicalOrigin(x, y *Named) bool {
    	// TODO(gri) is this correct?
    	return x.Origin().obj == y.Origin().obj
    }
    
    // identicalInstance reports if two type instantiations are identical.
    // Instantiations are identical if their origin and type arguments are
    // identical.
    func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/lookup.go

    		}
    	}
    	for _, t := range l.m[inst.Origin()] {
    		if Identical(inst, t) {
    			return t
    		}
    	}
    	return nil
    }
    
    func (l *instanceLookup) add(inst *Named) {
    	for i, t := range l.buf {
    		if t == nil {
    			l.buf[i] = inst
    			return
    		}
    	}
    	if l.m == nil {
    		l.m = make(map[*Named][]*Named)
    	}
    	insts := l.m[inst.Origin()]
    	l.m[inst.Origin()] = append(insts, inst)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/pgen.go

    	defer pp.Free()
    	genssa(f, pp)
    	// Check frame size again.
    	// The check above included only the space needed for local variables.
    	// After genssa, the space needed includes local variables and the callee arg region.
    	// We must do this check prior to calling pp.Flush.
    	// If there are any oversized stack frames,
    	// the assembler may emit inscrutable complaints about invalid instructions.
    	if pp.Text.To.Offset >= maxStackSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/instantiate.go

    // scope.
    //
    // If ctxt is non-nil, it may be used to de-duplicate the instance against
    // previous instances with the same identity. As a special case, generic
    // *Signature origin types are only considered identical if they are pointer
    // equivalent, so that instantiating distinct (but possibly identical)
    // signatures will yield different instances. The use of a shared context does
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    implicitly pinned for the duration of the call. Go memory reachable from
    these function arguments must be pinned as long as the C code has access
    to it. Whether Go memory is pinned is a dynamic property of that memory
    region; it has nothing to do with the type of the pointer.
    
    Go values created by calling new, by taking the address of a composite
    literal, or by taking the address of a local variable may also have their
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    // returns an array of substrings of s or an empty list if s contains only white space.
    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    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/deadstore.go

    		// A "shadowed address" is a pointer, offset, and size describing a memory region that
    		// is known to be written. We keep track of shadowed addresses in the shadowed map,
    		// mapping the ID of the address to a shadowRange where future writes will happen.
    		// Since we're walking backwards, writes to a shadowed region are useless,
    		// as they will be immediately overwritten.
    		shadowed.clear()
    		v := last
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/inline/inlheur/scoring.go

    	disableDebugTrace()
    }
    
    // scoreCallsRegion assigns numeric scores to each of the callsites in
    // region 'region' within function 'fn'. This can be called on
    // an entire function, or with 'region' set to a chunk of
    // code corresponding to an inlined call.
    func (csa *callSiteAnalyzer) scoreCallsRegion(fn *ir.Func, region ir.Nodes, cstab CallSiteTab, doCallResults bool, ic *ir.InlinedCallExpr) {
    	if debugTrace&debugTraceScoring != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/alias.go

    //
    // [underlying type]: https://go.dev/ref/spec#Underlying_types.
    func (a *Alias) Underlying() Type { return unalias(a).Underlying() }
    
    // Origin returns the generic Alias type of which a is an instance.
    // If a is not an instance of a generic alias, Origin returns a.
    func (a *Alias) Origin() *Alias { return a.orig }
    
    // TypeParams returns the type parameters of the alias type a, or nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top