Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,278 for Tool (0.02 sec)

  1. internal/logger/targets.go

    //
    //	e.g. Send the log to a http server
    type Target interface {
    	String() string
    	Endpoint() string
    	Stats() types.TargetStats
    	Init(ctx context.Context) error
    	IsOnline(ctx context.Context) bool
    	Cancel()
    	Send(ctx context.Context, entry interface{}) error
    	Type() types.TargetType
    }
    
    type targetsList struct {
    	list []Target
    	mu   sync.RWMutex
    }
    
    func newTargetsList() *targetsList {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. docs/de/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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. docs/it/docs/index.md

    from fastapi import FastAPI
    from pydantic import BaseModel
    from typing import Optional
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool = Optional[None]
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Optional[str] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/extra-data-types.md

    # 추가 데이터 자료형
    
    지금까지 일반적인 데이터 자료형을 사용했습니다. 예를 들면 다음과 같습니다:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    하지만 더 복잡한 데이터 자료형 또한 사용할 수 있습니다.
    
    그리고 지금까지와 같은 기능들을 여전히 사용할 수 있습니다.
    
    * 훌륭한 편집기 지원.
    * 들어오는 요청의 데이터 변환.
    * 응답 데이터의 데이터 변환.
    * 데이터 검증.
    * 자동 어노테이션과 문서화.
    
    ## 다른 데이터 자료형
    
    아래의 추가적인 데이터 자료형을 사용할 수 있습니다:
    
    * `UUID`:
        * 표준 "범용 고유 식별자"로, 많은 데이터베이스와 시스템에서 ID로 사용됩니다.
        * 요청과 응답에서 `str`로 표현됩니다.
    * `datetime.datetime`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              // We have a connected TCP connection. Cancel and defer the racing connects that all lost.
              cancelInFlightConnects()
    
              // Finish connecting. We won't have to if the winner is from the connection pool.
              if (!connectResult.plan.isReady) {
                connectResult = connectResult.plan.connectTlsEtc()
              }
    
              if (connectResult.isSuccess) {
                return connectResult.plan.handleSuccess()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun dispatcher(dispatcher: Dispatcher) =
          apply {
            this.dispatcher = dispatcher
          }
    
        /**
         * Sets the connection pool used to recycle HTTP and HTTPS connections.
         *
         * If unset, a new connection pool will be used.
         */
        fun connectionPool(connectionPool: ConnectionPool) =
          apply {
            this.connectionPool = connectionPool
          }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsElevateWordCQ.java

        }
    
        public void bool(BoolCall<ElevateWordCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<ElevateWordCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            ElevateWordCQ mustQuery = new ElevateWordCQ();
            ElevateWordCQ shouldQuery = new ElevateWordCQ();
            ElevateWordCQ mustNotQuery = new ElevateWordCQ();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsClickLogCQ.java

        }
    
        public void bool(BoolCall<ClickLogCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<ClickLogCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            ClickLogCQ mustQuery = new ClickLogCQ();
            ClickLogCQ shouldQuery = new ClickLogCQ();
            ClickLogCQ mustNotQuery = new ClickLogCQ();
            ClickLogCQ filterQuery = new ClickLogCQ();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	// Use buffered channel to take care of burst sends or slow w.Write()
    	ch := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity())
    	err := globalHTTPListen.Subscribe(mask, ch, ctx.Done(), func(ev event.Event) bool {
    		if ev.S3.Bucket.Name != "" && values.Get(peerRESTListenBucket) != "" {
    			if ev.S3.Bucket.Name != values.Get(peerRESTListenBucket) {
    				return false
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      @Throws(IOException::class)
      fun trailers(): Headers
    
      /**
       * Cancel this stream. Resources held by this stream will be cleaned up, though not synchronously.
       * That may happen later by the connection pool thread.
       */
      fun cancel()
    
      /**
       * Carries an exchange. This is usually a connection, but it could also be a connect plan for
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top