- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for wantIdle (0.1 sec)
-
src/cmd/cgo/internal/teststdio/stdio_test.go
"fib.go", "hello.go", } { file := file wantFile := strings.Replace(file, ".go", ".out", 1) t.Run(file, func(t *testing.T) { cmd := exec.Command("go", "run", file) got, err := cmd.CombinedOutput() if err != nil { t.Fatalf("%v: %s\n%s", cmd, err, got) } got = bytes.ReplaceAll(got, []byte("\r\n"), []byte("\n")) want, err := os.ReadFile(wantFile) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 20:56:09 UTC 2023 - 1.8K bytes - Viewed (0) -
src/runtime/symtabinl_test.go
// this robust. continue } for ; uf.valid(); uf = u.next(uf) { file, line := u.fileLine(uf) const wantFile = "symtabinl_test.go" if !stringslite.HasSuffix(file, wantFile) { t.Errorf("tiuTest+%#x: want file ...%s, got %s", pc-pc1, wantFile, file) } sf := u.srcFunc(uf) name := sf.name() const namePrefix = "runtime." if stringslite.HasPrefix(name, namePrefix) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 3K bytes - Viewed (0) -
src/log/slog/record_test.go
got.File = got.File[i+1:] } if got.Function != test.wantFunction || got.File != test.wantFile || (got.Line > 0) != test.wantLinePositive { t.Errorf("depth %d: got (%q, %q, %d), want (%q, %q, %t)", test.depth, got.Function, got.File, got.Line, test.wantFunction, test.wantFile, test.wantLinePositive) } } } func TestAliasingAndClone(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 15:10:55 UTC 2023 - 4K bytes - Viewed (0) -
cmd/erasure-common.go
}, index) } dataArray := make([]ReadMultipleResp, 0, len(req.Files)) // Merge results. They should come in order from each. for _, wantFile := range req.Files { quorum := 0 toAdd := ReadMultipleResp{ Bucket: req.Bucket, Prefix: req.Prefix, File: wantFile, } for i := range resps { if disks[i] == nil { continue } select { case <-ctx.Done():
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/link/dwarf_test.go
t.Fatalf("did not find file:line for %#x (main.main)", addr) } else if err != nil { t.Fatal(err) } if !strings.HasSuffix(line.File.Name, wantFile) || line.Line != wantLine { t.Errorf("%#x is %s:%d, want %s:%d", addr, line.File.Name, line.Line, filepath.Join("...", wantFile), wantLine) } }) } } func TestDWARF(t *testing.T) { testDWARF(t, "", true) if !testing.Short() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 17:05:14 UTC 2023 - 6.9K bytes - Viewed (0)