- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of about 10,000 for String4 (0.12 sec)
-
src/mime/multipart/formdata_test.go
// license that can be found in the LICENSE file. package multipart import ( "bytes" "fmt" "io" "math" "net/textproto" "os" "strings" "testing" ) func TestReadForm(t *testing.T) { b := strings.NewReader(strings.ReplaceAll(message, "\n", "\r\n")) r := NewReader(b, boundary) f, err := r.ReadForm(25) if err != nil { t.Fatal("ReadForm:", err) } defer f.RemoveAll()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 05 18:31:56 UTC 2024 - 14K bytes - Viewed (0) -
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/runtime/race/race_test.go
// comparison. func processLog(testName string, tsanLog []string) string { if !strings.HasPrefix(testName, "Race") && !strings.HasPrefix(testName, "NoRace") { return "" } gotRace := false for _, s := range tsanLog { if strings.Contains(s, "DATA RACE") { gotRace = true break } } failing := strings.Contains(testName, "Failing") expRace := !strings.HasPrefix(testName, "No")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 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) -
test/fixedbugs/issue29264.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 18 00:13:58 UTC 2018 - 882 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) -
test/fixedbugs/bug248.dir/bug3.go
// path is full (rooted) path name. check suffix for gc, prefix for gccgo if s := reflect.TypeOf(v0).PkgPath(); !strings.HasSuffix(s, "/bug0") && !strings.HasPrefix(s, "bug0") { println("bad v0 path", len(s), s) panic("fail") } if s := reflect.TypeOf(v1).PkgPath(); !strings.HasSuffix(s, "/bug1") && !strings.HasPrefix(s, "bug1") { println("bad v1 path", s) panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 26 15:20:42 UTC 2018 - 1.9K 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) -
src/cmd/go/testdata/mod/rsc.io_sampler_v1.2.0.txt
var tags []language.Tag for _, line := range strings.Split(s, "\n") { line = strings.TrimSpace(line) if line == "" { continue } f := strings.Split(line, ": ") if len(f) != 3 { continue } tag := language.Make(f[1]) tags = append(tags, tag) t.byTag[tag.String()] = f[2] } t.matcher = language.NewMatcher(tags) return t }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 12 20:46:50 UTC 2018 - 3.2K bytes - Viewed (0)