Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,598 for yield (0.02 seconds)

  1. docs/uk/docs/tutorial/middleware.md

    * Вона може виконати певні дії із цією **відповіддю** або запустити необхідний код.
    * Потім вона повертає **відповідь**.
    
    /// note | Технічні деталі
    
    Якщо у вас є залежності з `yield`, код виходу виконається *після* middleware.
    
    Якщо були заплановані фонові задачі (розглянуто в розділі [Фонові задачі](background-tasks.md), ви побачите це пізніше), вони виконаються *після* всіх middleware.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
    // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
    // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference
    // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. docs/pt/docs/advanced/custom-response.md

    Recebe um gerador assíncrono ou um gerador/iterador comum (uma função com `yield`) e transmite (stream) o corpo da resposta.
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | Detalhes Técnicos
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  9. internal/grid/connection.go

    		case toSend = <-c.outQueue:
    			if len(toSend) == 0 {
    				continue
    			}
    		}
    		if len(queue) < maxMergeMessages && queueSize+len(toSend) < writeBufferSize-1024 {
    			if len(c.outQueue) == 0 {
    				// Yield to allow more messages to fill.
    				runtime.Gosched()
    			}
    			if len(c.outQueue) > 0 {
    				queue = append(queue, toSend)
    				queueSize += len(toSend)
    				continue
    			}
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/CharMatcher.java

          tmp[5 - i] = hex.charAt(c & 0xF);
          c = (char) (c >> 4);
        }
        return String.copyValueOf(tmp);
      }
    
      // Fast matchers
    
      /** A matcher for which precomputation will not yield any significant benefit. */
      abstract static class FastMatcher extends CharMatcher {
    
        @Override
        public final CharMatcher precomputed() {
          return this;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
Back to Top