Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Cota (0.14 sec)

  1. cmd/erasure-healing-common_test.go

    	}
    	setObjectLayer(obj)
    	defer obj.Shutdown(context.Background())
    	defer removeRoots(disks)
    
    	type tamperKind int
    	const (
    		noTamper    tamperKind = iota
    		deletePart  tamperKind = iota
    		corruptPart tamperKind = iota
    	)
    	timeSentinel := time.Unix(1, 0).UTC()
    	threeNanoSecs := time.Unix(3, 0).UTC()
    	fourNanoSecs := time.Unix(4, 0).UTC()
    	modTimesThreeNone := make([]time.Time, 16)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  2. internal/grid/debug.go

    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    	debugShutdown debugMsg = iota
    	debugKillInbound
    	debugKillOutbound
    	debugWaitForExit
    	debugSetConnPingDuration
    	debugSetClientPingDuration
    	debugAddToDeadline
    	debugIsOutgoingClosed
    )
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/filter.go

    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    	// ObjectSize{LessThan,GreaterThan} or And specified.
    	type predType uint8
    	const (
    		nonePred predType = iota
    		prefixPred
    		andPred
    		tagPred
    		sizeLtPred
    		sizeGtPred
    	)
    	var predCount int
    	var pType predType
    	if !f.And.isEmpty() {
    		pType = andPred
    		predCount++
    	}
    	if f.Prefix.set {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. cmd/api-router.go

    		queries: []string{"analytics", ""},
    	},
    }
    
    // Set of s3 handler options as bit flags.
    type s3HFlag uint8
    
    const (
    	// when provided, disables Gzip compression.
    	noGZS3HFlag = 1 << iota
    
    	// when provided, enables only tracing of headers. Otherwise, both headers
    	// and body are traced.
    	traceHdrsS3HFlag
    
    	// when provided, disables throttling via the `maxClients` middleware.
    	noThrottleS3HFlag
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. internal/grid/handlers.go

    // Handlers can be registered with a static subroute.
    // Do NOT remove or change the order of existing handlers.
    const (
    	// handlerInvalid is reserved to check for uninitialized values.
    	handlerInvalid HandlerID = iota
    	HandlerLockLock
    	HandlerLockRLock
    	HandlerLockUnlock
    	HandlerLockRUnlock
    	HandlerLockRefresh
    	HandlerLockForceUnlock
    	HandlerWalkDir
    	HandlerStatVol
    	HandlerDiskInfo
    	HandlerNSScanner
    	HandlerReadXL
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  6. cmd/admin-router.go

    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    	// this flag disables gzip compression of responses
    	noGZFlag = 1 << iota
    
    	// this flag enables tracing body and headers instead of just headers
    	traceAllFlag
    
    	// pass this flag to skip checking if object layer is available
    	noObjLayerFlag
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    const (
    	// StateUnconnected is the initial state of a connection.
    	// When the first message is sent it will attempt to connect.
    	StateUnconnected = iota
    
    	// StateConnecting is the state from StateUnconnected while the connection is attempted to be established.
    	// After this connection will be StateConnected or StateConnectionError.
    	StateConnecting
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	return req, nil
    }
    
    // Various signature types we are supporting, currently
    // two main signature types.
    type signerType int
    
    const (
    	signerV2 signerType = iota
    	signerV4
    )
    
    func newTestSignedRequest(method, urlStr string, contentLength int64, body io.ReadSeeker, accessKey, secretKey string, signer signerType) (*http.Request, error) {
    	if signer == signerV2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  9. internal/bucket/replication/replication.go

    	if c.RoleArn == "" && legacyArn {
    		return errRoleArnMissingLegacy
    	}
    	return nil
    }
    
    // Types of replication
    const (
    	UnsetReplicationType Type = 0 + iota
    	ObjectReplicationType
    	DeleteReplicationType
    	MetadataReplicationType
    	HealReplicationType
    	ExistingObjectReplicationType
    	ResyncReplicationType
    	AllReplicationType
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top