- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,162 for keys (0.16 sec)
-
internal/config/config_test.go
tests := []struct { input string keys []string expectedFields map[string]struct{} }{ // No keys present { input: "", keys: []string{"comment"}, expectedFields: map[string]struct{}{}, }, // No keys requested for tokenizing { input: `comment="Hi this is my comment ="`, keys: []string{}, expectedFields: map[string]struct{}{},
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Aug 18 22:55:17 GMT 2022 - 4.2K bytes - Viewed (0) -
internal/store/batch_test.go
t.Fatal("failed to get the duplicxate item by key '99' after adding") } keys, items, err = batch.GetAll() if err != nil { t.Fatalf("unable to get the items from the batch; %v", err) } if len(items) != 1 { t.Fatalf("Expected length of the batch items to be 1 but got %v", len(items)) } if len(keys) != 1 { t.Fatalf("Expected length of the batch keys to be 1 but got %v", len(items)) }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
List<? extends Entry<?, ?>> entries = Lists.newArrayList(map.entrySet()); List<Object> keys = Lists.newArrayList(map.keySet()); List<Object> values = Lists.newArrayList(map.values()); assertEquals(2 * entries.size(), alternatingKeysAndValues.length); assertEquals(2 * keys.size(), alternatingKeysAndValues.length); assertEquals(2 * values.size(), alternatingKeysAndValues.length);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 21 14:41:51 GMT 2020 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* * @param keys the unique, non-null keys whose values should be loaded * @return a map from each key in {@code keys} to the value associated with that key; <b>may not * contain null values</b> * @throws Exception if unable to load the result * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
keys -> path.create( Lists.transform( keys, key -> Maps.immutableEntry(key, new Object()))), keys -> path.create( Lists.transform( keys, key -> Maps.immutableEntry(new Object(), key))),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 4.2K bytes - Viewed (0) -
cmd/api-resources.go
errCode = ErrNone if values.Get("max-keys") != "" { var err error if maxkeys, err = strconv.Atoi(values.Get("max-keys")); err != nil { errCode = ErrInvalidMaxKeys return } } else { maxkeys = maxObjectList } prefix = values.Get("prefix") marker = values.Get("key-marker") delimiter = values.Get("delimiter") encodingType = values.Get("encoding-type")
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Jun 07 18:25:26 GMT 2023 - 4.3K bytes - Viewed (0) -
bin/diff_yaml.py
common = k0s.intersection(k1s) return added, removed, common def drop_keys(res, k1, k2): if k2 in res[k1]: del res[k1][k2] def normalize_configmap(res): try: if res['kind'] != "ConfigMap": return res data = res['data'] # some times keys are yamls... # so parse them for k in data: try:
Python - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Mar 03 16:14:57 GMT 2021 - 4.5K bytes - Viewed (0) -
internal/store/batch.go
if _, ok := b.items[key]; !ok { b.keys = append(b.keys, key) } b.items[key] = item return nil } // GetAll fetches the items and resets the batch // Returned items are not referenced by the batch func (b *Batch[K, T]) GetAll() (orderedKeys []K, orderedItems []T, err error) { b.Lock() defer b.Unlock() orderedKeys = append([]K(nil), b.keys...) for _, key := range orderedKeys { item, ok := b.items[key] if !ok {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 2.5K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
var key []byte key, buf, err = msgp.ReadMapKeyZC(buf) if err != nil { return keys, err } if len(key) == 0 { return keys, fmt.Errorf("xlMetaInlineData: key %d is length 0", i) } keys = append(keys, string(key)) // Skip data... _, buf, err = msgp.ReadBytesZC(buf) if err != nil { return keys, err } } return keys, nil }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 9.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
Multiset<K> keys = multimap().keys(); assertEquals(2, keys.count(k0())); assertEquals(1, keys.count(k1())); assertEquals(3, keys.size()); assertContainsAllOf(keys, k0(), k1()); assertContainsAllOf( keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testKeysCountAbsentNullKey() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.3K bytes - Viewed (0)