Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for wantReg (0.74 sec)

  1. src/cmd/internal/obj/riscv/obj.go

    func wantIntReg(ctxt *obj.Link, ins *instruction, pos string, r uint32) {
    	wantReg(ctxt, ins, pos, "integer", r, REG_X0, REG_X31)
    }
    
    // wantFloatReg checks that r is a floating-point register.
    func wantFloatReg(ctxt *obj.Link, ins *instruction, pos string, r uint32) {
    	wantReg(ctxt, ins, pos, "float", r, REG_F0, REG_F31)
    }
    
    // wantEvenOffset checks that the offset is a multiple of two.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. src/net/http/clientserver_test.go

    	}
    	res.Body.Close()
    
    	wantFoo := "bar"
    	wantLen := int64(-1)
    	if method == "OPTIONS" {
    		wantFoo = ""
    		wantLen = 0
    	}
    	if res.StatusCode != 200 {
    		t.Errorf("status code = %v; want %d", res.Status, 200)
    	}
    	if res.ContentLength != wantLen {
    		t.Errorf("content length = %v; want %d", res.ContentLength, wantLen)
    	}
    	if got := res.Header.Get("foo"); got != wantFoo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    func TestSplitEqual(t *testing.T) {
    	tests := []struct {
    		arg       string
    		wantKey   string
    		wantValue string
    	}{
    		{arg: "key=value", wantKey: "key", wantValue: "value"},
    		{arg: "key==value", wantKey: "key", wantValue: "=value"},
    		{arg: "key=", wantKey: "key", wantValue: ""},
    		{arg: "key", wantKey: "key", wantValue: ""},
    		{arg: "", wantKey: "", wantValue: ""},
    	}
    	for _, tt := range tests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. pkg/registry/core/persistentvolumeclaim/strategy_test.go

    		"any enabled with volume ds": {
    			dataSource: volumeDataSource,
    			anyEnabled: true,
    			want:       volumeDataSource,
    			wantRef:    volumeDataSourceRef,
    		},
    		"any enabled with snapshot ds": {
    			dataSource: snapshotDataSource,
    			anyEnabled: true,
    			want:       snapshotDataSource,
    			wantRef:    snapshotDataSourceRef,
    		},
    		"any enabled with generic ds": {
    			dataSource: genericDataSource,
    			anyEnabled: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. pkg/api/persistentvolumeclaim/util_test.go

    			want:    snapshotDataSource,
    			wantRef: snapshotDataSourceRef,
    		},
    		"generic ds": {
    			spec:    core.PersistentVolumeClaimSpec{DataSource: genericDataSource},
    			want:    genericDataSource,
    			wantRef: genericDataSourceRef,
    		},
    		"core ds": {
    			spec:    core.PersistentVolumeClaimSpec{DataSource: coreDataSource},
    			want:    coreDataSource,
    			wantRef: coreDataSourceRef,
    		},
    		"volume ds ref": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/iface_test.go

    	a += 2
    	if got := i.(int); got != 5 {
    		t.Errorf("wanted 5, got %d\n", got)
    	}
    }
    
    func TestEfaceConv2(t *testing.T) {
    	a := 5
    	sink = &a
    	i := interface{}(a)
    	a += 2
    	if got := i.(int); got != 5 {
    		t.Errorf("wanted 5, got %d\n", got)
    	}
    }
    
    func TestEfaceConv3(t *testing.T) {
    	x = 5
    	if got := e2int3(x); got != 5 {
    		t.Errorf("wanted 5, got %d\n", got)
    	}
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. pilot/pkg/xds/debug_test.go

    				}
    				if (ss.ClusterSent != "") != wantSent {
    					errorHandler("wanted ClusterSent set %v got %v for %v", wantSent, ss.ClusterSent, nodeID)
    				}
    				if (ss.ClusterAcked != "") != wantAcked {
    					errorHandler("wanted ClusterAcked set %v got %v for %v", wantAcked, ss.ClusterAcked, nodeID)
    				}
    				if (ss.ListenerSent != "") != wantSent {
    					errorHandler("wanted ListenerSent set %v got %v for %v", wantSent, ss.ListenerSent, nodeID)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. pkg/registry/core/persistentvolumeclaim/storage/storage_test.go

    			want:          true,
    			wantRef:       true,
    		},
    		"any enabled with empty ds": {
    			anyEnabled: true,
    		},
    		"any enabled with volume ds": {
    			anyEnabled: true,
    			dataSource: true,
    			want:       true,
    			wantRef:    true,
    		},
    		"any enabled with volume ds ref": {
    			anyEnabled:    true,
    			dataSourceRef: true,
    			want:          true,
    			wantRef:       true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. 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)
  10. src/iter/pull_test.go

    				}
    				wantNG(1)
    			}
    			wantNG(1)
    			if end < 3 {
    				stop()
    				wantNG(0)
    			}
    			for range 2 {
    				v, ok := next()
    				if v != 0 || ok != false {
    					t.Fatalf("next() = %d, %v, want %d, %v", v, ok, 0, false)
    				}
    				wantNG(0)
    			}
    			wantNG(0)
    
    			stop()
    			stop()
    			stop()
    			wantNG(0)
    		})
    	}
    }
    
    func TestPull2(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top