Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for stringref (0.06 sec)

  1. cmd/os-instrumented.go

    import (
    	"os"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/disk"
    	ioutilx "github.com/minio/minio/internal/ioutil"
    )
    
    //go:generate stringer -type=osMetric -trimprefix=osMetric $GOFILE
    
    type osMetric uint8
    
    const (
    	osMetricRemoveAll osMetric = iota
    	osMetricMkdirAll
    	osMetricMkdir
    	osMetricRename
    	osMetricOpenFileW
    	osMetricOpenFileR
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. cmd/globals.go

    	globalCredViaEnv bool
    
    	globalPublicCerts []*x509.Certificate
    
    	globalDomainNames []string      // Root domains for virtual host style requests
    	globalDomainIPs   set.StringSet // Root domain IP address(s) for a distributed MinIO deployment
    
    	globalOperationTimeout       = newDynamicTimeout(10*time.Minute, 5*time.Minute) // default timeout for general ops
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. cmd/bootstrap-peer-server.go

    	if err != nil {
    		return err
    	}
    	// We do not need the response after returning.
    	defer serverVerifyHandler.PutResponse(recvCfg)
    
    	return srcCfg.Diff(recvCfg)
    }
    
    // Stringer provides a canonicalized representation of node.
    func (client *bootstrapRESTClient) String() string {
    	return client.gridConn.String()
    }
    
    var binaryChecksum = getBinaryChecksum()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. go.mod

    	github.com/tklauser/go-sysconf v0.3.14 // indirect
    	github.com/tklauser/numcpus v0.8.0 // indirect
    	github.com/unrolled/secure v1.15.0 // indirect
    	github.com/vbauerster/mpb/v8 v8.8.2 // indirect
    	github.com/xdg/stringprep v1.0.3 // indirect
    	github.com/yusufpapurcu/wmi v1.2.4 // indirect
    	go.etcd.io/etcd/client/pkg/v3 v3.5.16 // indirect
    	go.mongodb.org/mongo-driver v1.16.1 // indirect
    	go.opencensus.io v0.24.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. cmd/data-scanner-metric.go

    package cmd
    
    import (
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    	"unsafe"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    //go:generate stringer -type=scannerMetric -trimprefix=scannerMetric $GOFILE
    
    type scannerMetric uint8
    
    type scannerMetrics struct {
    	// All fields must be accessed atomically and aligned.
    	operations [scannerMetricLast]uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. internal/http/listener_test.go

    	var casePorts []string
    	for i := 0; i < 6; i++ {
    		casePorts = append(casePorts, getNextPort())
    	}
    
    	testCases := []struct {
    		serverAddrs   []string
    		expectedAddrs set.StringSet
    	}{
    		{[]string{"localhost:" + casePorts[0]}, set.CreateStringSet("127.0.0.1:" + casePorts[0])},
    		{[]string{nonLoopBackIP + ":" + casePorts[1]}, set.CreateStringSet(nonLoopBackIP + ":" + casePorts[1])},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    	TransitionPending = "pending"
    )
    
    // Action represents a delete action or other transition
    // 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance.go

    	}
    	rs.Bytes += uint64(onDiskSz)
    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE
    type rebalStatus uint8
    
    const (
    	rebalNone rebalStatus = iota
    	rebalStarted
    	rebalCompleted
    	rebalStopped
    	rebalFailed
    )
    
    type rebalanceInfo struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  9. cmd/bucket-metadata-sys.go

    		globalBucketMonitor.DeleteBucket(bucket)
    	}
    	sys.Unlock()
    }
    
    // RemoveStaleBuckets removes all stale buckets in memory that are not on disk.
    func (sys *BucketMetadataSys) RemoveStaleBuckets(diskBuckets set.StringSet) {
    	sys.Lock()
    	defer sys.Unlock()
    
    	for bucket := range sys.metadataMap {
    		if diskBuckets.Contains(bucket) {
    			continue
    		} // doesn't exist on disk remove from memory.
    		delete(sys.metadataMap, bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. cmd/iam-etcd-store.go

    	"github.com/puzpuzpuz/xsync/v3"
    	"go.etcd.io/etcd/api/v3/mvccpb"
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var defaultContextTimeout = 30 * time.Second
    
    func etcdKvsToSet(prefix string, kvs []*mvccpb.KeyValue) set.StringSet {
    	users := set.NewStringSet()
    	for _, kv := range kvs {
    		user := extractPathPrefixAndSuffix(string(kv.Key), prefix, path.Base(string(kv.Key)))
    		users.Add(user)
    	}
    	return users
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top