- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,445 for wabt (0.04 sec)
-
src/os/signal/signal_cgo_test.go
t.Fatalf("unable to find child process: %v", err) } // Wait for the third child to write a byte indicating that it is // entering the read. b = make([]byte, 1) _, err = pty.Read(b) if err != nil { t.Fatalf("error reading from child: %v", err) } // Give the program time to enter the read call. // It doesn't matter much if we occasionally don't wait long enough;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 10.7K bytes - Viewed (0) -
src/os/os_test.go
} if g, e := len(de), want; g != e { t.Errorf("ReadDir of %d got %d files, want %d", n, g, e) } } readdirnamesExpect := func(n, want int, wantErr error) { t.Helper() fi, err := d.Readdirnames(n) if err != wantErr { t.Fatalf("Readdirnames of %d got error %v, want %v", n, err, wantErr) } if g, e := len(fi), want; g != e {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/cmd/trace/testdata/testprog/main.go
wg.Add(2) go cpu10(&wg) go cpu20(&wg) wg.Wait() // checkHeapMetrics relies on this. allocHog(25 * time.Millisecond) // checkProcStartStop relies on this. var wg2 sync.WaitGroup for i := 0; i < runtime.GOMAXPROCS(0); i++ { wg2.Add(1) go func() { defer wg2.Done() cpuHog(50 * time.Millisecond) }() } wg2.Wait() // checkSyscalls relies on this. done := make(chan error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 2.5K bytes - Viewed (0) -
src/net/http/responsecontroller_test.go
t.Errorf("ctl.Hijack = nil, want error") } w.Header().Set(header, value) return } if err != nil { t.Errorf("ctl.Hijack = _, _, %v, want _, _, nil", err) return } fmt.Fprintf(c, "HTTP/1.0 200 OK\r\n%v: %v\r\nContent-Length: 0\r\n\r\n", header, value) })) res, err := cst.c.Get(cst.ts.URL) if err != nil { t.Fatal(err) } if got, want := res.Header.Get(header), value; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:20:31 UTC 2024 - 10.2K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
// routines to confirm that they see the // wanted value for KEEPCAPS. for k := 0; k < routines; k++ { question <- want } // At this point, we should have a large // number of locked OS threads all wanting to // reply. for k := 0; k < routines; k++ { if got := <-response; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
src/runtime/abi_test.go
type TintPointer struct { p *Tint } func (*TintPointer) m() {} func TestFinalizerRegisterABI(t *testing.T) { testenv.MustHaveExec(t) // Actually run the test in a subprocess because we don't want // finalizers from other tests interfering. if os.Getenv("TEST_FINALIZER_REGABI") != "1" { cmd := testenv.CleanCmdEnv(exec.Command(os.Args[0], "-test.run=^TestFinalizerRegisterABI$", "-test.v"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:25:52 UTC 2023 - 12.7K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver_test.go
} } // Verify mock openID discovery http://localhost:9999/.well-known/openid-configuration was called three times. if got, want := ms.OpenIDHitNum, uint64(3); got != want { t.Errorf("Mock OpenID discovery Hit number => expected %d but got %d", want, got) } } func TestGetPublicKey(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 19.2K bytes - Viewed (0) -
src/time/tick_test.go
package time_test import ( "fmt" "runtime" "sync" "testing" . "time" ) func TestTicker(t *testing.T) { t.Parallel() // We want to test that a ticker takes as much time as expected. // Since we don't want the test to run for too long, we don't // want to use lengthy times. This makes the test inherently flaky. // Start with a short time, but try again with a long one if the // first test fails.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_devirtualize_test.go
callee: m[2], } got[d] = struct{}{} } if err := cmd.Wait(); err != nil { t.Fatalf("error running go test: %v", err) } if err := scanner.Err(); err != nil { t.Fatalf("error reading go test output: %v", err) } if len(got) != len(want) { t.Errorf("mismatched devirtualization count; got %v want %v", got, want) } for _, w := range want { if _, ok := got[w]; ok { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 21:30:35 UTC 2024 - 8.5K bytes - Viewed (0)