Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for vol0 (0.08 sec)

  1. cmd/os-reliable_test.go

    		t.Fatal("Unexpected error", err)
    	}
    
    	if err = mkdirAll(pathJoin(path, "success-vol", "success-object"), 0o777, ""); err != nil {
    		t.Fatal("Unexpected error", err)
    	}
    }
    
    // Tests - renameAll()
    func TestOSRenameAll(t *testing.T) {
    	// create xlStorage test setup
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    			for _, vol := range container.VolumeMounts {
    				volStatus := v1.VolumeMountStatus{
    					Name:      vol.Name,
    					MountPath: vol.MountPath,
    					ReadOnly:  vol.ReadOnly,
    				}
    				if vol.ReadOnly {
    					rroMode := v1.RecursiveReadOnlyDisabled
    					if b, err := resolveRecursiveReadOnly(vol, supportsRRO); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    	dsw.Lock()
    	defer dsw.Unlock()
    
    	vol, volExists := dsw.volumesToMount[volumeName]
    	if volExists {
    		vol.persistentVolumeSize = size
    		dsw.volumesToMount[volumeName] = vol
    	}
    }
    
    func (dsw *desiredStateOfWorld) VolumeExists(
    	volumeName v1.UniqueVolumeName, seLinuxMountContext string) bool {
    	dsw.RLock()
    	defer dsw.RUnlock()
    
    	vol, volumeExists := dsw.volumesToMount[volumeName]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. plugin/pkg/admission/namespace/exists/admission_test.go

    func newPod(namespace string) api.Pod {
    	return api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    			Volumes:    []api.Volume{{Name: "vol"}},
    			Containers: []api.Container{{Name: "ctr", Image: "image"}},
    		},
    	}
    }
    
    // TestAdmissionNamespaceExists verifies pod is admitted only if namespace exists.
    func TestAdmissionNamespaceExists(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/Stats.java

        while (values.hasNext()) {
          double value = values.next().doubleValue();
          count++;
          if (isFinite(value) && isFinite(mean)) {
            // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
            mean += (value - mean) / count;
          } else {
            mean = calculateNewMeanNonFinite(mean, value);
          }
        }
        return mean;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/test_utils.go

    			},
    		},
    	})
    	return pb
    }
    
    func (pb podBuilder) withPVCSVolume(pvcs []*v1.PersistentVolumeClaim) podBuilder {
    	for i, pvc := range pvcs {
    		pb.withPVCVolume(pvc.Name, fmt.Sprintf("vol%v", i))
    	}
    	return pb
    }
    
    func (pb podBuilder) withEmptyDirVolume() podBuilder {
    	pb.Pod.Spec.Volumes = append(pb.Pod.Spec.Volumes, v1.Volume{
    		VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/Stats.java

        while (values.hasNext()) {
          double value = values.next().doubleValue();
          count++;
          if (isFinite(value) && isFinite(mean)) {
            // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
            mean += (value - mean) / count;
          } else {
            mean = calculateNewMeanNonFinite(mean, value);
          }
        }
        return mean;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/DoubleMath.java

        long count = 1;
        double mean = checkFinite(values[0]);
        for (int index = 1; index < values.length; ++index) {
          checkFinite(values[index]);
          count++;
          // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
          mean += (values[index] - mean) / count;
        }
        return mean;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/DoubleMath.java

        long count = 1;
        double mean = checkFinite(values[0]);
        for (int index = 1; index < values.length; ++index) {
          checkFinite(values[index]);
          count++;
          // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
          mean += (values[index] - mean) / count;
        }
        return mean;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/staticpod/utils.go

    	}
    }
    
    // VolumeMapToSlice returns a slice of volumes from a map's values
    func VolumeMapToSlice(volumes map[string]v1.Volume) []v1.Volume {
    	v := make([]v1.Volume, 0, len(volumes))
    
    	for _, vol := range volumes {
    		v = append(v, vol)
    	}
    
    	sort.Slice(v, func(i, j int) bool {
    		return strings.Compare(v[i].Name, v[j].Name) == -1
    	})
    
    	return v
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top