Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 660 for _wait (0.03 seconds)

  1. docs/ja/docs/index.md

    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>または<code>async def</code>を使います...</summary>
    
    `async` / `await`を使用するときは、 `async def`を使います:
    
    ```Python hl_lines="7 12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waitersField; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 34.8K bytes
    - Click Count (0)
  3. helm-releases/minio-5.0.6.tgz

    failed command. {{- if .Values.configPathmc }} MC_CONFIG_DIR="{{ .Values.configPathmc }}" MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" {{- else }} MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait for MinIO service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ; # The connections to...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 13 06:53:06 GMT 2023
    - 20.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessClient.java

            for (WitnessRegistration registration : registrations.values()) {
                unregisterFutures.add(unregister(registration));
            }
    
            // Wait for all unregistrations to complete
            try {
                CompletableFuture.allOf(unregisterFutures.toArray(new CompletableFuture[0])).get(10, TimeUnit.SECONDS);
            } catch (Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/generate-clients.md

    **reflected** on the client code automatically. And if you **build** the client, it will error out if you have any **mismatch** in the data used.
    
    So, you would **detect many errors** very early in the development cycle instead of having to wait for the errors to show up to your final users in production and then trying to debug where the problem is. ✨...
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.1K bytes
    - Click Count (1)
  6. docs/zh/docs/advanced/custom-response.md

    如果您有类似文件的对象(例如,由 `open()` 返回的对象),则可以在 `StreamingResponse` 中将其返回。
    
    包括许多与云存储,视频处理等交互的库。
    
    {* ../../docs_src/custom_response/tutorial008.py hl[2,10:12,14] *}
    
    /// tip | 小贴士
    
    注意在这里,因为我们使用的是不支持 `async` 和 `await` 的标准 `open()`,我们使用普通的 `def` 声明了路径操作。
    
    ///
    
    ### `FileResponse`
    
    异步传输文件作为响应。
    
    与其他响应类型相比,接受不同的参数集进行实例化:
    
    * `path` - 要流式传输的文件的文件路径。
    * `headers` - 任何自定义响应头,传入字典类型。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/dependencies/index.md

    Es spielt keine Rolle. **FastAPI** weiß, was zu tun ist.
    
    /// note | Hinweis
    
    Wenn Ihnen das nichts sagt, lesen Sie den [Async: *„In Eile?“*](../../async.md#in-a-hurry){.internal-link target=_blank}-Abschnitt über `async` und `await` in der Dokumentation.
    
    ///
    
    ## Integriert in OpenAPI { #integrated-with-openapi }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            assertTrue("Should have at least one index initially", aliasResponse.getAliases().size() >= 1);
    
            // Create next index - this is the main method we're testing
            Thread.sleep(1000); // Wait before creating next index (following existing test pattern)
            suggester.createNextIndex();
            Thread.sleep(100);
    
            // Verify that createNextIndex completed without exceptions
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. README.md

    // Check crawling status
    while (crawler.crawlerContext.getStatus() == CrawlerStatus.RUNNING) {
        Thread.sleep(1000);
        System.out.println("Crawling in progress...");
    }
    
    // Wait for completion
    crawler.awaitTermination();
    System.out.println("Crawling completed");
    ```
    
    ### Custom Content Extractor
    
    ```java
    public class CustomExtractor extends AbstractExtractor {
        @Override
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Aug 31 05:32:52 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            }
                        }
    
                        final long start = System.currentTimeMillis();
                        while (timeout > 0) {
                            response.wait(timeout);
    
                            /* JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top