- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of about 10,000 for String2 (0.29 sec)
-
pkg/kube/inject/template.go
} return proto.Message(pc) } func toJSONMap(mps ...map[string]string) string { data, err := json.Marshal(mergeMaps(mps...)) if err != nil { return "" } return string(data) } func omit(dict map[string]string, keys ...string) map[string]string { res := map[string]string{} omit := make(map[string]bool, len(keys)) for _, k := range keys { omit[k] = true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 02:12:03 UTC 2023 - 9.9K bytes - Viewed (0) -
src/path/filepath/path_unix.go
} func abs(path string) (string, error) { return unixAbs(path) } func join(elem []string) string { // If there's a bug here, fix the logic in ./path_plan9.go too. for i, e := range elem { if e != "" { return Clean(strings.Join(elem[i:], string(Separator))) } } return "" } func sameWord(a, b string) bool { return a == b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 970 bytes - Viewed (0) -
pkg/fieldpath/fieldpath.go
*/ package fieldpath import ( "fmt" "sort" "strconv" "strings" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/util/validation" ) // FormatMap formats map[string]string to a string. func FormatMap(m map[string]string) (fmtStr string) { // output with keys in sorted order to provide stable output keys := make([]string, 0, len(m)) var grow int for k, v := range m { keys = append(keys, k)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 06:26:55 UTC 2023 - 3.7K bytes - Viewed (0) -
operator/pkg/util/path.go
// Path is a path in slice form. type Path []string // PathFromString converts a string path of form a.b.c to a string slice representation. func PathFromString(path string) Path { path = filepath.Clean(path) path = strings.TrimPrefix(path, PathSeparator) path = strings.TrimSuffix(path, PathSeparator) pv := splitEscaped(path, pathSeparatorRune) var r []string for _, str := range pv { if str != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/go/internal/imports/scan.go
} } if info.Mode().IsRegular() && !strings.HasPrefix(name, "_") && !strings.HasPrefix(name, ".") && strings.HasSuffix(name, ".go") && MatchFile(name, tags) { files = append(files, filepath.Join(dir, name)) } } return scanFiles(files, tags, false) } func ScanFiles(files []string, tags map[string]bool) ([]string, []string, error) { return scanFiles(files, tags, true) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 23 19:36:38 UTC 2020 - 2.6K bytes - Viewed (0) -
src/path/filepath/path_plan9.go
} func abs(path string) (string, error) { return unixAbs(path) } func join(elem []string) string { // If there's a bug here, fix the logic in ./path_unix.go too. for i, e := range elem { if e != "" { return Clean(strings.Join(elem[i:], string(Separator))) } } return "" } func sameWord(a, b string) bool { return a == b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 926 bytes - Viewed (0) -
cmd/postpolicyform.go
checkHeader := map[string][]string{} ignoreKeys := map[string]bool{} for key, value := range formValues { switch { case ignoreKeys[key], postPolicyIgnoreKeys[key], strings.HasPrefix(key, encrypt.SseGenericHeader): continue case strings.HasPrefix(key, "X-Amz-Ignore-"): ignoreKey := strings.Replace(key, "X-Amz-Ignore-", "", 1) ignoreKeys[ignoreKey] = true
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 10:52:41 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java
String string = null; if (idx >= strings.length) { String[] grow = new String[strings.length * 3 / 2]; System.arraycopy(strings, 0, grow, 0, strings.length); strings = grow; } else { string = strings[idx]; } if (string == null) { string = input.readString(); strings[idx] = string;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/funcprop_string.go
prefix, "ResultFlags") return sb.String() } func flagSliceToSB[T interface { ~uint32 String() string }](sb *strings.Builder, sl []T, prefix string, tag string) { var sb2 strings.Builder foundnz := false fmt.Fprintf(&sb2, "%s%s\n", prefix, tag) for i, e := range sl { if e != 0 { foundnz = true } fmt.Fprintf(&sb2, "%s %d %s\n", prefix, i, e.String()) } if foundnz {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 10 18:52:53 UTC 2023 - 977 bytes - Viewed (0) -
schema/utils.go
package schema import ( "context" "fmt" "reflect" "regexp" "strings" "gorm.io/gorm/clause" "gorm.io/gorm/utils" ) var embeddedCacheKey = "embedded_cache_store" func ParseTagSetting(str string, sep string) map[string]string { settings := map[string]string{} names := strings.Split(str, sep) for i := 0; i < len(names); i++ { j := i if len(names[j]) > 0 { for {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Aug 19 13:35:14 UTC 2023 - 5.5K bytes - Viewed (0)