- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for sleeping (0.04 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertFalse("Capable of acquiring an additional permit", r.tryAcquire()); stopwatch.sleepMillis(Integer.MAX_VALUE); assertFalse("Capable of acquiring an additional permit after sleeping", r.tryAcquire()); } public void testSimpleRateUpdate() { RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS); assertThat(limiter.getRate()).isEqualTo(5.0); limiter.setRate(10.0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertFalse("Capable of acquiring an additional permit", r.tryAcquire()); stopwatch.sleepMillis(Integer.MAX_VALUE); assertFalse("Capable of acquiring an additional permit after sleeping", r.tryAcquire()); } public void testSimpleRateUpdate() { RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS); assertThat(limiter.getRate()).isEqualTo(5.0); limiter.setRate(10.0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
scripts/notify_translations.py
raise RuntimeError("No PR number available") # Avoid race conditions with multiple labels sleep_time = random.random() * 10 # random number between 0 and 10 seconds logging.info( f"Sleeping for {sleep_time} seconds to avoid " "race conditions and multiple comments" ) time.sleep(sleep_time) # Get PR logging.debug(f"Processing PR: #{number}") pr = repo.get_pull(number)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
} } /** * Applies delay based on the configured interval rules. * This method calculates the appropriate delay for the current time * and applies it by sleeping the current thread. */ public void delayByRules() { final long delay = getDelay(); if (delay > 0) { ThreadUtil.sleep(delay); } } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 12:34:02 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
public MonitorThread(final Process process, final long timeout) { this.process = process; this.timeout = timeout; } /** * Runs the monitor thread, sleeping for the timeout duration and terminating the process if needed. */ @Override public void run() { ThreadUtil.sleepQuietly(timeout); if (!finished) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
CONTRIBUTING.md
4. Code contributions require signing a Google CLA. API changes ----------- We make changes to Guava's public [APIs][], including adding new APIs, very carefully. Because of this, if you're interested in seeing a new feature in Guava, the best approach is to create an [issue][] (or comment on an existing issue if there is one) requesting the feature and describing specific use cases for it.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 15 18:43:50 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java
try { boost = Float.parseFloat(value); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage()); } } } } @Override public String getConfigId() { return ConfigType.WEB.getConfigId(getId());Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java
try { boost = Float.parseFloat(value); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage()); } } } } @Override public String getConfigId() { return ConfigType.FILE.getConfigId(getId());Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 11.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
And the `dict` you receive as `weights` will actually have `int` keys and `float` values. /// ## Recap { #recap } With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant. But with all the benefits: * Editor support (completion everywhere!) * Data conversion (a.k.a. parsing / serialization) * Data validation * Schema documentationRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
try { boost = Float.parseFloat(value); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage()); } } } } @Override public String getIndexingTarget(final String input) { // always return trueRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 18.8K bytes - Viewed (0)