Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for asIterable (0.09 seconds)

  1. guava-tests/test/com/google/common/math/StatsTesting.java

      static class ManyValues {
    
        private final ImmutableList<Double> values;
    
        ManyValues(double[] values) {
          this.values = ImmutableList.copyOf(Doubles.asList(values));
        }
    
        ImmutableList<Double> asIterable() {
          return values;
        }
    
        double[] asArray() {
          return Doubles.toArray(values);
        }
    
        boolean hasAnyPositiveInfinity() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/StatsTesting.java

      static class ManyValues {
    
        private final ImmutableList<Double> values;
    
        ManyValues(double[] values) {
          this.values = ImmutableList.copyOf(Doubles.asList(values));
        }
    
        ImmutableList<Double> asIterable() {
          return values;
        }
    
        double[] asArray() {
          return Doubles.toArray(values);
        }
    
        boolean hasAnyPositiveInfinity() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asIterable());
          for (double value : values.asIterable()) {
            accumulatorByAddAllStats.addAll(Stats.of(value));
          }
          double mean = accumulator.mean();
          double meanByAddAllStats = accumulatorByAddAllStats.mean();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStatsAccumulator accumulator =
              createFilledPairedStatsAccumulator(values.asIterable(), OTHER_MANY_VALUES);
          PairedStatsAccumulator accumulatorByAddAllPartitionedPairedStats =
              createPartitionedFilledPairedStatsAccumulator(values.asIterable(), OTHER_MANY_VALUES, 2);
          double populationCovariance = accumulator.populationCovariance();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asIterable());
          for (double value : values.asIterable()) {
            accumulatorByAddAllStats.addAll(Stats.of(value));
          }
          double mean = accumulator.mean();
          double meanByAddAllStats = accumulatorByAddAllStats.mean();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/StatsTest.java

        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          double populationVariance = Stats.of(values.asIterable()).populationVariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of %s", values).that(populationVariance).isNaN();
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        // For datasets of many double values, we test many combinations of finite and non-finite
        // x-values:
        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          double populationCovariance = stats.populationCovariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/PairedStatsTest.java

        // For datasets of many double values, we test many combinations of finite and non-finite
        // x-values:
        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          double populationCovariance = stats.populationCovariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/baseline-prof.txt

    Lkotlin/sequences/Sequence;
    Lkotlin/sequences/SequencesKt;
    Lkotlin/sequences/SequencesKt__SequencesKt$asSequence$$inlined$Sequence$1;
    Lkotlin/sequences/SequencesKt___SequencesJvmKt;
    Lkotlin/sequences/SequencesKt___SequencesKt$asIterable$$inlined$Iterable$1;
    Lkotlin/sequences/TransformingSequence$iterator$1;
    Lkotlin/sequences/TransformingSequence;
    Lkotlin/text/CharsKt__CharKt;
    Lkotlin/text/Charsets;
    Lkotlin/text/DelimitedRangesSequence;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  10. guava-tests/test/com/google/common/collect/FluentIterableTest.java

       * returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a
       * href="https://docs.oracle.com/javase/specs/jls/se25/html/jls-4.html#jls-4.9">intersection</a>
       * of the supertypes of {@code A} and the supertypes of {@code B}.
       */
      public void testConcatIntersectionType() {
        Iterable<A> aIterable = ImmutableList.of();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
Back to Top