Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 729 for BOOL (0.02 sec)

  1. internal/grid/grid_test.go

    				return nil
    			},
    			OutCapacity: 1,
    			InCapacity:  1,
    		}))
    	}
    	register(local)
    	register(remote)
    
    	// local to remote
    	testHandler := func(t *testing.T, handler HandlerID, sendReq bool) {
    		remoteConn := local.Connection(remoteHost)
    		const testPayload = "Hello Grid World!"
    
    		ctx, cancel := context.WithCancel(t.Context())
    		st, err := remoteConn.NewStream(ctx, handler, []byte(testPayload))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  2. tests/test_application.py

                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                    }
                },
                "/path/bool/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/QueryCommand.java

            });
            return defaultQuery;
        }
    
        /**
         * Creates a default query builder based on the configured query type.
         * @return The default query builder (either dismax or bool query).
         */
        protected DefaultQueryBuilder createDefaultQueryBuilder() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if ("dismax".equals(fessConfig.getQueryDefaultQueryType())) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 11:39:05 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/body.md

    Die Funktionsparameter werden wie folgt erkannt:
    
    * Wenn der Parameter auch im **Pfad** deklariert wurde, wird er als Pfad-Parameter verwendet.
    * Wenn der Parameter ein **einfacher Typ** ist (wie `int`, `float`, `str`, `bool`, usw.), wird er als **Query**-Parameter interpretiert.
    * Wenn der Parameter vom Typ eines **Pydantic-Modells** ist, wird er als Request**body** interpretiert.
    
    /// note | Hinweis
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body.md

    **FastAPI** 支持同时声明**请求体**、**路径参数**和**查询参数**。
    
    **FastAPI** 能够正确识别这三种参数,并从正确的位置获取数据。
    
    {* ../../docs_src/body/tutorial004_py310.py hl[16] *}
    
    函数参数按如下规则进行识别:
    
    - **路径**中声明了相同参数的参数,是路径参数
    - 类型是(`int`、`float`、`str`、`bool` 等)**单类型**的参数,是**查询**参数
    - 类型是 **Pydantic 模型**的参数,是**请求体**
    
    /// note | 笔记
    
    因为默认值是 `None`, FastAPI 会把 `q` 当作可选参数。
    
    FastAPI 不使用 `Optional[str]` 中的 `Optional`, 但 `Optional` 可以让编辑器提供更好的支持,并检测错误。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. internal/s3select/sql/aggregation.go

    )
    
    type aggVal struct {
    	runningSum             *Value
    	runningCount           int64
    	runningMax, runningMin *Value
    
    	// Stores if at least one record has been seen
    	seen bool
    }
    
    func newAggVal(fn FuncName) *aggVal {
    	switch fn {
    	case aggFnAvg, aggFnSum:
    		return &aggVal{runningSum: FromFloat(0)}
    	case aggFnMin:
    		return &aggVal{runningMin: FromInt(0)}
    	case aggFnMax:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. docs/en/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsLabelTypeCQ.java

        }
    
        public void bool(BoolCall<LabelTypeCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<LabelTypeCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            LabelTypeCQ mustQuery = new LabelTypeCQ();
            LabelTypeCQ shouldQuery = new LabelTypeCQ();
            LabelTypeCQ mustNotQuery = new LabelTypeCQ();
            LabelTypeCQ filterQuery = new LabelTypeCQ();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 87.8K bytes
    - Viewed (0)
  9. docs/ja/docs/index.md

    ```Python hl_lines="2  7 8 9 10  23 24 25"
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str = None):
        return {"item_id": item_id, "q": q}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  10. cmd/object_api_suite_test.go

    func newTestReaderEOF(data []byte) io.Reader {
    	return &testOneByteReadEOF{false, data}
    }
    
    // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error.
    type testOneByteReadEOF struct {
    	eof  bool
    	data []byte
    }
    
    func (r *testOneByteReadEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, io.EOF
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
Back to top