Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 312 for counters (0.17 sec)

  1. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         * and the counter returned by {@link #totalProblemsReported()} are not equal (latter is bigger than former).
         *
         * @return true if the problem collector has overflowed and some problems were not preserved
         */
        boolean problemsOverflow();
    
        /**
         * Reports a problem: always maintains the counters, but whether problem is preserved in memory, depends on
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. .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.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue May 07 19:58:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. internal/kms/kms.go

    }
    
    func (k *KMS) updateMetrics(err error, latency time.Duration) {
    	// First, update the latency histogram
    	// Therefore, find the first bucket that holds the counter for
    	// requests with a latency at least as large as the given request
    	// latency and update its and all subsequent counters.
    	bucket := slices.IndexFunc(k.latencyBuckets, func(b time.Duration) bool { return latency < b })
    	if bucket < 0 {
    		bucket = len(k.latencyBuckets) - 1
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 24 15:33:57 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

        public String createdTime;
    
        /** Version number for optimistic locking. */
        public String versionNo;
    
        /**
         * Clears all pagination state and filter parameters.
         * Resets pagination counters to default values and clears all filter fields.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. 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;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

            long currentWindow = System.currentTimeMillis() / rateLimitWindow;
            String windowKey = key + "_" + currentWindow;
    
            AtomicLong counter = rateLimitCounters.computeIfAbsent(windowKey, k -> new AtomicLong(0));
            long currentCount = counter.incrementAndGet();
    
            // Clean up old windows periodically
            if (currentCount == 1) {
                cleanupOldRateLimitCounters(currentWindow);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. 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");
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. CLAUDE.md

    **Template Method**: `AbstractCrawlerClient`, `AbstractExtractor` - common logic with overrides
    **DI**: LastaFlute container with `@Resource` and XML config
    
    ### Core Principles
    
    **Thread Safety**:
    - `AtomicLong` for counters (`CrawlerContext.accessCount`)
    - `volatile` for status flags
    - Synchronized blocks for critical sections
    - Thread-local storage via `CrawlingParameterUtil`
    
    **Resource Management**:
    - `AutoCloseable` throughout
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top