- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 5,348 for wabt (0.1 sec)
-
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/cmd/compile/internal/amd64/versions_test.go
{0b00000000, 64}, } { if got := bits.TrailingZeros64(tt.x); got != tt.want { t.Errorf("TrailingZeros64(%#x) = %d, want %d", tt.x, got, tt.want) } want := tt.want if want == 64 { want = 32 } if got := bits.TrailingZeros32(uint32(tt.x)); got != want { t.Errorf("TrailingZeros64(%#x) = %d, want %d", tt.x, got, want) } } } func TestRound(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:19:15 UTC 2022 - 10.9K bytes - Viewed (0) -
src/os/timeout_test.go
if t1.Before(deadline) { t.Errorf("Read took %s; expected at least %s", actual, d) } if t.Failed() { return } if want := timeoutUpperBound(d); actual > want { next, ok := nextTimeout(actual) if !ok { t.Fatalf("Read took %s; expected at most %v", actual, want) } // Maybe this machine is too slow to reliably schedule goroutines within // the requested duration. Increase the timeout and try again.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 17.1K 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) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/decorated_watcher_test.go
} if pod.Annotations["decorated"] != "true" { t.Fatalf("pod.Annotations[\"decorated\"], want=%s, get=%s", "true", pod.Labels["decorated"]) } if e.Type != watchType { t.Fatalf("expected type %s, got %s", watchType, e.Type) } case <-time.After(wait.ForeverTestTimeout): t.Fatalf("timeout after %v", wait.ForeverTestTimeout) } } func expectErrorEvent(t *testing.T, dw *decoratedWatcher) { select {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 02 19:25:31 UTC 2021 - 3.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/runtime/debuglog_test.go
if want := "[] true false -42 32767 18446744073709551615 0xfff 0x0 aaaa const string\n"; got != want { t.Fatalf("want %q, got %q", want, got) } } func TestDebugLogSym(t *testing.T) { skipDebugLog(t) runtime.ResetDebugLog() pc, _, _, _ := runtime.Caller(0) runtime.Dlog().PC(pc).End() got := dlogCanonicalize(runtime.DumpDebugLog())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 16:59:26 UTC 2022 - 4.9K 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) -
src/os/exec/exec_windows_test.go
t.Error(err) } w.Close() response, err := io.ReadAll(r) if err != nil { t.Error(err) } r.Close() if string(response) != marker { t.Errorf("got %q; want %q", string(response), marker) } err = childProc.Wait() if err != nil { t.Error(err) } } func TestNoInheritHandles(t *testing.T) { t.Parallel() cmd := testenv.Command(t, "cmd", "/c exit 88")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 21 23:07:55 UTC 2023 - 2.4K bytes - Viewed (0)