Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 121 for addUint32 (0.76 sec)

  1. src/time/sleep_test.go

    				if late < 0 {
    					late = 0
    				}
    				stats[j].count++
    				stats[j].sum += float64(late.Nanoseconds())
    				if late > stats[j].max {
    					stats[j].max = late
    				}
    				atomic.AddInt32(&count, 1)
    				for atomic.LoadInt32(&count) < int32(timerCount) {
    					// spin until all timers fired
    				}
    				wg.Done()
    			})
    		}
    
    		for atomic.LoadInt32(&count) < int32(timerCount) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	ust.uss.t.Logf("%s: %d, %d, %d got req=%p, idle=%v", ust.uss.clk.Now().Format(nsTimeFmt), ust.i, ust.j, k, req, idle)
    	if req == nil {
    		atomic.AddUint64(&ust.uss.failedCount, 1)
    		atomic.AddInt32(&ust.uss.rejects[ust.i], 1)
    		returnSeatDemand(ust.uss.clk.Now())
    		return
    	}
    	if idle {
    		ust.uss.t.Error("got request but QueueSet reported idle")
    	}
    	if (!ust.uss.dontDump) && k%100 == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_arm64.s

    	B	·Load64(SB)
    
    TEXT ·Storeint32(SB), NOSPLIT, $0-12
    	B	·Store(SB)
    
    TEXT ·Storeint64(SB), NOSPLIT, $0-16
    	B	·Store64(SB)
    
    TEXT ·Storeuintptr(SB), NOSPLIT, $0-16
    	B	·Store64(SB)
    
    TEXT ·Xaddint32(SB), NOSPLIT, $0-20
    	B	·Xadd(SB)
    
    TEXT ·Xaddint64(SB), NOSPLIT, $0-24
    	B	·Xadd64(SB)
    
    TEXT ·Xadduintptr(SB), NOSPLIT, $0-24
    	B	·Xadd64(SB)
    
    TEXT ·Casp1(SB), NOSPLIT, $0-25
    	B ·Cas64(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_ppc64x.s

    	BR	·StoreRel64(SB)
    
    TEXT ·Xadduintptr(SB), NOSPLIT, $0-24
    	BR	·Xadd64(SB)
    
    TEXT ·Loadint32(SB), NOSPLIT, $0-12
    	BR	·Load(SB)
    
    TEXT ·Loadint64(SB), NOSPLIT, $0-16
    	BR	·Load64(SB)
    
    TEXT ·Xaddint32(SB), NOSPLIT, $0-20
    	BR	·Xadd(SB)
    
    TEXT ·Xaddint64(SB), NOSPLIT, $0-24
    	BR	·Xadd64(SB)
    
    // bool casp(void **val, void *old, void *new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testerrors/ptr_test.go

    	// after testOne finishes.
    	var pending int32
    	for _, pt := range ptrTests {
    		pt := pt
    		t.Run(pt.name, func(t *testing.T) {
    			atomic.AddInt32(&pending, +1)
    			defer func() {
    				if atomic.AddInt32(&pending, -1) == 0 {
    					os.RemoveAll(dir)
    				}
    			}()
    			testOne(t, pt, exe, exe2)
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_riscv64.s

    	JMP	·Store64(SB)
    
    TEXT ·Loaduint(SB),NOSPLIT,$0-16
    	JMP ·Loaduintptr(SB)
    
    TEXT ·Loadint32(SB),NOSPLIT,$0-12
    	JMP ·Load(SB)
    
    TEXT ·Loadint64(SB),NOSPLIT,$0-16
    	JMP ·Load64(SB)
    
    TEXT ·Xaddint32(SB),NOSPLIT,$0-20
    	JMP ·Xadd(SB)
    
    TEXT ·Xaddint64(SB),NOSPLIT,$0-24
    	MOV	ptr+0(FP), A0
    	MOV	delta+8(FP), A1
    	AMOADDD A1, (A0), A0
    	ADD	A0, A1, A0
    	MOVW	A0, ret+16(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    						logger.V(2).Info("Failed creation, decrementing expectations", "job", klog.KObj(job))
    						jm.expectations.CreationObserved(logger, jobKey)
    						atomic.AddInt32(&active, -1)
    						errCh <- err
    						atomic.AddInt32(&creationsFailed, 1)
    					}
    					atomic.AddInt32(&creationsSucceeded, 1)
    				}()
    			}
    			wait.Wait()
    			// any skipped pods that we never attempted to start shouldn't be expected.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    				return
    			}
    			switch v := oi.(type) {
    			case ReplicateObjectInfo:
    				globalReplicationStats.incQ(v.Bucket, v.Size, v.DeleteMarker, v.OpType)
    				atomic.AddInt32(&p.activeMRFWorkers, 1)
    				replicateObject(p.ctx, v, p.objLayer)
    				atomic.AddInt32(&p.activeMRFWorkers, -1)
    				globalReplicationStats.decQ(v.Bucket, v.Size, v.DeleteMarker, v.OpType)
    
    			default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/testdata/arithBoundary_test.go

    			t.Errorf("mul_uint32 %d*%d = %d, wanted %d\n", v.a, v.b, got, v.mul)
    		}
    	}
    	for _, v := range int32_data {
    		if got := add_int32_ssa(v.a, v.b); got != v.add {
    			t.Errorf("add_int32 %d+%d = %d, wanted %d\n", v.a, v.b, got, v.add)
    		}
    		if got := sub_int32_ssa(v.a, v.b); got != v.sub {
    			t.Errorf("sub_int32 %d-%d = %d, wanted %d\n", v.a, v.b, got, v.sub)
    		}
    		if v.b != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 31.3K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/types.go

    // Add adds delta to i atomically, returning
    // the new updated value.
    //
    // This operation wraps around in the usual
    // two's-complement way.
    //
    //go:nosplit
    func (i *Int32) Add(delta int32) int32 {
    	return Xaddint32(&i.value, delta)
    }
    
    // Int64 is an atomically accessed int64 value.
    //
    // 8-byte aligned on all platforms, unlike a regular int64.
    //
    // An Int64 must not be copied.
    type Int64 struct {
    	noCopy noCopy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top