Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,348 for wabt (0.08 sec)

  1. src/cmd/go/internal/script/engine.go

    		// This error was surfaced from a background process by a call to Wait.
    		// Add a call frame for Wait itself, but ignore its "want" field.
    		// (Wait itself cannot fail to wait on commands or else it would leak
    		// processes and/or goroutines — so a negative assertion for it would be at
    		// best ambiguous.)
    		return cmdError(cmd, err)
    	}
    
    	if cmd.want == success {
    		return cmdError(cmd, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  2. src/net/sendfile_test.go

    	c, err := Dial("tcp", ln.Addr().String())
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer c.Close()
    
    	buf := new(bytes.Buffer)
    	buf.ReadFrom(c)
    
    	if want, have := "Produced ", buf.String(); have != want {
    		t.Errorf("unexpected server reply %q, want %q", have, want)
    	}
    
    	for err := range errc {
    		t.Error(err)
    	}
    }
    
    func TestSendfileSeeked(t *testing.T) {
    	ln := newLocalListener(t, "tcp")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/os/signal/signal_test.go

    	c, stop := NotifyContext(parent, syscall.SIGINT)
    	defer stop()
    
    	if want, got := "signal.NotifyContext(context.Background.WithCancel, [interrupt])", fmt.Sprint(c); want != got {
    		t.Errorf("c.String() = %q, want %q", got, want)
    	}
    
    	cancelParent()
    	<-c.Done()
    	if got := c.Err(); got != context.Canceled {
    		t.Errorf("c.Err() = %q, want %q", got, context.Canceled)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audiences_test.go

    			auds:     Audiences{"foo", "bar"},
    			tauds:    Audiences{"foo", "wat"},
    			expected: Audiences{"foo"},
    		},
    		{
    			auds:     Audiences{"foo", "bar"},
    			tauds:    Audiences{"pls", "wat"},
    			expected: Audiences{},
    		},
    	}
    	for _, c := range cs {
    		t.Run("auds", func(t *testing.T) {
    			if got, want := c.auds.Intersect(c.tauds), c.expected; !reflect.DeepEqual(got, want) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 31 21:50:11 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/wait/error_test.go

    	tests := []struct {
    		name string
    		err  error
    		want bool
    	}{
    		{
    			err:  ErrWaitTimeout,
    			want: true,
    		},
    		{
    			err:  context.Canceled,
    			want: true,
    		}, {
    			err:  context.DeadlineExceeded,
    			want: true,
    		},
    		{
    			err:  errWrapper{ErrWaitTimeout},
    			want: true,
    		},
    		{
    			err:  errWrapper{context.Canceled},
    			want: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/sync/atomic/value_test.go

    			atomic.AddUint64(&count, c)
    			g.Done()
    		}()
    	}
    	g.Wait()
    	if want, got := (m*n-1)*(m*n)/2, count+v.Load().(uint64); got != want {
    		t.Errorf("sum from 0 to %d was %d, want %v", m*n-1, got, want)
    	}
    }
    
    var heapA, heapB = struct{ uint }{0}, struct{ uint }{0}
    
    var Value_CompareAndSwapTests = []struct {
    	init any
    	new  any
    	old  any
    	want bool
    	err  any
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  7. src/runtime/proc_test.go

    	}
    	output := runTestProg(t, "testprog", "AsyncPreempt")
    	want := "OK\n"
    	if output != want {
    		t.Fatalf("want %s, got %s\n", want, output)
    	}
    }
    
    func TestGCFairness(t *testing.T) {
    	output := runTestProg(t, "testprog", "GCFairness")
    	want := "OK\n"
    	if output != want {
    		t.Fatalf("want %s, got %s\n", want, output)
    	}
    }
    
    func TestGCFairness2(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/script/mod_concurrent.txt

    env GO111MODULE=on
    
    # Concurrent builds should succeed, even if they need to download modules.
    go get ./x ./y
    go build ./x &
    go build ./y
    wait
    
    # Concurrent builds should update go.sum to the union of the hashes for the
    # modules they read.
    cmp go.sum go.sum.want
    
    -- go.mod --
    module golang.org/issue/26794
    
    require (
    	golang.org/x/text v0.3.0
    	rsc.io/sampler v1.0.0
    )
    -- x/x.go --
    package x
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 800 bytes
    - Viewed (0)
  10. 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)
Back to top