Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FactType (0.15 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    			}
    
    			if a.Run == nil {
    				return fmt.Errorf("analyzer %q has nil Run", a)
    			}
    			// fact types
    			for _, f := range a.FactTypes {
    				if f == nil {
    					return fmt.Errorf("analyzer %s has nil FactType", a)
    				}
    				t := reflect.TypeOf(f)
    				if prev := factTypes[t]; prev != nil {
    					return fmt.Errorf("fact type %s registered by two analyzers: %v, %v",
    						t, a, prev)
    				}
    				if t.Kind() != reflect.Ptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    	}
    	for exp, expType := range expectedObjTypeMap {
    		actType, found := objTypeMap[exp]
    		if !found {
    			t.Errorf("missing type in rule types: %s", exp)
    			continue
    		}
    		expT, err := expType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    		actT, err := actType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go

    	}
    	for exp, expType := range expectedObjTypeMap {
    		actType, found := objTypeMap[exp]
    		if !found {
    			t.Errorf("missing type in rule types: %s", exp)
    			continue
    		}
    		expT, err := expType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    		actT, err := actType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
Back to top