- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for CompareAndSwap (0.09 seconds)
-
cmd/update.go
defaultMinisignPubkey = "RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav" ) func verifyBinary(u *url.URL, sha256Sum []byte, releaseInfo, mode string, reader io.Reader) (err error) { if !updateInProgress.CompareAndSwap(0, 1) { return errors.New("update already in progress") } defer updateInProgress.Store(0) transport := getUpdateTransport(30 * time.Second) opts := selfupdate.Options{ Hash: crypto.SHA256,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.9K bytes - Click Count (0) -
cmd/xl-storage-disk-id-check.go
// We recently saw a success - no need to check. return true } goOffline := func(err error, spent time.Duration) { if p.health.status.CompareAndSwap(diskHealthOK, diskHealthFaulty) { storageLogAlwaysIf(ctx, fmt.Errorf("node(%s): taking drive %s offline: %v", globalLocalNodeName, p.storage.String(), err)) p.health.waiting.Add(1)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
though entropy could be provided in the additional input". additionalInput := new([SeedSize]byte) sysrand.Read(additionalInput[:16]) drbg := drbgInstance.Swap(nil) if drbg == nil { drbg = drbgPool.Get().(*Counter) } defer func() { if !drbgInstance.CompareAndSwap(nil, drbg) { drbgPool.Put(drbg) } }() for len(b) > 0 { size := min(len(b), maxRequestSize) if reseedRequired := drbg.Generate(b[:size], additionalInput); reseedRequired { // See SP 800-90A Rev. 1, Section 9.3.1, Steps 6-8, as explained in // Section...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)