- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,680 for Keys (0.04 sec)
-
pilot/pkg/model/xds_cache.go
} func (x XdsCacheImpl) Keys(t string) []any { switch t { case CDSType: keys := x.cds.Keys() return convertToAnySlices(keys) case EDSType: keys := x.eds.Keys() return convertToAnySlices(keys) case SDSType: keys := x.sds.Keys() return convertToAnySlices(keys) case RDSType: keys := x.rds.Keys() return convertToAnySlices(keys) default: return nil } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 02 07:02:05 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/api/testing/compat/compatibility_tester.go
} t.Logf("2: Encoded value: %v", string(output)) } } func getJSONValue(data map[string]interface{}, keys ...string) (interface{}, bool, error) { // No keys, current value is it if len(keys) == 0 { return data, true, nil } // Get the key (and optional index) key := keys[0] index := -1 if matches := regexp.MustCompile(`^(.*)\[(\d+)\]$`).FindStringSubmatch(key); len(matches) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 20 22:26:16 UTC 2019 - 3.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
int minIndex = 0; for (int i = 1; i < keys.size(); i++) { if (keys.get(i) < keys.get(minIndex)) { minIndex = i; } } Optional<BinaryNode> leftChild = createTreap(keys.subList(0, minIndex)); Optional<BinaryNode> rightChild = createTreap(keys.subList(minIndex + 1, keys.size())); return Optional.of(new BinaryNode(keys.get(minIndex), leftChild, rightChild)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Table.java
/** * Associates the specified value with the specified keys. If the table already contained a * mapping for those keys, the old value is replaced with the specified value. * * @param rowKey row key that the value should be associated with * @param columnKey column key that the value should be associated with * @param value value to be associated with the specified keys
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation.go
keyField := s.XListMapKeys[0] keys := make([]interface{}, 0, len(obj)) for _, x := range obj { if x == nil { keys = append(keys, unspecifiedKeyValue{}) // nil object means unspecified key continue } x := x.(map[string]interface{}) // undefined key? key, ok := x[keyField] if !ok { keys = append(keys, unspecifiedKeyValue{}) continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 16 02:47:24 UTC 2021 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
super.put(entry); return this; } /** * Associates all of the given map's keys and values in the built map. Duplicate keys, according * to the comparator (which might be the keys' natural order), are not allowed, and will cause * {@link #build} to fail. * * @throws NullPointerException if any key or value in {@code map} is null */ @CanIgnoreReturnValue @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 50.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Table.java
/** * Associates the specified value with the specified keys. If the table already contained a * mapping for those keys, the old value is replaced with the specified value. * * @param rowKey row key that the value should be associated with * @param columnKey column key that the value should be associated with * @param value value to be associated with the specified keys
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache_test.go
c.Add("short-lived", "12345", 1*time.Millisecond) // ensure the entry expired fakeClock.Step(2 * time.Millisecond) // Keys() should not return expired keys. assertKeys(t, c.Keys(), []interface{}{}) expectNotEntry(t, c, "short-lived") } func TestLRUOverflow(t *testing.T) { c := NewLRUExpireCache(4) c.Add("elem1", "1", 10*time.Hour) c.Add("elem2", "2", 10*time.Hour) c.Add("elem3", "3", 10*time.Hour)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 4.3K bytes - Viewed (0) -
internal/config/identity/openid/jwks_test.go
t.Fatal("Unmarshal: ", err) } else if len(jk.Keys) != 2 { t.Fatalf("Expected 2 keys, got %d", len(jk.Keys)) } keys := make([]crypto.PublicKey, len(jk.Keys)) for ii, jks := range jk.Keys { var err error keys[ii], err = jks.DecodePublicKey() if err != nil { t.Fatalf("Failed to decode key %d: %v", ii, err) } } //nolint:gocritic if key0, ok := keys[0].(*ecdsa.PublicKey); !ok {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 9.8K bytes - Viewed (0) -
src/net/http/cgi/cgi_main.go
} fmt.Printf("test=Hello CGI\r\n") keys := make([]string, 0, len(params)) for k := range params { keys = append(keys, k) } slices.Sort(keys) for _, key := range keys { fmt.Printf("param-%s=%s\r\n", key, params.Get(key)) } envs := envMap(os.Environ()) keys = make([]string, 0, len(envs)) for k := range envs { keys = append(keys, k) } slices.Sort(keys) for _, key := range keys {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.1K bytes - Viewed (0)