- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for cacheSizes (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go
} func TestParseWatchCacheSizes(t *testing.T) { testCases := []struct { name string cacheSizes []string expectWatchCacheSizes map[schema.GroupResource]int expectErr string }{ { name: "test when invalid value of watch cache size", cacheSizes: []string{"deployments.apps#65536", "replicasets.extensions"}, expectErr: "invalid value of watch cache size", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
var cacheSizes []string for resource, size := range watchCacheSizes { if size < 0 { return nil, fmt.Errorf("watch cache size cannot be negative for resource %s", resource) } cacheSizes = append(cacheSizes, fmt.Sprintf("%s#%d", resource.String(), size)) } return cacheSizes, nil } var _ serverstorage.StorageFactory = &SimpleStorageFactory{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 15:02:16 UTC 2024 - 20K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go
Timeout: &metav1.Duration{Duration: 3 * time.Second}, CacheSize: &cacheSize, APIVersion: "v1", }, }, { KMS: &apiserver.KMSConfiguration{ Name: "foo", Endpoint: "unix:///tmp/kms-provider-2.socket", Timeout: &metav1.Duration{Duration: 3 * time.Second}, CacheSize: &cacheSize, APIVersion: "v1", }, }}, }}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 33.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go
want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion}, }, { desc: "cache of zero size supplied", in: &KMSConfiguration{CacheSize: &zero}, want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &zero, APIVersion: defaultAPIVersion}, }, { desc: "positive cache size supplied", in: &KMSConfiguration{CacheSize: &ten},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 4.2K bytes - Viewed (0) -
plugin/pkg/admission/eventratelimit/apis/eventratelimit/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 1.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 14:23:50 UTC 2023 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/testdata/encryption-configs/multiple-kms-providers-with-v2.yaml
apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - secrets providers: - kms: name: kms-provider-1 cachesize: 1000 endpoint: unix:///@provider1.sock - kms: name: kms-provider-2 cachesize: 1000 endpoint: unix:///@provider2.sock - kms: apiVersion: v2 name: kms-provider-3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 17:03:18 UTC 2022 - 467 bytes - Viewed (0) -
src/crypto/internal/boring/bcache/cache_test.go
// and there are cacheSize list heads, so we should be // able to do 100 * cacheSize entries with no problem at all. c = new(Cache[int, int32]) var barrier, wg sync.WaitGroup const N = 100 barrier.Add(N) wg.Add(N) var lost int32 for i := 0; i < N; i++ { go func() { defer wg.Done() m := make(map[*int]*int32) for j := 0; j < cacheSize; j++ { k, v := next[int](), next[int32]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 2.3K bytes - Viewed (0) -
src/crypto/internal/boring/bcache/cache.go
func (c *Cache[K, V]) Register() { registerCache(unsafe.Pointer(&c.ptable)) } // cacheSize is the number of entries in the hash table. // The hash is the pointer value mod cacheSize, a prime. // Collisions are resolved by maintaining a linked list in each hash slot. const cacheSize = 1021 // table returns a pointer to the current cache hash table,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 4.4K bytes - Viewed (0)