- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,317 for wrong1 (0.32 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go
} if v.Value().(string) != "a a foo-string" { t.Errorf("%q: wrong result: %v", exp, v.Value()) } if evalCounter != 1 { t.Errorf("expected eval %d times but got %d", 1, evalCounter) } // unused due to boolean short-circuiting // if `variables.unused` is evaluated, the whole test will have a fatal error and exit. exp = "variables.dict.a == 'wrong' && variables.unused == 'unused'" v, err = compileAndRun(env, activation, exp)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/api/admission/v1beta1/generated.pb.go
} if fieldNum <= 0 { return fmt.Errorf("proto: AdmissionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenerated } if iNdEx >= l {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 46.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.pb.go
} if fieldNum <= 0 { return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenerated } if iNdEx >= l {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 81.4K bytes - Viewed (0) -
src/sync/atomic/value_test.go
if xx, ok := x.(int); !ok || xx != 42 { t.Fatalf("wrong value: got %+v, want 42", x) } v.Store(84) x = v.Load() if xx, ok := x.(int); !ok || xx != 84 { t.Fatalf("wrong value: got %+v, want 84", x) } } func TestValueLarge(t *testing.T) { var v Value v.Store("foo") x := v.Load() if xx, ok := x.(string); !ok || xx != "foo" { t.Fatalf("wrong value: got %+v, want foo", x) } v.Store("barbaz")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1beta1/generated.pb.go
if fieldNum <= 0 { return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenerated } if iNdEx >= l {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 169.2K bytes - Viewed (0) -
pkg/volume/flexvolume/common_test.go
executable = "c:\\plugin\\test" } if cmd != executable { t.Errorf("Wrong executable called: got %v, expected %v", cmd, "/plugin/test") } if args[0] != expectedCommand { t.Errorf("Wrong command called: got %v, expected %v", args[0], expectedCommand) } cmdArgs := args[1:] if !sameArgs(cmdArgs, expectedArgs) { t.Errorf("Wrong args for %s: got %v, expected %v", args[0], cmdArgs, expectedArgs) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1/generated.pb.go
} if fieldNum <= 0 { return fmt.Errorf("proto: ExtraValue: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenerated } if iNdEx >= l {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 100.9K bytes - Viewed (0) -
test/recover.go
if v != 5 { println("wrong value", v, 5) die() } s := try(func() {}, "hi").(string) if s != "hi" { println("wrong value", s, "hi") die() } v = try1(func() { panic(5) }, 55).(int) if v != 5 { println("try1 wrong value", v, 5) die() } s = try1(func() {}, "hi").(string) if s != "hi" { println("try1 wrong value", s, "hi") die() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 10.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
test/typeparam/orderedmapsimp.dir/main.go
panic(fmt.Sprintf("did not find %q", []byte("a"))) } else if v != 'a' { panic(fmt.Sprintf("key %q returned wrong value %c, expected %c", []byte("a"), v, 'a')) } if v, found := m.Find([]byte("c")); !found { panic(fmt.Sprintf("did not find %q", []byte("c"))) } else if v != 'x' { panic(fmt.Sprintf("key %q returned wrong value %c, expected %c", []byte("c"), v, 'x')) } if _, found := m.Find([]byte("d")); found {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 1.5K bytes - Viewed (0)