- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 170 for GOT (0.04 sec)
-
src/math/big/float_test.go
} { x := makeFloat(test.x) if got := x.Signbit(); got != test.signbit { t.Errorf("(%s).Signbit() = %v; want %v", test.x, got, test.signbit) } if got := x.Sign(); got != test.sign { t.Errorf("(%s).Sign() = %d; want %d", test.x, got, test.sign) } if got := x.IsInf(); got != test.inf { t.Errorf("(%s).IsInf() = %v; want %v", test.x, got, test.inf) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
tests/query_test.go
t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Age": if _, ok := first[dbName].(uint); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Birthday": if _, ok := first[dbName].(*time.Time); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/zero_test.go
zero8u1_ssa(&a) want := Z8u1{false, [8]byte{0, 0, 0, 0, 0, 0, 0, 0}} if a != want { t.Errorf("zero8u2 got=%v, want %v\n", a, want) } b := Z8u2{15, [8]byte{255, 255, 255, 255, 255, 255, 255, 255}} zero8u2_ssa(&b) wantb := Z8u2{15, [8]byte{0, 0, 0, 0, 0, 0, 0, 0}} if b != wantb { t.Errorf("zero8u2 got=%v, want %v\n", b, wantb) } } type Z16u1 struct { b bool val [16]byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 49.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_tls_test.go
if got := ctx.CommonTlsContext.GetCombinedValidationContext().GetValidationContextSdsSecretConfig().GetName(); rootName != got { t.Fatalf("expected root name %v got %v", rootName, got) } if got := ctx.CommonTlsContext.GetAlpnProtocols(); got != nil { t.Fatalf("expected alpn list nil as not h2 or Istio_Mutual TLS Setting; got %v", got) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 03:53:05 UTC 2024 - 60.9K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
p := v1.Pod{Spec: *spec.DeepCopy()} corev1.SetDefaults_Pod(&p) if got := p.Spec.Containers[0].Ports[0].HostPort; tc.expectPodDefault && got == 0 { t.Errorf("expected Pod HostPort to be defaulted, got %v", got) } if got := p.Spec.Containers[0].Ports[0].HostPort; !tc.expectPodDefault && got != 0 { t.Errorf("expected Pod HostPort to be 0, got %v", got) } // Test PodSpec defaulting. s := spec.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy_test.go
checkLinkHeaders := func(t *testing.T, expected, got []string) { t.Helper() if len(expected) != len(got) { t.Errorf("Expected %d link headers; got %d", len(expected), len(got)) } for i := range expected { if i >= len(got) { t.Errorf("Expected %q link header; got nothing", expected[i]) continue } if expected[i] != got[i] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 54.6K bytes - Viewed (0) -
src/net/netip/netip_test.go
} for i, tt := range tests { if got := tt.a.Overlaps(tt.b); got != tt.want { t.Errorf("%d. (%v).Overlaps(%v) = %v; want %v", i, tt.a, tt.b, got, tt.want) } // Overlaps is commutative if got := tt.b.Overlaps(tt.a); got != tt.want { t.Errorf("%d. (%v).Overlaps(%v) = %v; want %v", i, tt.b, tt.a, got, tt.want) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/bufio/bufio_test.go
} func TestReaderSize(t *testing.T) { if got, want := NewReader(nil).Size(), DefaultBufSize; got != want { t.Errorf("NewReader's Reader.Size = %d; want %d", got, want) } if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want { t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want) } } func TestWriterSize(t *testing.T) { if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:56:01 UTC 2023 - 51.5K bytes - Viewed (0) -
src/math/big/int_test.go
{0, 1, 2, 3, 4}, {4, 3, 2, 1, 0}, {4, 3, 2, 1, 0, 0, 0, 0}, } { var z Int z.neg = true got := z.SetBits(test) want := norm(test) if got.abs.cmp(want) != 0 { t.Errorf("SetBits(%v) = %v; want %v", test, got.abs, want) } if got.neg { t.Errorf("SetBits(%v): got negative result", test) } bits := nat(z.Bits()) if bits.cmp(want) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
for _, item := range table { got, err := ParseQuantity(item.input) if err != nil { t.Errorf("%v: unexpected error: %v", item.input, err) continue } if asDec { got.AsDec() } if e, a := item.expect, got; e.Cmp(a) != 0 { t.Errorf("%v: expected %v, got %v", item.input, e.String(), a.String()) } if e, a := item.expect.Format, got.Format; e != a {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0)