Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for AntType (0.13 sec)

  1. test/typeparam/issue47710.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type FooType[t any] interface {
    	Foo(BarType[t])
    }
    type BarType[t any] interface {
    	Int(IntType[t]) FooType[int]
    }
    
    type IntType[t any] int
    
    func (n IntType[t]) Foo(BarType[t]) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 398 bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

            dataTopLevelFunction(function, preIndex)
    
        private
        fun memberFunction(
            inType: KClass<*>,
            function: KFunction<*>,
            preIndex: DataSchemaBuilder.PreIndex,
            configureLambdas: ConfigureLambdaHandler
        ): SchemaMemberFunction {
            val thisTypeRef = inType.toDataTypeRef()
    
            val returnType = function.returnType
    
            checkInScope(returnType, preIndex)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    }
    
    // describe returns a string describing the type typ contained within the type
    // set of inType. If non-empty, inName is used as the name of inType (this is
    // necessary so that we can use alias type names that may not be reachable from
    // inType itself).
    func describe(typ, inType types.Type, inName string) string {
    	name := inName
    	if typ != inType {
    		name = typeName(typ)
    	}
    	if name == "" {
    		return ""
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/quantity.go

    	},
    	"asApproximateFloat": {
    		cel.MemberOverload("quantity_get_float", []*cel.Type{apiservercel.QuantityType}, cel.DoubleType, cel.UnaryBinding(quantityGetApproximateFloat)),
    	},
    	"asInteger": {
    		cel.MemberOverload("quantity_get_int", []*cel.Type{apiservercel.QuantityType}, cel.IntType, cel.UnaryBinding(quantityGetValue)),
    	},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/universe.go

    	"cmd/internal/src"
    )
    
    var (
    	okfor [ir.OEND][]bool
    )
    
    var (
    	okforeq    [types.NTYPE]bool
    	okforadd   [types.NTYPE]bool
    	okforand   [types.NTYPE]bool
    	okfornone  [types.NTYPE]bool
    	okforbool  [types.NTYPE]bool
    	okforcap   [types.NTYPE]bool
    	okforlen   [types.NTYPE]bool
    	okforarith [types.NTYPE]bool
    )
    
    var builtinFuncs = [...]struct {
    	name string
    	op   ir.Op
    }{
    	{"append", ir.OAPPEND},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    	}),
    	"indexOf": {
    		cel.MemberOverload("list_a_index_of_int", []*cel.Type{cel.ListType(paramA), paramA}, cel.IntType,
    			cel.BinaryBinding(indexOf)),
    	},
    	"lastIndexOf": {
    		cel.MemberOverload("list_a_last_index_of_int", []*cel.Type{cel.ListType(paramA), paramA}, cel.IntType,
    			cel.BinaryBinding(lastIndexOf)),
    	},
    }
    
    func (*lists) CompileOptions() []cel.EnvOption {
    	options := []cel.EnvOption{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/out.go

    		// Get the return type of the wrapper function
    		// compiled by gcc.
    		gccResult := ""
    		if fntype.Results == nil || len(fntype.Results.List) == 0 {
    			gccResult = "void"
    		} else if len(fntype.Results.List) == 1 && len(fntype.Results.List[0].Names) <= 1 {
    			gccResult = p.cgoType(fntype.Results.List[0].Type).C.String()
    		} else {
    			fmt.Fprintf(fgcch, "\n/* Return type for %s */\n", exp.ExpName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/resources/org/gradle/api/tasks/javadoc/JavadocIntegrationTest/handlesTagsAndTaglets/src/taglet/java/CustomTaglet.java

            return false;
        }
    
        public boolean inOverview() {
            return false;
        }
    
        public boolean inPackage() {
            return false;
        }
    
        public boolean inType() {
            return true;
        }
    
        public boolean isInlineTag() {
            return false;
        }
    
        public String getName() {
            return "customtaglet";
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 998 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    	case cel.BytesType:
    		return apiservercel.BytesType
    	case cel.DoubleType:
    		return apiservercel.DoubleType
    	case cel.DurationType:
    		return apiservercel.DurationType
    	case cel.IntType:
    		return apiservercel.IntType
    	case cel.NullType:
    		return apiservercel.NullType
    	case cel.StringType:
    		return apiservercel.StringType
    	case cel.TimestampType:
    		return apiservercel.TimestampType
    	case cel.UintType:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/types.go

    	// determined at runtime rather than compile time.
    	DynType = NewSimpleTypeWithMinSize("dyn", cel.DynType, nil, 1)
    
    	// IntType is equivalent to the CEL 'int' type which is a 64-bit signed int.
    	IntType = NewSimpleTypeWithMinSize("int", cel.IntType, types.IntZero, MinNumberSize)
    
    	// NullType is equivalent to the CEL 'null_type'.
    	NullType = NewSimpleTypeWithMinSize("null_type", cel.NullType, types.NullValue, 4)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top