Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,209 for casePC (0.13 sec)

  1. cni/pkg/install/install_test.go

    			go func(ctx context.Context) {
    				errChan <- in.sleepWatchInstall(ctx, sets.String{})
    			}(ctx)
    
    			select {
    			case <-readyChan:
    				assert.Equal(t, isReady.Load(), true)
    			case err := <-errChan:
    				if err == nil {
    					t.Fatal("invalid configuration detected")
    				}
    				t.Fatal(err)
    			case <-time.After(5 * time.Second):
    				t.Fatal("timed out waiting for isReady to be set to true")
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    			if keyLHS == keyRHS {
    				continue
    			}
    			cases = append(cases, testcase{
    				name:        fmt.Sprintf("compare_%s_%s", keyLHS, keyRHS),
    				expr:        fmt.Sprintf(`format.%s() == format.%s()`, keyLHS, keyRHS),
    				expectValue: types.False,
    			})
    		}
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    //===----------------------------------------------------------------------===//
    // CaseOp
    //===----------------------------------------------------------------------===//
    
    class FoldConstantCaseOp : public OpRewritePattern<TF::CaseOp> {
     public:
      explicit FoldConstantCaseOp(MLIRContext* context)
          : OpRewritePattern<TF::CaseOp>(context) {}
      LogicalResult matchAndRewrite(TF::CaseOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. src/cmp/cmp_test.go

    }
    
    func TestLess(t *testing.T) {
    	for _, test := range tests {
    		var b bool
    		switch test.x.(type) {
    		case int:
    			b = cmp.Less(test.x.(int), test.y.(int))
    		case string:
    			b = cmp.Less(test.x.(string), test.y.(string))
    		case float64:
    			b = cmp.Less(test.x.(float64), test.y.(float64))
    		case uintptr:
    			b = cmp.Less(test.x.(uintptr), test.y.(uintptr))
    		}
    		if b != (test.compare < 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. cmd/erasure-sets_test.go

    	"github.com/google/uuid"
    )
    
    var testUUID = uuid.MustParse("f5c58c61-7175-4018-ab5e-a94fe9c2de4e")
    
    func BenchmarkCrcHash(b *testing.B) {
    	cases := []struct {
    		key int
    	}{
    		{16},
    		{64},
    		{128},
    		{256},
    		{512},
    		{1024},
    	}
    	for _, testCase := range cases {
    		testCase := testCase
    		key := randString(testCase.key)
    		b.Run("", func(b *testing.B) {
    			b.SetBytes(1024)
    			b.ReportAllocs()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-diff_test.go

    			expectedString: "Profiles are identical",
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) {
    			output, fErr := runCommand(c.args)
    			verifyProfileDiffCommandCaseOutput(t, c, output, fErr)
    		})
    	}
    }
    
    func TestProfileDiffDirect(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    			// We won't be parsing with Cobra, but this is the command equivalent
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		// A valid case, volume creation is expected to succeed.
    		{
    			volName:     "success-vol",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		// Case where a file exists by the name of the volume to be created.
    		{
    			volName:     "vol-as-file",
    			expectedErr: errVolumeExists,
    		},
    		// TestXLStorage case - 3.
    		{
    			volName:     "existing-vol",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/abi.go

    	for i, p := range abiParams {
    		t := p.Type
    		switch t.Kind() {
    		case types.TINT32, types.TUINT32:
    			wfs[i].Type = obj.WasmI32
    		case types.TINT64, types.TUINT64:
    			wfs[i].Type = obj.WasmI64
    		case types.TFLOAT32:
    			wfs[i].Type = obj.WasmF32
    		case types.TFLOAT64:
    			wfs[i].Type = obj.WasmF64
    		case types.TUNSAFEPTR:
    			wfs[i].Type = obj.WasmPtr
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    /**
     * Generated tests for {@link Monitor}.
     *
     * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every
     * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class
     * is analyzed reflectively to determine appropriate test cases based on its signature. Additional
     * ad hoc test cases can be found in {@link SupplementalMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top