Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,680 for Keys (0.15 sec)

  1. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
        assertThat(map.values).isNull();
    
        map.put(1, "1");
        assertThat(map.needsAllocArrays()).isFalse();
        assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.keys).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.values).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 21:08:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  2. internal/config/config.go

    	}
    	return v
    }
    
    // Keys returns the list of keys for the current KVS
    func (kvs KVS) Keys() []string {
    	keys := make([]string, len(kvs))
    	var foundComment bool
    	for i := range kvs {
    		if kvs[i].Key == madmin.CommentKey {
    			foundComment = true
    		}
    		keys[i] = kvs[i].Key
    	}
    	// Comment KV not found, add it explicitly.
    	if !foundComment {
    		keys = append(keys, madmin.CommentKey)
    	}
    	return keys
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. cluster/gce/windows/testonly/install-ssh.psm1

          -ArgumentList @("-Command", ${WRITE_SSH_KEYS_SCRIPT}) `
          -WindowStyle Hidden -PassThru `
          -RedirectStandardOutput "NUL" `
          -RedirectStandardError C:\write-ssh-keys.err
      Log-Output "Started background process to write SSH keys"
      Log-Output "$(${write_keys_process} | Out-String)"
    }
    
    # Export all public functions:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 05:09:18 UTC 2021
    - 11.6K bytes
    - Viewed (0)
  4. operator/pkg/controlplane/control_plane.go

    		}
    	}
    	return out, nil
    }
    
    func orderedKeys(m map[string]*v1alpha1.ExternalComponentSpec) []string {
    	var keys []string
    	for k := range m {
    		keys = append(keys, k)
    	}
    	sort.Strings(keys)
    	return keys
    }
    
    func defaultIfEmpty(val, dflt string) string {
    	if val == "" {
    		return dflt
    	}
    	return val
    }
    
    // Run starts the Istio control plane.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 23 02:26:59 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. pkg/config/labels/instance.go

    	return nil
    }
    
    func (i Instance) String() string {
    	// Ensure stable ordering
    	keys := slices.Sort(maps.Keys(i))
    
    	var buffer strings.Builder
    	// Assume each kv pair is roughly 25 characters. We could be under or over, this is just a guess to optimize
    	buffer.Grow(len(keys) * 25)
    	first := true
    	for _, k := range keys {
    		v := i[k]
    		if !first {
    			buffer.WriteString(",")
    		} else {
    			first = false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. pilot/pkg/credentials/kube/secrets_test.go

    			namespace:       "default",
    			expectedError:   `found keys "tls.crt" and "tls.key", but they were empty`,
    			expectedCAError: "found secret, but didn't have expected keys cacert or ca.crt; found: tls.crt, tls.key",
    		},
    		{
    			name:            "wrong-keys",
    			namespace:       "default",
    			expectedError:   `found secret, but didn't have expected keys (cert and key) or (tls.crt and tls.key); found: foo-bar, tls.key`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeBasedTable.java

    import java.util.TreeMap;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
     * ordering or by supplied comparators. When constructing a {@code TreeBasedTable}, you may provide
     * comparators for the row keys and the column keys, or you may use natural ordering for both.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go

    				allErrs = append(allErrs, validateKeys(provider.AESGCM.Keys, path.Child("aesgcm").Child("keys"), aesKeySizes)...)
    			case provider.AESCBC != nil:
    				allErrs = append(allErrs, validateKeys(provider.AESCBC.Keys, path.Child("aescbc").Child("keys"), aesKeySizes)...)
    			case provider.Secretbox != nil:
    				allErrs = append(allErrs, validateKeys(provider.Secretbox.Keys, path.Child("secretbox").Child("keys"), secretBoxKeySizes)...)
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. pkg/kube/krt/fetch.go

    	// This pre-filtering upfront avoids extra work
    	var list []T
    	if !d.filter.keys.IsNil() {
    		// If they fetch a set of keys, directly Get these. Usually this is a single resource.
    		list = make([]T, 0, d.filter.keys.Len())
    		for _, k := range d.filter.keys.List() {
    			if i := c.GetKey(Key[T](k)); i != nil {
    				list = append(list, *i)
    			}
    		}
    	} else if d.filter.listFromIndex != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

                    return true;
                } else {
                    return obj != null && this.getClass().equals(obj.getClass()) && this.keys.equals(((Key) obj).keys);
                }
            }
    
            public int hashCode() {
                return this.keys.hashCode();
            }
        }
    
        /**
         * chains a collection of {@link WorkspaceReader}s
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top