Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for pvs2 (0.15 sec)

  1. test/escape_struct_param1.go

    	s4 := "dog" // ERROR "moved to heap: s4$"
    	s5 := "emu" // ERROR "moved to heap: s5$"
    	s6 := "fox" // ERROR "moved to heap: s6$"
    	ps2 := &s2
    	ps4 := &s4 // ERROR "moved to heap: ps4$"
    	ps6 := &s6 // ERROR "moved to heap: ps6$"
    	u1 := U{&s1, &ps2}
    	u2 := &U{&s3, &ps4}  // ERROR "&U{...} does not escape$"
    	u3 := &U{&s5, &ps6}  // ERROR "&U{...} escapes to heap$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 8.9K bytes
    - Viewed (0)
  2. test/escape_struct_param2.go

    	s4 := "dog" // ERROR "moved to heap: s4$"
    	s5 := "emu" // ERROR "moved to heap: s5$"
    	s6 := "fox" // ERROR "moved to heap: s6$"
    	ps2 := &s2
    	ps4 := &s4 // ERROR "moved to heap: ps4$"
    	ps6 := &s6 // ERROR "moved to heap: ps6$"
    	u1 := U{&s1, &ps2}
    	u2 := &U{&s3, &ps4}  // ERROR "&U{...} does not escape$"
    	u3 := &U{&s5, &ps6}  // ERROR "&U{...} escapes to heap$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            file1 = File.createTempFile("kuromoji_", ".txt");
            FileUtil.write(
                    file1.getAbsolutePath(),
                    "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3"
                            .getBytes(Constants.UTF_8));
        }
    
        @Override
        protected void tearDown() throws Exception {
            file1.delete();
        }
        */
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumebinding/assume_cache.go

    		Spec: v1.PersistentVolumeSpec{
    			StorageClassName: storageClassName,
    		},
    	})
    	pvs := []*v1.PersistentVolume{}
    	for _, obj := range objs {
    		pv, ok := obj.(*v1.PersistentVolume)
    		if !ok {
    			c.logger.Error(&assumecache.WrongTypeError{TypeName: "v1.PersistentVolume", Object: obj}, "ListPVs")
    			continue
    		}
    		pvs = append(pvs, pv)
    	}
    	return pvs
    }
    
    // PVCAssumeCache is a AssumeCache for PersistentVolumeClaim objects
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. pkg/volume/util/resize_util_test.go

    			Status:             v1.ConditionTrue,
    			LastTransitionTime: metav1.Now(),
    		},
    	}).get()
    	pvc1.SetResourceVersion("10")
    	pvc2 := pvc1.DeepCopy()
    	pvc2.Status.Capacity = v1.ResourceList{
    		v1.ResourceName("size"): resource.MustParse("10G"),
    	}
    	patchBytes, err := createPVCPatch(pvc1, pvc2, true /* addResourceVersionCheck */)
    	if err != nil {
    		t.Errorf("error creating patch bytes %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top