Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for gotype (0.2 sec)

  1. src/cmd/link/internal/ld/dwarf.go

    	return die
    }
    
    // Define gotype, for composite ones recurse into constituents.
    func (d *dwctxt) defgotype(gotype loader.Sym) loader.Sym {
    	if gotype == 0 {
    		return d.mustFind("<unspecified>")
    	}
    
    	// If we already have a tdmap entry for the gotype, return it.
    	if ds, ok := d.tdmap[gotype]; ok {
    		return ds
    	}
    
    	sn := d.ldr.SymName(gotype)
    	if !strings.HasPrefix(sn, "type:") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/debug/gosym/symtab.go

    				p = p[1:]
    			}
    			if goType {
    				if len(p) < ptrsz {
    					return &DecodingError{len(data), "unexpected EOF", nil}
    				}
    				// fixed-width go type
    				if ptrsz == 8 {
    					s.gotype = order.Uint64(p[0:8])
    					p = p[8:]
    				} else {
    					s.gotype = uint64(order.Uint32(p[0:4]))
    					p = p[4:]
    				}
    			}
    		} else {
    			// Value, symbol type.
    			s.value = uint64(order.Uint32(p[0:4]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/cgo/out.go

    				npad++
    			}
    			ctype += fmt.Sprintf("\t\t%s %s;\n", t.C, name)
    			fmt.Fprintf(gotype, "\t\t%s ", name)
    			noSourceConf.Fprint(gotype, fset, typ)
    			fmt.Fprintf(gotype, "\n")
    			off += t.Size
    		}
    		if fn.Recv != nil {
    			argField(fn.Recv.List[0].Type, "recv")
    		}
    		fntype := fn.Type
    		forFieldList(fntype.Params,
    			func(i int, aname string, atype ast.Expr) {
    				argField(atype, "p%d", i)
    			})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/link/internal/loader/symbolbuilder.go

    func (sb *SymbolBuilder) Dynimpvers() string     { return sb.l.SymDynimpvers(sb.symIdx) }
    func (sb *SymbolBuilder) SubSym() Sym            { return sb.l.SubSym(sb.symIdx) }
    func (sb *SymbolBuilder) GoType() Sym            { return sb.l.SymGoType(sb.symIdx) }
    func (sb *SymbolBuilder) VisibilityHidden() bool { return sb.l.AttrVisibilityHidden(sb.symIdx) }
    func (sb *SymbolBuilder) Sect() *sym.Section     { return sb.l.SymSect(sb.symIdx) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  9. pkg/collateral/control.go

    		switch v.Type {
    		case env.STRING:
    			g.emit("<td>String</td>")
    		case env.BOOL:
    			g.emit("<td>Boolean</td>")
    		case env.INT:
    			g.emit("<td>Integer</td>")
    		case env.FLOAT:
    			g.emit("<td>Floating-Point</td>")
    		case env.DURATION:
    			g.emit("<td>Time Duration</td>")
    		case env.OTHER:
    			g.emit(fmt.Sprintf("<td>%s</td>", v.GoType))
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. src/debug/gosym/pclntab.go

    		f.End = ft.pc(i + 1)
    		info := t.funcData(uint32(i))
    		f.LineTable = t
    		f.FrameSize = int(info.deferreturn())
    		syms[i] = Sym{
    			Value:     f.Entry,
    			Type:      'T',
    			Name:      t.funcName(info.nameOff()),
    			GoType:    0,
    			Func:      f,
    			goVersion: t.version,
    		}
    		f.Sym = &syms[i]
    	}
    	return funcs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top