Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for Pasche (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cache.kt

      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
       * directory including files that weren't created by the cache.
       */
      @Throws(IOException::class)
      fun delete() {
        cache.delete()
      }
    
      /**
       * Deletes all values stored in the cache. In-flight writes to the cache will complete normally,
       * but the corresponding responses will not be stored.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    // dataUsageCacheV2 contains a cache of data usage entries version 2.
    type dataUsageCacheV2 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV2
    }
    
    // dataUsageCacheV3 contains a cache of data usage entries version 3.
    type dataUsageCacheV3 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV3
    }
    
    // dataUsageCacheV4 contains a cache of data usage entries version 4.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

        auto ram_file_block_cache = static_cast<RamFileBlockCache*>(param);
        ram_file_block_cache->Prune();
      }
    
     private:
      /// The size of the blocks stored in the LRU cache, as well as the size of the
      /// reads from the underlying filesystem.
      const size_t block_size_;
      /// The maximum number of bytes (sum of block sizes) allowed in the LRU cache.
      const size_t max_bytes_;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      new_entry->timestamp = timer_seconds_();
      block_map_.emplace(std::make_pair(key, new_entry));
      return new_entry;
    }
    
    // Remove blocks from the cache until we do not exceed our maximum size.
    void RamFileBlockCache::Trim() {
      while (!lru_list_.empty() && cache_size_ > max_bytes_) {
        RemoveBlock(block_map_.find(lru_list_.back()));
      }
    }
    
    /// Move the block to the front of the LRU list if it isn't already there.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      calls.push_back(block_size);
      // Cache miss followed by cache hit.
      TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out));
      TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out));
      calls.push_back(2 * block_size);
      // Cache miss followed by cache hit.  Causes eviction of LRU element.
      TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.TestingCacheLoaders.identityLoader;
    import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener;
    import static com.google.common.cache.TestingWeighers.constantWeigher;
    import static com.google.common.cache.TestingWeighers.intKeyWeigher;
    import static com.google.common.cache.TestingWeighers.intValueWeigher;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        getAll(cache, asList(6, 8));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(1, 3, 6, 8);
    
        // get fails to save 1, put saves 3
        cache.asMap().put(3, -3);
        getAll(cache, asList(1));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(6, 8, 3);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
    
        cache.invalidateAll();
        assertFalse(cache.asMap().containsKey(654));
        assertFalse(cache.asMap().containsKey(2456));
        assertFalse(cache.asMap().containsKey(2));
    
        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
        cache.put(1, 3);
    
        cache.invalidateAll(ImmutableSet.of(1, 2));
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 15K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          checkEmpty(cache);
        }
      }
    
    
      public void testInvalidate_empty() {
        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked("a");
          cache.getUnchecked("b");
          cache.invalidate("a");
          cache.invalidate("b");
          cache.invalidate(0);
          checkEmpty(cache);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheTesting.java

        return Math.max(accessQueueSize(cache), writeQueueSize(cache));
      }
    
      static void processPendingNotifications(Cache<?, ?> cache) {
        if (hasLocalCache(cache)) {
          LocalCache<?, ?> cchm = toLocalCache(cache);
          cchm.processPendingNotifications();
        }
      }
    
      interface Receiver<T> {
        void accept(@Nullable T object);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top