Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,324 for cachez (0.1 sec)

  1. src/runtime/mcache.go

    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // Per-thread (in Go, per-P) cache for small objects.
    // This includes a small object cache and local allocation stats.
    // No locking needed because it is per-thread (per-P).
    //
    // mcaches are allocated from non-GC'd memory, so any heap pointers
    // must be specially handled.
    type mcache struct {
    	_ sys.NotInHeap
    
    	// The following members are accessed on every malloc,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. plugin/pkg/admission/eventratelimit/cache.go

    }
    
    // lruCache is a least-recently-used cache
    type lruCache struct {
    	// factory to use to create new rate limiters
    	rateLimiterFactory func() flowcontrol.RateLimiter
    	// the actual LRU cache
    	cache *lru.Cache
    }
    
    func (c *lruCache) get(key interface{}) flowcontrol.RateLimiter {
    	value, found := c.cache.Get(key)
    	if !found {
    		rateLimter := c.rateLimiterFactory()
    		c.cache.Add(key, rateLimter)
    		return rateLimter
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 08 02:31:37 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/initScripts/cacheMarking/kotlin/gradleUserHome/init.d/cache-settings.gradle.kts

    beforeSettings {
        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
    - 133 bytes
    - Viewed (0)
  4. 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);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 09 19:31:22 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/functional/src/main/java/org/gradle/internal/serialization/Cached.java

     * whose result must be cached even (or specially) at serialization time.
     *
     * @param <T> the resulting type
     */
    public abstract class Cached<T> {
    
        public static <T> Cached<T> of(Callable<T> computation) {
            return new Deferred<>(computation);
        }
    
        public abstract T get();
    
        private static class Deferred<T> extends Cached<T> implements java.io.Serializable {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. pkg/controller/endpointslicemirroring/metrics/cache.go

    	endpointsliceutil "k8s.io/endpointslice/util"
    )
    
    // NewCache returns a new Cache with the specified endpointsPerSlice.
    func NewCache(endpointsPerSlice int32) *Cache {
    	return &Cache{
    		maxEndpointsPerSlice: endpointsPerSlice,
    		cache:                map[types.NamespacedName]*EndpointPortCache{},
    	}
    }
    
    // Cache tracks values for total numbers of desired endpoints as well as the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/ssa/cache.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/internal/obj"
    	"sort"
    )
    
    // A Cache holds reusable compiler state.
    // It is intended to be re-used for multiple Func compilations.
    type Cache struct {
    	// Storage for low-numbered values and blocks.
    	values [2000]Value
    	blocks [200]Block
    	locs   [2000]Location
    
    	// Reusable stackAllocState.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 15 23:00:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top