Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newPara (0.46 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	params := []*unstructured.Unstructured{
    		newParam(matchingParamName, v1.NamespaceDefault, nonmatchingLabels),
    		newParam(matchingParamName, matchingNamespace, nonmatchingLabels),
    		newParam(matchingParamName, nonMatchingNamespace, nonmatchingLabels),
    
    		newParam(matchingParamName+"1", v1.NamespaceDefault, matchingLabels),
    		newParam(matchingParamName+"1", matchingNamespace, matchingLabels),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. src/os/os_test.go

    		if d.IsDir() {
    			return nil
    		}
    
    		data, err := fs.ReadFile(fsys, path)
    		if err != nil {
    			return err
    		}
    		newData, err := fs.ReadFile(tmpFsys, path)
    		if err != nil {
    			return err
    		}
    		if !bytes.Equal(data, newData) {
    			return errors.New("file " + path + " contents differ")
    		}
    		return nil
    	}); err != nil {
    		t.Fatal("comparing two directories:", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    	//
    	// It must be possible for importers to construct such invalid interfaces.
    	// Previously, this panicked.
    
    	sig1 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[Int])), nil, false)
    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    	//
    	// It must be possible for importers to construct such invalid interfaces.
    	// Previously, this panicked.
    
    	sig1 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[Int])), nil, false)
    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top