Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 296 for yielded (0.04 seconds)

  1. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                        synchronized (mockCallback) {
                            callback.deleteUrlList.add("http://example.com/doc" + i);
                        }
                        Thread.yield();
                    }
                } catch (Exception e) {
                    exceptions[0] = e;
                }
            });
    
            threads[1] = new Thread(() -> {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/custom-response.md

    ### `StreamingResponse` { #streamingresponse }
    
    비동기 제너레이터 또는 일반 제너레이터/이터레이터(`yield`가 있는 함수)를 받아 응답 본문을 스트리밍합니다.
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | 기술 세부사항
    
    `async` 작업은 `await`에 도달했을 때만 취소될 수 있습니다. `await`가 없으면 제너레이터(`yield`가 있는 함수)는 제대로 취소될 수 없고, 취소가 요청된 후에도 계속 실행될 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/custom-response.md

    Prend un générateur async ou un générateur/itérateur normal (une fonction avec `yield`) et diffuse le corps de la réponse.
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | Détails techniques
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                log.warn("NTLMv1 NTLM response is deprecated and insecure. Consider using NTLMv2.");
                yield NtlmUtil.getNTLMResponse(getPasswordAsCharArray(), chlng);
            }
            case 3, 4, 5 -> {
                // NTLMv2 - returns empty for unicode hash as NTLMv2 doesn't use it
                yield new byte[0];
            }
            default -> {
                // Default to NTLMv2 behavior (empty response)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

    }
    
    /**
     * Returns true if the response headers and status indicate that this response has a (possibly
     * 0-length) body. See RFC 7231.
     */
    fun Response.promisesBody(): Boolean {
      // HEAD requests never yield a body regardless of the response headers.
      if (request.method == "HEAD") {
        return false
      }
    
      val responseCode = code
      if ((responseCode < HTTP_CONTINUE || responseCode >= 200) &&
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/middleware.md

    * Puede hacer algo a esa **response** o ejecutar cualquier código necesario.
    * Luego devuelve la **response**.
    
    /// note | Detalles Técnicos
    
    Si tienes dependencias con `yield`, el código de salida se ejecutará *después* del middleware.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. fastapi/.agents/skills/fastapi/SKILL.md

    ## Dependency Injection
    
    See [the dependency injection reference](references/dependencies.md) for detailed patterns including `yield` with `scope`, and class dependencies.
    
    Use dependencies when the logic can't be declared in Pydantic validation, depends on external resources, needs cleanup (with `yield`), or is shared across endpoints.
    
    Apply shared dependencies at the router level via `dependencies=[Depends(...)]`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. fastapi/param_functions.py

        scope: Annotated[
            Literal["function", "request"] | None,
            Doc(
                """
                Mainly for dependencies with `yield`, define when the dependency function
                should start (the code before `yield`) and when it should end (the code
                after `yield`).
    
                * `"function"`: start the dependency before the *path operation function*
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  9. src/main/java/jcifs/SID.java

     * accounts. SIDs are commonly represented using a textual format such as
     * <code>S-1-5-21-1496946806-2192648263-3843101252-1029</code> but they may
     * also be resolved to yield the name of the associated Windows account
     * such as <code>Administrators</code> or <code>MYDOM\alice</code>.
     * <p>
     * Consider the following output of <code>examples/SidLookup.java</code>:
     *
     * <pre>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/custom-response.md

    ### `StreamingResponse` { #streamingresponse }
    
    采用异步生成器或普通生成器/迭代器(带有 `yield` 的函数),然后流式传输响应主体。
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | 技术细节
    
    一个 `async` 任务只有在到达 `await` 时才能被取消。如果没有 `await`,生成器(带有 `yield` 的函数)无法被正确取消,即使已请求取消也可能继续运行。
    
    由于这个小示例不需要任何 `await` 语句,我们添加 `await anyio.sleep(0)`,给事件循环一个处理取消的机会。
    
    对于大型或无限流,这一点更为重要。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top