- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 5,019 for types2 (0.18 sec)
-
src/go/types/typeset.go
// If the term list describes the set of all types and comparable is true, // only comparable types are meant; in all other cases comparable is false. type _TypeSet struct { methods []*Func // all methods of the interface; sorted by unique ID terms termlist // type terms of the type set comparable bool // invariant: !comparable || terms.isAll() } // IsEmpty reports whether type set s is the empty set.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.7K bytes - Viewed (0) -
src/go/types/typestring.go
newTypeWriter(buf, qf).signature(sig) } type typeWriter struct { buf *bytes.Buffer seen map[Type]bool qf Qualifier ctxt *Context // if non-nil, we are type hashing tparams *TypeParamList // local type parameters paramNames bool // if set, write function parameter names, otherwise, write types only
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/go/types/index.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:05 UTC 2024 - 11.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// - We say that a Named type is "instantiated" if it has been constructed by // instantiating a generic named type with type arguments. // - We say that a Named type is "declared" if it corresponds to a type // declaration in the source. Instantiated named types correspond to a type // instantiation in the source, not a declaration. But their Origin type is // a declared type.
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/go/types/validtype.go
// t.Origin() are the same. // Furthermore, because we check all types in a package for validity // before type checking is complete, any exported type that is invalid // will have an invalid underlying type and we can't reach here with // such a type (invalid types are excluded above). // Thus, if we reach here with a type t, both t and t.Origin() (if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/validtype.go
// t.Origin() are the same. // Furthermore, because we check all types in a package for validity // before type checking is complete, any exported type that is invalid // will have an invalid underlying type and we can't reach here with // such a type (invalid types are excluded above). // Thus, if we reach here with a type t, both t and t.Origin() (if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 13:22:37 UTC 2024 - 10.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins_test.go
src := fmt.Sprintf(`package p; import "unsafe"; type _ unsafe.Pointer /* use unsafe */; func _[P ~[]byte]() { %s }`, src0) uses := make(map[*syntax.Name]Object) types := make(map[syntax.Expr]TypeAndValue) mustTypecheck(src, nil, &Info{Uses: uses, Types: types}) // find called function n := 0 var fun syntax.Expr for x := range types { if call, _ := x.(*syntax.CallExpr); call != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
src/go/types/scope.go
// Code generated by "go test -run=Generate -write=all"; DO NOT EDIT. // Source: ../../cmd/compile/internal/types2/scope.go // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements Scopes. package types import ( "fmt" "go/token" "io" "sort" "strings" "sync" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.9K bytes - Viewed (0) -
src/go/types/builtins_test.go
src := fmt.Sprintf(`package p; import "unsafe"; type _ unsafe.Pointer /* use unsafe */; func _[P ~[]byte]() { %s }`, src0) uses := make(map[*ast.Ident]Object) types := make(map[ast.Expr]TypeAndValue) mustTypecheck(src, nil, &Info{Uses: uses, Types: types}) // find called function n := 0 var fun ast.Expr for x := range types { if call, _ := x.(*ast.CallExpr); call != nil { fun = call.Fun
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.9K bytes - Viewed (0) -
src/go/types/subst.go
} func (m substMap) lookup(tpar *TypeParam) Type { if t := m[tpar]; t != nil { return t } return tpar } // subst returns the type typ with its type parameters tpars replaced by the // corresponding type arguments targs, recursively. subst doesn't modify the // incoming type. If a substitution took place, the result type is different // from the incoming type. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0)