Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,204 for casePC (0.18 sec)

  1. pkg/kubelet/kubeletconfig/util/files/files_test.go

    			}
    		}
    
    		// short-circuit test case validation errors
    		if len(errs) > 0 {
    			return errs
    		}
    
    		// call ReplaceDir for each desired dir
    		for path, files := range dirs {
    			if err := ReplaceDir(fs, path, files); err != nil {
    				errs = append(errs, err)
    			}
    		}
    		return errs
    	}
    	cases := []test{
    		{
    			fn:      fn,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. test/switch5.go

    	}
    }
    
    func f2(s string) {
    	switch s {
    	case "":
    	case "": // ERROR "duplicate case (.. in switch)?"
    	case "abc":
    	case "abc": // ERROR "duplicate case (.abc. in switch)?"
    	}
    }
    
    func f3(e interface{}) {
    	switch e {
    	case 0:
    	case 0: // ERROR "duplicate case (0 in switch)?"
    	case int64(0):
    	case float32(10):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  5. src/math/log.go

    		L6    = 1.531383769920937332e-01   /* 3FC39A09 D078C69F */
    		L7    = 1.479819860511658591e-01   /* 3FC2F112 DF3E5244 */
    	)
    
    	// special cases
    	switch {
    	case IsNaN(x) || IsInf(x, 1):
    		return x
    	case x < 0:
    		return NaN()
    	case x == 0:
    		return Inf(-1)
    	}
    
    	// reduce
    	f1, ki := Frexp(x)
    	if f1 < Sqrt2/2 {
    		f1 *= 2
    		ki--
    	}
    	f := f1 - 1
    	k := float64(ki)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. 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)
  7. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            #### Ubiquity: provide concrete use cases
    
    
            Did you *actually* encounter the need for this feature in a real-world scenario, or is it
            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
            that actually comes up in the real world. We want to hear the real-world use case so the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/gen/constFoldGen.go

    	var ans uint64
    	switch op {
    	case "+":
    		ans = i + j
    	case "-":
    		ans = i - j
    	case "*":
    		ans = i * j
    	case "/":
    		if j != 0 {
    			ans = i / j
    		}
    	case "%":
    		if j != 0 {
    			ans = i % j
    		}
    	case "<<":
    		ans = i << j
    	case ">>":
    		ans = i >> j
    	}
    	switch t {
    	case "uint32":
    		ans = uint64(uint32(ans))
    	case "uint16":
    		ans = uint64(uint16(ans))
    	case "uint8":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  9. tools/bug-report/pkg/cluster/cluster_test.go

    			},
    			false,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			skip := shouldSkipPod(c.pod, c.config)
    			if skip != c.expected {
    				t.Errorf("shouldSkipPod() for test case name [%s] return= %v, want %v", c.name, skip, c.expected)
    			}
    		})
    	}
    }
    
    func TestShouldSkipDeployment(t *testing.T) {
    	cases := []struct {
    		name       string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 17:23:32 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. 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)
Back to top