Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for accumulate (0.16 sec)

  1. cmd/metrics-v2_test.go

    		// observations. This is to test the channel based
    		// synchronization used internally.
    		<-ticker.C
    		ttfbHist.With(prometheus.Labels{"api": obs.label}).Observe(obs.val)
    	}
    
    	// Accumulate regular-cased API label metrics for 'PutObject' for deeper verification
    	metrics := getHistogramMetrics(ttfbHist, getBucketTTFBDistributionMD(), false, false)
    	capitalPutObjects := make([]MetricV2, 0, len(histBuckets)+1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            // Calling again should combine rather than overwrite
            req.addFlags0(0x20);
            flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x20) != 0, "flag should accumulate");
        }
    
        @Test
        @DisplayName("initResponse prepares a response instance")
        void initResponseCreatesResponse() {
            SmbComNTCreateAndX req = createRequest(0, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

       * same result.
       */
      @IgnoreJRERequirement // *should* be redundant with the one on CollectorTester
      enum CollectStrategy {
        /** Get one accumulator and accumulate the elements into it sequentially. */
        SEQUENTIAL {
          @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)
  4. guava-testlib/src/com/google/common/testing/CollectorTester.java

      }
    
      /**
       * Different orderings for combining the elements of an input array, which must all produce the
       * same result.
       */
      enum CollectStrategy {
        /** Get one accumulator and accumulate the elements into it sequentially. */
        SEQUENTIAL {
          @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)
  5. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

              sb.append(iterator.next());
            }
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate
       * implementation for Joiner since it fails on leading empty components.
       */
      @Benchmark
      int stringBuilderIsEmpty(int reps) {
        int dummy = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/logging/AccumulatingLogger.java

    import java.util.concurrent.atomic.AtomicReference;
    
    import org.apache.maven.api.cli.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Early CLI {@link Logger} that simply accumulates log entries until some point a real logger can emit them. This
     * logger is created at start, and it exists while no logging is available yet.
     */
    public class AccumulatingLogger implements Logger {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         */
        record Entry(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error) {}
    
        /**
         * If this is an accumulating log, it will "drain" this instance. It returns the accumulated log entries, and
         * also "resets" this instance to empty (initial) state.
         */
        @Nonnull
        default List<Entry> drain() {
            return List.of();
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicDouble.java

      /**
       * Atomically updates the current value with the results of applying the given function to the
       * current and given values.
       *
       * @param x the update value
       * @param accumulatorFunction the accumulator function
       * @return the previous value
       * @since 31.1
       */
      @CanIgnoreReturnValue
      public final double getAndAccumulate(double x, DoubleBinaryOperator accumulatorFunction) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top