- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 585 for Keys (0.04 sec)
-
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) -
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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpKeyGrouperTest.groovy
} when: executeGrouping() then: def keys = verifier.configuration.trustedKeys keys*.keyId == [KEY_1] keys[0].group == '^org[.]group($|([.].*))' keys[0].name == null keys[0].version == null keys[0].fileName == null keys[0].regex } def "does not attempt grouping when it exists already"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.6K bytes - Viewed (0) -
clause/set.go
clause.Expression = Set(copiedAssignments) } func Assignments(values map[string]interface{}) Set { keys := make([]string, 0, len(values)) for key := range values { keys = append(keys, key) } sort.Strings(keys) assignments := make([]Assignment, len(keys)) for idx, key := range keys { assignments[idx] = Assignment{Column: Column{Name: key}, Value: values[key]} } return assignments }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Nov 29 03:02:44 UTC 2021 - 1.4K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/metadata.go
func MetadataListValueMatcher(filter string, keys []string, value *matcher.ValueMatcher, useExtendedJwt bool) *matcher.MetadataMatcher { listMatcher := &matcher.ListMatcher{ MatchPattern: &matcher.ListMatcher_OneOf{ OneOf: value, }, } paths := make([]*matcher.MetadataMatcher_PathSegment, 0, len(keys)) for _, k := range keys {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/FakeKeyStore.java
keys.remove(alias); certChains.remove(alias); } @Override public Enumeration<String> engineAliases() { return Collections.enumeration(keys.keySet()); } @Override public boolean engineContainsAlias(String alias) { return keys.containsKey(alias) || certChains.containsKey(alias); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
DocMap docMap = new DocMap(value); assertTrue(docMap.isEmpty()); value.clear(); List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1"); value.put(keys.get(0), true); value.put(keys.get(1), 1000); value.put(keys.get(2), "ja"); value.put(keys.get(3), "str"); docMap = new DocMap(value); assertFalse(docMap.isEmpty());
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K 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)