Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for wantSum (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top