- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 312 for unnamed (0.46 sec)
-
src/cmd/compile/internal/ir/fmt.go
fmt.Fprintf(w, " %s", name) } }() } } if n.Op() == OCLOSURE { n := n.(*ClosureExpr) if fn := n.Func; fn != nil && fn.Nname.Sym() != nil { fmt.Fprintf(w, " fnName(%+v)", fn.Nname.Sym()) } } if n.Type() != nil { if n.Op() == OTYPE { fmt.Fprintf(w, " type") } fmt.Fprintf(w, " %+v", n.Type()) } if n.Typecheck() != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
if u.nify(x, y, mode, p) { // We have a match, possibly through underlying types. xi := asInterface(x) yi := asInterface(y) xn := asNamed(x) != nil yn := asNamed(y) != nil // If we have two interfaces, what to do depends on // whether they are named and their method sets. if xi != nil && yi != nil { // Both types are interfaces. // If both types are defined types, they must be identical
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/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/encoding/gob/type.go
// 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. star := "" if rt.Name() == "" { if pt := rt; pt.Kind() == reflect.Pointer { star = "*"
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/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/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) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go
} // length is family (uint16), name, NUL. sl := _Socklen(2) if n > 0 { sl += _Socklen(n) + 1 } if sa.raw.Path[0] == '@' || (sa.raw.Path[0] == 0 && sl > 3) { // Check sl > 3 so we don't change unnamed socket behavior. sa.raw.Path[0] = 0 // Don't count trailing NUL for abstract address. sl-- } return unsafe.Pointer(&sa.raw), sl, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 31.1K bytes - Viewed (0)