Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 115 for pvs2 (0.12 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

            int pos = 0;
            int pos2 = 0;
            while (true) {
                pos = text.indexOf(fromText, pos2);
                if (pos == 0) {
                    buf.append(toText);
                    pos2 = fromText.length();
                } else if (pos > 0) {
                    buf.append(text.substring(pos2, pos));
                    buf.append(toText);
                    pos2 = pos + fromText.length();
                } else {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/index.go

    func (pvIndex *persistentVolumeOrderedIndex) findByClaim(claim *v1.PersistentVolumeClaim, delayBinding bool) (*v1.PersistentVolume, error) {
    	// PVs are indexed by their access modes to allow easier searching.  Each
    	// index is the string representation of a set of access modes. There is a
    	// finite number of possible sets and PVs will only be indexed in one of
    	// them (whichever index matches the PV's modes).
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/expr2.go

    	// various element types
    	type (
    		S1 struct{}
    		S2 struct{}
    		P1 *S1
    		P2 *S2
    	)
    	var (
    		ps1 *S1
    		ps2 *S2
    		p1 P1
    		p2 P2
    	)
    	_ = ps1 == ps1
    	_ = ps1 == ps2 /* ERROR "mismatched types" */
    	_ = ps2 == ps1 /* ERROR "mismatched types" */
    
    	_ = p1 == p1
    	_ = p1 == p2 /* ERROR "mismatched types" */
    
    	_ = p1 == ps1
    }
    
    func channels() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_sql_databases/test_testing_databases.py

    import importlib
    import os
    from pathlib import Path
    
    import pytest
    
    from ...utils import needs_pydanticv1
    
    
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_testing_dbs(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 788 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py

    import importlib
    import os
    from pathlib import Path
    
    import pytest
    
    from ...utils import needs_py39, needs_pydanticv1
    
    
    @needs_py39
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 822 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py

    import importlib
    import os
    from pathlib import Path
    
    import pytest
    
    from ...utils import needs_py310, needs_pydanticv1
    
    
    @needs_py310
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 825 bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/testing/testvolumespec.go

    		return true, createAction.GetObject(), nil
    	})
    
    	pvs = &v1.PersistentVolumeList{}
    	fakeClient.AddReactor("list", "persistentvolumes", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		obj := &v1.PersistentVolumeList{}
    		obj.Items = append(obj.Items, pvs.Items...)
    		return true, obj, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 17 08:48:30 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go

    func TestVolumeBinding(t *testing.T) {
    	table := []struct {
    		name                    string
    		pod                     *v1.Pod
    		nodes                   []*v1.Node
    		pvcs                    []*v1.PersistentVolumeClaim
    		pvs                     []*v1.PersistentVolume
    		fts                     feature.Features
    		args                    *config.VolumeBindingArgs
    		wantPreFilterResult     *framework.PreFilterResult
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 32K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/index_test.go

    	if err != nil {
    		t.Fatalf("Unexpected error matching volume by claim: %v", err)
    	}
    	if volume == nil {
    		t.Fatalf("Unexpected nil volume.  Expected %s", pv2.Name)
    	}
    	if pv2.Name != volume.Name {
    		t.Errorf("Expected %s but got volume %s instead", pv2.Name, volume.Name)
    	}
    }
    
    func TestListByAccessModes(t *testing.T) {
    	volList := newPersistentVolumeOrderedIndex()
    	for _, pv := range createTestVolumes() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  10. pkg/scheduler/testing/framework/fake_listers.go

    // Get returns a fake PV object in the fake PVs by PV ID.
    func (pvs PersistentVolumeLister) Get(pvID string) (*v1.PersistentVolume, error) {
    	for _, pv := range pvs {
    		if pv.Name == pvID {
    			return &pv, nil
    		}
    	}
    	return nil, errors.NewNotFound(v1.Resource("persistentvolumes"), pvID)
    }
    
    // List lists all PersistentVolumes in the indexer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top