Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for gotype (0.12 sec)

  1. src/cmd/internal/obj/sym.go

    	lists := [][]*LSym{ctxt.Text, ctxt.Data}
    	files := ctxt.PosTable.FileTable()
    	for _, list := range lists {
    		for _, s := range list {
    			if s.Gotype != nil {
    				if flag&traverseDefs != 0 {
    					fn(s, s.Gotype)
    				}
    			}
    			if s.Type == objabi.STEXT {
    				ctxt.traverseFuncAux(flag, s, fn, files)
    			} else if v := s.VarInfo(); v != nil && v.dwarfInfoSym != nil {
    				fn(s, v.dwarfInfoSym)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile.go

    	o.SetOff(r.Off)
    	o.SetSiz(r.Siz)
    	o.SetType(uint16(r.Type))
    	o.SetAdd(r.Add)
    	o.SetSym(makeSymRef(r.Sym))
    	o.Write(w.Writer)
    }
    
    func (w *writer) aux1(typ uint8, rs *LSym) {
    	o := &w.tmpAux
    	o.SetType(typ)
    	o.SetSym(makeSymRef(rs))
    	o.Write(w.Writer)
    }
    
    func (w *writer) Aux(s *LSym) {
    	if s.Gotype != nil {
    		w.aux1(goobj.AuxGotype, s.Gotype)
    	}
    	if fn := s.Func(); fn != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    }
    
    // Record the type symbol for an auto variable so that the linker
    // an emit DWARF type information for the type.
    func (fi *FuncInfo) RecordAutoType(gotype *LSym) {
    	if fi.Autot == nil {
    		fi.Autot = make(map[*LSym]struct{})
    	}
    	fi.Autot[gotype] = struct{}{}
    }
    
    //go:generate stringer -type ABI
    
    // ABI is the calling convention of a text symbol.
    type ABI uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    			assertOnError: assertOnConcreteError(func(t *testing.T, e *cbor.UnmarshalTypeError) {
    				if e.CBORType != "primitives" || e.GoType != "string" {
    					t.Errorf("expected %q, got %q", &cbor.UnmarshalTypeError{CBORType: "primitives", GoType: "string"}, e)
    				}
    			}),
    		},
    		{
    			name:          "map with byte string key",
    			in:            hex("a143abcdef187b"), // {h'abcdef': 123}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/objfile.go

    // Each symbol may (or may not) be associated with a number of auxiliary
    // symbols. They are described in the Aux block. See Aux struct below.
    // Currently a symbol's Gotype, FuncInfo, and associated DWARF symbols
    // are auxiliary symbols.
    
    const stringRefSize = 8 // two uint32s
    
    type FingerprintType [8]byte
    
    func (fp FingerprintType) IsZero() bool { return fp == FingerprintType{} }
    
    // Package Index.
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    // ExtReloc contains the payload for an external relocation.
    type ExtReloc struct {
    	Xsym Sym
    	Xadd int64
    	Type objabi.RelocType
    	Size uint8
    }
    
    // Reloc holds a "handle" to access a relocation record from an
    // object file.
    type Reloc struct {
    	*goobj.Reloc
    	r *oReader
    	l *Loader
    }
    
    func (rel Reloc) Type() objabi.RelocType     { return objabi.RelocType(rel.Reloc.Type()) &^ objabi.R_WEAK }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/data.go

    func addstrdata(arch *sys.Arch, l *loader.Loader, name, value string) {
    	s := l.Lookup(name, 0)
    	if s == 0 {
    		return
    	}
    	if goType := l.SymGoType(s); goType == 0 {
    		return
    	} else if typeName := l.SymName(goType); typeName != "type:string" {
    		Errorf(nil, "%s: cannot set with -X: not a var of type string (%s)", name, typeName)
    		return
    	}
    	if !l.AttrReachable(s) {
    		return // don't bother setting unreachable variable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  8. src/cmd/dist/build.go

    	"9a", "9c", "9g", "9l",
    	"6cov",
    	"6nm",
    	"6prof",
    	"cgo",
    	"ebnflint",
    	"goapi",
    	"gofix",
    	"goinstall",
    	"gomake",
    	"gopack",
    	"gopprof",
    	"gotest",
    	"gotype",
    	"govet",
    	"goyacc",
    	"quietgcc",
    }
    
    // Unreleased directories (relative to $GOROOT) that should
    // not be in release branches.
    var unreleased = []string{
    	"src/cmd/newlink",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  9. src/encoding/gob/type.go

    var (
    	types                = make(map[reflect.Type]gobType, 32)
    	idToTypeSlice        = make([]gobType, 1, firstUserId)
    	builtinIdToTypeSlice [firstUserId]gobType // set in init() after builtins are established
    )
    
    func idToType(id typeId) gobType {
    	if id < 0 || int(id) >= len(idToTypeSlice) {
    		return nil
    	}
    	return idToTypeSlice[id]
    }
    
    func builtinIdToType(id typeId) gobType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/internal/reflectlite/type.go

    	}
    	return s[i+1:]
    }
    
    func toRType(t *abi.Type) rtype {
    	return rtype{t}
    }
    
    func elem(t *abi.Type) *abi.Type {
    	et := t.Elem()
    	if et != nil {
    		return et
    	}
    	panic("reflect: Elem of invalid type " + toRType(t).String())
    }
    
    func (t rtype) Elem() Type {
    	return toType(elem(t.common()))
    }
    
    func (t rtype) In(i int) Type {
    	tt := t.Type.FuncType()
    	if tt == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top