- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 105 for addUint32 (0.42 sec)
-
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) -
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) -
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) -
src/crypto/internal/boring/bcache/cache_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 2.3K bytes - Viewed (0) -
pilot/pkg/xds/discovery_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 9.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
if check.conf.EnableAlias { if atomic.AddInt32(&_aliasAny, 1) <= 0 { panic("EnableAlias set while !EnableAlias type checking is ongoing") } defer atomic.AddInt32(&_aliasAny, -1) } else { if atomic.AddInt32(&_aliasAny, -1) >= 0 { panic("!EnableAlias set while EnableAlias type checking is ongoing") } defer atomic.AddInt32(&_aliasAny, 1) } print := func(msg string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
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) -
src/internal/runtime/atomic/atomic_s390x.s
TEXT ·Loadint64(SB), NOSPLIT, $0-16 BR ·Load64(SB) // func Xadduintptr(ptr *uintptr, delta uintptr) uintptr TEXT ·Xadduintptr(SB), NOSPLIT, $0-24 BR ·Xadd64(SB) // func Xaddint32(ptr *int32, delta int32) int32 TEXT ·Xaddint32(SB), NOSPLIT, $0-20 BR ·Xadd(SB) // func Xaddint64(ptr *int64, delta int64) int64 TEXT ·Xaddint64(SB), NOSPLIT, $0-24 BR ·Xadd64(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.1K bytes - Viewed (0) -
src/sync/mutex.go
// Starvation mode is so inefficient, that two goroutines // can go lock-step infinitely once they switch mutex // to starvation mode. delta -= mutexStarving } atomic.AddInt32(&m.state, delta) break } awoke = true iter = 0 } else { old = m.state } } if race.Enabled { race.Acquire(unsafe.Pointer(m)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 8.4K bytes - Viewed (0) -
src/expvar/expvar_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:46:19 UTC 2024 - 13.4K bytes - Viewed (0)