Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 386 for Bad (0.02 sec)

  1. pilot/pkg/security/authz/builder/builder_test.go

    		},
    		{
    			name:       "custom-bad-multiple-providers",
    			meshConfig: meshConfigHTTP,
    			input:      "custom-bad-multiple-providers-in.yaml",
    			want:       []string{"custom-bad-out.yaml"},
    		},
    		{
    			name:       "custom-bad-invalid-config",
    			meshConfig: meshConfigInvalid,
    			input:      "custom-simple-http-in.yaml",
    			want:       []string{"custom-bad-out.yaml"},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

    constexpr char kUseXlaSpmdAttr[] = "use_spmd_for_xla_partitioning";
    
    constexpr char kBadStringArrayElementMsg[] =
        "bad '{0}' attribute at index {1}, not a string";
    constexpr char kBadArrayElementMsg[] =
        "bad '{0}' attribute at index {1} with value '{2}': failed to parse to {3}";
    constexpr char kBadArrayAttrLengthMsg[] =
        "bad '{0}' attribute, expected array attribute of size {1}, got size {2}";
    
    // Creates a missing attribute error message.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/cover/cfg_test.go

    	if !strings.Contains(errmsg, want) {
    		t.Errorf("'bad config file' test: wanted %s got %s", want, errmsg)
    	}
    
    	// Expect error on empty config file.
    	t.Logf("writing empty config")
    	writeFile(t, incfg, []byte("\n"))
    	_, _, errmsg = runPkgCover(t, instdira, tag, incfg, mode,
    		apkgfiles, errExpected)
    	if !strings.Contains(errmsg, want) {
    		t.Errorf("'bad config file' test: wanted %s got %s", want, errmsg)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/internal/trace/gc_test.go

    		if err != nil {
    			t.Fatalf("malformed test %s: bad trace file: %v", testPath, err)
    		}
    		var events []trace.Event
    		tr, err := trace.NewReader(r)
    		if err != nil {
    			t.Fatalf("malformed test %s: bad trace file: %v", testPath, err)
    		}
    		for {
    			ev, err := tr.ReadEvent()
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				t.Fatalf("malformed test %s: bad trace file: %v", testPath, err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/internal/trace/summary_test.go

    		(summary.StartTime != 0 && summary.EndTime != 0 && summary.StartTime > summary.EndTime) {
    		t.Errorf("bad summary creation/start/end times for G %d: creation=%d start=%d end=%d", summary.ID, summary.CreationTime, summary.StartTime, summary.EndTime)
    	}
    	if (summary.PC != 0 && summary.Name == "") || (summary.PC == 0 && summary.Name != "") {
    		t.Errorf("bad name and/or PC for G %d: pc=0x%x name=%q", summary.ID, summary.PC, summary.Name)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarderTest.groovy

            def event = Stub(PromptOutputEvent)
            _ * event.convert("bad") >> PromptOutputEvent.PromptResult.newPrompt("try again")
            _ * event.convert("ok") >> PromptOutputEvent.PromptResult.response(12)
    
            when:
            userInputReceiver.readAndForwardText(event)
            source << toPlatformLineSeparators("bad\nok\njkl\n")
    
            then:
            receiveUserResponse "12"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/crypto/tls/boring_test.go

    		if (clientErr == nil) == ok {
    			if ok {
    				t.Logf("%s: accept", desc)
    			} else {
    				t.Logf("%s: reject", desc)
    			}
    		} else {
    			if ok {
    				t.Errorf("%s: BAD reject (%v)", desc, clientErr)
    			} else {
    				t.Errorf("%s: BAD accept", desc)
    			}
    		}
    	}
    
    	// server verifying client cert
    	testClientCert := func(t *testing.T, desc string, pool *x509.CertPool, key interface{}, list [][]byte, ok bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. operator/pkg/translate/translate_common.go

    			componentName, err)
    	}
    	if !found || componentNodeI == nil {
    		return false, nil
    	}
    	componentNode, ok := componentNodeI.(*wrapperspb.BoolValue)
    	if !ok {
    		return false, fmt.Errorf("component %s enabled has bad type %T, expect *v1alpha1.BoolValueForPB", componentName, componentNodeI)
    	}
    	if componentNode == nil {
    		return false, nil
    	}
    	return componentNode.Value, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/crypto/rsa/pss_test.go

    	if err != nil {
    		t.Errorf("Error from emsaPSSEncode: %s\n", err)
    	}
    	if !bytes.Equal(encoded, expected) {
    		t.Errorf("Bad encoding. got %x, want %x", encoded, expected)
    	}
    
    	if err = EMSAPSSVerify(hashed, encoded, 1023, len(salt), sha1.New()); err != nil {
    		t.Errorf("Bad verification: %s", err)
    	}
    }
    
    // TestPSSGolden tests all the test vectors in pss-vect.txt from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. pkg/config/validation/validation_test.go

    			MaxAge:        &durationpb.Duration{Seconds: 2},
    		}, valid: true},
    		{name: "bad method", in: &networking.CorsPolicy{
    			AllowMethods:  []string{"GET", "PUTT"},
    			AllowHeaders:  []string{"header1", "header2"},
    			ExposeHeaders: []string{"header3"},
    			MaxAge:        &durationpb.Duration{Seconds: 2},
    		}, valid: false},
    		{name: "bad header", in: &networking.CorsPolicy{
    			AllowMethods:  []string{"GET", "POST"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top