Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for goroutines (0.26 sec)

  1. pkg/proxy/nftables/proxier.go

    		proxier.healthzServer.QueuedUpdate(proxier.ipFamily)
    	}
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Run()
    }
    
    // SyncLoop runs periodic work.  This is expected to run as a goroutine or as the main loop of the app.  It does not return.
    func (proxier *Proxier) SyncLoop() {
    	// Update healthz timestamp at beginning in case Sync() never succeeds.
    	if proxier.healthzServer != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    // This function will
    //   - add nodes which are not ready or not reachable for a long period of time to a rate-limited
    //     queue so that NoExecute taints can be added by the goroutine running the doNoExecuteTaintingPass function,
    //   - update the PodReady condition Pods according to the state of the Node Ready condition.
    func (nc *Controller) monitorNodeHealth(ctx context.Context) error {
    	start := nc.now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server_test.go

    	testClientHelloFailure(t, serverConfig, m, "")
    }
    
    // testFatal is a hack to prevent the compiler from complaining that there is a
    // call to t.Fatal from a non-test goroutine
    func testFatal(t *testing.T, err error) {
    	t.Helper()
    	t.Fatal(err)
    }
    
    func testClientHelloFailure(t *testing.T, serverConfig *Config, m handshakeMessage, expectedSubStr string) {
    	c, s := localPipe(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager_test.go

    					// Such as: `throw("Concurrent map iteration and map writing")`.
    					// When this test ends quietly, no data race error occurs.
    					// Otherwise, the test process exits automatically and prints all goroutine call stacks.
    					test.testfunc(mimpl)
    				}
    			}()
    			wg.Wait()
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	errc := make(chan error, 1)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	// We must wait for the waitgroup to exit before we terminate the cache or the server in prior defers.
    	defer wg.Wait()
    	// Call close first, so the goroutine knows to exit.
    	defer close(done)
    
    	go func() {
    		defer wg.Done()
    		for i := 0; i < 100; i++ {
    			select {
    			case <-done:
    				return
    			default:
    				out := &example.Pod{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  6. pkg/proxy/iptables/proxier.go

    		proxier.healthzServer.QueuedUpdate(proxier.ipFamily)
    	}
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Run()
    }
    
    // SyncLoop runs periodic work.  This is expected to run as a goroutine or as the main loop of the app.  It does not return.
    func (proxier *Proxier) SyncLoop() {
    	// Update healthz timestamp at beginning in case Sync() never succeeds.
    	if proxier.healthzServer != nil {
    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

    		proxier.healthzServer.QueuedUpdate(proxier.ipFamily)
    	}
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Run()
    }
    
    // SyncLoop runs periodic work.  This is expected to run as a goroutine or as the main loop of the app.  It does not return.
    func (proxier *Proxier) SyncLoop() {
    	// Update healthz timestamp at beginning in case Sync() never succeeds.
    	if proxier.healthzServer != nil {
    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. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	// the following conditions:
    	// 1) in total we create 11 events that has to be processed by the watcher
    	// 2) the size of the channels are set to 10 for the watcher
    	// 3) if the test is cpu-starved and the internal goroutine is not picking
    	//    up these events from the channel, after consuming the whole time
    	//    budget (defaulted to 100ms) on waiting, we will simply close the watch,
    	//    which will cause the test failure
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  9. src/runtime/map.go

    	minTopHash     = 5 // minimum tophash for a normal filled cell.
    
    	// flags
    	iterator     = 1 // there may be an iterator using buckets
    	oldIterator  = 2 // there may be an iterator using oldbuckets
    	hashWriting  = 4 // a goroutine is writing to the map
    	sameSizeGrow = 8 // the current map growth is to a new map of the same size
    
    	// sentinel bucket ID for iterator checks
    	noCheck = 1<<(8*goarch.PtrSize) - 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    			klog.V(4).InfoS("Determined the ip for pod after sandbox changed", "IPs", podIPs, "pod", klog.KObj(pod))
    		}
    	}
    
    	// the start containers routines depend on pod ip(as in primary pod ip)
    	// instead of trying to figure out if we have 0 < len(podIPs)
    	// everytime, we short circuit it here
    	podIP := ""
    	if len(podIPs) != 0 {
    		podIP = podIPs[0]
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top