Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for Acquiring (0.06 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertFalse("Capable of acquiring secondary permit", r.tryAcquire());
      }
    
      public void testDoubleMinValueCanAcquireExactlyOnce() {
        RateLimiter r = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Unable to acquire initial permit", r.tryAcquire());
        assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
        stopwatch.sleepMillis(Integer.MAX_VALUE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertFalse("Capable of acquiring secondary permit", r.tryAcquire());
      }
    
      public void testDoubleMinValueCanAcquireExactlyOnce() {
        RateLimiter r = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Unable to acquire initial permit", r.tryAcquire());
        assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
        stopwatch.sleepMillis(Integer.MAX_VALUE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            if (concurrencyLimiter == null) {
                return chat(request);
            }
            if (logger.isDebugEnabled()) {
                logger.debug("[LLM] Acquiring concurrency permit. name={}, availablePermits={}, maxConcurrent={}", getName(),
                        concurrencyLimiter.availablePermits(), getMaxConcurrentRequests());
            }
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

                    || (checkTime && (now - e.getWriteTime() < map.refreshNanos))) {
                  // refresh is a no-op if loading is pending
                  // if checkTime, we want to check *after* acquiring the lock if refresh still needs
                  // to be scheduled
                  return null;
                }
    
                // continue returning old value while loading
                ++modCount;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  5. src/main/resources/fess_config.properties

    # Time-to-live (ms) for instance heartbeat documents.
    coordinator.heartbeat.ttl=180000
    # Time-to-live (ms) for operation lock documents.
    coordinator.operation.ttl=7200000
    # Maximum number of retries for acquiring an operation lock.
    coordinator.operation.retry=3
    # Time-to-live (ms) for event notification documents.
    coordinator.event.ttl=600000
    
    # ----------------------------------------------------------
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/MapMakerInternalMap.java

            runCleanup();
          }
        }
    
        /**
         * Performs routine cleanup prior to executing a write. This should be called every time a write
         * thread acquires the segment lock, immediately after acquiring the lock.
         */
        @GuardedBy("this")
        void preWriteCleanup() {
          runLockedCleanup();
        }
    
        void runCleanup() {
          runLockedCleanup();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/LocalCache.java

                    || (checkTime && (now - e.getWriteTime() < map.refreshNanos))) {
                  // refresh is a no-op if loading is pending
                  // if checkTime, we want to check *after* acquiring the lock if refresh still needs
                  // to be scheduled
                  return null;
                }
    
                // continue returning old value while loading
                ++modCount;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            runCleanup();
          }
        }
    
        /**
         * Performs routine cleanup prior to executing a write. This should be called every time a write
         * thread acquires the segment lock, immediately after acquiring the lock.
         */
        @GuardedBy("this")
        void preWriteCleanup() {
          runLockedCleanup();
        }
    
        void runCleanup() {
          runLockedCleanup();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        Integer getCoordinatorOperationTtlAsInteger();
    
        /**
         * Get the value for the key 'coordinator.operation.retry'. <br>
         * The value is, e.g. 3 <br>
         * comment: Maximum number of retries for acquiring an operation lock.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getCoordinatorOperationRetry();
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

     *   <li>Streams include primitive-specialized variants such as {@code IntStream}, the use of which
     *       is strongly recommended.
     *   <li>Streams are standard Java, not requiring a third-party dependency (but requiring <a
     *       href="https://developer.android.com/studio/write/java8-support#library-desugaring">library
     *       desugaring</a> or <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top