Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for cleaned (0.24 sec)

  1. pkg/kubelet/kubelet.go

    	return nil
    }
    
    // SyncTerminatedPod cleans up a pod that has terminated (has no running containers).
    // The invocations in this call are expected to tear down all pod resources.
    // When this method exits the pod is expected to be ready for cleanup. This method
    // reduces the latency of pod cleanup but is not guaranteed to get called in all scenarios.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

          return false;
        }
    
        /**
         * Performs routine cleanup following a read. Normally cleanup happens during writes. If cleanup
         * is not observed after a sufficient number of reads, try cleaning up from the read thread.
         */
        void postReadCleanup() {
          if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) {
            cleanUp();
          }
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          return false;
        }
    
        /**
         * Performs routine cleanup following a read. Normally cleanup happens during writes. If cleanup
         * is not observed after a sufficient number of reads, try cleaning up from the read thread.
         */
        void postReadCleanup() {
          if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) {
            cleanUp();
          }
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  4. src/net/http/server.go

    				url = olddir + url
    			}
    
    			var query string
    			if i := strings.Index(url, "?"); i != -1 {
    				url, query = url[:i], url[i:]
    			}
    
    			// clean up but preserve trailing slash
    			trailing := strings.HasSuffix(url, "/")
    			url = path.Clean(url)
    			if trailing && !strings.HasSuffix(url, "/") {
    				url += "/"
    			}
    			url += query
    		}
    	}
    
    	h := w.Header()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/proxier_test.go

    	}
    
    	fp.cleanLegacyService(activeServices, currentServices)
    	// ipvs4 and ipvs5 should have been cleaned.
    	remainingVirtualServers, _ := fp.ipvs.GetVirtualServers()
    	if len(remainingVirtualServers) != 4 {
    		t.Errorf("Expected number of remaining IPVS services after cleanup to be %v. Got %v", 4, len(remainingVirtualServers))
    	}
    	for _, vs := range remainingVirtualServers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    	tests := []struct {
    		name         string
    		setStartTime bool
    		jobName      string
    	}{
    		{
    			name:         "New job created without start time being set",
    			setStartTime: false,
    			jobName:      "job1",
    		},
    		{
    			name:         "New job created with start time being set",
    			setStartTime: true,
    			jobName:      "job2",
    		},
    	}
    	for _, tc := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods_test.go

    				// pod worker is unaware of pod1 yet, and the kubelet will not have it in the pod manager
    			},
    			wantWorker: func(t *testing.T, w *podWorkers, records map[types.UID][]syncPodRecord) {
    				// the pod is not started and is cleaned, but the runtime state causes us to reenter
    				// and perform a direct termination (we never observed the pod as being started by
    				// us, and so it is safe to completely tear down)
    				uid := types.UID("1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  8. src/database/sql/sql.go

    				db.maxIdleTimeClosed += idleClosing
    				break
    			}
    		}
    
    		if len(db.freeConn) > 0 {
    			c := db.freeConn[0]
    			if d2 := c.returnedAt.Sub(idleSince); d2 < d {
    				// Ensure idle connections are cleaned up as soon as
    				// possible.
    				d = d2
    			}
    		}
    	}
    
    	if db.maxLifetime > 0 {
    		expiredSince := nowFunc().Add(-db.maxLifetime)
    		for i := 0; i < len(db.freeConn); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    		for _, bucketInfo := range buckets {
    			bucket := bucketInfo.Name
    			bucketExists := bucketInfo.Deleted.IsZero() || (!bucketInfo.Created.IsZero() && bucketInfo.Created.After(bucketInfo.Deleted))
    			bms := madmin.SRBucketInfo{
    				Bucket:    bucket,
    				CreatedAt: bucketInfo.Created.UTC(),
    				DeletedAt: bucketInfo.Deleted.UTC(),
    			}
    			if !bucketExists {
    				info.Buckets[bucket] = bms
    				continue
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  10. src/runtime/proc.go

    	// Exclude extra M's, which are used for cgocallback from threads
    	// created in C.
    	//
    	// The purpose of the SetMaxThreads limit is to avoid accidental fork
    	// bomb from something like millions of goroutines blocking on system
    	// calls, causing the runtime to create millions of threads. By
    	// definition, this isn't a problem for threads created in C, so we
    	// exclude them from the limit. See https://go.dev/issue/60004.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top