Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 697 for Rachel (0.18 sec)

  1. 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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      tf_gcs_filesystem::ExpiringLRUCache<int> cache2(1, 4);
      cache2.Insert("a", 1);
      cache2.Insert("b", 2);
      cache2.Insert("c", 3);
      cache2.Insert("d", 4);
      EXPECT_TRUE(cache2.Lookup("a", &value));
      EXPECT_EQ(value, 1);
      EXPECT_TRUE(cache2.Lookup("b", &value));
      EXPECT_EQ(value, 2);
      EXPECT_TRUE(cache2.Lookup("c", &value));
      EXPECT_EQ(value, 3);
      EXPECT_TRUE(cache2.Lookup("d", &value));
      EXPECT_EQ(value, 4);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

       * default, OkHttp will perform lazy initialization upon the first usage of the cache.
       */
      @Throws(IOException::class)
      fun initialize() {
        cache.initialize()
      }
    
      /**
       * 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.
       */
    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)
  4. android/guava/src/com/google/common/cache/Cache.java

      long size();
    
      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
       * the cache is not recording statistics. All statistics begin at zero and never decrease over the
       * lifetime of the cache.
       *
       * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Cache.java

      long size();
    
      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
       * the cache is not recording statistics. All statistics begin at zero and never decrease over the
       * lifetime of the cache.
       *
       * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
  6. internal/cachevalue/cache.go

    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func() (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    // InitOnce initializes the cache with a TTL and an update function. It is
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/orig/view/cache.hbs

    <base href="{{url_link}}">
    <div style="border:1px solid #999;margin:5px -1px;padding:0;">
    <div style="color:#000;background:#ddd;border:1px solid #666;margin:10px 15px;padding:5px;text-align:left;">{{cache_msg}}</div>
    </div>
    HTML
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri May 06 04:49:09 GMT 2016
    - 324 bytes
    - Viewed (0)
  8. internal/config/cache/cache.go

    	BlockSize = "block_size"
    
    	EnvEnable    = "MINIO_CACHE_ENABLE"
    	EnvEndpoint  = "MINIO_CACHE_ENDPOINT"
    	EnvBlockSize = "MINIO_CACHE_BLOCK_SIZE"
    )
    
    // DefaultKVS - default KV config for cache settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Endpoint,
    		Value: "",
    	},
    	config.KV{
    		Key:   BlockSize,
    		Value: "",
    	},
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/cache.hbs

    <base href="{{url_link}}">
    <div style="border:1px solid #999;margin:5px -1px;padding:0;">
    <div style="color:#000;background:#ddd;border:1px solid #666;margin:10px 15px;padding:5px;text-align:left;">{{cache_msg}}</div>
    </div>
    HTML
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri May 06 04:49:09 GMT 2016
    - 324 bytes
    - Viewed (0)
  10. 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)
Back to top