Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 85 for Loadint32 (0.17 sec)

  1. pkg/controller/volume/persistentvolume/framework_test.go

    			// Let the "main" test function know that syncVolume has finished.
    			atomic.StoreInt32(&testFinished, 1)
    		}()
    
    		// Wait for the controller to finish the test function.
    		for atomic.LoadInt32(&testFinished) == 0 {
    			time.Sleep(time.Millisecond * 10)
    		}
    
    		return testError
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  2. 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)
  3. cmd/bucket-replication.go

    func (p *ReplicationPool) ActiveWorkers() int {
    	return int(atomic.LoadInt32(&p.activeWorkers))
    }
    
    // ActiveMRFWorkers returns the number of active workers handling replication failures.
    func (p *ReplicationPool) ActiveMRFWorkers() int {
    	return int(atomic.LoadInt32(&p.activeMRFWorkers))
    }
    
    // ResizeWorkers sets replication workers pool to new size.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/net/http/serve_test.go

    				}
    			}
    			defer res.Body.Close()
    			_, err = io.Copy(io.Discard, res.Body)
    			if err != nil {
    				t.Error(err)
    				return
    			}
    		}()
    	}
    	wg.Wait()
    	if got := atomic.LoadInt32(&n); got != reqs {
    		t.Errorf("handler ran %d times; want %d", got, reqs)
    	}
    }
    
    func TestServerConnStateNew(t *testing.T) {
    	sawNew := false // if the test is buggy, we'll race on this variable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K 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 (2)
  9. internal/once/init.go

    // call to the function. ie, it invokes the function
    // if it is not successful yet.
    func (l *Init) Do(f func() error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.do(f)
    	}
    	return nil
    }
    
    func (l *Init) do(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if atomic.LoadUint32(&l.done) == 0 {
    		if err := f(); err != nil {
    			return err
    		}
    		// Mark as done only when f() is successful
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 04:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. test/intrinsic_atomic.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "sync/atomic"
    
    var x uint32
    
    func atomics() {
    	_ = atomic.LoadUint32(&x)             // ERROR "intrinsic substitution for LoadUint32"
    	atomic.StoreUint32(&x, 1)             // ERROR "intrinsic substitution for StoreUint32"
    	atomic.AddUint32(&x, 1)               // ERROR "intrinsic substitution for AddUint32"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 839 bytes
    - Viewed (0)
Back to top