Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for accumulation (0.05 sec)

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            assertEquals(Long.valueOf(1), stats.get(EventType.CONFIGURATION_CHANGE), "Should have 1 configuration event");
        }
    
        @Test
        @DisplayName("Test statistics accumulation")
        void testStatisticsAccumulation() {
            logger.logAuthentication(true, "user1", "DOMAIN", "192.168.1.1");
            logger.logAuthentication(false, "user2", "DOMAIN", "192.168.1.2");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicDouble.java

     * java.util.concurrent.atomic} package specification for description of the properties of atomic
     * variables. An {@code AtomicDouble} is used in applications such as atomic accumulation, and
     * cannot be used as a replacement for a {@link Double}. However, this class does extend {@code
     * Number} to allow uniform access by tools and utilities that deal with numerically-based classes.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

     *   <li>keys automatically wrapped in {@code WeakReference}
     *   <li>values automatically wrapped in {@code WeakReference} or {@code SoftReference}
     *   <li>notification of evicted (or otherwise removed) entries
     *   <li>accumulation of cache access statistics
     * </ul>
     *
     * <p>These features are all optional; caches can be created using all or none of them. By default,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  4. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. 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 {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. 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>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        accumulator.add(ONE_VALUE, OTHER_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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. 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>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. 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.
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top