- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for countErrs (0.06 seconds)
-
cmd/erasure-encode.go
// return a quorum error to HealFile(). nilCount := countErrs(p.errs, nil) if nilCount >= p.writeQuorum { return nil } writeErr := reduceWriteQuorumErrs(ctx, p.errs, objectOpIgnoredErrs, p.writeQuorum) return fmt.Errorf("%w (offline-disks=%d/%d)", writeErr, countErrs(p.errs, errDiskNotFound), len(p.writers)) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
* Cache#invalidate invalidations}. */ void recordEviction(); /** * Returns a snapshot of this counter's values. Note that this may be an inconsistent view, as * it may be interleaved with update operations. */ CacheStats snapshot(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
* Cache#invalidate invalidations}. */ void recordEviction(); /** * Returns a snapshot of this counter's values. Note that this may be an inconsistent view, as * it may be interleaved with update operations. */ CacheStats snapshot(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
queue.addListener(listener, directExecutor()); Multiset<Object> counters = ConcurrentHashMultiset.create(); queue.enqueue(incrementingEvent(counters, listener, 1)); queue.enqueue(incrementingEvent(counters, listener, 2)); queue.enqueue(incrementingEvent(counters, listener, 3)); queue.enqueue(incrementingEvent(counters, listener, 4)); assertEquals(0, counters.size()); queue.dispatch();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
queue.addListener(listener, directExecutor()); Multiset<Object> counters = ConcurrentHashMultiset.create(); queue.enqueue(incrementingEvent(counters, listener, 1)); queue.enqueue(incrementingEvent(counters, listener, 2)); queue.enqueue(incrementingEvent(counters, listener, 3)); queue.enqueue(incrementingEvent(counters, listener, 4)); assertEquals(0, counters.size()); queue.dispatch();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_reader.h
#ifdef __cplusplus extern "C" { #endif // Test only exports of the monitoring Cell Reader API which allows tests to // read current values from streamz counters defined in other modules. // // The code under test will have created streamz counters like this: // auto* streamz = tensorflow::monitoring::Counter<1>::New("name", // "description", "label"); // and then incremented that counter for various values of label:Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Nov 20 03:41:38 GMT 2025 - 2.3K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/12-telemetry.yml
projects: ["golang/29"] body: - type: textarea attributes: label: Summary description: > What change are you proposing to the upload configuration, and why? For new upload configuration, which new counters will be collected, what do they measure, and why is it important to collect them? Note that uploaded data must not carry sensitive user information.Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue May 07 19:58:26 GMT 2024 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RateLimitHelper.java
*/ public class RateLimitHelper { private static final Logger logger = LogManager.getLogger(RateLimitHelper.class); /** * Request counters per IP address. * Entries automatically expire after the configured window period. */ protected Cache<String, AtomicLong> requestCounters; /** * Blocked IPs with automatic expiration.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java
public String createdTime; /** Search parameter: version number */ public String versionNo; /** * Clears all pagination data and search parameters. * Resets counters, flags, and search form fields to their default values. */ public void clear() { allRecordCount = 0; allPageCount = 0; existPrePage = false; existNextPage = false;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
logger.resetStatistics(); Map<EventType, Long> statsAfter = logger.getStatistics(); // After reset, all counters should be 0 for (Long count : statsAfter.values()) { assertEquals(Long.valueOf(0), count, "All statistics should be 0 after reset"); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0)