Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for cacheSizes (0.28 sec)

  1. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager.go

    	// We need to call Informer() before calling start on the shared informer
    	// factory, or the informer won't be registered to be started.
    	m := &InformerManager{
    		ctbInformer:        bundles.Informer(),
    		ctbLister:          bundles.Lister(),
    		normalizationCache: lrucache.NewLRUExpireCache(cacheSize),
    		cacheTTL:           cacheTTL,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. pkg/scheduler/metrics/metrics.go

    			Help:           "Duration of waiting on permit.",
    			Buckets:        metrics.ExponentialBuckets(0.001, 2, 15),
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"result"})
    
    	CacheSize = metrics.NewGaugeVec(
    		&metrics.GaugeOpts{
    			Subsystem:      SchedulerSubsystem,
    			Name:           "scheduler_cache_size",
    			Help:           "Number of nodes, pods, and assumed (bound) pods in the scheduler cache.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/CachedStoreFactory.java

        private static final Logger LOG = Logging.getLogger(CachedStoreFactory.class);
        private static final int CACHE_SIZE = Integer.getInteger("org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.cacheSize", 100);
        private static final int CACHE_EXPIRY = Integer.getInteger("org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.cacheExpiryMs", 10000);
    
        private final Cache<Object, T> cache;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *KMSConfiguration) DeepCopyInto(out *KMSConfiguration) {
    	*out = *in
    	if in.CacheSize != nil {
    		in, out := &in.CacheSize, &out.CacheSize
    		*out = new(int32)
    		**out = **in
    	}
    	if in.Timeout != nil {
    		in, out := &in.Timeout, &out.Timeout
    		*out = new(v1.Duration)
    		**out = **in
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/cache/cache.go

    }
    
    // updateMetrics updates cache size metric values for pods, assumed pods, and nodes
    func (cache *cacheImpl) updateMetrics() {
    	metrics.CacheSize.WithLabelValues("assumed_pods").Set(float64(len(cache.assumedPods)))
    	metrics.CacheSize.WithLabelValues("pods").Set(float64(len(cache.podStates)))
    	metrics.CacheSize.WithLabelValues("nodes").Set(float64(len(cache.nodes)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        server.enqueue(MockResponse(body = "abc"))
    
        val ctxt = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext
    
        val cacheSize = 1L * 1024 * 1024 // 1MB
        val cache = Cache(ctxt.cacheDir.resolve("testCache"), cacheSize)
    
        try {
          client =
            client.newBuilder()
              .cache(cache)
              .build()
    
          val request =
            Request.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        RemoveFile_Locked(filename);
        it->second = file_signature;
        return false;
      }
      file_signature_map_[filename] = file_signature;
      return true;
    }
    
    size_t RamFileBlockCache::CacheSize() const {
      absl::MutexLock lock(&mu_);
      return cache_size_;
    }
    
    void RamFileBlockCache::Prune() {
      while (!stop_pruning_thread_.WaitForNotificationWithTimeout(
          absl::Microseconds(1000000))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 16 01:39:09 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      size_t block_size() const { return block_size_; }
      size_t max_bytes() const { return max_bytes_; }
      uint64_t max_staleness() const { return max_staleness_; }
    
      /// The current size (in bytes) of the cache.
      size_t CacheSize() const ABSL_LOCKS_EXCLUDED(mu_);
    
      // Returns true if the cache is enabled. If false, the BlockFetcher callback
      // is always executed during Read.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:46:34 UTC 2020
    - 10.6K bytes
    - Viewed (0)
  9. docs/recipes.md

    === ":material-language-java: Java"
        ```java
          private final OkHttpClient client;
    
          public CacheResponse(File cacheDirectory) throws Exception {
            int cacheSize = 10 * 1024 * 1024; // 10 MiB
            Cache cache = new Cache(cacheDirectory, cacheSize);
    
            client = new OkHttpClient.Builder()
                .cache(cache)
                .build();
          }
    
          public void run() throws Exception {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    		return unionTransformers{gcm, aestransformer.NewCBCTransformer(block)}, nil
    	}
    
    	return storagevalue.PrefixTransformer{
    		Transformer: envelope.NewEnvelopeTransformer(envelopeService, int(*config.CacheSize), baseTransformerFunc),
    		Prefix:      []byte(prefix + config.Name + ":"),
    	}
    }
    
    type unionTransformers []storagevalue.Transformer
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top