Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 1,830 for tool (0.06 sec)

  1. 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)
  2. 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)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          if (networkResponse == null && cacheCandidate != null) {
            cacheCandidate.body.closeQuietly()
          }
        }
    
        // If we have a cache response too, then we're doing a conditional get.
        if (cacheResponse != null) {
          if (networkResponse?.code == HTTP_NOT_MODIFIED) {
            val response =
              cacheResponse.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param value any {@code long} value
       * @return the same value cast to {@code int} if it is in the range of the {@code int} type,
       *     {@link Integer#MAX_VALUE} if it is too large, or {@link Integer#MIN_VALUE} if it is too
       *     small
       */
      public static int saturatedCast(long value) {
        if (value > Integer.MAX_VALUE) {
          return Integer.MAX_VALUE;
        }
        if (value < Integer.MIN_VALUE) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  5. SECURITY.md

    Compiling models via the recommended entry points described in
    [XLA](https://www.tensorflow.org/xla) and
    [JAX](https://jax.readthedocs.io/en/latest/jax-101/02-jitting.html)
    documentation should be safe, while some of the testing and debugging tools that
    come with the compiler are not designed to be used with untrusted data and
    should be used with caution when working with untrusted models.
    
    ### Saved graphs and checkpoints
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 16:10:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. .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)
  9. 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)
  10. 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)
Back to top