Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 457 for Counter (0.11 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * {@link #setNameFormat} accepts a thread name <i>format string</i> (e.g., {@code
       * threadFactoryBuilder.setNameFormat("rpc-pool-%d")}), while {@code threadBuilder.name()} accepts
       * a thread name <i>prefix</i> and initial counter value (e.g., {@code
       * threadBuilder.name("rpc-pool-", 0)}.
       *
       * @param nameFormat a {@link String#format(String, Object...)}-compatible format String, to which
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:35:26 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. LICENSES/vendor/cyphar.com/go-pathrs/LICENSE

    Your receipt of the notice.
    
    5.2. If You initiate litigation against any entity by asserting a patent
    infringement claim (excluding declaratory judgment actions,
    counter-claims, and cross-claims) alleging that a Contributor Version
    directly or indirectly infringes any patent, then the rights granted to
    You by any and all Contributors for the Covered Software under Section
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Nov 12 14:46:31 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            assertNotNull(component1);
            assertNotNull(component2);
    
            // Should be same instance for singleton
            assertSame(component1, component2);
            // The first creation should increment the counter
            assertTrue("Instance count should be at least 1", SingletonTestComponent.getInstanceCount() >= 1);
        }
    
        /**
         * Test wrap method
         */
        public void test_wrap_basic() {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 13:07:01 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  4. lib/fips140/v1.0.0-c2097c7c.zip

    panic("crypto/cipher: incorrect nonce length given to GCM") } counter := byteorder.BEUint64(nonce[len(nonce)-8:]) if !g.ready { // In the first call, the counter is zero, so we learn the XOR mask. g.ready = true g.mask = counter } counter ^= g.mask // Ensure the counter is monotonically increasing. if counter == math.MaxUint64 { panic("crypto/cipher: counter wrapped") } if counter < g.next { panic("crypto/cipher: counter decreased") } g.next = counter + 1 fips140.RecordApproved() return g.g.sealAfterIndicator(dst,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                    windowStart = now;
                }
    
                recentAttempts.incrementAndGet();
                lastAttempt = now;
            }
    
            void recordSuccess() {
                // Reduce counter on success to allow recovery
                recentAttempts.updateAndGet(val -> Math.max(0, val - 1));
            }
    
            void reset() {
                recentAttempts.set(0);
                blocked.set(false);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            rateLimiter.recordFailure(username, ip);
    
            assertTrue(rateLimiter.checkAttempt(username, ip));
            rateLimiter.recordFailure(username, ip);
    
            // Success should reset counter
            assertTrue(rateLimiter.checkAttempt(username, ip));
            rateLimiter.recordSuccess(username, ip);
    
            // Should be able to fail 3 more times before lockout
            for (int i = 0; i < 3; i++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. 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
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/site/apt/offline-mode.apt

    Offline Mode Design
    
    * UPDATE: 18-April-2005
    
      We cannot take the approach outlined below of detecting which remote
      repositories are "really" offline, since offline mode is more of a behavior,
      and this will lead to counter-intuitive results. A different feature may exist
      unimplemented, which is to detect when the network is down and provide better
      feedback for that case. However, when offline mode is declared, nothing
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/Config.java

     * <p>
     * There are several ways to set jCIFS properties. See
     * the <a href="../overview-summary.html#scp">overview page of the API
     * documentation</a> for details.
     */
    
    public class Config {
    
        /**
         * Counter for tracking socket connections.
         */
        public static int socketCount = 0;
    
        /**
         * The static <code>Properties</code>.
         */
    
        private static Properties prp = new Properties();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         */
        public static class StatsObject extends LinkedHashMap<String, Long> {
            /** Serial version UID for serialization. */
            private static final long serialVersionUID = 1L;
    
            /** Atomic counter for tracking reference count across multiple threads. */
            protected final AtomicInteger count;
    
            /**
             * Creates a new statistics object with the current timestamp as the begin time.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
Back to Top