- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 445 for keys2 (0.09 sec)
-
cmd/kubeadm/app/features/features.go
known = append(known, fmt.Sprintf("%s=true|false (%sdefault=%t)", k, pre, v.Default)) } sort.Strings(known) return known } // NewFeatureGate parses a string of the form "key1=value1,key2=value2,..." into a // map[string]bool of known keys or returns an error. func NewFeatureGate(f *FeatureList, value string) (map[string]bool, error) { featureGate := map[string]bool{} for _, s := range strings.Split(value, ",") { if len(s) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 13:55:11 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
this.keys = new @Nullable Object[initialCapacity]; this.values = new @Nullable Object[initialCapacity]; } private void ensureCapacity(int minCapacity) { if (minCapacity > keys.length) { int newCapacity = ImmutableCollection.Builder.expandedCapacity(keys.length, minCapacity); this.keys = Arrays.copyOf(keys, newCapacity);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 53K 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/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt
val key1 = Any() val key2 = Any() reporting.enterDynamicCall(entryPoint1) assertTrue(reporting.unreportedProblemInCurrentCall(key1)) assertFalse(reporting.unreportedProblemInCurrentCall(key1)) assertTrue(reporting.unreportedProblemInCurrentCall(key2)) assertFalse(reporting.unreportedProblemInCurrentCall(key2)) reporting.enterDynamicCall(entryPoint2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.9K bytes - Viewed (0) -
src/expvar/expvar.go
return b } // Init removes all keys from the map. func (v *Map) Init() *Map { v.keysMu.Lock() defer v.keysMu.Unlock() v.keys = v.keys[:0] v.m.Clear() return v } // addKey updates the sorted list of keys in v.keys. func (v *Map) addKey(key string) { v.keysMu.Lock() defer v.keysMu.Unlock() // Using insertion sort to place key into the already-sorted v.keys.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 21:32:11 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/kube/krt/filter.go
listFromIndex func() any indexMatches func(any) bool } func (f *filter) String() string { attrs := []string{} if !f.keys.IsNil() { attrs = append(attrs, "keys="+f.keys.String()) } if f.selectsNonEmpty != nil { attrs = append(attrs, fmt.Sprintf("selectsNonEmpty=%v", f.selectsNonEmpty)) } if f.selects != nil { attrs = append(attrs, fmt.Sprintf("selects=%v", f.selects)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
each identifying a `SignatureDef`. Raises: ValueError: Iff `representative_dataset` does not satisfy the conditions above. """ if isinstance(representative_dataset, Mapping): if set(signature_keys) != set(representative_dataset.keys()): raise ValueError( 'The signature keys and the keys of representative dataset map '
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
pkg/credentialprovider/plugins.go
func NewDockerKeyring() DockerKeyring { keyring := &providersDockerKeyring{ Providers: make([]DockerConfigProvider, 0), } keys := reflect.ValueOf(providers).MapKeys() stringKeys := make([]string, len(keys)) for ix := range keys { stringKeys[ix] = keys[ix].String() } sort.Strings(stringKeys) for _, key := range stringKeys { provider := providers[key] if provider.Enabled() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 22:01:25 UTC 2024 - 2K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter.go
} } return true } // Returns the keys of all the wrapped envoyfilters. func (efw *EnvoyFilterWrapper) Keys() []string { if efw == nil { return nil } keys := sets.String{} for _, patches := range efw.Patches { for _, patch := range patches { keys.Insert(patch.Key()) } } return sets.SortedList(keys) } // Returns the keys of all the wrapped envoyfilters.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 13:57:28 UTC 2024 - 7.1K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
for i := 4; i < 6; i++ { cache.Put(keys[i], &cs[i]) } for i := 0; i < 2; i++ { if s, ok := cache.Get(keys[i]); ok || s != nil { t.Fatalf("session cache should have evicted key: %s", keys[i]) } } // Touch entry 2. LRU should evict 3 next. cache.Get(keys[2]) cache.Put(keys[0], &cs[0]) if s, ok := cache.Get(keys[3]); ok || s != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0)