- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for wantSum (0.15 sec)
-
src/cmd/compile/internal/test/testdata/arith_test.go
// testArithRshConst ensures that "const >> const" right shifts correctly perform // sign extension on the lhs constant func testArithRshConst(t *testing.T) { wantu := uint64(0x4000000000000000) if got := arithRshuConst_ssa(); got != wantu { t.Errorf("arithRshuConst failed, wanted %d got %d", wantu, got) } wants := int64(-0x4000000000000000) if got := arithRshConst_ssa(); got != wants {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:30:59 UTC 2023 - 43.5K bytes - Viewed (0) -
src/go/types/api_test.go
if sel.Indirect() { direct = "->" } got := [2]string{ sel.String(), fmt.Sprintf("%s%v", direct, sel.Index()), } want := wantOut[syntax] if want != got { t.Errorf("%s: got %q; want %q", syntax, got, want) } delete(wantOut, syntax) // We must explicitly assert properties of the // Signature's receiver since it doesn't participate // in Identical() or String().
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
if sel.Indirect() { direct = "->" } got := [2]string{ sel.String(), fmt.Sprintf("%s%v", direct, sel.Index()), } want := wantOut[segment] if want != got { t.Errorf("%s: got %q; want %q", segment, got, want) } delete(wantOut, segment) // We must explicitly assert properties of the // Signature's receiver since it doesn't participate // in Identical() or String().
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/net/http/transport_test.go
res, err := cst.c.Get(cst.ts.URL) if res != nil { defer res.Body.Close() } got := fmt.Sprint(err) wantSub := "too many 1xx informational responses" if !strings.Contains(got, wantSub) { t.Errorf("Get error = %v; want substring %q", err, wantSub) } } // Issue 26161: the HTTP client must treat 101 responses // as the final response.
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/cmd/link/internal/ld/lib.go
seen := make(map[loader.Sym]struct{}) rval := make([]bool, len(want)) wantm := make(map[string]int) for k, w := range want { wantm[w] = k } count := 0 for _, s := range undefs { if _, ok := seen[s]; ok { continue } seen[s] = struct{}{} if k, ok := wantm[ctxt.loader.SymName(s)]; ok { rval[k] = true count++ if count == len(want) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)