Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 421 for goexit (0.05 seconds)

  1. docs/zh-hant/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:05:38 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. tests/hooks_test.go

    }
    
    func TestPropagateUnscoped(t *testing.T) {
    	_DB, err := OpenTestConnection(&gorm.Config{
    		PropagateUnscoped: true,
    	})
    	if err != nil {
    		log.Printf("failed to connect database, got error %v", err)
    		os.Exit(1)
    	}
    
    	_DB.Migrator().DropTable(&Product6{}, &ProductItem2{})
    	_DB.AutoMigrate(&Product6{}, &ProductItem2{})
    
    	p := Product6{
    		Name: "unique_code",
    		Item: &ProductItem2{},
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
  3. docs/bigdata/README.md

    ```
    
    Use one of the following approaches to view job output:
    
    View output in the Scala shell:
    
    ```
    scala> counts.count()
    364
    ```
    
    To view the output from MinIO exit the Scala shell. View WordCount job status:
    
    ```
    hadoop fs -ls s3a://testbucket/wordcount
    ```
    
    The output should be similar to the following:
    
    ```
    Found 3 items
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/Constants.java

        /** Default job script type (Groovy). */
        public static final String DEFAULT_JOB_SCRIPT_TYPE = "groovy";
    
        /** Exit code for successful operation. */
        public static final int EXIT_OK = 0;
    
        /** Exit code for failed operation. */
        public static final int EXIT_FAIL = 1;
    
        /** Document crawler format identifier. */
        public static final String DCF = "dcf";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  5. ci/official/utilities/code_check_full.bats

          # helpful since the only examples I've seen are enormous.
          bazel cquery "rdeps(kind(py_test, $(cat $BATS_TEST_TMPDIR/deps)), $dep, 1)"
        done < $BATS_TEST_TMPDIR/missing_deps
        exit 1
      fi
    }
    
    # The Python package is not allowed to depend on any CUDA packages.
    @test "Pip package doesn't depend on CUDA" {
      bazel cquery \
        --experimental_cc_shared_library \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 28 22:41:17 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/asm.go

    		Ctxt: p.ctxt,
    		As:   obj.AFUNCDATA,
    		Pos:  p.pos(),
    		From: valueAddr,
    		To:   nameAddr,
    	}
    	p.append(prog, "", true)
    }
    
    // asmJump assembles a jump instruction.
    // JMP	R1
    // JMP	exit
    // JMP	3(PC)
    func (p *Parser) asmJump(op obj.As, cond string, a []obj.Addr) {
    	var target *obj.Addr
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		Pos:  p.pos(),
    		As:   op,
    	}
    	targetAddr := &prog.To
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  7. 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)
  8. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    ## Saída antecipada e `scope` { #early-exit-and-scope }
    
    Normalmente, o código de saída das dependências com `yield` é executado **após a resposta** ser enviada ao cliente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. src/builtin/builtin.go

    // execution and running any deferred functions. This continues until all
    // functions in the executing goroutine have stopped, in reverse order. At
    // that point, the program is terminated with a non-zero exit code. This
    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    // Starting in Go 1.21, calling panic with a nil interface value or an
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Feb 26 17:14:40 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    ## Ранний выход и `scope` { #early-exit-and-scope }
    
    Обычно «код выхода» зависимостей с `yield` выполняется **после того, как ответ** отправлен клиенту.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 19.4K bytes
    - Click Count (0)
Back to Top