- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 90 for mutex (0.02 sec)
-
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
internal/grid/grid_test.go
errFatal(err) // Wait for the server start the request. <-reqStarted // Block until we have exceeded the deadline several times over. nowBlocking := make(chan struct{}) var mu sync.Mutex time.AfterFunc(time.Second, func() { mu.Lock() cancel() close(nowBlocking) mu.Unlock() }) if inCap > 0 { go func() { defer close(st.Requests) if !blockReq {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.1K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 46K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 20.9K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 15 17:00:45 UTC 2025 - 76.5K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 80.4K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 89.2K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 87.1K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Jan 12 06:14:02 UTC 2025 - 233 bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 1.1K bytes - Viewed (0)