Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for kcache (0.12 sec)

  1. test/fixedbugs/issue59709.dir/dcache.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package dcache
    
    import (
    	"./aconfig"
    	"./bresource"
    	"./cmem"
    )
    
    type Module struct {
    	cfg  *aconfig.Config
    	err  error
    	last any
    }
    
    //go:noinline
    func TD() {
    }
    
    func (m *Module) Configure(x string) error {
    	if m.err != nil {
    		return m.err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 21:04:28 UTC 2023
    - 626 bytes
    - Viewed (0)
  2. pkg/cache/cache.go

    	// expunged from the cache at some point, depending on the eviction policies
    	// of the cache and the options specified when the cache was created.
    	Set(key any, value any)
    
    	// Get retrieves the value associated with the supplied key if the key
    	// is present in the cache.
    	Get(key any) (value any, ok bool)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/metrics/cache.go

    // DeleteEndpoints removes references to an Endpoints resource from the global
    // cache and updates the corresponding metrics.
    func (c *Cache) DeleteEndpoints(endpointsNN types.NamespacedName) {
    	c.lock.Lock()
    	defer c.lock.Unlock()
    
    	if spCache, ok := c.cache[endpointsNN]; ok {
    		c.numEndpoints = c.numEndpoints - spCache.numEndpoints()
    		delete(c.cache, endpointsNN)
    		c.updateMetrics()
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. 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.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  6. pkg/test/util/yml/cache.go

    	part Part
    	file string
    }
    
    // NewCache returns a new Cache instance
    func NewCache(dir string) *Cache {
    	return &Cache{
    		resources: make(map[CacheKey]*resourceState),
    		dir:       dir,
    	}
    }
    
    // Apply adds the given yamlText contents as part of a given context name. If there is an existing context
    // with the given name, then a diffgram will be generated.
    func (c *Cache) Apply(yamlText string) ([]CacheKey, error) {
    	c.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 4K bytes
    - Viewed (0)
  7. internal/cachevalue/cache.go

    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(ctx context.Context) (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K 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. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/Cache.java

     * limitations under the License.
     */
    package org.gradle.cache;
    
    import javax.annotation.Nullable;
    import java.util.function.Function;
    import java.util.function.Supplier;
    
    public interface Cache<K, V>  {
        /**
         * Locates the given entry, using the supplied factory when the entry is not present or has been discarded, to recreate the entry in the cache.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. proguard/cache.pro

    # Striped64 appears to make some assumptions about object layout that
    # really might not be safe. This should be investigated.
    -keepclassmembers class com.google.common.cache.Striped64 {
      *** base;
      *** busy;
    }
    -keepclassmembers class com.google.common.cache.Striped64$Cell {
      <fields>;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 341 bytes
    - Viewed (0)
Back to top