Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Variance (0.19 sec)

  1. guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

      }
    
      static class MeanAndVariance {
        private final double mean;
        private final double variance;
    
        MeanAndVariance(double mean, double variance) {
          this.mean = mean;
          this.variance = variance;
        }
    
        @Override
        public int hashCode() {
          return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance);
        }
      }
    
      enum VarianceAlgorithm {
        DO_NOT_COMPUTE {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLParameterConversion.kt

            return Map::class.createType(
                arguments = listOf(
                    KTypeProjection(
                        variance = KVariance.INVARIANT,
                        type = keyArgument.type?.let(mappingConversionForKeys::convertType)
                    ),
                    KTypeProjection(
                        variance = KVariance.INVARIANT,
                        type = valueArgument.type?.let(mappingConversionForValues::convertType)
                    )
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Wed Sep 15 09:32:47 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

      }
    
      static class MeanAndVariance {
        private final double mean;
        private final double variance;
    
        MeanAndVariance(double mean, double variance) {
          this.mean = mean;
          this.variance = variance;
        }
    
        @Override
        public int hashCode() {
          return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance);
        }
      }
    
      enum VarianceAlgorithm {
        DO_NOT_COMPUTE {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            ApiTypeUsage(
                sourceName,
                isNullable,
                type(sourceName),
                variance,
                typeArguments.map { apiTypeUsageFor(it.binaryName, variance = it.variance, typeArguments = it.typeArguments) },
                bounds.map { apiTypeUsageFor(it.binaryName, variance = it.variance, typeArguments = it.typeArguments) }
            )
        }
    
    
    internal
    val ApiTypeUsage.isStarProjectionTypeUsage
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                    typeProjection.projectionKind == Variance.INVARIANT -> {
                        when (typeParameter.variance) {
                            Variance.IN_VARIANCE -> BoundTypeArgument(typeProjection.type, Variance.IN_VARIANCE)
                            Variance.OUT_VARIANCE -> BoundTypeArgument(typeProjection.type, Variance.OUT_VARIANCE)
                            else -> BoundTypeArgument(typeProjection.type, Variance.INVARIANT)
                        }
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       * either the {@code x} or {@code y} data must have a non-zero population variance (i.e. {@code
       * xStats().populationVariance() > 0.0 || yStats().populationVariance() > 0.0}). The result is
       * guaranteed to be horizontal if there is variance in the {@code x} data but not the {@code y}
       * data, and vertical if there is variance in the {@code y} data but not the {@code x} data.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiTypeParameterSymbol.kt

            val bindingContext = analysisContext.analyze(psi)
            bindingContext[BindingContext.TYPE_PARAMETER, psi]
        }
    
        override val variance: Variance
            get() = withValidityAssertion { psi.variance }
    
        override val upperBounds: List<KtType>
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Wed Apr 17 17:23:45 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                append("*")
            } else {
                when (projection.projectionKind) {
                    Variance.INVARIANT -> renderType(projection.type)
                    Variance.IN_VARIANCE -> {
                        append("in ")
                        renderType(projection.type)
                    }
                    Variance.OUT_VARIANCE -> {
                        append("out ")
                        renderType(projection.type)
                    }
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Wed Apr 17 17:23:41 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                    token,
                )
            }
    
            private fun ProjectionKind.toVariance(): Variance = when (this) {
                ProjectionKind.OUT -> Variance.OUT_VARIANCE
                ProjectionKind.IN -> Variance.IN_VARIANCE
                ProjectionKind.INVARIANT -> Variance.INVARIANT
                ProjectionKind.STAR -> error("KtStarProjectionTypeArgument should not be directly created")
            }
    
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/PairedStats.java

       * either the {@code x} or {@code y} data must have a non-zero population variance (i.e. {@code
       * xStats().populationVariance() > 0.0 || yStats().populationVariance() > 0.0}). The result is
       * guaranteed to be horizontal if there is variance in the {@code x} data but not the {@code y}
       * data, and vertical if there is variance in the {@code y} data but not the {@code x} data.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top