Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for StoreUint64 (0.07 sec)

  1. cmd/xl-storage-disk-id-check.go

    func (e *lockedLastMinuteLatency) addSize(value time.Duration, sz int64) {
    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    		atomic.StoreInt64(&e.cachedSec, t)
    	})
    	acc := e.cached.Load()
    	if lastT := atomic.LoadInt64(&e.cachedSec); lastT != t {
    		// Check if lastT was changed by someone else.
    		if atomic.CompareAndSwapInt64(&e.cachedSec, lastT, t) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    				gridLogIf(ctx, err) // Fake it... Though this should never fail.
    				atomic.StoreInt64(&c.LastPong, time.Now().UnixNano())
    				continue
    			}
    			toSend, err = pingFrame.MarshalMsg(GetByteBuffer()[:0])
    			if err != nil {
    				gridLogIf(ctx, err) // Fake it... Though this should never fail.
    				atomic.StoreInt64(&c.LastPong, time.Now().UnixNano())
    				continue
    			}
    		case toSend = <-c.outQueue:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. internal/dsync/dsync-server_test.go

    func (l *lockServer) setRefreshReply(refreshed bool) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	l.lockNotFound = !refreshed
    }
    
    func (l *lockServer) setResponseDelay(responseDelay time.Duration) {
    	atomic.StoreInt64(&l.responseDelay, int64(responseDelay))
    }
    
    func (l *lockServer) Lock(args *LockArgs) (reply bool, err error) {
    	if d := atomic.LoadInt64(&l.responseDelay); d != 0 {
    		time.Sleep(time.Duration(d))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg sync/atomic, func LoadUintptr(*uintptr) uintptr
    pkg sync/atomic, func StoreInt32(*int32, int32)
    pkg sync/atomic, func StoreInt64(*int64, int64)
    pkg sync/atomic, func StorePointer(*unsafe.Pointer, unsafe.Pointer)
    pkg sync/atomic, func StoreUint32(*uint32, uint32)
    pkg sync/atomic, func StoreUint64(*uint64, uint64)
    pkg sync/atomic, func StoreUintptr(*uintptr, uintptr)
    pkg syscall (darwin-386), const AF_APPLETALK ideal-int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top