- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 511 for const (0.02 seconds)
-
cmd/metrics-resource.go
package cmd import ( "context" "fmt" "math" "net/http" "sync" "time" "github.com/minio/madmin-go/v3" "github.com/prometheus/client_golang/prometheus" ) const ( resourceMetricsCollectionInterval = time.Minute resourceMetricsCacheInterval = time.Minute // drive stats totalInodes MetricName = "total_inodes" readsPerSec MetricName = "reads_per_sec"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 17.2K bytes - Click Count (0) -
cmd/xl-storage-disk-id-check.go
xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/logger" ) //go:generate stringer -type=storageMetric -trimprefix=storageMetric $GOFILE type storageMetric uint8 const ( storageMetricMakeVolBulk storageMetric = iota storageMetricMakeVol storageMetricListVols storageMetricStatVol storageMetricDeleteVol storageMetricWalkDir storageMetricListDir storageMetricReadFile
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0) -
cmd/site-replication.go
"github.com/minio/minio/internal/logger" xldap "github.com/minio/pkg/v3/ldap" "github.com/minio/pkg/v3/policy" "github.com/puzpuzpuz/xsync/v3" ) const ( srStatePrefix = minioConfigPrefix + "/site-replication" srStateFile = "state.json" ) const ( srStateFormatVersion1 = 1 ) var ( errSRCannotJoin = SRError{ Cause: errors.New("this site is already configured for site-replication"),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
internal/s3select/jstream/decoder.go
import ( "bytes" "encoding/json" "io" "strconv" "sync/atomic" "unicode/utf16" ) // ValueType - defines the type of each JSON value type ValueType int // Different types of JSON value const ( Unknown ValueType = iota Null String Number Boolean Array Object ) // MetaValue wraps a decoded interface value with the document // position and depth at which the value was parsed
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
cmd/bucket-metadata.go
"github.com/minio/minio/internal/event" "github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/policy" "github.com/minio/sio" ) const ( legacyBucketObjectLockEnabledConfigFile = "object-lock-enabled.json" legacyBucketObjectLockEnabledConfig = `{"x-amz-bucket-object-lock-enabled":true}` bucketMetadataFile = ".metadata.bin"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
internal/config/identity/openid/openid.go
"github.com/minio/minio/internal/hash/sha256" "github.com/minio/pkg/v3/env" xnet "github.com/minio/pkg/v3/net" "github.com/minio/pkg/v3/policy" ) // OpenID keys and envs. const ( ClientID = "client_id" ClientSecret = "client_secret" ConfigURL = "config_url" ClaimName = "claim_name" ClaimUserinfo = "claim_userinfo" RolePolicy = "role_policy"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/object-api-errors.go
type SlowDown struct{} func (e SlowDown) Error() string { return "Please reduce your request rate" } // RQErrType reason for read quorum error. type RQErrType int const ( // RQInsufficientOnlineDrives - not enough online drives. RQInsufficientOnlineDrives RQErrType = 1 << iota // RQInconsistentMeta - inconsistent metadata. RQInconsistentMeta )Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 09 02:05:14 GMT 2024 - 22.1K bytes - Click Count (0) -
src/archive/tar/writer_test.go
"io" "io/fs" "maps" "os" "path" "slices" "sort" "strings" "testing" "testing/fstest" "testing/iotest" "time" ) func bytediff(a, b []byte) string { const ( uniqueA = "- " uniqueB = "+ " identity = " " ) var ss []string sa := strings.Split(strings.TrimSpace(hex.Dump(a)), "\n") sb := strings.Split(strings.TrimSpace(hex.Dump(b)), "\n")
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
internal/config/notify/parse.go
"github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/env" xnet "github.com/minio/pkg/v3/net" "github.com/rabbitmq/amqp091-go" ) const ( formatNamespace = "namespace" ) const ( logSubsys = "notify" ) func logOnceIf(ctx context.Context, err error, id string, errKind ...any) { logger.LogOnceIf(ctx, logSubsys, err, id, errKind...) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 47.5K bytes - Click Count (0) -
cmd/batch-handlers.go
"github.com/minio/pkg/v3/console" "github.com/minio/pkg/v3/env" "github.com/minio/pkg/v3/policy" "github.com/minio/pkg/v3/workers" "gopkg.in/yaml.v3" ) var globalBatchConfig batch.Config const ( // Keep the completed/failed job stats 3 days before removing it oldJobsExpiration = 3 * 24 * time.Hour redactedText = "**REDACTED**" )
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1)