Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 7,211 for case2 (0.04 sec)

  1. pkg/kubelet/cm/topologymanager/scope_test.go

    func TestAddContainer(t *testing.T) {
    	testCases := []struct {
    		name        string
    		containerID string
    		podUID      types.UID
    	}{
    		{
    			name:        "Case1",
    			containerID: "nginx",
    			podUID:      "0aafa4c4-38e8-11e9-bcb1-a4bf01040474",
    		},
    		{
    			name:        "Case2",
    			containerID: "Busy_Box",
    			podUID:      "b3ee37fc-39a5-11e9-bcb1-a4bf01040474",
    		},
    	}
    	scope := scope{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 10 11:44:15 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. test/fixedbugs/issue40367.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func case1() {
    	rates := []int32{1,2,3,4,5,6}
    	var sink [6]int
    	j := len(sink)
    	for star, _ := range rates {
    		if star+1 < 1 {
    			panic("")
    		}
    		j--
    		sink[j] = j
    	}
    }
    
    func case2() {
    	i := 0
    	var sink [3]int
    	j := len(sink)
    top:
    	j--
    	sink[j] = j
    	if i < 2 {
    		i++
    		if i < 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 17:23:11 UTC 2020
    - 526 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/clean_binary.txt

    # Build something to create the executable, including several cases
    [short] skip
    
    # --------------------- clean executables -------------------------
    
    # case1: test file-named executable 'main'
    env GO111MODULE=on
    
    ! exists main$GOEXE
    go build main.go
    exists -exec main$GOEXE
    go clean
    ! exists main$GOEXE
    
    # case2: test module-named executable 'a.b.c'
    ! exists a.b.c$GOEXE
    go build
    exists -exec a.b.c$GOEXE
    go clean
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 13:36:17 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformUserGuideIntegrationTest.groovy

                .assertTestClassesExecutedJudgementByXml('A special test case', 'A special test case2')
            result.testClassByHtml('org.gradle.DisplayNameDemo')
                .assertDisplayName('A special test case')
                .assertTestCount(1, 0, 0)
                .assertTestPassed('testWithDisplayNameContainingSpaces', 'Custom test name containing spaces')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/fuse_test.go

    			Exit("mem"),
    		))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for k, b := range fun.blocks {
    		if k[:1] == "z" && b.Kind != BlockInvalid {
    			t.Errorf("case2 %s was not eliminated, but should have", k)
    		}
    	}
    
    	// Case 3, empty blocks with multiple predecessors, z0 and z1 will be eliminated.
    	//     entry
    	//      |  \
    	//      |  b0
    	//      | /  \
    	//      z0   z1
    	//       \   /
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/fake_topology_manager_test.go

    	testCases := []struct {
    		name        string
    		containerID string
    		podUID      string
    	}{
    		{
    			name:        "Case1",
    			containerID: "nginx",
    			podUID:      "0aafa4c4-38e8-11e9-bcb1-a4bf01040474",
    		},
    		{
    			name:        "Case2",
    			containerID: "Busy_Box",
    			podUID:      "b3ee37fc-39a5-11e9-bcb1-a4bf01040474",
    		},
    	}
    	fm := fakeManager{}
    	for _, tc := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 10 11:44:15 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. tests/create_test.go

    	_, ok := mapValue1["id"].(uint)
    	if ok {
    		t.Skipf("This test case skipped, because the db supports returning")
    	}
    
    	idVal, ok = mapValue1["id"].(int64)
    	if !ok {
    		t.Fatal("ret result missing id")
    	}
    
    	if int64(result1.ID) != idVal {
    		t.Fatal("failed to create data from map with table, @id != id")
    	}
    
    	// case2: one record, create from *map[string]interface{}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    							{Utilization: 0, Score: 10},
    							{Utilization: 100, Score: 0},
    						},
    					},
    				},
    			},
    			runPreScore: true,
    		},
    		{
    			name: "test case for ScoringStrategy RequestedToCapacityRatio case2",
    			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)
  10. src/cmd/vendor/golang.org/x/text/cases/cases.go

    }
    
    // Upper returns a Caser for language-specific uppercasing.
    func Upper(t language.Tag, opts ...Option) Caser {
    	return Caser{makeUpper(t, getOpts(opts...))}
    }
    
    // Lower returns a Caser for language-specific lowercasing.
    func Lower(t language.Tag, opts ...Option) Caser {
    	return Caser{makeLower(t, getOpts(opts...))}
    }
    
    // Title returns a Caser for language-specific title casing. It uses an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top