Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 1,289 for bool (0.02 seconds)

  1. src/cmd/asm/internal/asm/operand_test.go

    //
    // For unexpected panics, calls t.Fatal.
    func tryParse(t *testing.T, parse func()) (err error) {
    	panicOnError = true
    	defer func() {
    		panicOnError = false
    
    		e := recover()
    		var ok bool
    		if err, ok = e.(error); e != nil && !ok {
    			t.Fatal(e)
    		}
    	}()
    
    	parse()
    
    	return nil
    }
    
    func testBadOperandParser(t *testing.T, parser *Parser, tests []badOperandTest) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        @Test
        public void test_toJson_withList() {
            final Map<String, Object> map = Map.of( //
                    "query", Map.of("bool", Map.of("must", List.of( //
                            Map.of("term", Map.of("type", "heartbeat")), //
                            Map.of("range", Map.of("expiredTime", Map.of("gte", 1000L)))))));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/query-params.md

    在這種情況下,函式參數 `q` 為選用,且預設為 `None`。
    
    /// check | 注意
    
    另外請注意,FastAPI 能辨識出路徑參數 `item_id` 是路徑參數,而 `q` 不是,因此 `q` 會被當作查詢參數。
    
    ///
    
    ## 查詢參數型別轉換 { #query-parameter-type-conversion }
    
    你也可以宣告 `bool` 型別,值會被自動轉換:
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    在這種情況下,如果你造訪:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    或
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/query-params.md

    ///
    
    ## Sorgu parametresi tip dönüşümü { #query-parameter-type-conversion }
    
    `bool` tipleri de tanımlayabilirsiniz, ve bunlar dönüştürülür:
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    Bu durumda, şuraya giderseniz:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    veya
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. schema/schema_test.go

    		{Name: "DeletedAt", DBName: "deleted_at", BindNames: []string{"DeletedAt"}, DataType: schema.Time},
    		{Name: "Active", DBName: "active", BindNames: []string{"Active"}, DataType: schema.Bool},
    		{Name: "Admin", DBName: "admin", BindNames: []string{"Admin"}, DataType: schema.Bool},
    	}
    
    	for i := range fields {
    		checkSchemaField(t, user, &fields[i], func(f *schema.Field) {
    			f.Creatable = true
    			f.Updatable = true
    			f.Readable = true
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Aug 28 02:57:17 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  6. scan.go

    		}
    
    		if len(joinFields) == 0 || len(joinFields[idx]) == 0 {
    			db.AddError(field.Set(db.Statement.Context, reflectValue, values[idx]))
    		} else { // joinFields count is larger than 2 when using join
    			var isNilPtrValue bool
    			var relValue reflect.Value
    			// does not contain raw dbname
    			nestedJoinSchemas := joinFields[idx][:len(joinFields[idx])-1]
    			// current reflect value
    			currentReflectValue := reflectValue
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  7. tests/migrate_test.go

    	myIndex := &migrator.Index{TableName: table, NameValue: "my_us8_index", ColumnList: []string{"name"}, PrimaryKeyValue: sql.NullBool{Bool: false, Valid: true}, UniqueValue: sql.NullBool{Bool: true, Valid: true}}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  8. cmd/admin-bucket-handlers.go

    		return
    	}
    
    	target.SourceBucket = bucket
    	var ops []madmin.TargetUpdateType
    	if update {
    		ops = madmin.GetTargetUpdateOps(r.Form)
    	} else {
    		var exists bool // true if arn exists
    		target.Arn, exists = globalBucketTargetSys.getRemoteARN(bucket, &target, "")
    		if exists && target.Arn != "" { // return pre-existing ARN
    			data, err := json.Marshal(target.Arn)
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  9. tensorflow/c/eager/c_api_unified_experimental_test.cc

    // - a string representing the tracing implementation: "mlir" or "graphdef".
    // - a boolean that when true enables TFRT as the execution engine.
    class UnifiedCAPI
        : public ::testing::TestWithParam<std::tuple<const char*, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        absl::Status s = StatusFromTF_Status(status.get());
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 39.1K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/query-params.md

    ///
    
    ## Conversion des types des paramètres de requête { #query-parameter-type-conversion }
    
    Vous pouvez aussi déclarer des types `bool`, ils seront convertis :
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    Dans ce cas, si vous allez sur :
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    ou
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top