Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Loadint32 (0.21 sec)

  1. src/sync/atomic/atomic_test.go

    		go func(me int) {
    			he := 1 - me
    			for i := int32(1); i < N; i++ {
    				StoreInt32(&X[me], i)
    				my := LoadInt32(&X[he])
    				StoreInt32(&ack[me][i%3], my)
    				for w := 1; LoadInt32(&ack[he][i%3]) == -1; w++ {
    					if w%1000 == 0 {
    						runtime.Gosched()
    					}
    				}
    				his := LoadInt32(&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. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    		if err != nil {
    			uss.t.Error(err)
    		} else {
    			uss.t.Log("Success with" + e)
    		}
    	}
    	expectedRejects := ""
    	for i := range uss.clients {
    		fsName := fmt.Sprintf("client%d", i)
    		if atomic.LoadInt32(&uss.executions[i]) > 0 {
    			uss.expectedExecuting = uss.expectedExecuting + fmt.Sprintf(`				apiserver_flowcontrol_current_executing_requests{flow_schema=%q,priority_level=%q} 0%s`, fsName, uss.name, "\n")
    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/net/http/client_test.go

    	}
    
    	// And verify that our Body wasn't used multiple times, which
    	// would indicate retries. (as it buggily was during part of
    	// Go 1.8's dev cycle)
    	readCalls := atomic.LoadInt32(&readCallsAtomic)
    	closeCalls := atomic.LoadInt32(&closeCallsAtomic)
    	if readCalls != 1 {
    		t.Errorf("read calls = %d; want 1", readCalls)
    	}
    	if closeCalls != 1 {
    		t.Errorf("close calls = %d; want 1", closeCalls)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. pkg/proxy/winkernel/proxier.go

    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    func (proxier *Proxier) OnServiceAdd(service *v1.Service) {
    	proxier.OnServiceUpdate(nil, service)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    func (proxier *Proxier) OnServiceAdd(service *v1.Service) {
    	proxier.OnServiceUpdate(nil, service)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. pkg/proxy/iptables/proxier.go

    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object
    // is observed.
    func (proxier *Proxier) OnServiceAdd(service *v1.Service) {
    	proxier.OnServiceUpdate(nil, service)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier.go

    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    	return atomic.LoadInt32(&proxier.initialized) > 0
    }
    
    // OnServiceAdd is called whenever creation of new service object is observed.
    func (proxier *Proxier) OnServiceAdd(service *v1.Service) {
    	proxier.OnServiceUpdate(nil, service)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	info, err = s.diskInfoCache.GetWithCtx(ctx)
    	info.NRRequests = s.nrRequests
    	info.Rotational = s.rotational
    	info.MountPath = s.drivePath
    	info.Endpoint = s.endpoint.String()
    	info.Scanning = atomic.LoadInt32(&s.scanning) == 1
    	return info, err
    }
    
    // getVolDir - will convert incoming volume names to
    // corresponding valid volume names on the backend in a platform
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top