Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for TypeParam (0.32 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/types.go

    		}
    		if !objUpdated {
    			return t
    		}
    		return &DeclType{
    			name:              name,
    			Fields:            fieldMap,
    			KeyType:           t.KeyType,
    			ElemType:          t.ElemType,
    			TypeParam:         t.TypeParam,
    			Metadata:          t.Metadata,
    			celType:           cel.ObjectType(name),
    			traitMask:         t.traitMask,
    			defaultValue:      t.defaultValue,
    			MinSerializedSize: t.MinSerializedSize,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. src/go/types/typestring.go

    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    	case *TypeParam:
    		if t.obj == nil {
    			w.error("unnamed type parameter")
    			break
    		}
    		if i := tparamIndex(w.tparams.list(), t); i >= 0 {
    			// The names of type parameters that are declared by the type being
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                                memberSymbol.typeParameterSymbols.zip(member.typeParameters).forEach { (typeParamSymbol, typeParam) ->
                                    javaTypeParameterStack.addParameter(JavaTypeParameterImpl(typeParam), typeParamSymbol)
                                }
                            }
                        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/validtype.go

    		// must also be in path (invariant). But not every type in path is in nest, since
    		// nest may be pruned (see below, *TypeParam case).
    		if !check.validType0(pos, t.Origin().fromRHS, append(nest, t), append(path, t)) {
    			return false
    		}
    
    		// see TODO above
    		// check.valids.add(t) // t is valid
    
    	case *TypeParam:
    		// A type parameter stands for the type (argument) it was instantiated with.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 13:22:37 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/go/types/validtype.go

    		// must also be in path (invariant). But not every type in path is in nest, since
    		// nest may be pruned (see below, *TypeParam case).
    		if !check.validType0(pos, t.Origin().fromRHS, append(nest, t), append(path, t)) {
    			return false
    		}
    
    		// see TODO above
    		// check.valids.add(t) // t is valid
    
    	case *TypeParam:
    		// A type parameter stands for the type (argument) it was instantiated with.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typestring.go

    		} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams
    			// parameterized type
    			w.tParamList(t.TypeParams().list())
    		}
    
    	case *TypeParam:
    		if t.obj == nil {
    			w.error("unnamed type parameter")
    			break
    		}
    		if i := tparamIndex(w.tparams.list(), t); i >= 0 {
    			// The names of type parameters that are declared by the type being
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    	// TODO(adonovan): think about generics, and also generic aliases.
    	under := aliases.Unalias(typ)
    	// Don't call Underlying unconditionally: although it removes
    	// Named and Alias, it also removes TypeParam.
    	if n, ok := under.(*types.Named); ok {
    		under = n.Underlying()
    	}
    	switch under := under.(type) {
    	case *types.Basic:
    		switch {
    		case under.Info()&types.IsNumeric != 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/object.go

    // NewTypeNameLazy returns a new defined type like NewTypeName, but it
    // lazily calls resolve to finish constructing the Named object.
    func NewTypeNameLazy(pos syntax.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)
  9. 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)
  10. 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)
Back to top