Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,324 for cachez (0.12 sec)

  1. src/cmd/go/internal/modfetch/cache.go

    	if err != nil {
    		return "", err
    	}
    	return sum, nil
    }
    
    var errNotCached = fmt.Errorf("not in cache")
    
    // readDiskStat reads a cached stat result from disk,
    // returning the name of the cache file and the result.
    // If the read fails, the caller can use
    // writeDiskStat(file, info) to write a new cache entry.
    func readDiskStat(ctx context.Context, path, rev string) (file string, info *RevInfo, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. 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));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  3. 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/cache.go

    	// unbounded growth on the cache - for a given info the transformer is always the same.
    	// The key always corresponds to the exact same value, with the caveat that
    	// since we use the value.Context.AuthenticatedData to overwrite old keys,
    	// we always have to check that the info matches (to validate the transformer is correct).
    	cache.AllowExpiredGet = true
    	return &simpleCache{
    		cache: cache,
    		ttl:   ttl,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache.go

    }
    
    func newSimpleCache(clock clock.Clock, ttl time.Duration, providerName string) *simpleCache {
    	cache := utilcache.NewExpiringWithClock(clock)
    	cache.AllowExpiredGet = true // for a given key, the value (the decryptTransformer) is always the same
    	return &simpleCache{
    		cache: cache,
    		ttl:   ttl,
    		hashPool: &sync.Pool{
    			New: func() interface{} {
    				return sha256.New()
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 31 20:26:58 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. internal/config/cache/cache.go

    	// store and retrieve pre-condition check entities such as
    	// Etag and ModTime of an object + version
    	Endpoint string `json:"endpoint"`
    
    	// BlockSize indicates the maximum object size below which
    	// data is cached and fetched remotely from DRAM.
    	BlockSize int64
    
    	// Is the HTTP client used for communicating with mcache server
    	clnt *http.Client
    }
    
    var configLock sync.RWMutex
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/cache.go

    	var out OutputID
    	h.Sum(out[:0])
    
    	// Copy to cached output file (if not already present).
    	if err := c.copyFile(file, out, size); err != nil {
    		return out, size, err
    	}
    
    	// Add to cache index.
    	return out, size, c.putIndexEntry(id, out, size, allowVerify)
    }
    
    // PutBytes stores the given bytes in the cache as the output for the action ID.
    func PutBytes(c Cache, id ActionID, data []byte) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. pkg/wasm/cache.go

    	// sha256 scheme prefix
    	sha256SchemePrefix = "sha256:"
    )
    
    // Cache models a Wasm module cache.
    type Cache interface {
    	Get(url string, opts GetOptions) (string, error)
    	Cleanup()
    }
    
    // LocalFileCache for downloaded Wasm modules. Currently it stores the Wasm module as local file.
    type LocalFileCache struct {
    	// Map from Wasm module checksum to cache entry.
    	modules map[moduleKey]*cacheEntry
    	// Map from tagged URL to checksum
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. operator/pkg/cache/cache.go

    // limitations under the License.
    
    package cache
    
    import (
    	"sync"
    
    	"istio.io/istio/operator/pkg/metrics"
    	"istio.io/istio/operator/pkg/object"
    )
    
    // ObjectCache is a cache of objects,
    type ObjectCache struct {
    	// Cache is a cache keyed by object Hash() function.
    	Cache map[string]*object.K8sObject
    	Mu    *sync.RWMutex
    }
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 13:12:49 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/initScripts/cacheMarking/groovy/gradleUserHome/init.d/cache-settings.gradle

    beforeSettings { settings ->
        settings.caches {
            // Disable cache marking for all caches
            markingStrategy = MarkingStrategy.NONE
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 154 bytes
    - Viewed (0)
Back to top