Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,030 for cachez (0.21 sec)

  1. tools/bug-report/pkg/common/common.go

    }
    
    var versionMap = map[string]*resourceNames{
    	latestKey: {
    		discoveryLabels: []kv{
    			{k: "app", v: "istiod"},
    		},
    		istioDebugURLs: []string{
    			"debug/adsz",
    			"debug/authorizationz",
    			"debug/cachez",
    			"debug/clusterz",
    			"debug/configz",
    			"debug/endpointShardz",
    			"debug/endpointz",
    			"debug/inject",
    			"debug/instancesz",
    			"debug/mcsz",
    			"debug/mesh",
    			"debug/networkz",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 30 00:10:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/bcache/cache.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package bcache implements a GC-friendly cache (see [Cache]) for BoringCrypto.
    package bcache
    
    import (
    	"sync/atomic"
    	"unsafe"
    )
    
    // A Cache is a GC-friendly concurrent map from unsafe.Pointer to
    // unsafe.Pointer. It is meant to be used for maintaining shadow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/sumdb/cache.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Parallel cache.
    // This file is copied from cmd/go/internal/par.
    
    package sumdb
    
    import (
    	"sync"
    	"sync/atomic"
    )
    
    // parCache runs an action once per key and caches the result.
    type parCache struct {
    	m sync.Map
    }
    
    type cacheEntry struct {
    	done   uint32
    	mu     sync.Mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 29 20:10:15 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  5. pkg/kubelet/container/cache.go

    // Cache provides two methods to retrieve the PodStatus: the non-blocking Get()
    // and the blocking GetNewerThan() method. The component responsible for
    // populating the cache is expected to call Delete() to explicitly free the
    // cache entries.
    type Cache interface {
    	Get(types.UID) (*PodStatus, error)
    	// Set updates the cache by setting the PodStatus for the pod only
    	// if the data is newer than the cache based on the provided
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 07:37:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. 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)
  7. pkg/cache/cache.go

    // limitations under the License.
    
    // Package cache provides general-purpose in-memory caches.
    // Different caches provide different eviction policies suitable for
    // specific use cases.
    package cache
    
    import (
    	"time"
    )
    
    // Stats returns usage statistics about an individual cache, useful to assess the
    // efficiency of a cache.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top