- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 412 for wantReg (0.14 sec)
-
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) -
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) -
src/archive/tar/strconv_test.go
} } if v.ok && (key != v.wantKey || val != v.wantVal) { t.Errorf("parsePAXRecord(%q): got (%q: %q), want (%q: %q)", v.in, key, val, v.wantKey, v.wantVal) } if res != v.wantRes { t.Errorf("parsePAXRecord(%q): got residual %q, want residual %q", v.in, res, v.wantRes) } } } func TestFormatPAXRecord(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
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) -
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) -
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) -
src/cmd/compile/internal/test/testdata/cmp_test.go
} func testCmp(t *testing.T) { if wanted, got := true, eq_ssa(6); wanted != got { t.Errorf("eq_ssa: expected %v, got %v\n", wanted, got) } if wanted, got := false, eq_ssa(7); wanted != got { t.Errorf("eq_ssa: expected %v, got %v\n", wanted, got) } if wanted, got := false, neq_ssa(6); wanted != got { t.Errorf("neq_ssa: expected %v, got %v\n", wanted, got) } if wanted, got := true, neq_ssa(7); wanted != got {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 903 bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/short_test.go
panic("unreached") } func testAnd(t *testing.T, arg1, arg2, wantRes bool) { testShortCircuit(t, "AND", arg1, arg2, and_ssa, arg1, wantRes) } func testOr(t *testing.T, arg1, arg2, wantRes bool) { testShortCircuit(t, "OR", arg1, arg2, or_ssa, !arg1, wantRes) } func testShortCircuit(t *testing.T, opName string, arg1, arg2 bool, fn func(bool, bool) bool, wantRightCall, wantRes bool) { rightCalled = false got := fn(arg1, arg2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value_test.go
if contained != types.True { t.Errorf("got %v, wanted list contains elem[%v] %v == true", contained, i, e) } } if lv.Contains(types.String("fourth")) != types.False { t.Errorf("got %v, wanted false 'fourth'", lv.Contains(types.String("fourth"))) } if !types.IsError(lv.Contains(types.Int(-1))) { t.Errorf("got %v, wanted error for invalid type", lv.Contains(types.Int(-1))) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 10.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go
return numLabelUnits[key] } if wantKey == "" { return func(s *profile.Sample) bool { for key, vals := range s.NumLabel { if labelFilter(vals, numLabelUnit(key)) { return true } } return false }, nil } return func(s *profile.Sample) bool { if vals, ok := s.NumLabel[wantKey]; ok { return labelFilter(vals, numLabelUnit(wantKey)) } return false }, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 22 23:33:06 UTC 2020 - 6.4K bytes - Viewed (0)