- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 414 for wantNG (0.13 sec)
-
src/runtime/sigqueue.go
func signal_disable(s uint32) { if s >= uint32(len(sig.wanted)*32) { return } sigdisable(s) w := sig.wanted[s/32] w &^= 1 << (s & 31) atomic.Store(&sig.wanted[s/32], w) } // Must only be called from a single goroutine at a time. // //go:linkname signal_ignore os/signal.signal_ignore func signal_ignore(s uint32) { if s >= uint32(len(sig.wanted)*32) { return } sigignore(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.6K bytes - Viewed (0) -
src/net/http/cgi/child_test.go
if err != nil { t.Errorf("Write: unexpected %v", err) } if want := len(tt.body); n != want { t.Errorf("reported short Write: got %v want %v", n, want) } resp.writeCGIHeader(nil) resp.Flush() if got := resp.Header().Get("Content-Type"); got != tt.wantCT { t.Errorf("wrong content-type: got %q, want %q", got, tt.wantCT) } if !bytes.HasSuffix(buf.Bytes(), []byte(tt.body)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 14 15:42:03 UTC 2020 - 5.2K bytes - Viewed (0) -
cmd/metacache-entries_test.go
// Merge b into a a.merge(b, -1) //nolint:gocritic want := append(loadMetacacheSampleNames, loadMetacacheSampleNames...) sort.Strings(want) got := a.entries().names() if len(got) != len(want) { t.Errorf("unexpected count, want %v, got %v", len(want), len(got)) } for i, name := range got { if want[i] != name { t.Errorf("unexpected name, want %q, got %q", want[i], name) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 31.6K bytes - Viewed (0) -
src/runtime/defer_test.go
defer func() { if globint1 != 1 { t.Fatalf("globint1: wanted: 1, got %v", globint1) } if save1 != 5 { t.Fatalf("save1: wanted: 5, got %v", save1) } if globint2 != 1 { t.Fatalf("globint2: wanted: 1, got %v", globint2) } if save2 != 2 { t.Fatalf("save2: wanted: 2, got %v", save2) } if save3 != 4 { t.Fatalf("save3: wanted: 4, got %v", save3) } if globint3 != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:57:24 UTC 2023 - 11.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/float_test.go
} if got := cvt7(3.5); got != 3 { t.Errorf("cvt7 got %d, wanted 3", got) } if got := cvt8(3.5); got != 3 { t.Errorf("cvt8 got %d, wanted 3", got) } if got := cvt9(3.5); got != 3 { t.Errorf("cvt9 got %d, wanted 3", got) } if got := cvt10(3.5); got != 3 { t.Errorf("cvt10 got %d, wanted 3", got) } if got := cvt11(3.5); got != 3 { t.Errorf("cvt11 got %d, wanted 3", got)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 12.5K bytes - Viewed (0) -
src/net/http/cgi/integration_test.go
name string body string wantCT string }{ { name: "no body", wantCT: "text/plain; charset=utf-8", }, { name: "html", body: "<html><head><title>test page</title></head><body>This is a body</body></html>", wantCT: "text/html; charset=utf-8", }, { name: "text", body: strings.Repeat("gopher", 86), wantCT: "text/plain; charset=utf-8", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 18:42:44 UTC 2023 - 5.5K bytes - Viewed (0) -
test/fixedbugs/issue41872.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 08 20:35:54 UTC 2020 - 443 bytes - Viewed (0) -
test/typeparam/combine.go
if got, ok := gc(); ok { panic(fmt.Sprintf("got %v, %v, wanted -/false", got, ok)) } gc2 := Combine2(g1, g2) if got, ok := gc2(); ok { panic(fmt.Sprintf("got %v, %v, wanted -/false", got, ok)) } gc3 := Combine(g1, g3, _NewPair[int, string]) if got, ok := gc3(); !ok || got.A != 3 || got.B != "y" { panic(fmt.Sprintf("got %v, %v, wanted {3, y}, true", got, ok)) } gc4 := Combine2(g1, g3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/arithBoundary_test.go
t.Errorf("add_uint64 %d+%d = %d, wanted %d\n", v.a, v.b, got, v.add) } if got := sub_uint64_ssa(v.a, v.b); got != v.sub { t.Errorf("sub_uint64 %d-%d = %d, wanted %d\n", v.a, v.b, got, v.sub) } if v.b != 0 { if got := div_uint64_ssa(v.a, v.b); got != v.div { t.Errorf("div_uint64 %d/%d = %d, wanted %d\n", v.a, v.b, got, v.div) } } if v.b != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 31.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/continue_test.go
return } if gotFromKey != tt.wantFromKey { t.Errorf("decodeContinue() gotFromKey = %v, want %v", gotFromKey, tt.wantFromKey) } if gotRv != tt.wantRv { t.Errorf("decodeContinue() gotRv = %v, want %v", gotRv, tt.wantRv) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 31 17:30:02 UTC 2022 - 3.5K bytes - Viewed (0)