Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Loadint64 (0.13 sec)

  1. 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)
  2. src/runtime/pprof/pprof_test.go

    				}
    				if ctx.Err() == nil {
    					go churn(i + 1)
    				}
    			}
    			go func() {
    				churn(0)
    			}()
    			ready.Wait()
    
    			fn(b)
    			b.ReportMetric(float64(atomic.LoadInt64(&count))/float64(b.N), "concurrent_launches/op")
    		}
    	}
    
    	benchWriteTo := func(b *testing.B) {
    		goroutineProf := Lookup("goroutine")
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen.go

    				}
    			}
    		case "PendingSize":
    			z.PendingSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "PendingSize")
    				return
    			}
    		case "FailedSize":
    			z.FailedSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "FailedSize")
    				return
    			}
    		case "PendingCount":
    			z.PendingCount, err = dc.ReadInt64()
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils_gen.go

    		case "ReplicatedSize":
    			z.ReplicatedSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedSize")
    				return
    			}
    		case "FailedSize":
    			z.FailedSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "FailedSize")
    				return
    			}
    		case "FailedCount":
    			z.FailedCount, err = dc.ReadInt64()
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "PartIndices", za0008)
    					return
    				}
    			}
    		case "Size":
    			z.Size, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "MTime":
    			z.ModTime, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ModTime")
    				return
    			}
    		case "MetaSys":
    			if dc.IsNil() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top