- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,466 for wabt (0.11 sec)
-
src/runtime/profbuf_test.go
write(t, b, unsafe.Pointer(&myTags[2]), 99, []uint64{101, 102}, []uintptr{201, 202, 203, 204}) wait() wait = readBlock(t, b, nil, nil) b.Close() wait() wait = readBlock(t, b, nil, nil) wait() readEOF(t, b) }) t.Run("DataWraparound", func(t *testing.T) { b := NewProfBuf(2, 16, 1024) for i := 0; i < 10; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 20:04:56 UTC 2023 - 8.5K bytes - Viewed (0) -
src/runtime/metrics_test.go
} } if totalVirtual.got != totalVirtual.want { t.Errorf(`"/memory/classes/total:bytes" does not match sum of /memory/classes/**: got %d, want %d`, totalVirtual.got, totalVirtual.want) } if got, want := objects.allocs-objects.frees, objects.total; got != want { t.Errorf("mismatch between object alloc/free tallies and total: got %d, want %d", got, want) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/runtime_test.go
} } check(0) want := 1 for i := 1; i <= 100; i++ { x = append(x, 1) check(want) if i&(i-1) == 0 { want = 2 * i } } } var One = []int64{1} func TestAppendSliceGrowth(t *testing.T) { var x []int64 check := func(want int) { if cap(x) != want { t.Errorf("len=%d, cap=%d, want cap=%d", len(x), cap(x), want) } } check(0) want := 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 11.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/goroot_executable.txt
if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } want, err := filepath.EvalSymlinks(os.Args[1]) if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } if !strings.EqualFold(goroot, want) { fmt.Fprintf(os.Stderr, "go env GOROOT:\nhave %s\nwant %s\n", goroot, want) os.Exit(1) } fmt.Fprintf(os.Stderr, "go env GOROOT: %s\n", goroot)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.6K bytes - Viewed (0) -
src/internal/trace/trace_test.go
log := ev.Log() match = log.Task == wantEv.task && log.Category == wantEv.args[0] && log.Message == wantEv.args[1] } if match { want[i] = want[len(want)-1] want = want[:len(want)-1] break } } } if len(want) != 0 { for _, ev := range want { t.Errorf("no match for %s TaskID=%d Args=%#v", ev.kind, ev.task, ev.args) } } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/net/http/pprof/pprof_test.go
} if got, want := resp.Header.Get("Content-Type"), tc.contentType; got != want { t.Errorf("Content-Type: got %q; want %q", got, want) } if got, want := resp.Header.Get("Content-Disposition"), tc.contentDisposition; got != want { t.Errorf("Content-Disposition: got %q; want %q", got, want) } if resp.StatusCode == http.StatusOK { return } if got, want := resp.Header.Get("X-Go-Pprof"), "1"; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 9.7K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
if err != nil { t.Fatal("LookupTXT failed:", err) } if want := 2; len(txt) != want { t.Fatalf("len(txt), got %d, want %d", len(txt), want) } if want := "string1 string2"; txt[0] != want { t.Errorf("txt[0], got %q, want %q", txt[0], want) } if want := "onestring"; txt[1] != want { t.Errorf("txt[1], got %q, want %q", txt[1], want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
src/syscall/exec_windows_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 3.1K bytes - Viewed (0) -
src/testing/testing_test.go
want := 0 if race.Enabled { want = 1 } if c != want { t.Errorf("got %d race reports; want %d", c, want) } } func TestBenchmarkRace(t *testing.T) { out := runTest(t, "BenchmarkRacy") c := bytes.Count(out, []byte("race detected during execution of test")) want := 0 // We should see one race detector report. if race.Enabled {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 19.3K bytes - Viewed (0) -
src/net/http/transport_test.go
res.Body.Close() t.Errorf("unexpected success") } r := <-reqc if got, want := r.Header.Get("User-Agent"), "foo"; got != want { t.Errorf("CONNECT request User-Agent = %q; want %q", got, want) } if got, want := r.Header.Get("Other"), "bar"; got != want { t.Errorf("CONNECT request Other = %q; want %q", got, want) } } func TestTransportProxyGetConnectHeader(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)