- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 63 for unnamed1 (0.18 sec)
-
src/cmd/internal/obj/objfile.go
} if s.IsPkgInit() { flag2 |= goobj.SymFlagPkgInit } if s.IsLinkname() || (w.ctxt.IsAsm && name != "") || name == "main.main" { // Assembly reference is treated the same as linkname, // but not for unnamed (aux) symbols. // The runtime linknames main.main. flag2 |= goobj.SymFlagLinkname } if s.ABIWrapper() { flag2 |= goobj.SymFlagABIWrapper } if strings.HasPrefix(name, "gofile..") {
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/compile/internal/ir/fmt.go
} else { fmt.Fprintf(s, "%v(%v)", typ, val) } case ODCLFUNC: n := n.(*Func) if sym := n.Sym(); sym != nil { fmt.Fprint(s, sym) return } fmt.Fprintf(s, "<unnamed Func>") case ONAME: n := n.(*Name) // Special case: name used as local variable in export. // _ becomes ~b%d internally; print as _ for export
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
src/encoding/gob/type.go
// Expecting to be used only during initialization, it panics if the mapping // between types and names is not a bijection. func Register(value any) { // Default to printed representation for unnamed types rt := reflect.TypeOf(value) name := rt.String() // But for named types (or pointers to them), qualify with import path (but see inner comment). // Dereference one pointer looking for a named type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/func.go
// case) [3]unsafe.Pointer instead, but that would leave the gc in // the dark. The information appears in the binary in the form of // type descriptors; the struct is unnamed and uses exported field // names so that closures in multiple packages with the same struct // type can share the descriptor. fields := make([]*types.Field, 1+len(clo.Func.ClosureVars))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 21.1K bytes - Viewed (0) -
src/go/types/issues_test.go
// P where P's core type is string { P := NewTypeName(nopos, nil, "P", nil) // [P string] makeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{Typ[String]}))) } // P where P's core type is an (unnamed) slice { P := NewTypeName(nopos, nil, "P", nil) // [P []int] makeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{NewSlice(Typ[Int])}))) } // P where P's core type is bytestring (i.e., string or []byte)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/go/types/unify.go
// // Similarly, if we have inexact unification and there are no defined types but // channel types, select a directed channel, if any. This ensures that in a series // of unnamed types, all matching against the same type parameter, we infer the // directed channel if there is one, independent of order. // Selecting a directional channel, if any, ensures that a value of another
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
// P where P's core type is string { P := NewTypeName(nopos, nil, "P", nil) // [P string] makeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{Typ[String]}))) } // P where P's core type is an (unnamed) slice { P := NewTypeName(nopos, nil, "P", nil) // [P []int] makeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{NewSlice(Typ[Int])}))) } // P where P's core type is bytestring (i.e., string or []byte)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
// // Similarly, if we have inexact unification and there are no defined types but // channel types, select a directed channel, if any. This ensures that in a series // of unnamed types, all matching against the same type parameter, we infer the // directed channel if there is one, independent of order. // Selecting a directional channel, if any, ensures that a value of another
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
src/go/ast/ast.go
// Expressions and types // A Field represents a Field declaration list in a struct type, // a method list in an interface type, or a parameter/result declaration // in a signature. // [Field.Names] is nil for unnamed parameters (parameter lists which only contain types) // and embedded struct fields. In the latter case, the field name is the type name. type Field struct { Doc *CommentGroup // associated documentation; or nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
s1 := sortsym[i] s2 := sortsym[j] k1 := symkind(ldr, s1) k2 := symkind(ldr, s2) if k1 != k2 { return k1 < k2 } return ldr.SymExtname(s1) < ldr.SymExtname(s2) // Note: unnamed symbols are not added in collectmachosyms }) for i, s := range sortsym { ldr.SetSymDynid(s, int32(i)) } } // AddMachoSym adds s to Mach-O symbol table, used in GenSymLate.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0)