Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 341 for variance (0.05 seconds)

  1. 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 Double.hashCode(mean) * 31 + Double.hashCode(variance);
        }
      }
    
      enum VarianceAlgorithm {
        DO_NOT_COMPUTE {
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. 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.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. 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
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  4. 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.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                    double variance = (maxTime - minTime) / avgTime;
                    // JVM timing in concurrent scenarios is inherently variable
                    // We verify implementation correctness rather than precise timing
                    assertTrue(variance < 50.0,
                            String.format(
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

    
    private
    fun ApiTypeUsage.toTypeArgumentString(): String =
        "${variance.toKotlinString()}$sourceName${typeArguments.toTypeArgumentsString(type)}${isNullable.toKotlinNullabilityString()}"
    
    
    private
    fun Variance.toKotlinString() =
        when (this) {
            Variance.INVARIANT -> ""
            Variance.COVARIANT -> "out "
            Variance.CONTRAVARIANT -> "in "
        }
    
    
    private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/math/StatsAccumulator.java

        return Math.sqrt(populationVariance());
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
       * variance</a> of the values. If this dataset is a sample drawn from a population, this is an
       * unbiased estimator of the population variance of the population. The count must be greater than
       * one.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/math/Stats.java

        return Math.sqrt(populationVariance());
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
       * variance</a> of the values. If this dataset is a sample drawn from a population, this is an
       * unbiased estimator of the population variance of the population. The count must be greater than
       * one.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  9. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

            assertTrue(
                    later.minus(initial).toMillis() >= 45,
                    "Elapsed time difference should be at least 45ms (accounting for some timing variance)");
        }
    
        @Test
        @DisplayName("MonotonicClock start time should remain constant")
        void testStartTime() throws InterruptedException {
            Instant start1 = MonotonicClock.start();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of %s", values).that(populationVariance).isNaN();
            assertWithMessage("population variance by addAll(Stats) of %s", values)
                .that(populationVarianceByAddAllStats)
                .isNaN();
          } else {
            assertWithMessage("population variance of %s", values)
                .that(populationVariance)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 36.9K bytes
    - Click Count (0)
Back to Top