- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,680 for Keys (0.04 sec)
-
pkg/kubelet/util/store/filestore_test.go
// Test read data by key. data, err := store.Read(c.key) require.NoError(t, err) assert.Equal(t, string(data), c.data) } // Test list keys. keys, err := store.List() assert.NoError(t, err) sort.Strings(keys) assert.Equal(t, keys, []string{"id1", "id2"}) // Test Delete data for _, c := range testCases { if c.expectErr { continue } err = store.Delete(c.key)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 24 13:51:34 UTC 2021 - 2.1K bytes - Viewed (0) -
pkg/ctrlz/topics/collection.go
func (r *staticCollection) Name() string { return r.name } // Keys is implementation of ReadableCollection.Keys. func (r *staticCollection) Keys() ([]string, error) { keys := make([]string, 0, len(r.items)) for k := range r.items { keys = append(keys, k) } sort.Strings(keys) return keys, nil } // Get is implementation of ReadableCollection.Get.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go
type AESConfiguration struct { // keys is a list of keys to be used for creating the AES transformer. // Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM. Keys []Key `json:"keys"` } // SecretboxConfiguration contains the API configuration for an Secretbox transformer. type SecretboxConfiguration struct { // keys is a list of keys to be used for creating the Secretbox transformer.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
this.keys = keys; this.values = values; } @Override public SampleElements<Entry<K, V>> samples() { return SampleElements.mapEntries(keys, values); } @Override public Set<Entry<K, V>> create(Object... elements) { Entry<K, V>[] entries = createArray(elements.length); System.arraycopy(elements, 0, entries, 0, elements.length);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/store/batch.go
// Batch represents an ordered batch type Batch[K key, T any] struct { keys []K items map[K]T limit uint32 sync.Mutex } // Add adds the item to the batch func (b *Batch[K, T]) Add(key K, item T) error { b.Lock() defer b.Unlock() if b.isFull() { return ErrBatchFull } if _, ok := b.items[key]; !ok { b.keys = append(b.keys, key) } b.items[key] = item return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Oct 07 15:07:38 UTC 2023 - 2.5K bytes - Viewed (0) -
pilot/pkg/xds/xds_cache_test.go
} }) t.Run("clear all", func(t *testing.T) { c := model.NewXdsCache() start := time.Now() c.Add(ep1, &model.PushRequest{Start: start}, any1) c.Add(ep2, &model.PushRequest{Start: start}, any2) c.ClearAll() if len(c.Keys(model.EDSType)) != 0 { t.Fatalf("expected no keys, got: %v", c.Keys(model.EDSType)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 31 20:43:08 UTC 2023 - 7.8K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
} func truncatedKeysMessage(data map[string][]byte) string { keys := []string{} for k := range data { keys = append(keys, k) } sort.Strings(keys) if len(keys) < 3 { return strings.Join(keys, ", ") } return fmt.Sprintf("%s, and %d more...", strings.Join(keys[:3], ", "), len(keys)-3) } // extractRoot extracts the root certificate
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
pkg/controller/util/selectors/bimultimap.go
func (m *BiMultimap) Select(key Key) (keys []Key, ok bool) { m.mux.RLock() defer m.mux.RUnlock() selectingObject, ok := m.selectingObjects[key] if !ok { // Does not exist. return nil, false } keys = make([]Key, 0) if labeled, ok := m.labeledBySelecting[selectingObject.selectorKey]; ok { for _, labeledObject := range labeled.objects { keys = append(keys, labeledObject.key) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 21:41:32 UTC 2023 - 9.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
} /** * Associates the value {@code null} with the specified keys, assuming both keys are valid. If * either key is null or isn't among the keys provided during construction, this method has no * effect. * * <p>This method is equivalent to {@code put(rowKey, columnKey, null)} when both provided keys * are valid. * * @param rowKey row key of mapping to be erased
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 26.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParserFactoryTest.groovy
[group: 'foo'] | "Required keys [name, version] are missing from map {group=foo}." [name: 'foo'] | "Required keys [group, version] are missing from map {name=foo}." [name: 'foo', version: 'v1'] | "Required keys [group] are missing from map {name=foo, version=v1}." [name: null] | "Required keys [group, name, version] are missing from map {name=null}." }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.8K bytes - Viewed (0)