Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for lookupSym (0.17 sec)

  1. src/cmd/compile/internal/staticinit/sched.go

    // StaticName returns a name backed by a (writable) static data symbol.
    // Use readonlystaticname for read-only node.
    func StaticName(t *types.Type) *ir.Name {
    	// Don't use LookupNum; it interns the resulting string, but these are all unique.
    	sym := typecheck.Lookup(fmt.Sprintf("%s%d", obj.StaticNamePref, statuniqgen))
    	statuniqgen++
    
    	n := ir.NewNameAt(base.Pos, sym, t)
    	sym.Def = n
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/func.go

    	}
    
    	declareParams := func(params []*types.Field, ctxt Class, prefix string, offset int) {
    		for i, param := range params {
    			sym := param.Sym
    			if sym == nil || sym.IsBlank() {
    				sym = fn.Sym().Pkg.LookupNum(prefix, i)
    			}
    
    			name := NewNameAt(param.Pos, sym, param.Type)
    			name.Class = ctxt
    			name.Curfn = fn
    			fn.Dcl[offset+i] = name
    
    			if setNname {
    				param.Nname = name
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/func.go

    	it := NewClosureStructIter(clo.Func.ClosureVars)
    	i := 0
    	for {
    		n, typ, _ := it.Next()
    		if n == nil {
    			break
    		}
    		fields[1+i] = types.NewField(base.AutogeneratedPos, types.LocalPkg.LookupNum("X", i), typ)
    		i++
    	}
    	typ := types.NewStruct(fields)
    	typ.SetNoalg(true)
    	return typ
    }
    
    // MethodValueType returns the struct type used to hold all the information
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg debug/gosym, method (*Sym) Static() bool
    pkg debug/gosym, method (*Table) LineToPC(string, int) (uint64, *Func, error)
    pkg debug/gosym, method (*Table) LookupFunc(string) *Func
    pkg debug/gosym, method (*Table) LookupSym(string) *Sym
    pkg debug/gosym, method (*Table) PCToFunc(uint64) *Func
    pkg debug/gosym, method (*Table) PCToLine(uint64) (string, int, *Func)
    pkg debug/gosym, method (*Table) SymByAddr(uint64) *Sym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top