Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 95 for Cota (4.33 sec)

  1. docs/pt/docs/python-types.md

    O **FastAPI** é baseado nesses type hints, eles oferecem muitas vantagens e benefícios.
    
    Mas mesmo que você nunca use o **FastAPI**, você se beneficiaria de aprender um pouco sobre eles.
    
    !!! note "Nota"
         Se você é um especialista em Python e já sabe tudo sobre type hints, pule para o próximo capítulo.
    
    
    ## Motivação
    
    Vamos começar com um exemplo simples:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. internal/rest/client.go

    	xnet "github.com/minio/pkg/v2/net"
    )
    
    const logSubsys = "internodes"
    
    // DefaultTimeout - default REST timeout is 10 seconds.
    const DefaultTimeout = 10 * time.Second
    
    const (
    	offline = iota
    	online
    	closed
    )
    
    // NetworkError - error type in case of errors related to http/transport
    // for ex. connection refused, connection reset, dns resolution failure etc.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle.go

    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    	// NoneAction means no action required after evaluating lifecycle rules
    	NoneAction Action = iota
    	// DeleteAction means the object needs to be removed after evaluating lifecycle rules
    	DeleteAction
    	// DeleteVersionAction deletes a particular version
    	DeleteVersionAction
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    	}
    	return strings.HasPrefix(descendant, arg)
    }
    
    // MetricType - represents the type of a metric.
    type MetricType int
    
    const (
    	// CounterMT - represents a counter metric.
    	CounterMT MetricType = iota
    	// GaugeMT - represents a gauge metric.
    	GaugeMT
    	// HistogramMT - represents a histogram metric.
    	HistogramMT
    )
    
    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. internal/config/config.go

    // ValueSource represents the source of a config parameter value.
    type ValueSource uint8
    
    // Constants for ValueSource
    const (
    	ValueSourceAbsent ValueSource = iota // this is an error case
    	ValueSourceDef
    	ValueSourceCfg
    	ValueSourceEnv
    )
    
    // ResolveConfigParam returns the effective value of a configuration parameter,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  6. schema/relationship.go

    				relation.References = append(relation.References, &Reference{
    					PrimaryKey: rf,
    					ForeignKey: f,
    				})
    			}
    		}
    	}
    }
    
    type guessLevel int
    
    const (
    	guessGuess guessLevel = iota
    	guessBelongs
    	guessEmbeddedBelongs
    	guessHas
    	guessEmbeddedHas
    )
    
    func (schema *Schema) guessRelation(relation *Relationship, field *Field, cgl guessLevel) {
    	var (
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. src/bytes/buffer.go

    // the buffer, so that UnreadRune and UnreadByte can check for
    // invalid usage. opReadRuneX constants are chosen such that
    // converted to int they correspond to the rune size that was read.
    type readOp int8
    
    // Don't use iota for these, as the values need to correspond with the
    // names and comments, which is easier to see when being explicit.
    const (
    	opRead      readOp = -1 // Any other read operation.
    	opInvalid   readOp = 0  // Non-read operation.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. internal/logger/target/http/http.go

    	maxWorkersWithBatchEvents = 4
    
    	// the suffix for the configured queue dir where the logs will be persisted.
    	httpLoggerExtension = ".http.log"
    )
    
    const (
    	statusOffline = iota
    	statusOnline
    	statusClosed
    )
    
    var (
    	logChBuffers = make(map[string]chan interface{})
    	logChLock    = sync.Mutex{}
    )
    
    // Config http logger target
    type Config struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/ast.go

    		return
    	}
    
    	for _, exp := range f.ExpFunc {
    		if exp.Func.Name.Name == n.Name.Name {
    			exp.Func = n
    			break
    		}
    	}
    }
    
    type astContext int
    
    const (
    	ctxProg astContext = iota
    	ctxEmbedType
    	ctxType
    	ctxStmt
    	ctxExpr
    	ctxField
    	ctxParam
    	ctxAssign2 // assignment of a single expression to two variables
    	ctxSwitch
    	ctxTypeSwitch
    	ctxFile
    	ctxDecl
    	ctxSpec
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    }
    
    // RQErrType reason for read quorum error.
    type RQErrType int
    
    const (
    	// RQInsufficientOnlineDrives - not enough online drives.
    	RQInsufficientOnlineDrives RQErrType = 1 << iota
    	// RQInconsistentMeta - inconsistent metadata.
    	RQInconsistentMeta
    )
    
    func (t RQErrType) String() string {
    	switch t {
    	case RQInsufficientOnlineDrives:
    		return "InsufficientOnlineDrives"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top