- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 235 for newsize (1.04 sec)
-
pkg/volume/util/resize_util.go
func MarkResizeFinished( pvc *v1.PersistentVolumeClaim, newSize resource.Quantity, kubeClient clientset.Interface) (*v1.PersistentVolumeClaim, error) { return MarkFSResizeFinished(pvc, newSize, kubeClient) } // MarkFSResizeFinished marks file system resizing as done func MarkFSResizeFinished( pvc *v1.PersistentVolumeClaim, newSize resource.Quantity,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 19:30:35 UTC 2023 - 14.8K bytes - Viewed (0) -
pkg/volume/csi/csi_client.go
if c.nodeV1ClientCreator == nil { return opts.newSize, fmt.Errorf("version of CSI driver does not support volume expansion") } if opts.volumeID == "" { return opts.newSize, errors.New("missing volume id") } if opts.volumePath == "" { return opts.newSize, errors.New("missing volume path") } if opts.newSize.Value() < 0 { return opts.newSize, errors.New("size can not be less than 0") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 20 10:15:36 UTC 2022 - 22.1K bytes - Viewed (0) -
pkg/volume/portworx/portworx.go
spec *volume.Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) { klog.V(4).Infof("Expanding: %s from %v to %v", spec.Name(), oldSize, newSize) err := plugin.util.ResizeVolume(spec, newSize, plugin.host) if err != nil { return oldSize, err } klog.V(4).Infof("Successfully resized %s to %v", spec.Name(), newSize) return newSize, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/volume/csi/csi_client_test.go
volID string volumePath string newSize resource.Quantity mustFail bool err error }{ { name: "with all correct values", volID: "vol-abcde", volumePath: "/foo/bar", newSize: resource.MustParse("10Gi"), mustFail: false, }, { name: "with missing volume-id", volumePath: "/foo/bar", newSize: resource.MustParse("10Gi"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
src/runtime/stack.go
used := gp.stack.hi - gp.sched.sp for newsize-used < needed { newsize *= 2 } } if stackguard0 == stackForceMove { // Forced stack movement used for debugging. // Don't double the stack (or we may quickly run out // if this is done repeatedly). newsize = oldsize } if newsize > maxstacksize || newsize > maxstackceiling { if maxstacksize < maxstackceiling {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
int newSize = newEntryIndex + 1; int hash = smearedHash(object); int mask = hashTableMask(); int tableIndex = hash & mask; int next = CompactHashing.tableGet(requireTable(), tableIndex); if (next == UNSET) { // uninitialized bucket if (newSize > mask) { // Resize and add new entry
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 24K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
int newSize = newEntryIndex + 1; int hash = smearedHash(object); int mask = hashTableMask(); int tableIndex = hash & mask; int next = CompactHashing.tableGet(requireTable(), tableIndex); if (next == UNSET) { // uninitialized bucket if (newSize > mask) { // Resize and add new entry
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 48K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 46.6K bytes - Viewed (0) -
src/strings/replace.go
const countCutOff = 8 func (r *byteStringReplacer) Replace(s string) string { newSize := len(s) anyChanges := false // Is it faster to use Count? if len(r.toReplace)*countCutOff <= len(s) { for _, x := range r.toReplace { if c := Count(s, x); c != 0 { // The -1 is because we are replacing 1 byte with len(replacements[b]) bytes. newSize += c * (len(r.replacements[x[0]]) - 1) anyChanges = true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:10:31 UTC 2023 - 14.5K bytes - Viewed (0)