Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for last_use (0.17 sec)

  1. pkg/kubelet/images/image_gc_manager_test.go

    	require.True(t, ok)
    	assert.Equal(zero, container1.firstDetected)
    	assert.Equal(zero, container1.lastUsed)
    	container2, ok := manager.getImageRecord(imageID(1))
    	require.True(t, ok)
    	assert.Equal(zero, container2.firstDetected)
    	assert.True(container2.lastUsed.Equal(withContainer.lastUsed))
    }
    
    func TestDetectImagesWithRemovedImages(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. pkg/kubelet/images/image_gc_manager.go

    		// Images that are currently in used were given a newer lastUsed.
    		if image.lastUsed.Equal(freeTime) || image.lastUsed.After(freeTime) {
    			klog.V(5).InfoS("Image ID was used too recently, not eligible for garbage collection", "imageID", image.id, "lastUsed", image.lastUsed, "freeTime", freeTime)
    			continue
    		}
    
    		// Avoid garbage collect the image if the image is not old enough.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    }
    
    func (s *ScavengeIndex) SetEmpty(ci ChunkIdx) {
    	s.i.setEmpty(chunkIdx(ci))
    }
    
    func CheckPackScavChunkData(gen uint32, inUse, lastInUse uint16, flags uint8) bool {
    	sc0 := scavChunkData{
    		gen:            gen,
    		inUse:          inUse,
    		lastInUse:      lastInUse,
    		scavChunkFlags: scavChunkFlags(flags),
    	}
    	scp := sc0.pack()
    	sc1 := unpackScavChunkData(scp)
    	return sc0 == sc1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. pilot/pkg/model/jwks_resolver.go

    		// with no success refresh for too much time.
    		if now.Sub(e.lastUsedTime) >= r.evictionDuration || now.Sub(e.lastRefreshedTime) >= r.evictionDuration {
    			log.Infof("Removed cached JWT public key (lastRefreshed: %s, lastUsed: %s) from %q",
    				e.lastRefreshedTime, e.lastUsedTime, k.issuer)
    			r.keyEntries.Delete(k)
    			return true
    		}
    
    		oldPubKey := e.pubKey
    		// Increment the WaitGroup counter.
    		wg.Add(1)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top