Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for Loadint64 (0.19 sec)

  1. src/runtime/testdata/testprog/gc.go

    	// and check again.
    	time.Sleep(30 * time.Millisecond)
    	var fail bool
    	for i := range count {
    		if atomic.LoadInt64(&count[i]) == 0 {
    			fail = true
    		}
    	}
    	if fail {
    		time.Sleep(1 * time.Second)
    		for i := range count {
    			if atomic.LoadInt64(&count[i]) == 0 {
    				fmt.Printf("goroutine %d did not run\n", i)
    				return
    			}
    		}
    	}
    	fmt.Println("OK")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_arm.s

    TEXT ·Casuintptr(SB),NOSPLIT,$0-13
    	B	·Cas(SB)
    
    TEXT ·Casp1(SB),NOSPLIT,$0-13
    	B	·Cas(SB)
    
    TEXT ·CasRel(SB),NOSPLIT,$0-13
    	B	·Cas(SB)
    
    TEXT ·Loadint32(SB),NOSPLIT,$0-8
    	B	·Load(SB)
    
    TEXT ·Loadint64(SB),NOSPLIT,$-4-12
    	B	·Load64(SB)
    
    TEXT ·Loaduintptr(SB),NOSPLIT,$0-8
    	B	·Load(SB)
    
    TEXT ·Loaduint(SB),NOSPLIT,$0-8
    	B	·Load(SB)
    
    TEXT ·Storeint32(SB),NOSPLIT,$0-8
    	B	·Store(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. pkg/cache/ttlCache.go

    		return true
    	})
    }
    
    func (c *ttlCache) Stats() Stats {
    	return Stats{
    		Evictions: atomic.LoadUint64(&c.stats.Evictions),
    		Hits:      atomic.LoadUint64(&c.stats.Hits),
    		Misses:    atomic.LoadUint64(&c.stats.Misses),
    		Writes:    atomic.LoadUint64(&c.stats.Writes),
    		Removals:  atomic.LoadUint64(&c.stats.Removals),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils.go

    	// TODO: think about why this line being atomic doesn't matter
    	return atomic.LoadInt64(&e.add) <= 0 && atomic.LoadInt64(&e.del) <= 0
    }
    
    // GetExpectations returns the add and del expectations of the controllee.
    func (e *ControlleeExpectations) GetExpectations() (int64, int64) {
    	return atomic.LoadInt64(&e.add), atomic.LoadInt64(&e.del)
    }
    
    // MarshalLog makes a thread-safe copy of the values of the expectations that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_amd64.s

    #include "textflag.h"
    
    TEXT ·Loaduintptr(SB), NOSPLIT, $0-16
    	JMP	·Load64(SB)
    
    TEXT ·Loaduint(SB), NOSPLIT, $0-16
    	JMP	·Load64(SB)
    
    TEXT ·Loadint32(SB), NOSPLIT, $0-12
    	JMP	·Load(SB)
    
    TEXT ·Loadint64(SB), NOSPLIT, $0-16
    	JMP	·Load64(SB)
    
    // bool Cas(int32 *val, int32 old, int32 new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    //	} else
    //		return 0;
    TEXT ·Cas(SB),NOSPLIT,$0-17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_loong64.s

    	JMP	·Load64(SB)
    
    TEXT ·Loaduint(SB), NOSPLIT|NOFRAME, $0-16
    	JMP	·Load64(SB)
    
    TEXT ·Storeuintptr(SB), NOSPLIT, $0-16
    	JMP	·Store64(SB)
    
    TEXT ·Xadduintptr(SB), NOSPLIT, $0-24
    	JMP	·Xadd64(SB)
    
    TEXT ·Loadint64(SB), NOSPLIT, $0-16
    	JMP	·Load64(SB)
    
    TEXT ·Xaddint64(SB), NOSPLIT, $0-24
    	JMP	·Xadd64(SB)
    
    // bool casp(void **val, void *old, void *new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/sync/atomic/atomic_test.go

    		go func(me int) {
    			he := 1 - me
    			for i := int64(1); i < N; i++ {
    				StoreInt64(&X[me], i)
    				my := LoadInt64(&X[he])
    				StoreInt64(&ack[me][i%3], my)
    				for w := 1; LoadInt64(&ack[he][i%3]) == -1; w++ {
    					if w%1000 == 0 {
    						runtime.Gosched()
    					}
    				}
    				his := LoadInt64(&ack[he][i%3])
    				if (my != i && my != i-1) || (his != i && his != i-1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    				// indicate finish with success
    				quitFlag = true
    
    				if !writer.flushRecords() {
    					break
    				}
    				// Write Stats message, then End message
    				bytesReturned := atomic.LoadInt64(&writer.bytesReturned)
    				if !writer.write(newStatsMessage(writer.finBytesScanned, writer.finBytesProcessed, bytesReturned)) {
    					break
    				}
    				writer.write(endMessage)
    			} else {
    				for payload.Len() > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_mipsx.s

    	JMP	·Store64(SB)
    
    TEXT ·Storeuintptr(SB),NOSPLIT,$0-8
    	JMP	·Store(SB)
    
    TEXT ·Xadduintptr(SB),NOSPLIT,$0-12
    	JMP	·Xadd(SB)
    
    TEXT ·Loadint32(SB),NOSPLIT,$0-8
    	JMP	·Load(SB)
    
    TEXT ·Loadint64(SB),NOSPLIT,$0-12
    	JMP	·Load64(SB)
    
    TEXT ·Xaddint32(SB),NOSPLIT,$0-12
    	JMP	·Xadd(SB)
    
    TEXT ·Xaddint64(SB),NOSPLIT,$0-20
    	JMP	·Xadd64(SB)
    
    TEXT ·Casp1(SB),NOSPLIT,$0-13
    	JMP	·Cas(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_386.s

    	JMP	·Store64(SB)
    
    TEXT ·Storeuintptr(SB), NOSPLIT, $0-8
    	JMP	·Store(SB)
    
    TEXT ·Xadduintptr(SB), NOSPLIT, $0-12
    	JMP	·Xadd(SB)
    
    TEXT ·Loadint32(SB), NOSPLIT, $0-8
    	JMP	·Load(SB)
    
    TEXT ·Loadint64(SB), NOSPLIT, $0-12
    	JMP	·Load64(SB)
    
    TEXT ·Xaddint32(SB), NOSPLIT, $0-12
    	JMP	·Xadd(SB)
    
    TEXT ·Xaddint64(SB), NOSPLIT, $0-20
    	JMP	·Xadd64(SB)
    
    // bool ·Cas64(uint64 *val, uint64 old, uint64 new)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top