Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,207 for Types (0.05 sec)

  1. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/types/Fe10IdeNormalAnalysisSourceModuleBuiltInTypeTestGenerated.java

      }
    
      @Test
      @TestMetadata("any.kt")
      public void testAny() {
        runTest("analysis/analysis-api/testData/types/builtins/any.kt");
      }
    
      @Test
      @TestMetadata("anyWithoutBuiltins.kt")
      public void testAnyWithoutBuiltins() {
        runTest("analysis/analysis-api/testData/types/builtins/anyWithoutBuiltins.kt");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt

         *     such as `Int = UnresolvedClass`.
         *  2. It forces the user to handle error types explicitly, which reduces the risk of false positives.
         *  3. It is consistent with most of the behavior of the Kotlin compiler.
         */
        STRICT,
    
        /**
         * Error types are equal to and subtypes of all types.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/format.go

    	switch typeVal {
    	case FormatType:
    		return d
    	case types.TypeType:
    		return FormatType
    	default:
    		return types.NewErr("type conversion error from '%s' to '%s'", FormatType, typeVal)
    	}
    }
    
    func (d *Format) Equal(other ref.Val) ref.Val {
    	otherDur, ok := other.(*Format)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(other)
    	}
    	return types.Bool(d.Name == otherDur.Name)
    }
    
    func (d *Format) Type() ref.Type {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10TypeSystemCommonBackendContextForTypeMapping.kt

    import org.jetbrains.kotlin.types.*
    import org.jetbrains.kotlin.types.checker.ClassicTypeSystemContext
    import org.jetbrains.kotlin.types.checker.NewTypeVariableConstructor
    import org.jetbrains.kotlin.types.error.ErrorTypeConstructor
    import org.jetbrains.kotlin.types.error.ErrorTypeKind
    import org.jetbrains.kotlin.types.error.ErrorUtils
    import org.jetbrains.kotlin.types.model.KotlinTypeMarker
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1/zz_generated.prerelease-lifecycle.go

    func (in *ControllerRevision) APILifecycleIntroduced() (major, minor int) {
    	return 1, 9
    }
    
    // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go

    // nil on success, or the first conflicting method on failure.
    func assertableTo(free *typeparams.Free, v, t types.Type) *types.Func {
    	if t == nil || v == nil {
    		// not assertable to, but there is no missing method
    		return nil
    	}
    	// ensure that v and t are interfaces
    	V, _ := v.Underlying().(*types.Interface)
    	T, _ := t.Underlying().(*types.Interface)
    	if V == nil || T == nil {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.8K 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/conversions.go

    	Tp, _ := T.(*TypeParam)
    
    	// "V and T have identical underlying types if tags are ignored
    	// and V and T are not type parameters"
    	if IdenticalIgnoreTags(Vu, Tu) && Vp == nil && Tp == nil {
    		return true
    	}
    
    	// "V and T are unnamed pointer types and their pointer base types
    	// have identical underlying types if tags are ignored
    	// and their pointer base types are not type parameters"
    	if V, ok := V.(*Pointer); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. 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)
Back to top