Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Col1 (0.04 sec)

  1. pkg/config/analysis/analyzer_test.go

    func TestCombinedAnalyzer(t *testing.T) {
    	g := NewWithT(t)
    
    	col1 := newSchema("col1")
    	col2 := newSchema("col2")
    	col3 := newSchema("col3")
    	col4 := newSchema("col4")
    
    	a1 := &analyzer{name: "a1", inputs: []config.GroupVersionKind{col1.GroupVersionKind()}}
    	a2 := &analyzer{name: "a2", inputs: []config.GroupVersionKind{col2.GroupVersionKind()}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. pkg/kube/krt/recomputetrigger_test.go

    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestRecomputeTrigger(t *testing.T) {
    	rt := krt.NewRecomputeTrigger()
    	col1 := krt.NewStatic(ptr.Of("foo")).AsCollection()
    	response := "foo"
    	col2 := krt.NewCollection(col1, func(ctx krt.HandlerContext, i string) *string {
    		rt.MarkDependant(ctx)
    		return ptr.Of(response)
    	})
    	tt := assert.NewTracker[string](t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 05:51:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/testing/cover.go

    // 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
    
    // Cover records information about test coverage checking.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:37:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/test.go

    	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}}
    	testing.RegisterCover(testing.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)
  5. pkg/kubelet/kubelet_volumes_test.go

    			{
    				Name: "container1",
    				VolumeMounts: []v1.VolumeMount{
    					{
    						Name:      "vol1",
    						MountPath: "/mnt/vol1",
    					},
    					{
    						Name:      "vol2",
    						MountPath: "/mnt/vol2",
    					},
    				},
    			},
    		},
    		Volumes: []v1.Volume{
    			{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. pkg/volume/util/nested_volumes_test.go

    			err:      false,
    			expected: sets.New[string](),
    			volname:  "vol1",
    			pod: v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: testNamespace,
    					UID:       testPodUID,
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							VolumeMounts: []v1.VolumeMount{
    								{MountPath: "/dir", Name: "vol1"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. pkg/volume/git_repo/git_repo_test.go

    		},
    		{
    			name: "invalid-repository",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    						Repository: "--foo",
    					},
    				},
    			},
    			isExpectedFailure: true,
    		},
    		{
    			name: "invalid-revision",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_attacher_test.go

    				{"vol1", volume.NewSpecFromPersistentVolume(makeTestPV("pv1", 20, testDriver, "vol1"), false), true},
    			},
    		},
    		{
    			name: "include non-attable",
    			attachedSpecs: []attachedSpec{
    				{"vol0", volume.NewSpecFromPersistentVolume(makeTestPV("pv0", 10, testDriver, "vol0"), false), true},
    				{"vol1", volume.NewSpecFromVolume(makeTestVol("pv1", testDriver)), false},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  9. pkg/volume/util/util_test.go

    						},
    					},
    					Volumes: []v1.Volume{
    						{
    							Name: "vol1",
    						},
    						{
    							Name: "vol2",
    						},
    						{
    							Name: "vol3",
    						},
    					},
    				},
    			},
    			expectedMounts: sets.New[string]("vol1", "vol2", "vol3"),
    			expectedSELinuxContexts: map[string][]*v1.SELinuxOptions{
    				"vol1": {
    					{
    						Type:  "initcontainer1_context_t",
    						Level: "s0:c3,c4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    const (
    	namespace0  = "test0"
    	pName0      = "pod0"
    	capacity    = int64(10000000)
    	available   = int64(5000000)
    	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")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top