Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Col0 (0.12 sec)

  1. src/testing/cover.go

    // in bytes.
    // NOTE: This struct is internal to the testing infrastructure and may change.
    // It is not covered (yet) by the Go 1 compatibility guidelines.
    type CoverBlock struct {
    	Line0 uint32 // Line number for block start.
    	Col0  uint16 // Column number for block start.
    	Line1 uint32 // Line number for block end.
    	Col1  uint16 // Column number for block end.
    	Stmts uint16 // Number of statements included in this block.
    }
    
    var cover Cover
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:37:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    		// Already registered.
    		return
    	}
    	coverCounters[fileName] = counter
    	block := make([]testing.CoverBlock, len(counter))
    	for i := range counter {
    		block[i] = testing.CoverBlock{
    			Line0: pos[3*i+0],
    			Col0: uint16(pos[3*i+2]),
    			Line1: pos[3*i+1],
    			Col1: uint16(pos[3*i+2]>>16),
    			Stmts: numStmts[i],
    		}
    	}
    	coverBlocks[fileName] = block
    }
    {{end}}
    
    func main() {
    {{if .Cover}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/node_expander_test.go

    		assumeResizeOpAsFinished bool
    		expectError              bool
    	}{
    		{
    			name: "pv.spec.cap > pvc.status.cap, resizeStatus=node_expansion_failed",
    			pvc:  getTestPVC("test-vol0", "2G", "1G", "", &nodeResizeFailed),
    			pv:   getTestPV("test-vol0", "2G"),
    
    			expectedResizeStatus:     nodeResizeFailed,
    			expectResizeCall:         false,
    			assumeResizeOpAsFinished: true,
    			expectedStatusSize:       resource.MustParse("1G"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/operation_generator_test.go

    			pvc:  getTestPVC("test-vol0", "2G", "2G", "2G", nil),
    			pv:   getTestPV("test-vol0", "2G"),
    
    			expectedResizeStatus: "",
    			resizeCallCount:      0,
    			expectedStatusSize:   resource.MustParse("2G"),
    		},
    		{
    			name:        "pv.spec.cap = pvc.status.cap, resizeStatus='', desiredSize > actualSize",
    			pvc:         getTestPVC("test-vol0", "2G", "2G", "2G", nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	inodesTotal = int64(2000)
    	inodesFree  = int64(1000)
    
    	vol0          = "vol0"
    	vol1          = "vol1"
    	vol2          = "vol2"
    	vol3          = "vol3"
    	pvcClaimName0 = "pvc-fake0"
    	pvcClaimName1 = "pvc-fake1"
    )
    
    var (
    	ErrorWatchTimeout = errors.New("watch event timeout")
    	// Create pod spec to test against
    	podVolumes = []k8sv1.Volume{
    		{
    			Name: vol0,
    			VolumeSource: k8sv1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_attacher_test.go

    		{
    			name: "all attached",
    			attachedSpecs: []attachedSpec{
    				{"vol0", volume.NewSpecFromPersistentVolume(makeTestPV("pv0", 10, testDriver, "vol0"), false), true},
    				{"vol1", volume.NewSpecFromPersistentVolume(makeTestPV("pv1", 20, testDriver, "vol1"), false), true},
    			},
    		},
    		{
    			name: "include non-attable",
    			attachedSpecs: []attachedSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Cover", Type, 2},
    		{"Cover.Blocks", Field, 2},
    		{"Cover.Counters", Field, 2},
    		{"Cover.CoveredPackages", Field, 2},
    		{"Cover.Mode", Field, 2},
    		{"CoverBlock", Type, 2},
    		{"CoverBlock.Col0", Field, 2},
    		{"CoverBlock.Col1", Field, 2},
    		{"CoverBlock.Line0", Field, 2},
    		{"CoverBlock.Line1", Field, 2},
    		{"CoverBlock.Stmts", Field, 2},
    		{"CoverMode", Func, 8},
    		{"Coverage", Func, 4},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_plugin_test.go

    		shouldFail bool
    	}{
    		{
    			name:      "valid spec name",
    			specVolID: "test.vol.id",
    			data:      map[string]string{volDataKey.specVolID: "test.vol.id", volDataKey.volHandle: "test-vol0", volDataKey.driverName: "test-driver0"},
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Logf("test case: %s", tc.name)
    		deviceDataDir := getVolumeDeviceDataDir(tc.specVolID, plug.host)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. api/go1.2.txt

    pkg testing, type Cover struct, CoveredPackages string
    pkg testing, type Cover struct, Mode string
    pkg testing, type CoverBlock struct
    pkg testing, type CoverBlock struct, Col0 uint16
    pkg testing, type CoverBlock struct, Col1 uint16
    pkg testing, type CoverBlock struct, Line0 uint32
    pkg testing, type CoverBlock struct, Line1 uint32
    pkg testing, type CoverBlock struct, Stmts uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top