Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for CompareAndSwapUint32 (0.12 seconds)

  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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Click Count (0)
  2. internal/grid/connection.go

    		if rec := recover(); rec != nil {
    			gridLogIf(ctx, fmt.Errorf("handleMessages: panic recovered: %v", rec))
    			debug.PrintStack()
    		}
    		cancel(ErrDisconnected)
    		c.connChange.L.Lock()
    		if atomic.CompareAndSwapUint32((*uint32)(&c.state), StateConnected, StateConnectionError) {
    			c.connChange.Broadcast()
    		}
    		c.connChange.L.Unlock()
    		conn.Close()
    		c.handleMsgWg.Done()
    	}()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (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
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top