Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for case1 (0.1 sec)

  1. cmd/erasure-healing_test.go

    		expectedDangling bool
    	}{
    		{
    			name: "FileInfoExists-case1",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    				fi,
    			},
    			errs: []error{
    				errFileNotFound,
    				errDiskNotFound,
    				nil,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    		{
    			name: "FileInfoExists-case2",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		existingPods         []*v1.Pod
    		expectedPriorities   framework.NodeScoreList
    		nodeResourcesFitArgs config.NodeResourcesFitArgs
    		runPreScore          bool
    	}{
    		{
    			name: "test case for ScoringStrategy RequestedToCapacityRatio case1",
    			requestedPod: st.MakePod().
    				Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "5000"}).
    				Obj(),
    			nodes: []*v1.Node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K 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. tests/integration/security/authz_test.go

    								cases = append(cases,
    									testCase{
    										path:  fmt.Sprintf("/policy-%s-all", ns.Prefix()),
    										allow: ns.Name() == to.Config().Namespace.Name(),
    									})
    							}
    
    							// Make sure the workload-specific paths succeeds.
    							cases = append(cases,
    								testCase{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    #endif  // GTEST_HAS_PARAM_TEST
    
      // Gets the number of successful test cases.
      int successful_test_case_count() const;
    
      // Gets the number of failed test cases.
      int failed_test_case_count() const;
    
      // Gets the number of all test cases.
      int total_test_case_count() const;
    
      // Gets the number of all test cases that contain at least one test
      // that should run.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  6. src/go/printer/nodes.go

    	case *ast.FuncType:
    		p.print(token.FUNC)
    		p.signature(x)
    
    	case *ast.InterfaceType:
    		p.print(token.INTERFACE)
    		p.fieldList(x.Methods, false, x.Incomplete)
    
    	case *ast.MapType:
    		p.print(token.MAP, token.LBRACK)
    		p.expr(x.Key)
    		p.print(token.RBRACK)
    		p.expr(x.Value)
    
    	case *ast.ChanType:
    		switch x.Dir {
    		case ast.SEND | ast.RECV:
    			p.print(token.CHAN)
    		case ast.RECV:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    				}
    			}
    			// Since there are cases for which ListObjects fails, this is
    			// necessary. Test passes as expected, but the output values
    			// are verified for correctness here.
    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/prove.go

    		}
    
    		switch nxt.Op {
    		case OpAdd8:
    			nxt.Op = OpSub8
    		case OpAdd16:
    			nxt.Op = OpSub16
    		case OpAdd32:
    			nxt.Op = OpSub32
    		case OpAdd64:
    			nxt.Op = OpSub64
    		case OpSub8:
    			nxt.Op = OpAdd8
    		case OpSub16:
    			nxt.Op = OpAdd16
    		case OpSub32:
    			nxt.Op = OpAdd32
    		case OpSub64:
    			nxt.Op = OpAdd64
    		default:
    			panic("unreachable")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/parser.go

    		return
    	}
    
    	// determine token string
    	var tok string
    	switch p.tok {
    	case _Name:
    		tok = "name " + p.lit
    	case _Semi:
    		tok = p.lit
    	case _Literal:
    		tok = "literal " + p.lit
    	case _Operator:
    		tok = p.op.String()
    	case _AssignOp:
    		tok = p.op.String() + "="
    	case _IncOp:
    		tok = p.op.String()
    		tok += tok
    	default:
    		tok = tokstring(p.tok)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  10. src/math/big/float_test.go

    	// verify test data
    	var ok bool
    	switch mode {
    	case ToNearestEven, ToNearestAway:
    		ok = true // nothing to do for now
    	case ToZero:
    		if x < 0 {
    			ok = r >= x
    		} else {
    			ok = r <= x
    		}
    	case AwayFromZero:
    		if x < 0 {
    			ok = r <= x
    		} else {
    			ok = r >= x
    		}
    	case ToNegativeInf:
    		ok = r <= x
    	case ToPositiveInf:
    		ok = r >= x
    	default:
    		panic("unreachable")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
Back to top