- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 441 for newsize (0.38 sec)
-
pkg/volume/csi/expander_test.go
Name: tc.secret.Name, Namespace: tc.secret.Namespace, } } newSize, _ := resource.ParseQuantity("20Gi") resizeOptions := volume.NodeResizeOptions{ VolumeSpec: spec, NewSize: newSize, DeviceMountPath: "/foo/bar", DeviceStagePath: "/foo/bar", DevicePath: "/mnt/foobar", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 03:58:36 UTC 2023 - 6.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt
deflaterSink.write(buffer, buffer.size) deflaterSink.flush() if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) { val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION deflatedBytes.readAndWriteUnsafe().use { cursor -> cursor.resizeBuffer(newSize) } } else { // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes. deflatedBytes.writeByte(0x00) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache_test.go
} if _, loaded := record.LoadOrStore(size, nil); loaded { t.Errorf("detected duplicated cache size metric for %d", size) } newSize := uint64(size) oldSize := cacheSize.Swap(newSize) if oldSize > newSize { t.Errorf("cache size decreased from %d to %d", oldSize, newSize) } } transformer := &envelopeTransformer{} want := sets.NewInt() startCh := make(chan struct{}) wg := sync.WaitGroup{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 31 20:26:58 UTC 2023 - 4.9K bytes - Viewed (0) -
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/noop_expandable_plugin.go
spec *Spec } var _ ExpandableVolumePlugin = &noopExpandableVolumePluginInstance{} func (n *noopExpandableVolumePluginInstance) ExpandVolumeDevice(spec *Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) { return newSize, nil } func (n *noopExpandableVolumePluginInstance) Init(host VolumeHost) error { return nil } func (n *noopExpandableVolumePluginInstance) GetPluginName() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/HierarchicalNameSerializerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.6K 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) -
src/os/user/cgo_lookup_unix.go
// not ERANGE, on buffer overflow. } else if errno != syscall.ERANGE { return errno } newSize := len(buf) * 2 if !isSizeReasonable(int64(newSize)) { return fmt.Errorf("internal buffer exceeds %d bytes", maxBufferSize) } buf = make([]byte, newSize) } } const maxBufferSize = 1 << 20 func isSizeReasonable(sz int64) bool { return sz > 0 && sz <= maxBufferSize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:08:14 UTC 2024 - 5.2K 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)