- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 414 for wantNG (0.21 sec)
-
staging/src/k8s.io/apimachinery/pkg/version/helpers_test.go
} if gotVType != tt.wantVType { t.Errorf("parseKubeVersion() gotVType = %v, want %v", gotVType, tt.wantVType) } if gotMinorVersion != tt.wantMinorVersion { t.Errorf("parseKubeVersion() gotMinorVersion = %v, want %v", gotMinorVersion, tt.wantMinorVersion) } if gotOk != tt.wantOk { t.Errorf("parseKubeVersion() gotOk = %v, want %v", gotOk, tt.wantOk) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 19 02:46:55 UTC 2022 - 3.3K bytes - Viewed (0) -
test/typeparam/issue49027.dir/main.go
if x != s { panic(fmt.Sprintf("got %s wanted %s", x, s)) } y, ok := a.Conv2(s) if !ok { panic("conversion failed") } if y != s { panic(fmt.Sprintf("got %s wanted %s", y, s)) } z := a.Conv3(s) if z != s { panic(fmt.Sprintf("got %s wanted %s", z, s)) } w := a.Conv4(a.Mystring(s)) if w != a.Mystring(s) { panic(fmt.Sprintf("got %s wanted %s", w, s)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 617 bytes - Viewed (0) -
test/fixedbugs/issue14725.go
} func main() { if x := f1(); x != 1 { panic(fmt.Sprintf("f1 returned %d, wanted 1", x)) } if x := f2(); x != 1 { panic(fmt.Sprintf("f2 returned %d, wanted 1", x)) } if x := f3(true); x != 1 { panic(fmt.Sprintf("f3(true) returned %d, wanted 1", x)) } if x := f3(false); x != 1 { panic(fmt.Sprintf("f3(false) returned %d, wanted 1", x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 856 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go
t.Fatal("got field not found for 'CustomObject.nested', wanted found") } if nestedFieldType.Type.GetMessageType() != "CustomObject.nested" { t.Errorf("got field type %v, wanted mock_template.nested", nestedFieldType.Type) } subnameFieldType, found := rt.FindFieldType("CustomObject.nested", "subname") if !found { t.Fatal("got field not found for 'CustomObject.nested.subname', wanted found") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/port_split_test.go
if e, a := item.scheme, scheme; e != a { t.Errorf("%q: Wanted %q, got %q", item.in, e, a) } if e, a := item.name, name; e != a { t.Errorf("%q: Wanted %q, got %q", item.in, e, a) } if e, a := item.port, port; e != a { t.Errorf("%q: Wanted %q, got %q", item.in, e, a) } if e, a := item.valid, valid; e != a { t.Errorf("%q: Wanted %t, got %t", item.in, e, a) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 14:09:48 UTC 2017 - 2.9K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/cel/types_test.go
t.Errorf("got %s, wanted key type of string", mp.KeyType.TypeName()) } if mp.ElemType.TypeName() != "int" { t.Errorf("got %s, wanted elem type of int", mp.ElemType.TypeName()) } expT, err := mp.ExprType() if err != nil { t.Errorf("fail to get cel type: %s", err) } if expT.GetMapType() == nil { t.Errorf("got %v, wanted CEL map type", expT) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 2.1K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm_arm64_test.go
v: 0xfe, shift: 1, wantHi: 0x0, wantLo: 0x7f, }, { v: 0x10fe, shift: 1, wantHi: 0x0, wantLo: 0x87f, }, { v: 0x2002, shift: 1, wantHi: 0x2000, wantLo: 0x1, }, { v: 0xfffffe, shift: 1, wantHi: 0xffe000, wantLo: 0xfff, }, { v: 0x1000ffe, shift: 1, wantHi: 0xfff000, wantLo: 0xfff,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:46:11 UTC 2023 - 7.8K bytes - Viewed (0) -
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)