Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 704 for iowait (0.05 seconds)

  1. docs/zh/docs/tutorial/dependencies/index.md

    你可以使用 `async def` 或普通的 `def`。
    
    你可以在普通的 `def` *路径操作函数*中声明 `async def` 的依赖项;也可以在异步的 `async def` *路径操作函数*中声明普通的 `def` 依赖项,等等。
    
    都没关系,**FastAPI** 知道该怎么处理。
    
    /// note | 注意
    
    如果不了解异步,请参阅文档中关于 `async` 和 `await` 的章节:[异步:*“着急了?”*](../../async.md#in-a-hurry)。
    
    ///
    
    ## 与 OpenAPI 集成 { #integrated-with-openapi }
    
    依赖项及子依赖项中声明的所有请求、验证和需求都会集成到同一个 OpenAPI 模式中。
    
    因此,交互式文档中也会包含这些依赖项的所有信息:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip
    
    テスト関数は `async def` ではなく、通常の `def` であることに注意してください。
    
    また、クライアントへの呼び出しも通常の呼び出しであり、`await` を使用しません。
    
    これにより、煩雑にならずに、`pytest` を直接使用できます。
    
    ///
    
    /// note | 技術詳細
    
    `from starlette.testclient import TestClient` も使用できます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. cmd/metacache-stream.go

    			}
    		}
    	}()
    
    	return objs, nil
    }
    
    // Close and release resources.
    func (w *metacacheWriter) Close() error {
    	if w == nil || w.closer == nil {
    		return nil
    	}
    	w.streamWg.Wait()
    	err := w.closer()
    	w.closer = nil
    	return err
    }
    
    // Reset and start writing to new writer.
    // Close must have been called before this.
    func (w *metacacheWriter) Reset(out io.Writer) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  4. docs/bucket/notifications/README.md

    mandatory      (on|off)    quietly ignore undelivered messages when set to 'off', default is 'on'
    durable        (on|off)    persist queue across broker restarts when set to 'on', default is 'off'
    no_wait        (on|off)    non-blocking message delivery when set to 'on', default is 'off'
    internal       (on|off)    set to 'on' for exchange to be not used directly by publishers, but only when bound to other exchanges
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 84.2K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/dependencies/index.md

    아무 문제 없습니다. **FastAPI**는 무엇을 할지 알고 있습니다.
    
    /// note | 참고
    
    잘 모르시겠다면, [Async: *"In a hurry?"*](../../async.md#in-a-hurry) 문서에서 `async`와 `await`에 대해 확인할 수 있습니다.
    
    ///
    
    ## OpenAPI와 통합 { #integrated-with-openapi }
    
    모든 요청 선언, 검증과 의존성(및 하위 의존성)에 대한 요구 사항은 동일한 OpenAPI 스키마에 통합됩니다.
    
    따라서 대화형 문서에 이러한 의존성에 대한 모든 정보 역시 포함하고 있습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  6. internal/s3select/simdj/reader.go

    	// Close the input.
    	// Potentially racy if the stream decoder is still reading.
    	if r.readCloser != nil {
    		r.readCloser.Close()
    	}
    	if r.exitReader != nil {
    		close(r.exitReader)
    		r.readerWg.Wait()
    		r.exitReader = nil
    		r.input = nil
    	}
    	return nil
    }
    
    // startReader will start a reader that accepts input from r.input.
    // Input should be root -> object input. Each root indicates a record.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                futures.add(executor.submit(() -> {
                    try {
                        startLatch.await();
                        for (int i = 0; i < iterationsPerThread; i++) {
                            final Map<String, Object> params = new HashMap<>();
                            params.put("x", threadId * 1000 + i);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  8. docs/tr/docs/index.md

    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Ya da <code>async def</code> kullanalım...</summary>
    
    Eğer kodunuz `async` / `await` kullanıyorsa, `async def` kullanın:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  9. README.md

        $ mvn antrun:run  # Download OpenSearch plugins (if not done)
        $ mvn package     # Build the package
    
    #### 2. Start Fess Server
    
        $ unzip target/releases/fess-*.zip
        $ ./fess-*/bin/fess &
    
    Wait for Fess to be ready (this may take up to 60 seconds):
    
        $ curl -s "http://localhost:8080/api/v1/health"
    
    You should see a JSON response when Fess is ready.
    
    #### 3. Clone Test Data
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 14 03:19:23 GMT 2026
    - 7.8K bytes
    - Click Count (2)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        }
    
        val startedTask = startNextTask()
        val otherTasksStarted = startedTask != yieldCompleteTask
    
        try {
          while (currentTask != self) {
            taskRunner.wait()
          }
        } finally {
          serialTaskQueue.remove(yieldCompleteTask)
        }
    
        // If we're yielding until we're exhausted and a task run, keep going until a task doesn't run.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top