Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for kcache (0.14 sec)

  1. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	podIndexer kcache.Indexer
    
    	nodeLister  corelisters.NodeLister
    	nodesSynced kcache.InformerSynced
    
    	csiNodeLister storagelistersv1.CSINodeLister
    	csiNodeSynced kcache.InformerSynced
    
    	// csiDriverLister is the shared CSIDriver lister used to fetch and store
    	// CSIDriver objects from the API server. It is shared with other controllers
    	// and therefore the CSIDriver objects in its store should be treated as immutable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator.go

    	"k8s.io/apimachinery/pkg/labels"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/wait"
    	corelisters "k8s.io/client-go/listers/core/v1"
    	kcache "k8s.io/client-go/tools/cache"
    	"k8s.io/kubernetes/pkg/controller/volume/attachdetach/cache"
    	"k8s.io/kubernetes/pkg/controller/volume/attachdetach/util"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes/fake"
    	kcache "k8s.io/client-go/tools/cache"
    	"k8s.io/kubernetes/pkg/controller"
    	"k8s.io/kubernetes/pkg/controller/volume/attachdetach/cache"
    	controllervolumetesting "k8s.io/kubernetes/pkg/controller/volume/attachdetach/testing"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/csi"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. src/runtime/mcache.go

    var emptymspan mspan
    
    func allocmcache() *mcache {
    	var c *mcache
    	systemstack(func() {
    		lock(&mheap_.lock)
    		c = (*mcache)(mheap_.cachealloc.alloc())
    		c.flushGen.Store(mheap_.sweepgen)
    		unlock(&mheap_.lock)
    	})
    	for i := range c.alloc {
    		c.alloc[i] = &emptymspan
    	}
    	c.nextSample = nextSample()
    	return c
    }
    
    // freemcache releases resources associated with this
    // mcache and puts the object onto a free list.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. 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)
  6. internal/config/cache/cache.go

    	c.clnt = ncfg.clnt
    }
    
    // cache related errors
    var (
    	ErrInvalidArgument = errors.New("invalid argument")
    	ErrKeyMissing      = errors.New("key is missing")
    )
    
    const (
    	mcacheV1Check  = "/_mcache/v1/check"
    	mcacheV1Update = "/_mcache/v1/update"
    	mcacheV1Delete = "/_mcache/v1/delete"
    )
    
    // Get performs conditional check and returns the cached object info if any.
    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. 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)
  8. 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)
  9. src/cmd/go/internal/cache/cache.go

    // Package cache implements a build artifact cache.
    package cache
    
    import (
    	"bytes"
    	"crypto/sha256"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"time"
    
    	"cmd/go/internal/lockedfile"
    	"cmd/go/internal/mmap"
    )
    
    // An ActionID is a cache action key, the hash of a complete description of a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. 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)
Back to top