Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 85 for average (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        /**
         * Calculate average send latency in microseconds
         *
         * @return average send latency
         */
        public double getAverageSendLatencyMicros() {
            long sends = rdmaSends.get();
            if (sends == 0) {
                return 0.0;
            }
            return totalSendTime.get() / (double) sends / 1000.0; // Convert to microseconds
        }
    
        /**
         * Calculate average receive latency in microseconds
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                // Analyze timing consistency across threads
                if (!timings.isEmpty()) {
                    double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
                    long maxTime = timings.stream().mapToLong(Long::longValue).max().orElse(0L);
                    long minTime = timings.stream().mapToLong(Long::longValue).min().orElse(0L);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/HashMultimap.java

       * provides more control over the underlying data structure.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ArrayListMultimap.java

       * provides more control over the underlying data structure.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

     * you would expect.
     *
     * <p>If required to do a weighted average between an infinity and a finite value, or between an
     * infinite value and itself, the infinite value is returned. If required to do a weighted average
     * between {@link Double#NEGATIVE_INFINITY NEGATIVE_INFINITY} and {@link Double#POSITIVE_INFINITY
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/StatsTest.java

          assertEquivalent(stats.mean(), stream(array).average().getAsDouble());
          assertEquivalent(stats.sum(), stream(array).sum());
          assertEquivalent(stats.max(), stream(array).max().getAsDouble());
          assertEquivalent(stats.min(), stream(array).min().getAsDouble());
          // static method on Stats vs on instance method on DoubleStream
          assertEquivalent(Stats.meanOf(array), stream(array).average().getAsDouble());
    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/src/com/google/common/collect/HashMultimap.java

       * provides more control over the underlying data structure.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/SmbCircuitBreaker.java

         *
         * @return number of active requests
         */
        public int getActiveRequests() {
            return activeRequests.get();
        }
    
        /**
         * Get average response time
         *
         * @return average response time in milliseconds
         */
        public long getAverageResponseTime() {
            return avgResponseTime.get();
        }
    
        /**
         * Get 95th percentile response time
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ArrayListMultimap.java

       * provides more control over the underlying data structure.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                    } catch (InterruptedException e) {}
                    return "slow";
                });
    
                // Check metrics
                assertTrue(cbWithMetrics.getAverageResponseTime() > 0, "Average response time should be tracked");
                assertTrue(cbWithMetrics.getMinResponseTime() > 0, "Min response time should be tracked");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
Back to Top