Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for vol0 (0.04 sec)

  1. pkg/volume/csi/csi_attacher_test.go

    			name: "attach and detach",
    			attachedSpecs: []attachedSpec{
    				{"vol0", volume.NewSpecFromPersistentVolume(makeTestPV("pv0", 10, testDriver, "vol0"), false), true},
    				{"vol1", volume.NewSpecFromPersistentVolume(makeTestPV("pv1", 20, testDriver, "vol1"), false), true},
    				{"vol2", volume.NewSpecFromPersistentVolume(makeTestPV("pv2", 10, testDriver, "vol2"), false), 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)
  2. pkg/volume/csi/csi_mounter_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			if vol.DeviceMountPath != devicePath {
    				t.Errorf("DeviceMountPath not sent properly to CSI driver: %s, %s", vol.DeviceMountPath, devicePath)
    			}
    
    			if !reflect.DeepEqual(vol.MountFlags, csiMounter.spec.PersistentVolume.Spec.MountOptions) {
    				t.Errorf("unexpected mount flags passed to driver: %+v", vol.MountFlags)
    			}
    
    			if vol.FSType != tc.fsType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	if err = xlStorage.MakeVol(context.Background(), "success-vol"); err != nil {
    		t.Fatalf("Unable to create volume, %s", err)
    	}
    
    	// TestXLStorage failure cases.
    	vol := slashpath.Join(path, "nonempty-vol")
    	if err = os.Mkdir(vol, 0o777); err != nil {
    		t.Fatalf("Unable to create directory, %s", err)
    	}
    	if err = os.WriteFile(slashpath.Join(vol, "test-file"), []byte{}, os.ModePerm); err != nil {
    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. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			},
    			verify: func(t *testing.T, vols []v1.UniqueVolumeName, volName v1.UniqueVolumeName) {
    				if len(vols) == 0 {
    					t.Fatalf("Request resize for volume, but volume in ASW hasn't been marked as fsResizeRequired")
    				}
    				if len(vols) != 1 {
    					t.Errorf("Some unexpected volumes are marked as fsResizeRequired: %v", vols)
    				}
    				if vols[0] != volName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	for _, vol := range attachedVolumes {
    		if vol.VolumeName == volumeName1 {
    			// devicePath + attachability must have been updated from node.status
    			assert.True(t, vol.PluginIsAttachable)
    			assert.Equal(t, vol.DevicePath, "fake/path")
    		}
    		if vol.VolumeName == volumeName2 {
    			// only attachability was updated from node.status
    			assert.False(t, vol.PluginIsAttachable)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/pv_controller.go

    // either the deleter plugin or nil when an external deleter is requested.
    func (ctrl *PersistentVolumeController) findDeletablePlugin(volume *v1.PersistentVolume) (vol.DeletableVolumePlugin, error) {
    	// Find a plugin. Try to find the same plugin that provisioned the volume
    	var plugin vol.DeletableVolumePlugin
    	if metav1.HasAnnotation(volume.ObjectMeta, storagehelpers.AnnDynamicallyProvisioned) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_utils_test.go

    	mounts := append(petMounts, podMounts...)
    	claims := []v1.PersistentVolumeClaim{}
    	for _, m := range petMounts {
    		claims = append(claims, newPVC(m.Name))
    	}
    
    	vols := []v1.Volume{}
    	for _, m := range podMounts {
    		vols = append(vols, v1.Volume{
    			Name: m.Name,
    			VolumeSource: v1.VolumeSource{
    				HostPath: &v1.HostPathVolumeSource{
    					Path: fmt.Sprintf("/tmp/%v", m.Name),
    				},
    			},
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK-SAME: tensor<1x15x2xf32>
      // CHECK-DAG: [[VAL6:%.+]] = "tf.Reshape"([[VAL5]], [[VAL1]])
      // CHECK-DAG: [[VAL7:%.+]] = "tf.Transpose"([[VAL6]], [[VAL4]])
      // CHECK-DAG: [[VAL8:%.+]] = "tf.Reshape"([[VAL7]], [[VAL0]])
      %2 = "tf.SpaceToBatchND"(%arg0, %0, %1) : (tensor<1x8x2xf32>, tensor<1xi32>, tensor<1x2xi32>) -> tensor<3x5x2xf32>
    
      // CHECK: return [[VAL8]]
      func.return %2 : tensor<3x5x2xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    				}
    			}
    		}
    		// Act
    		logger, _ := ktesting.NewTestContext(t)
    		volumes := dsw.GetVolumesToAttach()
    		for _, vol := range volumes {
    			if vol.NodeName == "node1" {
    				rc.(*reconciler).reportMultiAttachError(logger, vol, nodes)
    			}
    		}
    
    		// Assert
    		close(fakeRecorder.Events)
    		index := 0
    		for event := range fakeRecorder.Events {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/loong64/asm.go

    	case 66: // am* From, To, RegTo2 ==> am* RegTo2, From, To
    		rk := p.From.Reg
    		rj := p.To.Reg
    		rd := p.RegTo2
    
    		// See section 2.2.7.1 of https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html
    		// for the register usage constraints.
    		if rd == rj || rd == rk {
    			c.ctxt.Diag("illegal register combination: %v\n", p)
    		}
    		o1 = OP_RRR(atomicInst[p.As], uint32(rk), uint32(rj), uint32(rd))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
Back to top