Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for mutex (0.02 sec)

  1. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  2. cmd/notification.go

    	}
    
    	// Profiles can be quite big, so we limit to max 16 concurrent downloads.
    	ng := WithNPeersThrottled(len(sys.peerClients), 16)
    	var writeMu sync.Mutex
    	for i, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		ng.Go(ctx, func() error {
    			// Give 15 seconds to each remote call.
    			// Errors are logged but not returned.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  3. cmd/iam.go

    	// metrics
    	LastRefreshTimeUnixNano         uint64
    	LastRefreshDurationMilliseconds uint64
    	TotalRefreshSuccesses           uint64
    	TotalRefreshFailures            uint64
    
    	sync.Mutex
    
    	iamRefreshInterval time.Duration
    
    	LDAPConfig   xldap.Config  // only valid if usersSysType is LDAPUsers
    	OpenIDConfig openid.Config // only valid if OpenID is configured
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  4. cmd/bucket-targets.go

    func (sys *BucketTargetSys) isOffline(ep *url.URL) bool {
    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		return !h.Online
    	}
    	go sys.initHC(ep)
    	return false
    }
    
    // markOffline sets endpoint to offline if network i/o timeout seen.
    func (sys *BucketTargetSys) markOffline(ep *url.URL) {
    	sys.hMutex.Lock()
    	defer sys.hMutex.Unlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		ReadData:         readData,
    		InclFreeVersions: opts.InclFreeVersions,
    		Healing:          false,
    	}
    
    	mrfCheck := make(chan FileInfo)
    	defer xioutil.SafeClose(mrfCheck)
    
    	var rw sync.Mutex
    
    	// Ask for all disks first;
    	go func() {
    		ctx, cancel := context.WithCancel(ctx)
    		defer cancel()
    
    		wg := sync.WaitGroup{}
    		for i, disk := range disks {
    			if disk == nil {
    				done <- false
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    	// Updates must be closed before we return.
    	defer xioutil.SafeClose(updates)
    
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	var results []dataUsageCache
    	var firstErr error
    
    	allBuckets, err := z.ListBuckets(ctx, BucketOptions{})
    	if err != nil {
    		return err
    	}
    
    	if len(allBuckets) == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    		return policies, nil
    	}
    
    	if userPolicyPresent {
    		// if user mapping present and no group policies found
    		// rely on user policy for access, instead of fallback.
    		return nil, nil
    	}
    
    	var mu sync.Mutex
    
    	// no mappings found, fallback for all groups.
    	g := errgroup.WithNErrs(len(groups)).WithConcurrency(10) // load like 10 groups at a time.
    
    	for index := range groups {
    		g.Go(func() error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/footer.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <footer role="contentinfo">
    	<div class="container text-center">
    		<p class="text-muted">
    			<la:message key="labels.footer.copyright" />
    		</p>
    	</div>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 233 bytes
    - Viewed (0)
  9. src/main/webapp/css/admin/style.css

    .top10 {
    	margin-top: 1.0em;
    }
    
    .top15 {
    	margin-top: 1.5em;
    }
    
    .top20 {
    	margin-top: 2.0em;
    }
    
    .top25 {
    	margin-top: 2.5em;
    }
    
    .top30 {
    	margin-top: 3.0em;
    }
    
    .container .text-muted {
    	margin: 20px 0;
    }
    
    .notification {
    	text-align: center;
    }
    
    ul.has-error {
    	color: #dd4b39 !important;
    	list-style-type: none;
    	padding: 0;
    }
    
    .form-group .has-error + .form-control {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	// used for storing the uploadID's parsed on concurrent HTTP requests for NewMultipart upload on the same object.
    	testUploads := struct {
    		sync.Mutex
    		uploads []string
    	}{}
    
    	objectName := "test-object-new-multipart-parallel"
    	var wg sync.WaitGroup
    	for range 10 {
    		wg.Add(1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
Back to top