- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 9,288 for String4 (0.12 sec)
-
src/path/filepath/match_test.go
t.Fatal(err) } } tests := []globTest{ {"a", []string{"a"}}, {"b", []string{"b"}}, {"c", []string{}}, {"*", []string{"a", "b", "dir"}}, {"d*", []string{"dir"}}, {"*i*", []string{"dir"}}, {"*r", []string{"dir"}}, {"?ir", []string{"dir"}}, {"?r", []string{}}, {"d*/*/bin/git.exe", []string{"dir/d/bin/git.exe"}}, } // test absolute paths
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:11:47 UTC 2024 - 28.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/plugin_test.go
return m.Run() } func goCmd(t *testing.T, op string, args ...string) string { if t != nil { t.Helper() } var flags []string if op != "tool" { flags = []string{"-gcflags", gcflags} } return run(t, filepath.Join(goroot, "bin", "go"), append(append([]string{op}, flags...), args...)...) } // escape converts a string to something suitable for a shell command line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 12.3K bytes - Viewed (0) -
internal/logger/message/audit/entry.go
entry.ReqHost = r.Host entry.ReqPath = r.URL.Path q := r.URL.Query() reqQuery := make(map[string]string, len(q)) for k, v := range q { reqQuery[k] = strings.Join(v, ",") } entry.ReqQuery = reqQuery reqHeader := make(map[string]string, len(r.Header)) for k, v := range r.Header { reqHeader[k] = strings.Join(v, ",") } entry.ReqHeader = reqHeader wh := w.Header()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 13:20:59 UTC 2024 - 3.3K bytes - Viewed (0) -
logger/sql.go
default: return false } } // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string { var ( convertParams func(interface{}, int) vars = make([]string, len(avars)) ) convertParams = func(v interface{}, idx int) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
src/net/http/httptest/httptest.go
// Package httptest provides utilities for HTTP testing. package httptest import ( "bufio" "bytes" "context" "crypto/tls" "io" "net/http" "strings" ) // NewRequest wraps NewRequestWithContext using context.Background. func NewRequest(method, target string, body io.Reader) *http.Request { return NewRequestWithContext(context.Background(), method, target, body) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 18:09:14 UTC 2024 - 2.6K bytes - Viewed (0) -
pilot/pkg/security/authz/model/util.go
} return uint32(p), nil } func extractNameInBrackets(s string) (string, error) { if !strings.HasPrefix(s, "[") || !strings.HasSuffix(s, "]") { return "", fmt.Errorf("expecting format [<NAME>], but found %s", s) } return strings.TrimPrefix(strings.TrimSuffix(s, "]"), "["), nil } func extractNameInNestedBrackets(s string) ([]string, error) { var claims []string findEndBracket := func(begin int) int {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 3.4K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
if s.IsPcdata() { return 'P' } if strings.HasPrefix(name, "gcargs.") || strings.HasPrefix(name, "gclocals.") || strings.HasPrefix(name, "gclocals·") || strings.HasSuffix(name, ".opendefer") || strings.HasSuffix(name, ".arginfo0") || strings.HasSuffix(name, ".arginfo1") || strings.HasSuffix(name, ".argliveinfo") || strings.HasSuffix(name, ".wrapinfo") || strings.HasSuffix(name, ".args_stackmap") ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/cmd/go/main.go
if used >= len(os.Args) { return } var dir string switch a := os.Args[used]; { default: return case a == "-C", a == "--C": if used+1 >= len(os.Args) { return } dir = os.Args[used+1] os.Args = slices.Delete(os.Args, used, used+2) case strings.HasPrefix(a, "-C="), strings.HasPrefix(a, "--C="): _, dir, _ = strings.Cut(a, "=") os.Args = slices.Delete(os.Args, used, used+1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0)