Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CompareAndSwapUint32 (0.24 sec)

  1. internal/s3select/simdj/reader.go

    		return 0, io.EOF
    	}
    	n, err = s.r.Read(p)
    	if atomic.LoadUint32(&s.closed) == 1 {
    		return 0, io.EOF
    	}
    	return n, err
    }
    
    func (s *safeCloser) Close() error {
    	atomic.CompareAndSwapUint32(&s.closed, 0, 1)
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    		defer func() {
    			if rec := recover(); rec != nil {
    				gridLogIf(ctx, fmt.Errorf("handleMessages: panic recovered: %v", rec))
    				debug.PrintStack()
    			}
    			c.connChange.L.Lock()
    			if atomic.CompareAndSwapUint32((*uint32)(&c.state), StateConnected, StateConnectionError) {
    				c.connChange.Broadcast()
    			}
    			c.connChange.L.Unlock()
    			conn.Close()
    			c.handleMsgWg.Done()
    		}()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg sync/atomic, func CompareAndSwapInt64(*int64, int64, int64) bool
    pkg sync/atomic, func CompareAndSwapPointer(*unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) bool
    pkg sync/atomic, func CompareAndSwapUint32(*uint32, uint32, uint32) bool
    pkg sync/atomic, func CompareAndSwapUint64(*uint64, uint64, uint64) bool
    pkg sync/atomic, func CompareAndSwapUintptr(*uintptr, uintptr, uintptr) bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top