Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 347 for typeA (0.99 sec)

  1. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    # ADR-0003 - Avoid introducing Groovy types to public API
    
    ## Date
    
    2024-01-12
    
    ## Context
    
    Gradle's public API requires equal access from all JVM-based languages.
    Kotlin, Groovy, Java, and other JVM-based languages should be able to use the Gradle API without relying on another language's standard library.
    
    Historically, Gradle has shipped with some Groovy types in very prominent APIs.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 10 20:38:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    func GenericAssignableTo(ctxt *types.Context, V, T types.Type) bool {
    	V = aliases.Unalias(V)
    	T = aliases.Unalias(T)
    
    	// If V and T are not both named, or do not have matching non-empty type
    	// parameter lists, fall back on types.AssignableTo.
    
    	VN, Vnamed := V.(*types.Named)
    	TN, Tnamed := T.(*types.Named)
    	if !Vnamed || !Tnamed {
    		return types.AssignableTo(V, T)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FlexibleType.kt

    import org.jetbrains.kotlin.analysis.api.types.KaFlexibleType
    import org.jetbrains.kotlin.analysis.api.types.KaType
    import org.jetbrains.kotlin.analysis.api.types.KaTypeNullability
    import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
    import org.jetbrains.kotlin.analysis.api.types.KaUsualClassType
    import org.jetbrains.kotlin.types.FlexibleType
    
    internal class KaFe10FlexibleType(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/go/types/example_test.go

    	fset := token.NewFileSet()
    	f := mustParse(fset, input)
    
    	// Type-check the package.
    	// We create an empty map for each kind of input
    	// we're interested in, and Check populates them.
    	info := types.Info{
    		Types: make(map[ast.Expr]types.TypeAndValue),
    		Defs:  make(map[*ast.Ident]types.Object),
    		Uses:  make(map[*ast.Ident]types.Object),
    	}
    	var conf types.Config
    	pkg, err := conf.Check("fib", fset, []*ast.File{f}, &info)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/KtTypeProjection.kt

     */
    
    package org.jetbrains.kotlin.analysis.api
    
    import org.jetbrains.kotlin.analysis.api.types.KaStarTypeProjection
    import org.jetbrains.kotlin.analysis.api.types.KaTypeArgumentWithVariance
    import org.jetbrains.kotlin.analysis.api.types.KaTypeProjection
    
    @Deprecated(
        "The API has been moved into `org.jetbrains.kotlin.analysis.api.types` package",
        level = DeprecationLevel.HIDDEN,
    )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go

    		cl := n.(*ast.CompositeLit)
    
    		typ := pass.TypesInfo.Types[cl].Type
    		if typ == nil {
    			// cannot determine composite literals' type, skip it
    			return
    		}
    		typeName := typ.String()
    		if whitelist && unkeyedLiteral[typeName] {
    			// skip whitelisted types
    			return
    		}
    		var structuralTypes []types.Type
    		switch typ := aliases.Unalias(typ).(type) {
    		case *types.TypeParam:
    			terms, err := typeparams.StructuralTerms(typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. cmd/metrics-realtime.go

    		m.Aggregated.Scanner = &metrics
    	}
    	if types.Contains(madmin.MetricsOS) {
    		metrics := globalOSMetrics.report()
    		m.Aggregated.OS = &metrics
    	}
    	if types.Contains(madmin.MetricsBatchJobs) {
    		m.Aggregated.BatchJobs = globalBatchJobsMetrics.report(opts.jobID)
    	}
    	if types.Contains(madmin.MetricsSiteResync) {
    		m.Aggregated.SiteResync = globalSiteResyncMetrics.report(opts.depID)
    	}
    	if types.Contains(madmin.MetricNet) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/versions/types_go122.go

    package versions
    
    import (
    	"go/ast"
    	"go/types"
    )
    
    // FileVersion returns a file's Go version.
    // The reported version is an unknown Future version if a
    // version cannot be determined.
    func FileVersion(info *types.Info, file *ast.File) string {
    	// In tools built with Go >= 1.22, the Go version of a file
    	// follow a cascades of sources:
    	// 1) types.Info.FileVersion, which follows the cascade:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/go/types/typelists.go

    	if l == nil {
    		return nil
    	}
    	return l.tparams
    }
    
    // TypeList holds a list of types.
    type TypeList struct{ types []Type }
    
    // newTypeList returns a new TypeList with the types in list.
    func newTypeList(list []Type) *TypeList {
    	if len(list) == 0 {
    		return nil
    	}
    	return &TypeList{list}
    }
    
    // Len returns the number of types in the list.
    // It is safe to call on a nil receiver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go

    func forbiddenMethod(info *types.Info, call *ast.CallExpr) (*types.Var, *types.Selection, *types.Func) {
    	// Compare to typeutil.StaticCallee.
    	fun := astutil.Unparen(call.Fun)
    	selExpr, ok := fun.(*ast.SelectorExpr)
    	if !ok {
    		return nil, nil, nil
    	}
    	sel := info.Selections[selExpr]
    	if sel == nil {
    		return nil, nil, nil
    	}
    
    	var x *types.Var
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top