Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Gotype (0.37 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

    // for testing
    func (s *Sym) fromBytes(b []byte) { copy(s[:], b) }
    
    // Symbol reference.
    type SymRef struct {
    	PkgIdx uint32
    	SymIdx uint32
    }
    
    func (s SymRef) IsZero() bool { return s == SymRef{} }
    
    // Hash64
    type Hash64Type [Hash64Size]byte
    
    const Hash64Size = 8
    
    // Hash
    type HashType [HashSize]byte
    
    const HashSize = 16 // truncated SHA256
    
    // Relocation.
    //
    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/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)
  7. src/internal/abi/type.go

    }
    
    // Imethod represents a method on an interface type
    type Imethod struct {
    	Name NameOff // name of method
    	Typ  TypeOff // .(*FuncType) underneath
    }
    
    // ArrayType represents a fixed array type.
    type ArrayType struct {
    	Type
    	Elem  *Type // array element type
    	Slice *Type // slice type
    	Len   uintptr
    }
    
    // Len returns the length of t if t is an array type, otherwise 0
    func (t *Type) Len() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. src/runtime/type.go

    // license that can be found in the LICENSE file.
    
    // Runtime type representation.
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    type nameOff = abi.NameOff
    type typeOff = abi.TypeOff
    type textOff = abi.TextOff
    
    type _type = abi.Type
    
    // rtype is a wrapper that allows us to define additional methods.
    type rtype struct {
    	*abi.Type // embedding is okay here (unlike reflect) because none of this is public
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/encoding/gob/type.go

    )
    
    // userTypeInfo stores the information associated with a type the user has handed
    // to the package. It's computed once and stored in a map keyed by reflection
    // type.
    type userTypeInfo struct {
    	user        reflect.Type // the type the user handed us
    	base        reflect.Type // the base type after all indirections
    	indir       int          // number of indirections to reach the base type
    	externalEnc int          // xGob, xBinary, or xText
    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. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        if (auto qtype = mlir::dyn_cast_or_null<UniformQuantizedType>(
                quant::GetUniformQuantizedTypeForBias(
                    quant_params, legacy_float_scale, adjusted_quant_dim))) {
          return quant::UniformQuantizedType::get(
              qtype.getFlags(), qtype.getStorageType(), qtype.getExpressedType(),
              qtype.getScale() * scale, qtype.getZeroPoint(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top