Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for poolcleanup (0.09 sec)

  1. src/sync/pool.go

    	return &local[pid], pid
    }
    
    // poolCleanup should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/bytedance/gopkg
    //   - github.com/songzhibin97/gkit
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname poolCleanup
    func poolCleanup() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    	go func(cleanup func()) {
    		for {
    			<-uniqueMapCleanup
    			cleanup()
    		}
    	}(f)
    }
    
    func clearpools() {
    	// clear sync.Pools
    	if poolcleanup != nil {
    		poolcleanup()
    	}
    
    	// clear boringcrypto caches
    	for _, p := range boringCaches {
    		atomicstorep(p, nil)
    	}
    
    	// clear unique maps
    	if uniqueMapCleanup != nil {
    		select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  3. pkg/kubelet/prober/prober_manager_test.go

    	desiredPods := map[types.UID]sets.Empty{}
    	desiredPods[podToKeep.UID] = sets.Empty{}
    	m.CleanupPods(desiredPods)
    
    	removedProbes := []probeKey{
    		{"pod_cleanup", "prober1", readiness},
    		{"pod_cleanup", "prober2", liveness},
    		{"pod_cleanup", "prober3", startup},
    	}
    	expectedProbes := []probeKey{
    		{"pod_keep", "prober1", readiness},
    		{"pod_keep", "prober2", liveness},
    		{"pod_keep", "prober3", startup},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top