- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 101 for TypeParam (0.2 sec)
-
src/go/types/object.go
// NewTypeNameLazy returns a new defined type like NewTypeName, but it // lazily calls resolve to finish constructing the Named object. func _NewTypeNameLazy(pos token.Pos, pkg *Package, name string, load func(named *Named) (tparams []*TypeParam, underlying Type, methods []*Func)) *TypeName { obj := NewTypeName(pos, pkg, name, nil) NewNamed(obj, nil, nil).loader = load return obj } // IsAlias reports whether obj is an alias name for a type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// accessed. methods []*Func // loader may be provided to lazily load type parameters, underlying type, and methods. loader func(*Named) (tparams []*TypeParam, underlying Type, methods []*Func) } // instance holds information that is only necessary for instantiated named // types. type instance struct { orig *Named // original, uninstantiated 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/named.go
// accessed. methods []*Func // loader may be provided to lazily load type parameters, underlying type, and methods. loader func(*Named) (tparams []*TypeParam, underlying Type, methods []*Func) } // instance holds information that is only necessary for instantiated named // types. type instance struct { orig *Named // original, uninstantiated type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
return Types.newArtificialTypeVariable(WildcardCapturer.class, name, upperBounds); } private WildcardCapturer forTypeVariable(TypeVariable<?> typeParam) { return new WildcardCapturer(id) { @Override TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) { Set<Type> combined = new LinkedHashSet<>(asList(upperBounds));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy
when: fails() then: failure.assertHasCause("Please use the ObjectFactory.$method method to create a property of type $type$typeParam.") where: prop | method | type | typeParam 'prop1' | 'listProperty()' | 'List' | '<T>' 'prop2' | 'setProperty()' | 'Set' | '<T>'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 30.3K bytes - Viewed (0) -
api/go1.23.txt
pkg go/ast, func Preorder(Node) iter.Seq[Node] #66339 pkg go/types, method (*Alias) Origin() *Alias #67143 pkg go/types, method (*Alias) Rhs() Type #66559 pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143 pkg go/types, method (*Alias) TypeArgs() *TypeList #67143 pkg go/types, method (*Alias) TypeParams() *TypeParamList #67143 pkg go/types, method (*Func) Signature() *Signature #65772
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 20:48:49 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go
} // If we can use a string, might arg (dynamically) implement the Stringer or Error interface? if m.t&argString != 0 && isConvertibleToString(typ) { return true } if typ, _ := aliases.Unalias(typ).(*types.TypeParam); typ != nil { // Avoid infinite recursion through type parameters. if m.seen[typ] { return true } m.seen[typ] = true terms, err := typeparams.StructuralTerms(typ) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 8.6K bytes - Viewed (0) -
src/go/types/decl.go
if t, _ := t.(*Interface); t != nil { t.implicit = true } return t } return check.typ(x) } func (check *Checker) declareTypeParams(tparams []*TypeParam, names []*ast.Ident, scopePos token.Pos) []*TypeParam { // Use Typ[Invalid] for the type constraint to ensure that a type // is present even if the actual constraint has not been assigned // yet.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
return Types.newArtificialTypeVariable(WildcardCapturer.class, name, upperBounds); } private WildcardCapturer forTypeVariable(TypeVariable<?> typeParam) { return new WildcardCapturer(id) { @Override TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) { Set<Type> combined = new LinkedHashSet<>(asList(upperBounds));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
} } testenv.MustHaveGoBuild(t) tmpdir := mktmpdir(t) defer os.RemoveAll(tmpdir) // Check go files in test/typeparam, except those that fail for a known // reason. rootDir := filepath.Join(gorootTest, "typeparam") list, err := os.ReadDir(rootDir) if err != nil { t.Fatal(err) } for _, entry := range list {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0)