Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 175 for early (0.04 seconds)

  1. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    /// tip
    
    *경로 처리 함수*의 코드에서 어떤 예외를 발생시키면 `HTTPException`을 포함해 `yield`를 사용하는 의존성으로 전달됩니다. 대부분의 경우 해당 예외(또는 새 예외)를 `yield`를 사용하는 의존성에서 다시 발생시켜, 제대로 처리되도록 해야 합니다.
    
    ///
    
    ## 조기 종료와 `scope` { #early-exit-and-scope }
    
    일반적으로 `yield`를 사용하는 의존성의 종료 코드는 클라이언트로 **응답이 전송된 후에** 실행됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    在其中一个响应发送之后,就不能再发送其他响应了。
    
    ///
    
    /// tip | 提示
    
    如果你在 *路径操作函数* 的代码中引发任何异常,它都会被传递给带有 `yield` 的依赖项,包括 `HTTPException`。在大多数情况下,你会希望在带有 `yield` 的依赖中重新抛出相同的异常或一个新的异常,以确保它被正确处理。
    
    ///
    
    ## 提前退出与 `scope` { #early-exit-and-scope }
    
    通常,带有 `yield` 的依赖的退出代码会在响应发送给客户端**之后**执行。
    
    但如果你知道在从 *路径操作函数* 返回之后不再需要使用该依赖,你可以使用 `Depends(scope="function")` 告诉 FastAPI:应当在 *路径操作函数* 返回后、但在**响应发送之前**关闭该依赖。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  3. cmd/admin-router.go

    		r = r.WithContext(newContext(r, w, handlerName))
    
    		defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    		// Check if object layer is available, if not return error early.
    		if !handlerFlags.Has(noObjLayerFlag) {
    			objectAPI := newObjectLayerFn()
    			if objectAPI == nil || globalNotificationSys == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            public static final String COLOR = "color";
            public static final String OFFLINE = "o";
            public static final String HELP = "h";
    
            // Not an Option: used only for early detection, when CLI args may not be even parsed
            public static final String SHOW_ERRORS_CLI_ARG = "-" + SHOW_ERRORS;
    
            // parameters handled by script
            public static final String DEBUG = "debug";
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

      final boolean threadStarted;
    
      /** Constructs a new queue. */
      public FinalizableReferenceQueue() {
        // We could start the finalizer lazily, but I'd rather it blow up early.
        queue = new ReferenceQueue<>();
        frqRef = new PhantomReference<>(this, queue);
        boolean threadStarted = false;
        try {
          finalizerStarter.startFinalizer(FinalizableReference.class, queue, frqRef);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  6. internal/ringbuffer/ring_buffer.go

    	return b, r.readErr(true)
    }
    
    // Write writes len(p) bytes from p to the underlying buf.
    // It returns the number of bytes written from p (0 <= n <= len(p))
    // and any error encountered that caused the write to stop early.
    // If blocking n < len(p) will be returned only if an error occurred.
    // Write returns a non-nil error if it returns n < len(p).
    // Write will not modify the slice data, even temporarily.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://datatracker.ietf.org/doc/html/rfc8470">{@code Early-Data}</a> header
       * field name.
       *
       * @since 27.0
       */
      public static final String EARLY_DATA = "Early-Data";
    
      /** The HTTP {@code Expect} header field name. */
      public static final String EXPECT = "Expect";
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 24 14:36:23 GMT 2026
    - 35.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

         * CountDownLatch.) In order to avoid hiding the requested notification from the caller, we need
         * to return. Fortunately, a wait on a Condition is allowed to return early on account of a
         * "spurious wakeup," so we're allowed to convert interruptions into such wakeups.
         */
    
        /*
         * Since we can't loop inside awaitUninterruptibly(Condition, ...), the user is responsible for
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      final boolean threadStarted;
    
      /** Constructs a new queue. */
      public FinalizableReferenceQueue() {
        // We could start the finalizer lazily, but I'd rather it blow up early.
        queue = new ReferenceQueue<>();
        frqRef = new PhantomReference<>(this, queue);
        boolean threadStarted = false;
        try {
          finalizerStarter.startFinalizer(FinalizableReference.class, queue, frqRef);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Ascii.java

       *
       * @since 16.0
       */
      public static boolean equalsIgnoreCase(CharSequence s1, CharSequence s2) {
        // Calling length() is the null pointer check (so do it before we can exit early).
        int length = s1.length();
        if (s1 == s2) {
          return true;
        }
        if (length != s2.length()) {
          return false;
        }
        for (int i = 0; i < length; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top