- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 354 for Gotype (0.12 sec)
-
src/go/types/gotype.go
//go:build ignore // Build this command explicitly: go build gotype.go /* The gotype command, like the front-end of a Go compiler, parses and type-checks a single Go package. Errors are reported if the analysis fails; otherwise gotype is quiet (unless -v is set). Without a list of paths, gotype reads from standard input, which must provide a single Go source file defining a complete package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 8.3K bytes - Viewed (0) -
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) -
src/cmd/cgo/internal/swig/testdata/stdio/main.swig
license that can be found in the LICENSE file. */ /* A trivial example of wrapping a C library using SWIG. */ %{ #include <stdio.h> #include <stdlib.h> %} %typemap(gotype) const char * "string" %typemap(in) const char * %{ $1 = malloc($input.n + 1); memcpy($1, $input.p, $input.n); $1[$input.n] = '\0'; %} %typemap(freearg) const char * %{ free($1); %}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:07 UTC 2023 - 563 bytes - Viewed (0) -
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) -
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) -
pkg/env/var.go
// The type of the variable's value Type VarType // The underlying Go type of the variable GoType string } // StringVar represents a single string environment variable. type StringVar struct { Var } // BoolVar represents a single boolean environment variable. type BoolVar struct { Var } // IntVar represents a single integer environment variable. type IntVar struct { Var }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 11.8K bytes - Viewed (0) -
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) -
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) -
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) -
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)