Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for AnyType (0.89 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    			// underlying; if the underlying type is unrestricted there must be an
    			// element of the type set that violates one of the arg type checks
    			// below, so we can safely return false here.
    
    			if m.t == anyType { // anyType must have already been handled.
    				panic("unexpected printfArgType")
    			}
    			return false
    		}
    
    		// Only report a reason if typ is the argument type, otherwise it won't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/types.go

    		return ListType
    	case MapType.TypeName():
    		return MapType
    	default:
    		return nil
    	}
    }
    
    var (
    	// AnyType is equivalent to the CEL 'protobuf.Any' type in that the value may have any of the
    	// types supported.
    	AnyType = NewSimpleTypeWithMinSize("any", cel.AnyType, nil, 1)
    
    	// BoolType is equivalent to the CEL 'bool' type.
    	BoolType = NewSimpleTypeWithMinSize("bool", cel.BoolType, types.False, MinBoolSize)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    func convertCelTypeToDeclType(celType *cel.Type) *apiservercel.DeclType {
    	if celType == nil {
    		return apiservercel.DynType
    	}
    	switch celType {
    	case cel.AnyType:
    		return apiservercel.AnyType
    	case cel.BoolType:
    		return apiservercel.BoolType
    	case cel.BytesType:
    		return apiservercel.BytesType
    	case cel.DoubleType:
    		return apiservercel.DoubleType
    	case cel.DurationType:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirBuiltInTypes.kt

        override val unit: KaType by cachedBuiltin(builtinTypes.unitType)
        override val nothing: KaType by cachedBuiltin(builtinTypes.nothingType)
        override val any: KaType by cachedBuiltin(builtinTypes.anyType)
    
        override val throwable: KaType by cachedBuiltin(builtinTypes.throwableType)
        override val nullableAny: KaType by cachedBuiltin(builtinTypes.nullableAnyType)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

        quantized kernel.
      }];
    
      let arguments = (ins Variadic<AnyType>:$inputs,
                        TypeArrayAttr:$input_specs,
                        TypeArrayAttr:$output_specs,
                        StrAttr:$logical_kernel);
      let results = (outs Variadic<AnyType>:$outputs);
      let regions = (region SizedRegion<1>:$body);
      let hasVerifier = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/interface.go

    type Variable struct {
    	Name       string
    	Expression string
    }
    
    func (v *Variable) GetExpression() string {
    	return v.Expression
    }
    
    func (v *Variable) ReturnTypes() []*celgo.Type {
    	return []*celgo.Type{celgo.AnyType, celgo.DynType}
    }
    
    func (v *Variable) GetName() string {
    	return v.Name
    }
    
    // ValidateResult defines the result of a Validator.Validate operation.
    type ValidateResult struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 17:47:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/issues_test.go

    }
    
    func TestIssue50646(t *testing.T) {
    	anyType := Universe.Lookup("any").Type().Underlying()
    	comparableType := Universe.Lookup("comparable").Type()
    
    	if !Comparable(anyType) {
    		t.Error("any is not a comparable type")
    	}
    	if !Comparable(comparableType) {
    		t.Error("comparable is not a comparable type")
    	}
    
    	if Implements(anyType, comparableType.Underlying().(*Interface)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

        quantized kernel.
      }];
    
      let arguments = (ins Variadic<AnyType>:$inputs,
                        TypeArrayAttr:$input_specs,
                        TypeArrayAttr:$output_specs,
                        StrAttr:$logical_kernel);
      let results = (outs Variadic<AnyType>:$outputs);
      let regions = (region SizedRegion<1>:$body);
      let hasVerifier = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/go/types/issues_test.go

    }
    
    func TestIssue50646(t *testing.T) {
    	anyType := Universe.Lookup("any").Type().Underlying()
    	comparableType := Universe.Lookup("comparable").Type()
    
    	if !Comparable(anyType) {
    		t.Error("any is not a comparable type")
    	}
    	if !Comparable(comparableType) {
    		t.Error("comparable is not a comparable type")
    	}
    
    	if Implements(anyType, comparableType.Underlying().(*Interface)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go

    	}
    	return v, nil
    }
    
    func buildTestEnv() (*cel.Env, *apiservercel.DeclType, error) {
    	variablesType := apiservercel.NewMapType(apiservercel.StringType, apiservercel.AnyType, 0)
    	variablesType.Fields = make(map[string]*apiservercel.DeclField)
    	envSet, err := environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true).Extend(
    		environment.VersionedOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top