- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of about 10,000 for stringy (0.13 sec)
-
pkg/config/analysis/analyzers/authz/authorizationpolicies.go
} if strings.HasSuffix(exp, "*") { return strings.HasPrefix(ns, strings.TrimSuffix(exp, "*")) } return strings.EqualFold(ns, exp) } // Build a map indexed by namespace with in-mesh Pod's labels func initPodLabelsMap(c analysis.Context) map[string][]klabels.Set { podLabelsMap := make(map[string][]klabels.Set) c.ForEach(gvk.Pod, func(r *resource.Instance) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 11 20:57:29 UTC 2023 - 6K bytes - Viewed (0) -
cmd/update-notifier.go
horizBarChar = "-" vertBarChar = "|" } lines := []string{ color.YellowBold(topLeftChar + strings.Repeat(horizBarChar, maxContentWidth) + topRightChar), color.YellowBold(vertBarChar) + line1InColor + strings.Repeat(" ", maxContentWidth-line1Length) + color.YellowBold(vertBarChar), color.YellowBold(vertBarChar) + line2InColor + strings.Repeat(" ", maxContentWidth-line2Length) + color.YellowBold(vertBarChar),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/distpack/pack.go
} // mode computes the mode for the given file name. func mode(name string, _ fs.FileMode) fs.FileMode { if strings.HasPrefix(name, "bin/") || strings.HasPrefix(name, "pkg/tool/") || strings.HasSuffix(name, ".bash") || strings.HasSuffix(name, ".sh") || strings.HasSuffix(name, ".pl") || strings.HasSuffix(name, ".rc") { return 0o755 } else if ok, _ := amatch("**/go_?*_?*_exec", name); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testing_test.go
` m := CommentMap(strings.NewReader(src), regexp.MustCompile("^ ERROR ")) found := 0 // number of errors found for line, errlist := range m { for _, err := range errlist { if err.Pos.Line() != line { t.Errorf("%v: got map line %d; want %d", err, err.Pos.Line(), line) continue } // err.Pos.Line() == line got := strings.TrimSpace(err.Msg[len(" ERROR "):])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:53:18 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/str/path.go
// file path on Windows. func QuoteGlob(s string) string { if !strings.ContainsAny(s, `*?[]`) { return s } var sb strings.Builder for _, c := range s { switch c { case '*', '?', '[', ']': sb.WriteByte('\\') } sb.WriteRune(c) } return sb.String()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 3.9K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
) type execTestCase struct { args []string revision string noIstiod bool // Typically use one of the three expectedOutput string // Expected constant output expectedString string // String output is expected to contain wantException bool } func TestInternalDebug(t *testing.T) { cases := []execTestCase{ { // case 0, no args args: []string{}, noIstiod: true,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 4.5K bytes - Viewed (0) -
src/runtime/debuglog_test.go
t.Fatalf("want %q, got (uncanonicalized) %q", want.String(), gotFull) } } func TestDebugLogWraparound(t *testing.T) { skipDebugLog(t) // Make sure we don't switch logs so it's easier to fill one up. runtime.LockOSThread() defer runtime.UnlockOSThread() runtime.ResetDebugLog() var longString = strings.Repeat("a", 128) var want strings.Builder
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 16:59:26 UTC 2022 - 4.9K bytes - Viewed (0) -
internal/handlers/proxy.go
// Forwarded headers (in that order). func GetSourceScheme(r *http.Request) string { var scheme string // Retrieve the scheme from X-Forwarded-Proto. if proto := r.Header.Get(xForwardedProto); proto != "" { scheme = strings.ToLower(proto) } else if proto = r.Header.Get(xForwardedScheme); proto != "" { scheme = strings.ToLower(proto) } else if proto := r.Header.Get(forwarded); proto != "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 5.1K bytes - Viewed (0) -
src/runtime/coro_test.go
}) } } func checkCoroTestProgOutput(t *testing.T, output string) { t.Helper() c := strings.SplitN(output, "\n", 2) if len(c) == 1 { t.Fatalf("expected at least one complete line in the output, got:\n%s", output) } expect, ok := strings.CutPrefix(c[0], "expect: ") if !ok { t.Fatalf("expected first line of output to start with \"expect: \", got: %q", c[0]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 21:36:37 UTC 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
} return strings.Join(withoutPort, ", ") } func unexpandDomains(domains []string) []string { unique := sets.New(domains...) shouldDelete := sets.New[string]() for _, h := range domains { stripFull := strings.TrimSuffix(h, ".svc.cluster.local") if unique.Contains(stripFull) && stripFull != h { shouldDelete.Insert(h) } stripPartial := strings.TrimSuffix(h, ".svc")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 7.2K bytes - Viewed (0)