Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for last_use (0.53 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonInfo.java

            this.lastBusy = -1; // Will be overwritten by setIdle if not idle.
            setState(state);
        }
    
        private DaemonInfo(Address address, DaemonContext context, byte[] token, State state, long lastBusy) {
            this.address = address;
            this.context = context;
            this.token = token;
            this.state = state;
            this.lastBusy = lastBusy;
            this.clock = Time.clock();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. schema/naming.go

    		buf                            strings.Builder
    		lastCase, nextCase, nextNumber bool // upper case == true
    		curCase                        = value[0] <= 'Z' && value[0] >= 'A'
    	)
    
    	for i, v := range value[:len(value)-1] {
    		nextCase = value[i+1] <= 'Z' && value[i+1] >= 'A'
    		nextNumber = value[i+1] >= '0' && value[i+1] <= '9'
    
    		if curCase {
    			if lastCase && (nextCase || nextNumber) {
    				buf.WriteRune(v + 32)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go

    		// since the legacy token starts to track.
    		lastUsed, ok := secret.Labels[serviceaccount.LastUsedLabelKey]
    		if ok {
    			_, err := time.Parse(dateFormat, lastUsed)
    			if err != nil {
    				// the lastUsed value is not well-formed thus we cannot determine it
    				logger.Error(err, "Parsing lastUsed time", "secret", klog.KRef(secret.Namespace, secret.Name))
    				continue
    			}
    			if lastUsed >= preserveUsedOnOrAfter {
    				continue
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. pkg/serviceaccount/legacy.go

    	now := time.Now().UTC()
    	today := now.Format("2006-01-02")
    	tomorrow := now.AddDate(0, 0, 1).Format("2006-01-02")
    	lastUsed := secret.Labels[LastUsedLabelKey]
    	if lastUsed != today && lastUsed != tomorrow {
    		patchContent, err := json.Marshal(applyv1.Secret(secret.Name, secret.Namespace).WithUID(secret.UID).WithLabels(map[string]string{LastUsedLabelKey: today}))
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 08:32:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/GradleUserHomeCleanupFixture.groovy

                    )
                }
            }
        }
    
        GradleDistDirs versionedDistDirs(String version, MarkerFileType lastUsed, String customDistName) {
            def distVersion = GradleVersion.version(version)
            return new GradleDistDirs(
                createVersionSpecificCacheDir(distVersion, lastUsed),
                createDistributionChecksumDir(distVersion).parentFile,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/runtime/mgcscavenge.go

    	// allocated.
    	//
    	// Only the first 10 bits are used.
    	inUse uint16
    
    	// lastInUse indicates how many pages in this chunk were allocated
    	// when we transitioned from gen-1 to gen.
    	//
    	// Only the first 10 bits are used.
    	lastInUse uint16
    
    	// gen is the generation counter from a scavengeIndex from the
    	// last time this scavChunkData was updated.
    	gen uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  9. 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)
  10. 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