Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 115 for pvs2 (0.13 sec)

  1. src/cmd/cover/cover.go

    // Tests are TestHtmlUnformatted and TestLineDup.
    // We use a map to avoid duplicates.
    
    // pos2 is a pair of token.Position values, used as a map key type.
    type pos2 struct {
    	p1, p2 token.Position
    }
    
    // seenPos2 tracks whether we have seen a token.Position pair.
    var seenPos2 = make(map[pos2]bool)
    
    // dedup takes a token.Position pair and returns a pair that does not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    		{
    			name:                "attacher error",
    			nodeName:            "node02",
    			attachID:            getAttachmentName("vol02", "driver02", "node02"),
    			spec:                volume.NewSpecFromPersistentVolume(makeTestPV("pv02", 10, "driver02", "vol02"), false),
    			injectAttacherError: true,
    			shouldFail:          true,
    		},
    		{
    			name:       "missing spec",
    			nodeName:   "node02",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go

    	snapshot := cache.NewSnapshot(pods, nodes)
    
    	objects := make([]runtime.Object, 0, len(pvcs))
    	for _, pvc := range pvcs {
    		objects = append(objects, pvc)
    	}
    	for _, pv := range pvs {
    		objects = append(objects, pv)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 05:17:04 UTC 2023
    - 20K bytes
    - Viewed (0)
  4. src/archive/tar/reader.go

    		pos1, err := sr.Seek(0, io.SeekCurrent)
    		if pos1 >= 0 && err == nil {
    			// Seek seems supported, so perform the real Seek.
    			pos2, err := sr.Seek(n-1, io.SeekCurrent)
    			if pos2 < 0 || err != nil {
    				return err
    			}
    			seekSkipped = pos2 - pos1
    		}
    	}
    
    	copySkipped, err := io.CopyN(io.Discard, r, n-seekSkipped)
    	if err == io.EOF && seekSkipped+copySkipped < n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. pkg/controller/volume/expand/expand_controller.go

    	"k8s.io/kubernetes/pkg/volume/util/volumepathhandler"
    )
    
    const (
    	// number of default volume expansion workers
    	defaultWorkerCount = 10
    )
    
    // ExpandController expands the pvs
    type ExpandController interface {
    	Run(ctx context.Context)
    }
    
    // CSINameTranslator can get the CSI Driver name based on the in-tree plugin name
    type CSINameTranslator interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. pkg/scheduler/util/assumecache/assume_cache_test.go

    			newObj: makeObj("pvc1", "5", ""),
    		},
    		"success-new-higher-version": {
    			oldObj: makeObj("pvc1", "5", ""),
    			newObj: makeObj("pvc1", "6", ""),
    		},
    		"fail-old-not-found": {
    			oldObj:    makeObj("pvc2", "5", ""),
    			newObj:    makeObj("pvc1", "5", ""),
    			expectErr: ErrNotFound,
    		},
    		"fail-new-lower-version": {
    			oldObj:    makeObj("pvc1", "5", ""),
    			newObj:    makeObj("pvc1", "4", ""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    		},
    		{
    			newPod:       anotherDeletedPVPod,
    			existingPods: []*v1.Pod{oneAzureDiskPod, deletedPVPod},
    			filterName:   azureDiskVolumeFilterType,
    			maxVols:      2,
    			test:         "two pods missing different PVs are counted towards the PV limit twice",
    		},
    		{
    			newPod:       onePVCPod(azureDiskVolumeFilterType),
    			existingPods: []*v1.Pod{oneAzureDiskPod, unboundPVCPod},
    			filterName:   azureDiskVolumeFilterType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  8. fastapi/encoders.py

    
    # Taken from Pydantic v1 as is
    def isoformat(o: Union[datetime.date, datetime.time]) -> str:
        return o.isoformat()
    
    
    # Taken from Pydantic v1 as is
    # TODO: pv2 should this return strings instead?
    def decimal_encoder(dec_value: Decimal) -> Union[int, float]:
        """
        Encodes a Decimal as int of there's no exponent, otherwise float
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/operand_test.go

    	{"(R5)(R6*1)", "(R5)(R6*1)"},
    	{"(R5+R6)", "(R5)(R6)"},
    	{"-1(R4)", "-1(R4)"},
    	{"-1(R5)", "-1(R5)"},
    	{"6(PC)", "6(PC)"},
    	{"CR7", "CR7"},
    	{"CTR", "CTR"},
    	{"VS0", "VS0"},
    	{"VS1", "VS1"},
    	{"VS2", "VS2"},
    	{"VS3", "VS3"},
    	{"VS4", "VS4"},
    	{"VS5", "VS5"},
    	{"VS6", "VS6"},
    	{"VS7", "VS7"},
    	{"VS8", "VS8"},
    	{"VS9", "VS9"},
    	{"VS10", "VS10"},
    	{"VS11", "VS11"},
    	{"VS12", "VS12"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller_base.go

    		return
    	}
    	for _, pvc := range pvcs {
    		ctrl.enqueueWork(ctx, ctrl.claimQueue, pvc)
    	}
    
    	pvs, err := ctrl.volumeLister.List(labels.NewSelector())
    	if err != nil {
    		logger.Info("Cannot list persistent volumes", "err", err)
    		return
    	}
    	for _, pv := range pvs {
    		ctrl.enqueueWork(ctx, ctrl.volumeQueue, pv)
    	}
    }
    
    // setClaimProvisioner saves
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top