Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 644 for newsize (0.24 sec)

  1. android/guava/src/com/google/common/collect/HashBiMap.java

        return array;
      }
    
      /** Equivalent to {@code Arrays.copyOf(array, newSize)}, save that the new elements are ABSENT. */
      private static int[] expandAndFillWithAbsent(int[] array, int newSize) {
        int oldSize = array.length;
        int[] result = Arrays.copyOf(array, newSize);
        Arrays.fill(result, oldSize, newSize, ABSENT);
        return result;
      }
    
      @Override
      public int size() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  2. pkg/volume/portworx/portworx_test.go

    	if cd.volumeID != PortworxTestVolume {
    		return fmt.Errorf("Deleter got unexpected volume name: %s", cd.volumeID)
    	}
    	return nil
    }
    
    func (fake *fakePortworxManager) ResizeVolume(spec *volume.Spec, newSize resource.Quantity, volumeHost volume.VolumeHost) error {
    	return nil
    }
    
    func TestPlugin(t *testing.T) {
    	tmpDir, err := utiltesting.MkTmpdir("portworxVolumeTest")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 21 02:17:04 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	dsw cache.DesiredStateOfWorld, asw cache.ActualStateOfWorld, newSize resource.Quantity) []v1.UniqueVolumeName {
    	dswp.ReprocessPod(uniquePodName)
    	dswp.findAndAddNewPods()
    	return getResizeRequiredVolumes(dsw, asw, newSize)
    }
    
    func getResizeRequiredVolumes(dsw cache.DesiredStateOfWorld, asw cache.ActualStateOfWorld, newSize resource.Quantity) []v1.UniqueVolumeName {
    	resizeRequiredVolumes := []v1.UniqueVolumeName{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    			pvWithSize.Spec.Capacity[v1.ResourceStorage] = tc.newPVSize
    			volumeSpec = &volume.Spec{PersistentVolume: pvWithSize}
    			dsw.AddPodToVolume(podName, pod, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, nil /* seLinuxContexts */)
    
    			t.Logf("Changing size of the volume to %s", tc.newPVSize.String())
    			newSize := tc.newPVSize.DeepCopy()
    			dsw.UpdatePersistentVolumeSize(volumeName, &newSize)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_generator_test.go

    			}
    			actualSize := test.actualSize
    			if actualSize == nil {
    				actualSize = pvc.Status.Capacity.Storage()
    			}
    			pluginResizeOpts := volume.NodeResizeOptions{
    				VolumeSpec: vmt.VolumeSpec,
    				NewSize:    *desiredSize,
    				OldSize:    *actualSize,
    			}
    
    			ogInstance, _ := og.(*operationGenerator)
    			_, err := ogInstance.nodeExpandVolume(vmt, nil, pluginResizeOpts)
    
    			if !test.expectError && err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd.go

    const (
    	mremapFixed     = MAP_FIXED
    	mremapDontunmap = 0
    	mremapMaymove   = 0
    )
    
    //sys	mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) = SYS_MREMAP
    
    func mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (uintptr, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. pkg/volume/plugins.go

    	// it would be location where volume was mounted for the pod
    	DeviceMountPath string
    
    	// DeviceStagingPath stores location where the volume is staged
    	DeviceStagePath string
    
    	NewSize resource.Quantity
    	OldSize resource.Quantity
    }
    
    type DynamicPluginProber interface {
    	Init() error
    
    	// aggregates events for successful drivers and errors for failed drivers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go

    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
    	r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
    	xaddr = uintptr(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 44.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go

    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
    	r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
    	xaddr = uintptr(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 44.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go

    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
    	r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
    	xaddr = uintptr(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 43.9K bytes
    - Viewed (0)
Back to top