Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for vols (0.04 sec)

  1. 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)
  2. 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)
  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/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)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      int size = end - start;
    
      SmallVector<int64_t, 4> vals;
      vals.resize(size);
      std::iota(vals.begin(), vals.end(), start);
    
      TensorType ty =
          tensorflow::GetTypeFromTFTensorShape({size}, builder->getIntegerType(64));
      return DenseIntElementsAttr::get(ty, vals);
    }
    
    // Return an Attr representation of the value.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        if not values:
          return
    
        if isinstance(values, list):
          vals, tys = zip(*values)
        else:
          vals = values[0]
          tys = values[1]
    
        if isinstance(tys, list) or isinstance(tys, tuple):
          tys = [str(t) for t in tys]
          self._emit_with_loc('{} : {}'.format(', '.join(vals), ', '.join(tys)),
                              node)
        elif tys != TFRTypes.NONE:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  8. src/strings/strings_test.go

    			}
    		})
    	}
    }
    
    func BenchmarkJoin(b *testing.B) {
    	vals := []string{"red", "yellow", "pink", "green", "purple", "orange", "blue"}
    	for l := 0; l <= len(vals); l++ {
    		b.Run(strconv.Itoa(l), func(b *testing.B) {
    			b.ReportAllocs()
    			vals := vals[:l]
    			for i := 0; i < b.N; i++ {
    				Join(vals, " and ")
    			}
    		})
    	}
    }
    
    func BenchmarkTrimSpace(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  9. src/debug/elf/file_test.go

    		t.Fatalf("could not read %s: %v", testdata, err)
    	}
    	defer f.Close()
    
    	vals, err := f.DynValue(DT_VERNEEDNUM)
    	if err != nil {
    		t.Fatalf("DynValue(DT_VERNEEDNUM): got unexpected error %v", err)
    	}
    
    	if len(vals) != 1 || vals[0] != 1 {
    		t.Errorf("DynValue(DT_VERNEEDNUM): got %v, want [1]", vals)
    	}
    }
    
    func TestIssue59208(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    		// Load any associated policy definitions
    		if !stsAccountFound {
    			pols, _ := cache.iamUserPolicyMap.Load(accessKey)
    			for _, policy := range pols.toSlice() {
    				if _, found = cache.iamPolicyDocsMap[policy]; !found {
    					err = store.loadPolicyDocWithRetry(ctx, policy, cache.iamPolicyDocsMap, 3)
    				}
    			}
    		} else {
    			pols, _ := cache.iamSTSPolicyMap.Load(stsUserCred.Credentials.AccessKey)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top