- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newCacheFunc (0.39 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cache_striped.go
hashFunc func(string) uint32 caches []cache } type hashFunc func(string) uint32 type newCacheFunc func() cache func newStripedCache(stripeCount int, hash hashFunc, newCacheFunc newCacheFunc) cache { caches := []cache{} for i := 0; i < stripeCount; i++ { caches = append(caches, newCacheFunc()) } return &stripedCache{ stripeCount: uint32(stripeCount), hashFunc: hash, caches: caches,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 22 17:16:59 UTC 2018 - 1.6K bytes - Viewed (0)