- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 287 for unnamed (0.15 sec)
-
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
} // UnnamedType is an unnamed type, that just has an index. type UnnamedType struct { Num int } func (ut *UnnamedType) print(ps *printState) { if ps.llvmStyle { if ut.Num == 0 { ps.writeString("'unnamed'") } else { ps.writeString(fmt.Sprintf("'unnamed%d'", ut.Num-1)) } } else { ps.writeString(fmt.Sprintf("{unnamed type#%d}", ut.Num+1)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K 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/syntax/parser.go
named++ } if par.Type != nil { typed++ } list = append(list, par) } return false }) if len(list) == 0 { return } // distribute parameter types (len(list) > 0) if named == 0 && !requireNames { // all unnamed and we're not in a type parameter list => found names are named types for _, par := range list {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K 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/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/syscall/syscall_linux.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 } type SockaddrLinklayer struct { Protocol uint16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// If the given type name obj doesn't have a type yet, its type is set to the returned named type. // The underlying type must not be a *Named. func NewNamed(obj *TypeName, underlying Type, methods []*Func) *Named { if asNamed(underlying) != nil { panic("underlying type must not be *Named") } return (*Checker)(nil).newNamed(obj, underlying, methods) } // resolve resolves the type parameters, methods, and underlying type of n.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
char pad; }; struct issue8428three { char w[1][2][3][0]; char x[2][3][0][1]; char y[3][0][1][2]; char z[0][1][2][3]; }; // issue 8331 part 1 - part 2 in testx.go // A typedef of an unnamed struct is the same struct when // #include'd twice. No runtime test; just make sure it compiles. #include "issue8331.h" // issue 8368 and 8441 // Recursive struct definitions didn't work.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/go/types/named.go
// If the given type name obj doesn't have a type yet, its type is set to the returned named type. // The underlying type must not be a *Named. func NewNamed(obj *TypeName, underlying Type, methods []*Func) *Named { if asNamed(underlying) != nil { panic("underlying type must not be *Named") } return (*Checker)(nil).newNamed(obj, underlying, methods) } // resolve resolves the type parameters, methods, and underlying type of n.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0)