Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 48 for accumulation (0.24 seconds)

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

        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(MANY_VALUES);
        Stats stats = accumulator.snapshot();
        accumulator.add(999.999); // should do nothing to the snapshot
        return stats;
      }
    
      private static Stats buildLongManyValuesStatsSnapshot() {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(LONG_MANY_VALUES);
    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/StatsAccumulatorTest.java

      public void testCountOverflow_doesNotThrow() {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.add(ONE_VALUE);
        for (int power = 1; power < Long.SIZE - 1; power++) {
          accumulator.addAll(accumulator.snapshot());
        }
        // Should overflow without throwing.
        accumulator.addAll(accumulator.snapshot());
        assertThat(accumulator.count()).isLessThan(0L);
      }
    
      public void testMean() {
    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)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

            accumulatorBitCount -= 8
            sink.writeByte((accumulator shr accumulatorBitCount).toInt())
          }
        }
    
        if (accumulatorBitCount > 0) {
          accumulator = accumulator shl (8 - accumulatorBitCount)
          accumulator = accumulator or (0xffL ushr accumulatorBitCount)
          sink.writeByte(accumulator.toInt())
        }
      }
    
      fun encodedLength(bytes: ByteString): Int {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/Stats.java

        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values
       */
      public static Stats of(double... values) {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

            A accum = collector.supplier().get();
            for (T input : inputs) {
              collector.accumulator().accept(accum, input);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators left-to-right. */
        MERGE_LEFT_ASSOCIATIVE {
          @Override
          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/CollectorTester.java

            A accum = collector.supplier().get();
            for (T input : inputs) {
              collector.accumulator().accept(accum, input);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators left-to-right. */
        MERGE_LEFT_ASSOCIATIVE {
          @Override
          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Defines a simple logging interface for Maven CLI operations. These operations happen "early", when there may
     * be no logging set up even. Implementations may be "accumulating", in which case {@link #drain()}  method should
     * be used.
     * <p>
     * This interface provides methods for logging messages at different severity levels
     * and supports logging with or without associated exceptions.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/logging/package-info.java

     * system is initialized.
     *
     * <p>This package includes:</p>
     * <ul>
     *   <li>Basic logging interfaces and implementations</li>
     *   <li>Support for different logging levels (DEBUG, INFO, WARN, ERROR)</li>
     *   <li>Accumulating loggers for deferred output</li>
     * </ul>
     *
     * @since 4.0.0
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 04 14:17:18 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags with Enums { #tags-with-enums }
    
    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/StatsTest.java

        // For datasets of many double values created from an accumulator snapshot, we test many
        // combinations of finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          accumulator.addAll(values.asIterable());
          double min = accumulator.snapshot().min();
          if (values.hasAnyNaN()) {
    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)
Back to Top