Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for last_use (0.22 sec)

  1. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

          const auto [iter, inserted] = source_uses.emplace(
              itensor,
              TensorUse{/*first_use=*/ioperation, /*last_use=*/ioperation});
          if (!inserted) {
            // Otherwise, update last_use.
            iter->second.last_use = ioperation;
          }
        }
      }
    
      deltas.reserve(2 * source_uses.size());
    
      for (const auto& [itensor, source] : source_uses) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

        // The operation that makes the first use of this tensor.
        int first_use() const { return *operations.begin(); }
    
        // The operation that makes the last use of this tensor.
        int last_use() const { return *operations.rbegin(); }
      };
    
      // The operators.
      struct Operation {
        bool is_stateful = false;  // Results of an Operation can be rematerialized
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K 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. 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)
  7. 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