Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,315 for bool (0.12 sec)

  1. cmd/api-resources_test.go

    func TestListObjectsV2Resources(t *testing.T) {
    	testCases := []struct {
    		values                               url.Values
    		prefix, token, startAfter, delimiter string
    		fetchOwner                           bool
    		maxKeys                              int
    		encodingType                         string
    		errCode                              APIErrorCode
    	}{
    		{
    			values: url.Values{
    				"prefix":             []string{"photos/"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  2. cmd/metacache-manager.go

    	go func() {
    		objAPI := newObjectLayerFn()
    		for objAPI == nil {
    			time.Sleep(time.Second)
    			objAPI = newObjectLayerFn()
    		}
    
    		t := time.NewTicker(time.Minute)
    		defer t.Stop()
    
    		var exit bool
    		for !exit {
    			select {
    			case <-t.C:
    			case <-GlobalContext.Done():
    				exit = true
    			}
    			m.mu.RLock()
    			for _, v := range m.buckets {
    				if !exit {
    					v.cleanup()
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. cmd/http-tracer.go

    					OutputBytes:     respRecorder.Size(),
    					TimeToFirstByte: respRecorder.TTFB(),
    				},
    			},
    		}
    
    		globalTrace.Publish(t)
    	})
    }
    
    func httpTrace(f http.HandlerFunc, logBody bool) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if !ok {
    			// Tracing is not enabled for this request
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    		return
    	}
    
    	if opts.PreserveETag != "" ||
    		r.Header.Get(xhttp.IfMatch) != "" ||
    		r.Header.Get(xhttp.IfNoneMatch) != "" {
    		opts.CheckPrecondFn = func(oi ObjectInfo) bool {
    			if _, err := DecryptObjectInfo(&oi, r); err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return true
    			}
    			return checkPreconditionsPUT(ctx, w, r, oi, opts)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileAuthenticationCQ.java

            bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda);
        }
    
        public void bool(BoolCall<FileAuthenticationCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<FileAuthenticationCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  6. .github/actions/notify-translations/app/main.py

    class Settings(BaseSettings):
        github_repository: str
        input_token: SecretStr
        github_event_path: Path
        github_event_name: Union[str, None] = None
        httpx_timeout: int = 30
        input_debug: Union[bool, None] = False
    
    
    class PartialGitHubEventIssue(BaseModel):
        number: int
    
    
    class PartialGitHubEvent(BaseModel):
        pull_request: PartialGitHubEventIssue
    
    
    def get_graphql_response(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. 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 interpretiert.
    * 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/body.md

    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="18"
    {!> ../../docs_src/body/tutorial004.py!}
    ```
    
    ////
    
    函数参数按如下规则进行识别:
    
    - **路径**中声明了相同参数的参数,是路径参数
    - 类型是(`int`、`float`、`str`、`bool` 等)**单类型**的参数,是**查询**参数
    - 类型是 **Pydantic 模型**的参数,是**请求体**
    
    /// note | "笔记"
    
    因为默认值是 `None`, FastAPI 会把 `q` 当作可选参数。
    
    FastAPI 不使用 `Optional[str]` 中的 `Optional`, 但 `Optional` 可以让编辑器提供更好的支持,并检测错误。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/path-params.md

    Вы можете использовать в аннотациях как простые типы данных, вроде `str`, `float`, `bool`, так и более сложные типы.
    
    Некоторые из них рассматриваются в следующих главах данного руководства.
    
    ## Порядок имеет значение
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body.md

    Os parâmetros da função serão reconhecidos conforme abaixo:
    
    * Se o parâmetro também é declarado na **rota**, será utilizado como um parâmetro de rota.
    * Se o parâmetro é de um **tipo único** (como `int`, `float`, `str`, `bool`, etc) será interpretado como um parâmetro de **consulta**.
    * Se o parâmetro é declarado como um **modelo Pydantic**, será interpretado como o **corpo** da requisição.
    
    /// note | "Observação"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top