- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 6,499 for string (0.24 sec)
-
cmd/signature-v2.go
func canonicalizedAmzHeadersV2(headers http.Header) string { var keys []string keyval := make(map[string]string, len(headers)) for key := range headers { lkey := strings.ToLower(key) if !strings.HasPrefix(lkey, "x-amz-") { continue } keys = append(keys, lkey) keyval[lkey] = strings.Join(headers[key], ",") } sort.Strings(keys) var canonicalHeaders []string for _, key := range keys {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.2K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
tests := []struct { name string arg []string want map[string]string }{ {name: "empty", arg: []string{""}, want: map[string]string{"": ""}}, {name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}}, {name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}}, {name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrudTestBase.java
// ================ abstract protected String getNamePrefix(); abstract protected String getApiPath(); abstract protected String getKeyProperty(); abstract protected String getListEndpointSuffix(); abstract protected String getItemEndpointSuffix(); abstract protected Map<String, Object> createTestParam(int id); abstract protected Map<String, Object> getUpdateMap(); // ================
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 8.8K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
} }) } } func TestSetTagErrors(t *testing.T) { tcs := []struct { name string tag string revision string webhooksBefore admitv1.MutatingWebhookConfigurationList namespaces corev1.NamespaceList outputMatches []string error string }{ { name: "TestErrorWhenRevisionWithNameCollision", tag: "revision",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind final int len = string.length();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Sep 17 20:24:24 GMT 2021 - 3.3K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
if err != nil { return nil, err } var podsName []string for _, pod := range podList.Items { if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) { podsName = append(podsName, pod.Name) } } return podsName, nil } func ValidPodsNameArgs(ctx cli.Context) func(_ *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K bytes - Viewed (0) -
cmd/iam-store.go
loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error loadUser(ctx context.Context, user string, userType IAMUserType, m map[string]UserIdentity) error loadUsers(ctx context.Context, userType IAMUserType, m map[string]UserIdentity) error
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Apr 27 10:04:10 GMT 2024 - 75.2K bytes - Viewed (2) -
utils/utils.go
// NestedRelationName nested relationships like `Manager__Company` func NestedRelationName(prefix, name string) string { return prefix + nestedRelationSplit + name } // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}` func SplitNestedRelationName(name string) []string { return strings.Split(name, nestedRelationSplit) } // JoinNestedRelationNames nested relationships like `Manager__Company`
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 22 06:43:02 GMT 2024 - 3.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
tokenWaitBackoff = 10 * time.Millisecond cases := []struct { testName string objs []runtime.Object name string secType SecretType secretName string // inject errors badStartingConfig bool outputWriterError error want string wantErrStr string k8sMinorVersion string }{ { testName: "fail to create remote secret token",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
internal/s3select/sql/utils.go
package sql import ( "fmt" "strings" ) // String functions // String - returns the JSONPath representation func (e *JSONPath) String() string { if len(e.pathString) == 0 { parts := make([]string, len(e.PathExpr)+1) parts[0] = e.BaseKey.String() for i, pe := range e.PathExpr { parts[i+1] = pe.String() } e.pathString = strings.Join(parts, "") } return e.pathString }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Nov 10 16:12:50 GMT 2021 - 3.6K bytes - Viewed (0)