Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 51 for Concurrency (0.17 seconds)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        FakeTicker ticker = new FakeTicker();
        assertThrows(
            IllegalArgumentException.class, () -> ticker.setAutoIncrementStep(-1, NANOSECONDS));
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        FakeTicker ticker = new FakeTicker();
        assertThrows(
            IllegalArgumentException.class, () -> ticker.setAutoIncrementStep(-1, NANOSECONDS));
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

        /**
         * Gets the timeout for waiting to acquire a concurrency permit (ms).
         * Default is 30000ms. Override or configure via rag.llm.{provider}.concurrency.wait.timeout.
         *
         * @return the wait timeout in milliseconds
         */
        protected long getConcurrencyWaitTimeoutMs() {
            return Long.parseLong(ComponentUtil.getFessConfig().getOrDefault(getConfigPrefix() + ".concurrency.wait.timeout", "30000"));
        }
    
        /**
    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. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
     * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  5. .github/workflows/ci-build.yml

    # ==============================================================================
    name: CI
    
    on:
      pull_request:
        branches:
          - master
          - r2.**
    
    permissions:
      contents: read
    
    concurrency:
      group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
      # Don't cancel in-progress jobs for master branches.
      cancel-in-progress: ${{ github.ref != 'master' }}
    
    jobs:
      #build-and-test-linux-x86-cpu:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
     * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  7. CLAUDE.md

    ```
    src/main/java/org/codelibs/core/
    ├── beans/       # Bean manipulation & introspection (converter/, factory/, impl/, util/)
    ├── collection/  # Enhanced collections (LruHashMap, CaseInsensitiveMap)
    ├── concurrent/  # Concurrency utilities
    ├── convert/     # Type conversion (*ConversionUtil)
    ├── crypto/      # Cipher & encryption (CachedCipher)
    ├── exception/   # Runtime exception wrappers
    ├── io/          # I/O & resource utilities
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 12 03:38:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/async.md

    # 並行與 async / await { #concurrency-and-async-await }
    
    有關*路徑操作函式*的 `async def` 語法的細節與非同步 (asynchronous) 程式碼、並行 (concurrency) 與平行 (parallelism) 的一些背景知識。
    
    ## 趕時間嗎? { #in-a-hurry }
    
    <abbr title="too long; didn't read - 太長不看"><strong>TL;DR:</strong></abbr>
    
    如果你正在使用要求你以 `await` 語法呼叫的第三方函式庫,例如:
    
    ```Python
    results = await some_library()
    ```
    
    然後,使用 `async def` 宣告你的*路徑操作函式*:
    
    
    ```Python hl_lines="2"
    @app.get('/')
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  9. docs/ko/docs/async.md

    # 동시성과 async / await { #concurrency-and-async-await }
    
    *경로 처리 함수*에서의 `async def` 문법에 대한 세부사항과 비동기 코드, 동시성 및 병렬성에 대한 배경
    
    ## 바쁘신가요? { #in-a-hurry }
    
    <abbr title="too long; didn't read - 너무 길어서 읽지 않음"><strong>TL;DR:</strong></abbr>
    
    다음과 같이 `await`를 사용해 호출하라고 안내하는 제3자 라이브러리를 사용하는 경우:
    
    ```Python
    results = await some_library()
    ```
    
    다음처럼 *경로 처리 함수*를 `async def`를 사용해 선언하십시오:
    
    ```Python hl_lines="2"
    @app.get('/')
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  10. .github/workflows/contributor-pr.yml

    name: Contributor CI Build
    
    on:
      push:
        branches:
          - master
      pull_request:
        branches:
          - master
    
    concurrency:
      # On master/release, we don't want any jobs cancelled so the sha is used to name the group
      group: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' ) && format('contributor-pr-base-{0}', github.sha) || format('contributor-pr-{0}', github.ref) }}
      cancel-in-progress: false
    
    env:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 22:06:44 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top