- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for accumulator (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)