Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for mute (1.89 sec)

  1. cmd/bucket-replication.go

    		})
    		return
    	}
    	ctx = lkctx.Context()
    	defer lk.Unlock(lkctx)
    
    	rinfos := replicatedInfos{Targets: make([]replicatedTargetInfo, 0, len(dsc.targetsMap))}
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	for _, tgtEntry := range dsc.targetsMap {
    		if !tgtEntry.Replicate {
    			continue
    		}
    		// if dobj.TargetArn is not empty string, this is a case of specific target being re-synced.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. cmd/test-utils_test.go

    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    func reseed() uint32 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/config-current.go

    // found, otherwise use default parameters
    func newSrvConfig(objAPI ObjectLayer) error {
    	// Initialize server config.
    	srvCfg := newServerConfig()
    
    	// hold the mutex lock before a new config is assigned.
    	globalServerConfigMu.Lock()
    	globalServerConfig = srvCfg
    	globalServerConfigMu.Unlock()
    
    	// Save config into file.
    	return saveServerConfig(GlobalContext, objAPI, srvCfg)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	sync.RWMutex
    	formatData []byte
    
    	nrRequests   uint64
    	major, minor uint32
    	fsType       string
    
    	immediatePurge chan string
    
    	// mutex to prevent concurrent read operations overloading walks.
    	rotational bool
    	walkMu     *sync.Mutex
    	walkReadMu *sync.Mutex
    }
    
    // checkPathLength - returns error if given path name length more than 255
    func checkPathLength(pathName string) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. internal/rest/client.go

    	TraceOutput io.Writer // Debug trace output
    
    	httpClient   *http.Client
    	url          *url.URL
    	newAuthToken func(audience string) string
    
    	sync.RWMutex // mutex for lastErr
    	lastErr      error
    	lastErrTime  time.Time
    }
    
    type restError string
    
    func (e restError) Error() string {
    	return string(e)
    }
    
    func (e restError) Timeout() bool {
    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)
  6. cmd/globals.go

    	// into an SSE-S3 request. If enabled a valid, non-empty KMS
    	// configuration must be present.
    	globalAutoEncryption bool
    
    	// Is compression enabled?
    	globalCompressConfigMu sync.Mutex
    	globalCompressConfig   compress.Config
    
    	// Some standard object extensions which we strictly dis-allow for compression.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    	src     lcEventSrc
    	event   lifecycle.Event
    }
    
    type transitionState struct {
    	transitionCh chan transitionTask
    
    	ctx        context.Context
    	objAPI     ObjectLayer
    	mu         sync.Mutex
    	numWorkers int
    	killCh     chan struct{}
    
    	activeTasks          atomic.Int64
    	missedImmediateTasks atomic.Int64
    
    	lastDayMu    sync.RWMutex
    	lastDayStats map[string]*lastDayTierStats
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. cmd/erasure-common.go

    	"math/rand"
    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for _, i := range r.Perm(len(disks)) {
    		i := i
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			if disks[i] == nil {
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. cmd/naughty-disk_test.go

    	errors map[int]error
    	// The error to return when no error value is programmed
    	defaultErr error
    	// The current API call number
    	callNR int
    	// Data protection
    	mu sync.Mutex
    }
    
    func newNaughtyDisk(d StorageAPI, errs map[int]error, defaultErr error) *naughtyDisk {
    	return &naughtyDisk{disk: d, errors: errs, defaultErr: defaultErr}
    }
    
    func (d *naughtyDisk) String() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    	return diskMetric
    }
    
    // lockedLastMinuteLatency accumulates totals lockless for each second.
    type lockedLastMinuteLatency struct {
    	cachedSec int64
    	cached    atomic.Pointer[AccElem]
    	mu        sync.Mutex
    	init      sync.Once
    	lastMinuteLatency
    }
    
    func (e *lockedLastMinuteLatency) add(value time.Duration) {
    	e.addSize(value, 0)
    }
    
    // addSize will add a duration and size.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top