Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for addUint32 (0.32 sec)

  1. src/internal/runtime/atomic/stubs.go

    // TODO(matloob): Should these functions have the go:noescape annotation?
    
    //go:noescape
    func Loadint32(ptr *int32) int32
    
    //go:noescape
    func Loadint64(ptr *int64) int64
    
    //go:noescape
    func Xaddint32(ptr *int32, delta int32) int32
    
    //go:noescape
    func Xaddint64(ptr *int64, delta int64) int64
    
    //go:noescape
    func Xchgint32(ptr *int32, new int32) int32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. api/go1.23.txt

    pkg structs, type HostLayout struct #66408
    pkg sync, method (*Map) Clear() #61696
    pkg sync/atomic, func AndInt32(*int32, int32) int32 #61395
    pkg sync/atomic, func AndInt64(*int64, int64) int64 #61395
    pkg sync/atomic, func AndUint32(*uint32, uint32) uint32 #61395
    pkg sync/atomic, func AndUint64(*uint64, uint64) uint64 #61395
    pkg sync/atomic, func AndUintptr(*uintptr, uintptr) uintptr #61395
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_wasm.go

    //
    //go:linkname Load
    //go:linkname Loadp
    //go:linkname Load64
    //go:linkname Loadint32
    //go:linkname Loadint64
    //go:linkname Loaduintptr
    //go:linkname LoadAcquintptr
    //go:linkname Xadd
    //go:linkname Xaddint32
    //go:linkname Xaddint64
    //go:linkname Xadd64
    //go:linkname Xadduintptr
    //go:linkname Xchg
    //go:linkname Xchg64
    //go:linkname Xchgint32
    //go:linkname Xchgint64
    //go:linkname Xchguintptr
    //go:linkname Cas
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. pilot/pkg/status/resourcelock_test.go

    	}
    	var runCount int32
    	x := make(chan struct{})
    	y := make(chan struct{})
    	mgr := NewManager(nil)
    	fakefunc := func(status *v1alpha1.IstioStatus, context any) *v1alpha1.IstioStatus {
    		x <- struct{}{}
    		atomic.AddInt32(&runCount, 1)
    		y <- struct{}{}
    		return nil
    	}
    	c1 := mgr.CreateIstioStatusController(fakefunc)
    	c2 := mgr.CreateIstioStatusController(fakefunc)
    	workers := NewWorkerPool(func(_ *config.Config, _ any) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/internal/poll/fd_wasip1.go

    	if s.RefCountPtr == nil {
    		s.RefCount = 1
    		s.RefCountPtr = &s.RefCount
    	}
    }
    
    func (s *SysFile) ref() SysFile {
    	atomic.AddInt32(s.RefCountPtr, +1)
    	return SysFile{RefCountPtr: s.RefCountPtr}
    }
    
    func (s *SysFile) destroy(fd int) error {
    	if s.RefCountPtr != nil && atomic.AddInt32(s.RefCountPtr, -1) > 0 {
    		return nil
    	}
    
    	// We don't use ignoringEINTR here because POSIX does not define
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/server_test.go

    		}
    	}
    }
    
    func (wg *WaitGroup) Add(i int32) {
    	select {
    	case <-wg.done:
    		panic("use of an already closed WaitGroup")
    	default:
    	}
    	atomic.AddInt32(&wg.count, i)
    }
    
    func (wg *WaitGroup) Done() {
    	i := atomic.AddInt32(&wg.count, -1)
    	if i == 0 {
    		close(wg.done)
    	}
    }
    
    func (wg *WaitGroup) C() <-chan struct{} {
    	return wg.done
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/crypto/internal/boring/bcache/cache_test.go

    				c.Put(k, v)
    			}
    			barrier.Done()
    			barrier.Wait()
    
    			for k, v := range m {
    				if cv := c.Get(k); cv != v {
    					t.Errorf("c.Get(%v) = %v, want %v", str(k), str(cv), str(v))
    					atomic.AddInt32(&lost, +1)
    				}
    			}
    		}()
    	}
    	wg.Wait()
    	if lost != 0 {
    		t.Errorf("lost %d entries", lost)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake_event_clock_test.go

    	now := ec.Now()
    	strictable := true
    	const batchSize = 100
    	times := make(chan time.Time, batchSize+1)
    	try := func(abs, strict bool, d time.Duration) {
    		f := func(u time.Time) {
    			realD := ec.Since(now)
    			atomic.AddInt32(&numDone, 1)
    			times <- u
    			if realD < d || strict && strictable && realD > d+fuzz {
    				t.Errorf("Asked for %v, got %v", d, realD)
    			}
    		}
    		if abs {
    			ec.EventAfterTime(f, now.Add(d))
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/discovery_test.go

    					case pushingCh <- struct{}{}:
    					default:
    						errCh <- fmt.Errorf("multiple pushes happen simultaneously")
    						return
    					}
    					atomic.AddInt32(&fullPushes, 1)
    					time.Sleep(opts.debounceMax * 2)
    					<-pushingCh
    				} else {
    					atomic.AddInt32(&partialPushes, 1)
    				}
    			}
    			updateSent := uatomic.NewInt64(0)
    
    			wg.Add(1)
    			go func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/net/util_test.go

    	}
    }
    
    func (lb *tcpLB) serve(stopCh chan struct{}) {
    	conn, err := lb.ln.Accept()
    	if err != nil {
    		lb.t.Fatalf("failed to accept: %v", err)
    	}
    	atomic.AddInt32(&lb.dials, 1)
    	go lb.handleConnection(conn, stopCh)
    }
    
    func newLB(t *testing.T, serverURL string) *tcpLB {
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		t.Fatalf("failed to bind: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top